NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #439 most downloaded on PyPI
Easily serialize dataclasses to and from JSON.
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 1 weeks to 3 months
Most releases are documented
notes for 52 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
77 releases · first in 2018
feat: support abstract collections by @PJCampi in #532
Full Changelog: v0.6.6...v0.6.7
dc63902
This commit was created on GitHub.com and signed with GitHub’s verified signature .
GPG key ID: B5690EEEBB952194
Verified Learn about vigilant mode .
feat: support abstract collections by @PJCampi in #532
Warn about buggy type resolution by @DavidCain in #529
Full Changelog : v0.6.6...v0.6.7
DavidCain and PJCampi
One column per quarter.
fix: comment from review by @PJCampi in #528
fix: apply global config globally by @PJCampi in #524
fix: fix deserialization of unions if the type of a field with the same name differs between union members by @TristanSpeakEasy in #511
Full Changelog: v0.6.3...v0.6.4
Fixes catchall inheritance issue by @jasonrock-a3 in #500
Full Changelog: v0.6.2...v0.6.3
fix: allow using CatchAll with postponed evaluation of annotations by @2ynn in #490
Full Changelog: v0.6.1...v0.6.2
Add links to make PyPI a better maintainer reference by @pydanny in #482
Full Changelog: v0.6.0...v0.6.1
Due to a behaviour change discovered in #466 and also as a matter of preparation for full deprecation of Py3.7, we are bumping the minor version to 0.…
Due to a behaviour change discovered in #466 and also as a matter of preparation for full deprecation of Py3.7, we are bumping the minor version to 0.6.0. Most important change is that since 0.5.9 builtins are coerced automatically without throwing an exception. Please visit the issue for more info :)
Full Changelog: v0.5.15...v0.6.0
Temporarily disable code coverage publish for fork PRs by @george-zubrienko in #444
Full Changelog: v0.5.13...v0.5.14
Fixes bug related to Tuples defined with ellipsis by @matt035343 in https://github.com/lidatong/dataclasses-json/pull/440
Full Changelog: https://github.com/lidatong/dataclasses-json/compare/v0.5.12...v0.5.13
Fix multiline scripts in CI by @george-zubrienko in https://github.com/lidatong/dataclasses-json/pull/439
Full Changelog: https://github.com/lidatong/dataclasses-json/compare/v0.5.11...v0.5.12
feat: add formalized issue template by @s-vitaliy in https://github.com/lidatong/dataclasses-json/pull/417
schema() type safety by fixing generic type alias misuse by @andersk in https://github.com/lidatong/dataclasses-json/pull/371Full Changelog: https://github.com/lidatong/dataclasses-json/compare/v0.5.8...v0.5.9
ci: disable 3.6 by @lidatong in https://github.com/lidatong/dataclasses-json/pull/400
Full Changelog: https://github.com/lidatong/dataclasses-json/compare/v0.5.7...v0.5.8
Annotations test: Add clean_exit=True for mypy_main() by @USSX-Hares in https://github.com/lidatong/dataclasses-json/pull/345
clean_exit=True for mypy_main() by @USSX-Hares in https://github.com/lidatong/dataclasses-json/pull/345Full Changelog: https://github.com/lidatong/dataclasses-json/compare/v0.5.6...v0.5.7
Override encoding before _asdict
Nothing published for this version
Fix tuple keys in dict (#297). Thanks @pearceeverydaylabs
Fix tuple keys in dict (#297). Thanks @pearceeverydaylabs
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.
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).
This reverts the removal of encode_json 0.5.0
This reverts the removal of encode_json 0.5.0
Move FieldOverrides outside of function as a perf optimization (#225). Thanks @justinaustin
Move FieldOverrides outside of function as a perf optimization
(#225). Thanks @justinaustin
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 ex…
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).
Fix deprecation warning (#216). Thanks @stevenj
Fix deprecation warning (#216). Thanks @stevenj
Add config option to exclude fields with a predicate (#221). Thanks @arusahni
Add config option to exclude fields with a predicate (#221). Thanks @arusahni
Fix bug with mm_field config when processing overrides
Fix field name override (#209). Thanks @sumnerevans
Fix field name override (#209). Thanks @sumnerevans
Nothing published for this version
Performance optimization via caching (#175, #148). Thanks @Germandrummer92 @konstin
Performance optimization via caching (#175, #148). Thanks @Germandrummer92 @konstin
Introduce API for global config of encoders by type (#139).
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.
Fix nested optional type (#167). Thanks @RunOrVeith
Fix nested optional type (#167). Thanks @RunOrVeith
Fix from_dict annotations (#156). Thanks @eqperes
Introduce API for undefined fields. Thanks @RunOrVeith and @Germandrummer92
Introduce API for undefined fields. Thanks @RunOrVeith and @Germandrummer92
Fix api type hints. Thanks @JoeyBG
Fix api type hints. Thanks @JoeyBG
Make type annotations visible to mypy. Thanks @gward
Make type annotations visible to mypy. Thanks @gward
Fix bytes encoder. Thanks @tstehr
Fix bytes encoder. Thanks @tstehr
Fix issues with decoding generic extended types (datetime, uuid, decimal).
Fix issues with decoding generic extended types (datetime, uuid, decimal).
Marshmallow fix. Thanks @yukihiko-shinoda
Marshmallow fix. Thanks @yukihiko-shinoda
Introduces PascalCase lettercase config option. Thanks @jansabbe
Introduces PascalCase lettercase config option. Thanks @jansabbe
configured_dataclass_json has been removed in favor of a single dataclass_json decorator that optionally takes arguments.
BREAKING CHANGE
configured_dataclass_json has been removed in favor of a single dataclass_json decorator that optionally takes arguments.
To upgrade to this release, simply replace all occurrences of configured_dataclass_json with dataclass_json (a find-and-replace-in-all-files should suffice).
Note that the no arg version of the decorator:
@dataclass_json
class Example
...
will continue to work and requires no code changes
Schema datakey. Thanks @Glandos
datakey. Thanks @Glandosfield_name to the config object. Thanks @nazarewk!
field_name to the config object. Thanks @nazarewk!
LetterCase now correctly applies to the generated marshmallow schema
Hot fix removing print statements
Hot fix removing print statements
Introduces configured_dataclass_json to provide class-level parameterization of letter_case
Introduces configured_dataclass_json to provide class-level parameterization of letter_case
Support configuration of field name letter case
Support configuration of field name letter case
Nothing published for this version
Add to_dict and from_dict to API
Add to_dict and from_dict to API
Fix metaclass conflict due to typing.Generic incompatibility between 3.6 and 3.7
Fix metaclass conflict due to typing.Generic incompatibility between 3.6 and 3.7
Pin marshmallow release to 3.6 to fix schema bug
Pin marshmallow release to 3.6 to fix schema bug
- Support Union types - Better type annotations
Union typesNothing published for this version
Adds support for forward references
init=FalseNothing published for this version
Nothing published for this version
Add support for field overrides
Add support for field overrides
Add support for datetime and uuid.
Add support for datetime and uuid.
I'm incrementing minor version to 1, as the API at this point is pretty fleshed-out.
Note this library is still pre-1.0.0. However, I'm going to try to stick with the convention of patch version upgrades for bug fixes and minor version upgrades for new API features / backwards-incompatible changes.
Add infer_missing to .schema
Add infer_missing to .schema
Add field defaults for generated mm schema. .schema() now takes keyword-only params
Add field defaults for generated mm schema. .schema() now takes keyword-only params
Fix nested schema, encoding, warning msg
Fix nested schema, encoding, warning msg
Fix default_factory and dict codec
Fix default_factory and dict codec
Upgrade marshmallow to version that fixes mem leak
Upgrade marshmallow to version that fixes mem leak
Add support for generating nested marshmallow schemas
Add support for generating nested marshmallow schemas
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →