Skip to content

Releases: materialsvirtuallab/monty

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

v2024.2.2

03 Feb 04:32
Compare
Choose a tag to compare

2024.2.2

  • Bug fix for Enum subclasses with custom as_dict, from_dict (@jmmshn)

v2024.1.26

27 Jan 02:00
Compare
Choose a tag to compare

2024.1.26

  • Fix import of optional libraries.