- Support for working with nested JSON properties.
- Unused imports.
- Ability to use custom collections with the
collection_factory
andcollection_iter
parameters.
- Refactored tests.
- Renamed subpackage from
types
->custom_types
to avoid namespace clash with standard library.
- Test dependency on legacy
hgicommon
library. SetJSONDecoder
andSetJSONEncoder
(usecollection_factory=set
instead).
- Renamed subpackage from
json
->json_converters
to avoid namespace clash with standard library. - Moved from using
nose
->unittest
for testing. - Only the first 3 arguments of
JsonPropertyMapping
can be used as args: the remainder must be kwargs.
- Ability to pass arguments through arbitrary arguments from
JsonPropertyMapping
toPropertyMapping
- Use of args with
PropertyMapping
(kwargs only).
- Moved to using a PyPi version of HGI's common Python library for testing, opposed to using it from GitHub.
- Fixed bug in
DatetimeISOFormatJSONDecoder
.
- Support for defining encoders/decoders for objects with properties of the same type (#19).
- Moved the documentation over to ReadTheDocs, opposed to bundling it all in the README.
- Fix for issue with fix in
1.4.1
.
- Fixed bug in serialisation of
None
, reported by YuriIvanov (#18).
- Encoders now serialise
None
tonull
and visa-versa for decoders (thanks to YuriIvanov for bringing this improvement to light in #16) (#17). - Corrected self-referential type hinting.
- Corrections to
setup.py
.
- Documentation on how to serialize to/from a dictionary opposed to a string.
- Documentation on how to install the library, import methods/classes and develop.
- imports via
__init__.py
.
- Removed useless equality and hash calculation methods on
PropertyMapping
. - Improvements to documentation.
- Helper test runner scripts.
- Hotfix for dependency installation when installed via PyPI.
- Hotfix for package installation via PyPI.
- Added documentation on how the order of mappings is determined when using mappers and inheritance.
- Sorted packing to allow upload as package to PyPI.
- Changed license from GPL to MIT.
- Dependency on
hgicommon
library (still required for testing though).
- First stable release.