Skip to content

Releases: materialsvirtuallab/monty

v2024.12.10

10 Dec 21:14
ae78429
Compare
Choose a tag to compare

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

21 Oct 16:14
1798d59
Compare
Choose a tag to compare

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

29 Jul 09:46
Compare
Choose a tag to compare

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

12 Jul 14:50
19a1e26
Compare
Choose a tag to compare

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

24 May 14:09
6763a70
Compare
Choose a tag to compare

2024.5.24

  • Fix serious regression introduced in list_strings (@gmatteo)
  • Extend dev.deprecated to decorate classes and improve message (@DanielYang59)

v2024.5.15

15 May 14:19
7568d6a
Compare
Choose a tag to compare

2024.5.15

v2024.4.17

17 Apr 18:18
ba720f6
Compare
Choose a tag to compare

2024.4.17

  • Revert changes to json.py for now.

v2024.4.16

16 Apr 22:37
Compare
Choose a tag to compare

2024.4.16

v2024.3.31

31 Mar 16:05
fd6b16d
Compare
Choose a tag to compare

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

26 Feb 14:56
1a91828
Compare
Choose a tag to compare

2024.2.26