Skip to content

Releases: lidatong/dataclasses-json

0.5.3

26 Apr 00:01
Compare
Choose a tag to compare

This release updates pytest to 6.5.2, because of a security fix in its transitive dependency py (which will be indirectly upgraded to >=1.10.

Note pytest is not installed by default with this package -- only when you specify want dev mode (see setup.py file).

0.5.2

26 Apr 00:04
Compare
Choose a tag to compare

This reverts the removal of encode_json 0.5.0

0.5.1

07 Jun 16:03
Compare
Choose a tag to compare

Move FieldOverrides outside of function as a perf optimization
(#225). Thanks @justinaustin

0.5.0

07 Jun 15:38
Compare
Choose a tag to compare

BREAKING CHANGE
The optional encode_json parameter has been removed from to_dict().
It should not have been exposed in the first place, and I don't expect
many to be affected. Nonetheless, this is a breaking change, and hence
the minor version bump (see note on versioning in the docs).

0.4.5

30 May 21:03
Compare
Choose a tag to compare

Fix deprecation warning (#216). Thanks @stevenj

0.4.4

29 May 21:18
Compare
Choose a tag to compare

Add config option to exclude fields with a predicate (#221). Thanks
@arusahni

Fix bug with mm_field config when processing overrides

0.4.3

22 May 01:24
Compare
Choose a tag to compare

Fix field name override (#209). Thanks @sumnerevans

0.4.2

13 Mar 11:34
Compare
Choose a tag to compare

Revert caching

0.4.1

23 Feb 14:20
Compare
Choose a tag to compare

Performance optimization via caching (#175, #148). Thanks @Germandrummer92 @konstin

0.4.0

23 Feb 03:31
Compare
Choose a tag to compare

Introduce API for global config of encoders by type (#139).

To elaborate, you can now define globally how to encode any unsupported
type, rather than have to specify for every individual field.