NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #520 most downloaded on PyPI
Library for serializing and deserializing Python Objects to and from JSON and XML.
Latest stable
2.2.0
Last release 16 days ago
06 Nov 2026
Ships unpredictably
gaps range from 2 weeks to 1.3 years
Nearly every release is documented
notes for 59 of 59 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
62 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Chaneglog to pyproject (`c5369a8`)
c5369a8)Detailed Changes: v2.1.0-rc.2...v2.2.0
docs: fix typo in CONTRIBUTING guidelines
Full Changelog: https://github.com/madpah/serializable/compare/v2.0.0...v2.1.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (f6b6629)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (3c51231)
Detailed Changes: v2.1.0-rc.1...v2.1.0-rc.2
refactor!: rename python package serializable -> py_serializable
refactor!: rename python package serializable -> py_serializable (#155)
The python package was renamed from serializable to py_serializable.
Therefore, you need to adjust your imports.
The following shows a quick way to adjust imports in the most efficient way.
import serializable
from serializable import ViewType, XmlArraySerializationType, XmlStringSerializationType
from serializable.helpers import BaseHelper, Iso8601Date
import py_serializable as serializable
from py_serializable import ViewType, XmlArraySerializationType, XmlStringSerializationType
from py_serializable.helpers import BaseHelper, Iso8601Date
see migration path: https://py-serializable.readthedocs.io/en/refactor-rename-installable-py_serializable/migration.html
Delete duplicate CODEOWNERS (#156)
we have a codeowners file in root already (b64cdde)
serializable -> py_serializable by @jkowalleck in https://github.com/madpah/serializable/pull/155Full Changelog: https://github.com/madpah/serializable/compare/v1.1.2...v2.0.0
serializable -> py_serializable (#155)The python package was renamed from serializable to py_serializable.
Therefore, you need to adjust your imports.
The following shows a quick way to adjust imports in the most efficient way.
import serializable
from serializable import ViewType, XmlArraySerializationType, XmlStringSerializationType
from serializable.helpers import BaseHelper, Iso8601Date
import py_serializable as serializable
from py_serializable import ViewType, XmlArraySerializationType, XmlStringSerializationType
from py_serializable.helpers import BaseHelper, Iso8601Date
see migration path: <https://py-serializable.readthedocs.io/en/refactor-rename-installable-py_serializable/migration.html>
fixes #151
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: semantic-release <semantic-release>
Co-authored-by: semantic-release <semantic-release> (67afaef)
we have a codeowners file in root already (b64cdde)
refactor!: rename installable serializable -> py_serializable
serializable -> py_serializableSigned-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (39bfc1a)
chore: Create CODEOWNERS (960331a)
chore(deps-dev): update mypy requirement from 1.13.0 to 1.14.1 (#154)
Updates the requirements on mypy to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (afe70c8)
Updates the requirements on flake8-bugbear to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cb8a91b)
Updates the requirements on flake8-bugbear to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (f6574e7)
Updates the requirements on mypy to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (c5117ba)
Updates the requirements on mypy to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (6c354e2)
Merge branch 'main' into refactor/rename-installable-py_serializable (5b62208)
Delete duplicate CODEOWNERS (#156)
we have a codeowners file in root already (b64cdde)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (e3708ec)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (225b614)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (a581861)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (2df3e21)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (42cf87b)
v2.0.0-alpha.1 Pre-release
Pre-release
Compare
fix: date/time deserialization with fractional seconds
fix multiple where fractional seconds were not properly deserialized or deserialization caused unexpected crashes in py<3.11
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Co-authored-by: Jan Kowalleck <jan.kowalleck@gmail.com> (f4b1c27)
XsdDate/XsdDateTime deserializers (#139)Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (d75df5b)
XsdDate/XsdDateTime deserializers by @jkowalleck in https://github.com/madpah/serializable/pull/139Full Changelog: https://github.com/madpah/serializable/compare/v1.1.1...v1.1.2
chore(deps-dev): update mypy requirement from 1.11.1 to 1.11.2
Updates the requirements on mypy to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (d26c9ec)
Updates the requirements on flake8-bugbear to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (d4b4365)
Updates the requirements on flake8 to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cff0742)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (aaec167)
Updates the requirements on mypy to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (5ea457b)
Updates the requirements on mypy to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (4d1be17)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (511926b)
None values as expected (#136)Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (1a0e14b)
None values as expected by @jkowalleck in https://github.com/madpah/serializable/pull/136Full Changelog: https://github.com/madpah/serializable/compare/v1.1.0...v1.1.1
chore(deps-dev): update autopep8 requirement from 2.3.0 to 2.3.1
Updates the requirements on autopep8 to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (7410ba7)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (2ad22c9)
Updates the requirements on mypy to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (f4e350a)
Updates the requirements on autopep8 to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (e32873f)
Updates the requirements on flake8 to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (fac3cc4)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (168b334)
Updates the requirements on autopep8 to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (209a7f1)
Updates the requirements on flake8-annotations to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (ee81803)
Updates the requirements on xmldiff to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (7ab73d9)
Updates the requirements on flake8-annotations to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (6858d81)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (5ddb017)
Updates the requirements on flake8-bugbear to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (8094b81)
Updates the requirements on mypy to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (f370676)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (9306d7e)
9b11545)Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (aabb5e9)
normalizedString and token (#119)fixes #114 fixes #115
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (3a1728d)
dict.update() were replaced by proper access methods dict[]set simplifySigned-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (73ce317)
normalizedString and token by @jkowalleck in https://github.com/madpah/serializable/pull/119Full Changelog: https://github.com/madpah/serializable/compare/v1.0.3...v1.1.0
chore(deps-dev): update autopep8 requirement from 2.0.4 to 2.1.0
Updates the requirements on autopep8 to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (1577157)
Updates the requirements on flake8-logging to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (7d64241)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (425f05e)
Updates the requirements on mypy to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (9fa5297)
child_name does not conform to current formatter #89 (#90)Signed-off-by: Paul Horton <paul.horton@owasp.org> (ade5bd7)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (`46a8d9e`)
Maintenance release.
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (46a8d9e)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (fbf9b06)
Bumps Gr1N/setup-poetry from 8 to 9.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (3264bc6)
Updates the requirements on flake8-quotes to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (8a5460a)
06f557d)chore(deps-dev): update coverage requirement from 7.4.0 to 7.4.1
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (447e6b8)
Updates the requirements on flake8-bugbear to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (e3e51a4)
Updates the requirements on flake8-logging to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (aeca110)
Updates the requirements on flake8-bugbear to permit the latest version.
updated-dependencies:
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (1727d78)
datetime without timezone with local time offset (#76)Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (06776ba)
typing.Literal as non-string (#73)Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (32fbe2a)
Release of first major version 🎉
Release of first major version 🎉
flake8-logging by @jkowalleck in https://github.com/madpah/serializable/pull/61Full Changelog: https://github.com/madpah/serializable/compare/v0.17.1...v1.0.0
feat!: v1.0.0 (#55)
Release of first major version 🎉
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (2cee4d5)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (5645ca6)
Dropped support for python <3.8
Read the docs: https://py-serializable.readthedocs.io/en/dev-1.0.0/
install a Release Candidate:
$ pip install py-serializable==1.0.0rc1
$ poetry add py-serializable==1.0.0rc1
# you get the idea ...
flake8-logging by @jkowalleck in https://github.com/madpah/serializable/pull/61Full Changelog: https://github.com/madpah/serializable/compare/v0.17.1...v1.0.0-rc.1
Log placeholder (#60) (`3cc6cad`)
Full Changelog: https://github.com/madpah/serializable/compare/v0.17.0...v0.17.1
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (bf864d7)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (d3bcc42)
3cc6cad)chore(release): 0.17.1
Automatically generated by python-semantic-release (3b50104)
9cdc0b1)see usage: https://py-serializable.readthedocs.io/en/latest/examples.html#logging-and-log-access
9269b0e)
Full Changelog: https://github.com/madpah/serializable/compare/v0.16.0...v0.17.0
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (7ae6aad)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (de206d6)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (c0074ce)
Reworked the way this library does logging/warning. It utilizes the logger named serializable for everything, now.
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Co-authored-by: Kyle Roeschley <kyle.roeschley@ni.com> (9269b0e)
chore(release): 0.17.0
Automatically generated by python-semantic-release (a6fc788)
More controll over XML attribute serialization (#34) (`38f42d6`)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (38f42d6)
chore(release): 0.16.0
Automatically generated by python-semantic-release (b444fd7)
Allow custom (de)normalization (#32) (`aeecd6b`)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (aeecd6b)
chore(release): 0.15.0
Automatically generated by python-semantic-release (e80c514)
JSON deserialize Decimal (#31) (`b6dc66a`)
Decimal (#31)Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (b6dc66a)
chore(release): 0.14.1
Automatically generated by python-semantic-release (0183a17)
Enhanced typehints and typing (#27) (`410372a`)
Even tough some structures are refactored, no public API is changed. No runtime is changed. TypeCheckers might behave differently, which is intentional due to bug fixes. This is considered a non-breaking change, as it does not affect runtime.
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (410372a)
chore(release): 0.14.0
Automatically generated by python-semantic-release (7bb0d1b)
Protect default value for serialization_types from unintended downstream modifications (#30) (`0e814f5`)
serialization_types from unintended downstream modifications (#30) (0e814f5)4eddb24)26c561d)11b5896)serialization_types from unintended downstream modifications by @jkowalleck in https://github.com/madpah/serializable/pull/30Full Changelog: https://github.com/madpah/serializable/compare/v0.13.0...v0.13.1
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (4eddb24)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (26c561d)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (11b5896)
serialization_types from unintended downstream modifications (#30)Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (0e814f5)
chore(release): 0.13.1
Automatically generated by python-semantic-release (bd604c8)
Format specific (de)serialize (#25) (`dc998df`)
Added functionality to implement custom (de)serialization specific for XML or JSON (#13).
BaseHelper is no longer abstract.BaseHelper.serialize() is no longer abstract.
Will raise NotImplementedError per default.BaseHelper.deserialize() is no longer abstract.
Will raise NotImplementedError per default.BaseHelper.json_serialize() predefined.cls.serialize() per default.BaseHelper.json_deserialize() predefined.cls.deserialize() per default.Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (dc998df)
chore(release): 0.13.0
Automatically generated by python-semantic-release (c1670d6)
Xml defaultNamespace serialization and detection (#20) (`59eaa5f`)
LICENSE in .dist-info when building wheel by @claui in https://github.com/madpah/serializable/pull/7Full Changelog: https://github.com/madpah/serializable/compare/v0.12.0...v0.12.1
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (296ef19)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (fcc5d8e)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (5d5cf7b)
fix: xml defaultNamespace serialization and detection (#20)
fixes: serialization with defaultNS fails #12
fixes: defaultNamespace detection fails on XML-attributes when deserializing #11
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (59eaa5f)
chore(release): 0.12.1
Automatically generated by python-semantic-release (9a2798d)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (68d229e)
Keep LICENSE in .dist-info when building wheel (9bc4abc)
LICENSE in .dist-info when building wheelPoetry automatically detects and includes LICENSE files in
….dist-info/ when it builds a wheel.
If LICENSE is also declared as a pattern in Poetry’s include list in
pyproject.toml, then the file will appear in the root directory of the
wheel, too:
Path = /var/lib/aurbuild/x86_64/claudia/build/python-py-serializable/src/serializable-0.12.0/dist/py_serializable-0.12.0-py3-none-any.whl
Type = zip
Physical Size = 22557
Date Time Attr Size Compressed Name
------------------- ----- ------------ ------------ ------------------------
1980-01-01 00:00:00 ..... 11357 3948 LICENSE
1980-01-01 00:00:00 ..... 52795 9275 serializable/__init__.py
1980-01-01 00:00:00 ..... 3382 923 serializable/formatters.py
1980-01-01 00:00:00 ..... 3690 1180 serializable/helpers.py
1980-01-01 00:00:00 ..... 153 117 serializable/py.typed
1980-01-01 00:00:00 ..... 11357 3948 py_serializable-0.12.0.dist-info/LICENSE
1980-01-01 00:00:00 ..... 3845 1449 py_serializable-0.12.0.dist-info/METADATA
1980-01-01 00:00:00 ..... 88 85 py_serializable-0.12.0.dist-info/WHEEL
2016-01-01 00:00:00 ..... 718 408 py_serializable-0.12.0.dist-info/RECORD
------------------- ----- ------------ ------------ ------------------------
2016-01-01 00:00:00 87385 21333 9 files
Note how the wheel contains two identical copies of your LICENSE file:
one copy in the ….dist-info/ directory, picked up automatically by
Poetry, and a second copy in the root directory of the wheel.
Including a generically-named file directly in a wheel’s root directory may cause problems:
The LICENSE file is going to turn up at the top level of
site-packages directly. That’s misleading, because anyone who’d
browse site-packages might conclude that the license be valid for
all packages, not just serializable, which is incorrect.
Having generic files at the top level of site-packages causes
conflicts with other wheels that happen to include the same file.
For example, I’ve had LICENSE files coming from two different
wheels, excluding serializable, sitting at the top level of my
site-packages directory so I could install only one of them.
The fix is to remove the LICENSE pattern from the include list.
Poetry automatically picks up files named LICENSE, and drops them
either into an sdist’s root directory (when building an sdist) or into
py_serializable-[version].dist-info/ (when building a wheel).
Signed-off-by: Claudia <claui@users.noreply.github.com> (31e4003)
c1e8fd8)Bump dev dependencies to latest (including mypy fixes) (`06dcaa2`)
mypy fixes) (06dcaa2)mypy fixes) (6d70287)mypy fixes) by @madpah in https://github.com/madpah/serializable/pull/6Full Changelog: https://github.com/madpah/serializable/compare/v0.11.1...v0.12.0
mypy fixes)Signed-off-by: Paul Horton <paul.horton@owasp.org> (06dcaa2)
mypy fixes)Signed-off-by: Paul Horton <paul.horton@owasp.org> (6d70287)
Automatically generated by python-semantic-release (fa9f9b3)
feat: bump dev dependencies to latest (including mypy fixes) (08b4825)
fix: use defusedxml whenever we load XML to prevent XEE attacks by @madpah in https://github.com/madpah/serializable/pull/5
defusedxml whenever we load XML to prevent XEE attacks by @madpah in https://github.com/madpah/serializable/pull/5Full Changelog: https://github.com/madpah/serializable/compare/v0.11.0...v0.11.1
fix: use defusedxml whenever we load XML to prevent XEE attacks (ae3d76c)
fix: use defusedxml whenever we load XML to prevent XEE attacks
Signed-off-by: Paul Horton <paul.horton@owasp.org> (32fd5a6)
defusedxml whenever we load XML to prevent XEE attacksSigned-off-by: Paul Horton <paul.horton@owasp.org> (72e0127)
defusedxml whenever we load XML to prevent XEE attacksSigned-off-by: Paul Horton <paul.horton@owasp.org> (de61deb)
defusedxml whenever we load XML to prevent XEE attacksSigned-off-by: Paul Horton <paul.horton@owasp.org> (de26dc3)
Automatically generated by python-semantic-release (0bdccc4)
feat: disabled handling to avoid class attributes that clash with keywords and builtins by @madpah in https://github.com/madpah/serializable/pull/4
keywords and builtins by @madpah in https://github.com/madpah/serializable/pull/4Full Changelog: https://github.com/madpah/serializable/compare/v0.10.1...v0.11.0
keywords and builtinsSigned-off-by: Paul Horton <paul.horton@owasp.org> (4439227)
Automatically generated by python-semantic-release (90de3b8)
commit_author?Signed-off-by: Paul Horton <paul.horton@owasp.org> (4fad001)
Merge branch 'main' of github.com:madpah/serializable (fb46f04)
enable debug for release
Signed-off-by: Paul Horton <paul.horton@owasp.org> (2f4d626)
feat: disabled handling to avoid class attributes that clash with keywords and builtins (2a33bc6)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (0ff402e)
Handle empty XML elements during deserialization (`f806f35`)
f806f35)Full Changelog: https://github.com/madpah/serializable/compare/v0.10.0...v0.10.1
Signed-off-by: Paul Horton <paul.horton@owasp.org> (f806f35)
Automatically generated by python-semantic-release (69e5866)
Ability for custom type_mapping to take lower priority than xml_array (`fc0bb22`)
type_mapping to take lower priority than xml_arraySigned-off-by: Paul Horton <paul.horton@owasp.org> (fc0bb22)
Automatically generated by python-semantic-release (58d42ad)
feat: xml_array has higher priority than type_mapping
feat: handle ForwardRef types (664f947)
ForwardRef when we have cyclic references in modelsSigned-off-by: Paul Horton <paul.horton@owasp.org> (a66e700)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (6898b40)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (2cfc44d)
Deserializing JSON with custom JSON name was incorrect (`7d4aefc`)
7d4aefc)Full Changelog: https://github.com/madpah/serializable/compare/v0.9.2...v0.9.3
Signed-off-by: Paul Horton <paul.horton@owasp.org> (7d4aefc)
Automatically generated by python-semantic-release (ccd610f)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (a77452d)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (1f80c4b)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (8ca9e44)
Nested array of Enum values in from_json() failed (`ea4d76a`87f300c362dfe7623))
from_json() failedSigned-off-by: Paul Horton <paul.horton@owasp.org> (ea4d76a)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (1699c5b)
Automatically generated by python-semantic-release (435126c)
Nested array of Enum values in from_xml() failed (`393a425`)
from_xml() failed (393a425)Full Changelog: https://github.com/madpah/serializable/compare/v0.9.0...v0.9.1
from_xml() failedSigned-off-by: Paul Horton <paul.horton@owasp.org> (393a425)
Automatically generated by python-semantic-release (f4e018b)
fix: aligned View definition in unit tests with proper practice
Signed-off-by: Paul Horton <paul.horton@owasp.org> (c7c66f7)
Bring library to BETA state (`c6c36d9`)
c6c36d9)Full Changelog: https://github.com/madpah/serializable/compare/v0.8.2...v0.9.0
feat: add support for Python 3.11
Signed-off-by: Paul Horton <paul.horton@owasp.org> (c6c36d9)
Automatically generated by python-semantic-release (f5cb856)
feat: bring library to BETA state & add support Python 3.11 (33c6756)
Typing for @serializable.view was incorrect (`756032b`)
@serializable.view was incorrectSigned-off-by: Paul Horton <paul.horton@owasp.org> (756032b)
@serializable.serializable_enum decorator was incorrectSigned-off-by: Paul Horton <paul.horton@owasp.org> (84e7826)
Automatically generated by python-semantic-release (3332ed9)
fix: typing only (1860d4d)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (fdd5c8a)
Specific None value per View - support for XML was missing (`5742861`)
5742861)Signed-off-by: Paul Horton <paul.horton@owasp.org> (5742861)
Automatically generated by python-semantic-release (c6d9db8)
Inclusion of property with None value now configurable by View
Full Changelog: https://github.com/madpah/serializable/compare/v0.7.3...v0.8.0
Signed-off-by: Paul Horton <paul.horton@owasp.org> (a80ee35)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (b728c4c)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (b2ebcfb)
Automatically generated by python-semantic-release (4ccdfc9)
None value for JSON is now None (null) (`8b7f973`)
None (null) (8b7f973)None (null)
fix: typing and coding standardsSigned-off-by: Paul Horton <paul.horton@owasp.org> (8b7f973)
Automatically generated by python-semantic-release (8060db3)
84f957b)Support forced inclusion of array properties by using @serializable.include_none (`7ad0ecf`)
@serializable.include_noneSigned-off-by: Paul Horton <paul.horton@owasp.org> (7ad0ecf)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (12f9f97)
Automatically generated by python-semantic-release (01743f2)
eb82dbc)Support for including None values, restricted to certain Views as required (`614068a`)
None values, restricted to certain Views as required (614068a)None values, restricted to certain Views as requiredfix: tests, imports and formatting
Signed-off-by: Paul Horton <paul.horton@owasp.org> (614068a)
Automatically generated by python-semantic-release (4a007c0)
Implement views for serialization to JSON and XML (`db57ef1`)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (db57ef1)
Decimal in JSON serializationSigned-off-by: Paul Horton <paul.horton@owasp.org> (cc2c20f)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (e8b37f2)
Automatically generated by python-semantic-release (da20686)
86492e1)Support for string formatting of values (`99b8f3e`)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (99b8f3e)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (3fefe22)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (c3622fc)
Automatically generated by python-semantic-release (0ede79d)
Merge branch 'main' of github.com:madpah/serializable (5a896c4)
import order
Signed-off-by: Paul Horton <paul.horton@owasp.org> (a2a2ef8)
Add support for defining XML element ordering with @serializable.xml_sequence() decorator (`c1442ae`)
@serializable.xml_sequence() decorator (c1442ae)@serializable.xml_sequence() decoratorSigned-off-by: Paul Horton <paul.horton@owasp.org> (c1442ae)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (448a3c9)
as_xml() for element namesSigned-off-by: Paul Horton <paul.horton@owasp.org> (3bbfb1b)
as_xml() for attributesSigned-off-by: Paul Horton <paul.horton@owasp.org> (8d6a96b)
Automatically generated by python-semantic-release (3034bd1)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (339e53c)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (8462634)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (f4cf0fa)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (0f9cf68)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (95a864a)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (8eb8704)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (8705180)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (fe3f56a)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (4e7a19f)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (7d268db)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (02caa9e)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (210d41d)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (731d7ae)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (90b8a92)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (3427f4b)
xml_sequence() decoratorSigned-off-by: Paul Horton <paul.horton@owasp.org> (d2211c9)
Merge branch 'main' of github.com:madpah/serializable (6520862)
namespacing for XML output
Signed-off-by: Paul Horton <paul.horton@owasp.org> (2e32f08)
Support declaration of XML NS in as_xml() call (`19b2b70`)
as_xml() call (19b2b70)as_xml() callSigned-off-by: Paul Horton <paul.horton@owasp.org> (19b2b70)
Automatically generated by python-semantic-release (3269921)
Deserialization of XML boolean values (`799d477`)
799d477)Signed-off-by: Paul Horton <paul.horton@owasp.org> (799d477)
Automatically generated by python-semantic-release (dbf545c)
Fixed deferred parsing for Properties (`833e29b`)
833e29b)Signed-off-by: Paul Horton <paul.horton@owasp.org> (833e29b)
Automatically generated by python-semantic-release (1628f28)
Support for cyclic dependencies (`911626c`)
911626c)Signed-off-by: Paul Horton <paul.horton@owasp.org> (911626c)
Automatically generated by python-semantic-release (54607f1)
a54d5cf)Support for non-primitive types when XmlSerializationType == FLAT (`7eff15b`)
7eff15b)Signed-off-by: Paul Horton <paul.horton@owasp.org> (7eff15b)
Automatically generated by python-semantic-release (d7e03d1)
6ec8c38)Support ENUM in XML Attributes (`f2f0922`)
f2f0922)Signed-off-by: Paul Horton <paul.horton@owasp.org> (f2f0922)
Automatically generated by python-semantic-release (adae34c)
Merge branch 'main' of github.com:madpah/serializable (8995505)
code styling
Signed-off-by: Paul Horton <paul.horton@owasp.org> (7ec0197)
Handle Array types where the concrete type is quoted in its definition (`b6db879`)
b6db879)Signed-off-by: Paul Horton <paul.horton@owasp.org> (b6db879)
Automatically generated by python-semantic-release (f0c463b)
ea0aa86)Work to support sortedcontainers as a return type for Properties (`805a3f7`)
sortedcontainers as a return type for Properties (805a3f7)sortedcontainers as a return type for PropertiesSigned-off-by: Paul Horton <paul.horton@owasp.org> (805a3f7)
Automatically generated by python-semantic-release (f86da94)
cf9234e)Better support for Properties that have a Class type that is not a Serializable Class (e.g. UUID) (`95d407b`)
95d407b)Signed-off-by: Paul Horton <paul.horton@owasp.org> (95d407b)
Automatically generated by python-semantic-release (53d96bd)
Support ignoring elements/properties during deserialization (`6319d1f`)
6319d1f)Signed-off-by: Paul Horton <paul.horton@owasp.org> (6319d1f)
Automatically generated by python-semantic-release (a286b88)
Update helpers to be properly typed (`d924dc2`)
helpers to be properly typed (d924dc2)helpers to be properly typedSigned-off-by: Paul Horton <paul.horton@owasp.org> (d924dc2)
Automatically generated by python-semantic-release (f632d2f)
5d6564d)Change to helpers to address typing issues (`1c32ba1`)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (1c32ba1)
/ from method signature so we work on Python < 3.8Signed-off-by: Paul Horton <paul.horton@owasp.org> (c45864c)
Automatically generated by python-semantic-release (60045d8)
Update to work on python < 3.10 (`91df8cb`)
91df8cb)Signed-off-by: Paul Horton <paul.horton@owasp.org> (91df8cb)
Automatically generated by python-semantic-release (4afc403)
dbc5039)Library re-write to utilise decorators (`957fca7`)
957fca7)Signed-off-by: Paul Horton <paul.horton@owasp.org> (957fca7)
Automatically generated by python-semantic-release (5bff0a8)
Merge branch 'main' of github.com:madpah/serializable (b14e2c9)
doc changes to reflect move to use of decorators
Signed-off-by: Paul Horton <paul.horton@owasp.org> (9f1b4ca)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (d3633ed)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (3480d71)
print() calls - added loggerSigned-off-by: Paul Horton <paul.horton@owasp.org> (1deee5e)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (375b367)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (d4ab8f4)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (291b37d)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (05d6e5a)
Support for Objects that when represented in XML may just be simple elements with attributes (`1369d7d`)
1369d7d)Signed-off-by: Paul Horton <paul.horton@owasp.org> (1369d7d)
Automatically generated by python-semantic-release (291a2b3)
9c34c2f)Temporarilty add Any as part of AnySerializable type (`d3e9beb`)
Any as part of AnySerializable type (d3e9beb)Any as part of AnySerializable typeSigned-off-by: Paul Horton <paul.horton@owasp.org> (d3e9beb)
Automatically generated by python-semantic-release (77cc49b)
Direct support for Python Enum (`50148cc`)
Enum (50148cc)EnumSigned-off-by: Paul Horton <paul.horton@owasp.org> (50148cc)
Automatically generated by python-semantic-release (532d0d1)
Added missing py.typed marker (`ee3169f`)
py.typed marker (ee3169f)py.typed markerSigned-off-by: Paul Horton <paul.horton@owasp.org> (ee3169f)
Automatically generated by python-semantic-release (02c2c30)
5219023)Added helpers for serializing XML dates and times (xsd:date, xsd:datetime) (`c309834`)
c309834)Signed-off-by: Paul Horton <paul.horton@owasp.org> (c309834)
Automatically generated by python-semantic-release (9c6de39)
986286f)Support for properties whose value is an Type[SerializableObject] but are not List or Set (`bf6773c`)
Type[SerializableObject] but are not List or Set (bf6773c)Type[SerializableObject] but are not List or SetSigned-off-by: Paul Horton <paul.horton@owasp.org> (bf6773c)
Automatically generated by python-semantic-release (7ca1b6f)
bdb75e0)One column per quarter.