Releases: materialsvirtuallab/monty
Releases · materialsvirtuallab/monty
v2024.12.10
2024.12.10
- zopen changes: forbid implicit binary/text mode, signature change, default UTF-8 encoding in text mode, drop .z
support after one-year. (@DanielYang59) - Add support for extended JSON to MontyDecoder (@esoteric-ephemera)
- Fix jsanitize when recursive_msonable=True (@Andrew-S-Rosen)
- Fix custom dict overriding in collections (@DanielYang59)
v2024.10.21
2024.10.21
- Lazily import torch/pydantic in json module, speedup from monty.json import by 10x (@DanielYang59)
- Fix missing monty.os package. (@eamanu)
- Fix zpath when passing pathlib.Path (@janosh)
v2024.7.29
2024.7.29
- Fix line ending in reverse_readfile/readline in Windows (@DanielYang59)
- Add missing functools.wraps decorator to deprecated decorator and handle dataclass properly (@DanielYang59)
- Add pint Quantity support to JSON (@rkingsbury)
v2024.7.12
2024.6.12
- Make cached_class decorated classes picklable (@janosh)
- deprecated decorator allow replacement as string (@DanielYang59)
- Fix (de)serialization datetime with timezone information (@DanielYang59)
v2024.5.24
2024.5.24
- Fix serious regression introduced in list_strings (@gmatteo)
- Extend dev.deprecated to decorate classes and improve message (@DanielYang59)
v2024.5.15
2024.5.15
- Reimplemented support for pickle in MSONAble. (@matthewcarbone)
v2024.4.17
2024.4.17
- Revert changes to json.py for now.
v2024.4.16
2024.4.16
- Misc bug fixes for jsanitize (@Andrew-S-Rosen).
v2024.3.31
2024.3.31
- Fix MSONable.REDIRECT when module name changed (@janosh)
- Add native support for enums in jsanitize (@FabiPi3)
- Make jsanitize(recursive_msonable=True) respect duck typing (@Andrew-S-Rosen)
- Add optional arg target_dir in compress_file and decompress_file to allow specify target path (@DanielYang59)
- Add MontyEncoder/MontyDecoder support for pathlib.Path (@Andrew-S-Rosen)
- Add an optional arg deadline to dev.deprecated to raise warning after deadline (@DanielYang59)
v2024.2.26
2024.2.26
- Bug fix for symlinks when using copy_r (@Andrew-S-Rosen)