Releases: materialyzeai/monty
Releases · materialyzeai/monty
v2026.2.18
2026.2.18
- Drop Python 3.9 and 3.10 support.
- Deprecate
delete_removed_filesfromScratchDir(#762, @DanielYang59) - Support JSON lines in load/dumpfn (#770, @esoteric-ephemera)
- Remove dev-facing
taskdependency group, merge intomaintain(#771, @DanielYang59) - Fix pandas DataFrame type check for pandas 3 (#773, @DanielYang59)
- ScratchDir: warn for copy-back race when overwriting newer file (#759, @DanielYang59)
- Remove deprecated behavior:
zopenno longer allows default/implicit text/binarymode; allowmodeas positional argument (#752, @DanielYang59) - Include
sizewhen encoding torch tensor in JSON; release<3.13pin forpintandtorch(#755, @DanielYang59) - Better return type annotation for
zopen(#757, @DanielYang59) - Deprecate
copy_rin favor ofshutil.copytree(src, dst, dirs_exist_ok=True)(#761, @DanielYang59)
v2025.3.3
v2025.1.9
v2025.1.3
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)