Releases: ramonhagenaars/jsons
Releases · ramonhagenaars/jsons
v1.6.3
v1.6.2
- Bugfix:
fork_inst
s were not propagated indefault_list_deserializer
(thanks to patrickguenther).
v1.6.1
- Bugfix: Loading dicts with hashed keys could cause an error due to being loaded twice (thanks to georgeharker).
- Bugfix: IntEnums were not serialized with their names when
use_enum_name=True
(thanks to georgeharker). - Bugfix: Named tuples did not use
typing.get_type_hints
for getting the types, causing trouble in future annotations (thanks to georgeharker).
v1.6.0
- Feature: Support for Python3.10.
- Feature: Support for attrs.
v1.5.1
- Bugfix:
ZoneInfo
failed to dump if attached to adatetime
.
v1.5.0
- Feature: Support for
ZoneInfo
on Python3.9+. - Change: microseconds are no longer stripped by default (thanks to pietrodn).
v1.4.2
- Bugfix: get_origin did not work with python3.9+ parameterized collections (e.g.
dict[str, str]
).
v1.4.1
v1.4.0
- Feature: DefaultDicts can now be deserialized.
- Feature: Dicts with any (hashable) key can now be dumped and loaded.
- Feature: Suppress specific warnings.
- Bugfix: Loading a verbose-serialized object in a list could sometimes deserialize that object as a parent class.
- Bugfix: Unwanted stringification of NoneValues is now prevented in Optionals and Unions with NoneType.
- Bugfix: Fixed a bug with postponed annotations and dataclasses. See also Issue34776.
- Bugfix: Types of attributes that are not in the constructor are now looked for in annotations.
v1.3.1
- Bugfix: Fixed bug where classmethods were included in the serialized result.