Skip to content

Releases: ramonhagenaars/jsons

v1.6.3

09 Jun 19:52
9abbf3a
Compare
Choose a tag to compare
  • Bugfix: a string was sometimes unintentionally parsed into a datetime.

v1.6.2

11 May 19:05
Compare
Choose a tag to compare
  • Bugfix: fork_insts were not propagated in default_list_deserializer (thanks to patrickguenther).

v1.6.1

09 Jan 16:52
Compare
Choose a tag to compare
  • 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

31 Oct 10:43
390ea48
Compare
Choose a tag to compare
  • Feature: Support for Python3.10.
  • Feature: Support for attrs.

v1.5.1

01 Sep 06:05
12594eb
Compare
Choose a tag to compare
  • Bugfix: ZoneInfo failed to dump if attached to a datetime.

v1.5.0

18 Jul 20:22
Compare
Choose a tag to compare
  • Feature: Support for ZoneInfo on Python3.9+.
  • Change: microseconds are no longer stripped by default (thanks to pietrodn).

v1.4.2

10 Apr 19:15
Compare
Choose a tag to compare
  • Bugfix: get_origin did not work with python3.9+ parameterized collections (e.g. dict[str, str]).

v1.4.1

31 Mar 09:49
c578777
Compare
Choose a tag to compare
  • Bugfix: Types of attributes that are not in the constructor were not properly looked for. See issue #128.

v1.4.0

06 Feb 20:21
c9ecbed
Compare
Choose a tag to compare
  • 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

04 Jan 20:17
db4c811
Compare
Choose a tag to compare
  • Bugfix: Fixed bug where classmethods were included in the serialized result.