- fix: date/time deserialization with fractional seconds (#138)
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
)
- refactor: simplify type conversio in
XsdDate
/XsdDateTime
deserializers (#139)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (d75df5b
)
- chore(deps-dev): update mypy requirement from 1.11.1 to 1.11.2 (#133)
Updates the requirements on mypy to permit the latest version.
updated-dependencies:
- dependency-name: mypy dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (d26c9ec
)
- chore(deps-dev): update flake8-bugbear requirement (#131)
Updates the requirements on flake8-bugbear to permit the latest version.
updated-dependencies:
- dependency-name: flake8-bugbear dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (d4b4365
)
- chore(deps-dev): update flake8 requirement from 7.1.0 to 7.1.1 (#130)
Updates the requirements on flake8 to permit the latest version.
updated-dependencies:
- dependency-name: flake8 dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (cff0742
)
- chore(deps-dev): update coverage requirement from 7.6.0 to 7.6.1 (#129)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
- dependency-name: coverage dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (aaec167
)
- chore(deps-dev): update mypy requirement from 1.11.0 to 1.11.1 (#128)
Updates the requirements on mypy to permit the latest version.
updated-dependencies:
- dependency-name: mypy dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (5ea457b
)
- chore(deps-dev): update mypy requirement from 1.10.1 to 1.11.0 (#125)
Updates the requirements on mypy to permit the latest version.
updated-dependencies:
- dependency-name: mypy dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (4d1be17
)
- chore(deps-dev): update coverage requirement from 7.5.4 to 7.6.0 (#124)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
- dependency-name: coverage dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (511926b
)
- fix: serializer omit
None
values as expected (#136)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (1a0e14b
)
- chore(deps-dev): update autopep8 requirement from 2.3.0 to 2.3.1 (#118)
Updates the requirements on autopep8 to permit the latest version.
updated-dependencies:
- dependency-name: autopep8 dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (7410ba7
)
- chore(deps-dev): update coverage requirement from 7.5.3 to 7.5.4 (#117)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
- dependency-name: coverage dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (2ad22c9
)
- chore(deps-dev): update mypy requirement from 1.10.0 to 1.10.1 (#116)
Updates the requirements on mypy to permit the latest version.
updated-dependencies:
- dependency-name: mypy dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (f4e350a
)
- chore(deps-dev): update autopep8 requirement from 2.1.1 to 2.3.0 (#113)
Updates the requirements on autopep8 to permit the latest version.
updated-dependencies:
- dependency-name: autopep8 dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (e32873f
)
- chore(deps-dev): update flake8 requirement from 7.0.0 to 7.1.0 (#111)
Updates the requirements on flake8 to permit the latest version.
updated-dependencies:
- dependency-name: flake8 dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (fac3cc4
)
- chore(deps-dev): update coverage requirement from 7.5.1 to 7.5.3 (#107)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
- dependency-name: coverage dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (168b334
)
- chore(deps-dev): update autopep8 requirement from 2.1.0 to 2.1.1 (#106)
Updates the requirements on autopep8 to permit the latest version.
updated-dependencies:
- dependency-name: autopep8 dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (209a7f1
)
- chore(deps-dev): update flake8-annotations requirement (#103)
Updates the requirements on flake8-annotations to permit the latest version.
updated-dependencies:
- dependency-name: flake8-annotations dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (ee81803
)
- chore(deps-dev): update xmldiff requirement from 2.6.3 to 2.7.0 (#104)
Updates the requirements on xmldiff to permit the latest version.
updated-dependencies:
- dependency-name: xmldiff dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (7ab73d9
)
- chore(deps-dev): update flake8-annotations requirement (#101)
Updates the requirements on flake8-annotations to permit the latest version.
updated-dependencies:
- dependency-name: flake8-annotations dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (6858d81
)
- chore(deps-dev): update coverage requirement from 7.5.0 to 7.5.1 (#100)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
- dependency-name: coverage dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (5ddb017
)
- chore(deps-dev): update flake8-bugbear requirement (#96)
Updates the requirements on flake8-bugbear to permit the latest version.
updated-dependencies:
- dependency-name: flake8-bugbear dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (8094b81
)
- chore(deps-dev): update mypy requirement from 1.9.0 to 1.10.0 (#94)
Updates the requirements on mypy to permit the latest version.
updated-dependencies:
- dependency-name: mypy dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (f370676
)
- chore(deps-dev): update coverage requirement from 7.4.4 to 7.5.0 (#95)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
- dependency-name: coverage dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (9306d7e
)
- chore(ci): fix macos runner (#98) (
9b11545
)
- docs: fix links (#122)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (aabb5e9
)
- feat: XML string formats for
normalizedString
andtoken
(#119)
fixes #114 fixes #115
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (3a1728d
)
- refactor: readability and maintainability (#121)
- xml bool values were static simplified
dict.update()
were replaced by proper access methodsdict[]
set
simplify
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (73ce317
)
- chore(deps-dev): update autopep8 requirement from 2.0.4 to 2.1.0 (#86)
Updates the requirements on autopep8 to permit the latest version.
updated-dependencies:
- dependency-name: autopep8 dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (1577157
)
- chore(deps-dev): update flake8-logging requirement from 1.5.0 to 1.6.0 (#87)
Updates the requirements on flake8-logging to permit the latest version.
updated-dependencies:
- dependency-name: flake8-logging dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (7d64241
)
- chore(deps-dev): update coverage requirement from 7.4.3 to 7.4.4 (#84)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
- dependency-name: coverage dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (425f05e
)
- chore(deps-dev): update mypy requirement from 1.8.0 to 1.9.0 (#83)
Updates the requirements on mypy to permit the latest version.
updated-dependencies:
- dependency-name: mypy dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (9fa5297
)
- fix: support deserialization of XML flat arrays where
child_name
does not conform to current formatter #89 (#90)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (ade5bd7
)
- build: use poetry v1.8.1 (#81)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (46a8d9e
)
- chore(deps-dev): update coverage requirement from 7.4.1 to 7.4.3 (#79)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
- dependency-name: coverage dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (fbf9b06
)
- chore(deps): bump Gr1N/setup-poetry from 8 to 9 (#80)
Bumps Gr1N/setup-poetry from 8 to 9.
updated-dependencies:
- dependency-name: Gr1N/setup-poetry dependency-type: direct:production update-type: version-update:semver-major ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (3264bc6
)
- chore(deps-dev): update flake8-quotes requirement from 3.3.2 to 3.4.0 (#77)
Updates the requirements on flake8-quotes to permit the latest version.
updated-dependencies:
- dependency-name: flake8-quotes dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (8a5460a
)
- chore: typo in SECURITY.md (
06f557d
)
- chore(deps-dev): update coverage requirement from 7.4.0 to 7.4.1 (#69)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
- dependency-name: coverage dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (447e6b8
)
- chore(deps-dev): update flake8-bugbear requirement (#71)
Updates the requirements on flake8-bugbear to permit the latest version.
updated-dependencies:
- dependency-name: flake8-bugbear dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (e3e51a4
)
- chore(deps-dev): update flake8-logging requirement from 1.4.0 to 1.5.0 (#70)
Updates the requirements on flake8-logging to permit the latest version.
updated-dependencies:
- dependency-name: flake8-logging dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (aeca110
)
- chore(deps-dev): update flake8-bugbear requirement (#68)
Updates the requirements on flake8-bugbear to permit the latest version.
updated-dependencies:
- dependency-name: flake8-bugbear dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (1727d78
)
- fix: serialization of
datetime
without timezone with local time offset (#76)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (06776ba
)
- refactor: usage of
typing.Literal
as non-string (#73)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (32fbe2a
)
-
feat!: v1.0.0 (#55)
Release of first major version 🎉
- Dropped support for python <3.8
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (2cee4d5
)
- chore: add
flake8-logging
(#61)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (cebb507
)
- docs: fix conda link/url
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (5645ca6
)
- docs: add "documentation" url to project meta
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (bf864d7
)
- docs: add "documentation" url to project meta
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (d3bcc42
)
- fix: log placeholder (#60) (
3cc6cad
)
- 0.17.1
chore(release): 0.17.1
Automatically generated by python-semantic-release (3b50104
)
- Create SECURITY.md (
9cdc0b1
)
- chore(deps-dev): update flake8 requirement from 6.1.0 to 7.0.0 (#52)
Updates the requirements on flake8 to permit the latest version.
updated-dependencies:
- dependency-name: flake8 dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (14493ec
)
- chore(deps): bump actions/checkout from 3 to 4 (#36)
Bumps actions/checkout from 3 to 4.
updated-dependencies:
- dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (54576ff
)
- chore: test with python 3.12 (#29)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Paul Horton <paul.horton@owasp.org>
Co-authored-by: Paul Horton <paul.horton@owasp.org> (8051886
)
- chore: Update dev tools, style (#44)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (b05e50b
)
- chore(deps-dev): update flake8-bugbear requirement (#43)
Updates the requirements on flake8-bugbear to permit the latest version.
updated-dependencies:
- dependency-name: flake8-bugbear dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (7e77788
)
- chore(deps-dev): update flake8-isort requirement from 4.2.0 to 6.0.0 (#40)
Updates the requirements on flake8-isort to permit the latest version.
updated-dependencies:
- dependency-name: flake8-isort dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (8d3019e
)
- chore(deps-dev): update coverage requirement from 7.2.1 to 7.2.7 (#42)
Updates the requirements on coverage to permit the latest version.
updated-dependencies:
- dependency-name: coverage dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (f2bc2ad
)
- chore(deps-dev): update typing-extensions requirement (#41)
Updates the requirements on typing-extensions to permit the latest version.
updated-dependencies:
- dependency-name: typing-extensions dependency-type: direct:development ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (0b36ea5
)
- chore: update maintainers
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (4bcad49
)
- chore(deps): bump actions/setup-python from 4 to 5 (#38)
Bumps actions/setup-python from 4 to 5.
updated-dependencies:
- dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (1578f13
)
- chore: prep maintenance (#35)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (a5db923
)
- docs: modernixe read-the-docs
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (7ae6aad
)
- docs: homepage (#48)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (de206d6
)
- docs: condaforge (#46)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (c0074ce
)
- feat: logger (#47)
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
)
- 0.17.0
chore(release): 0.17.0
Automatically generated by python-semantic-release (a6fc788
)
- feat: more controll over XML attribute serialization (#34)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (38f42d6
)
- 0.16.0
chore(release): 0.16.0
Automatically generated by python-semantic-release (b444fd7
)
- feat: allow custom (de)normalization (#32)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (aeecd6b
)
- 0.15.0
chore(release): 0.15.0
Automatically generated by python-semantic-release (e80c514
)
- fix: JSON deserialize
Decimal
(#31)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (b6dc66a
)
- 0.14.1
chore(release): 0.14.1
Automatically generated by python-semantic-release (0183a17
)
- feat: enhanced typehints and typing (#27)
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
)
- 0.14.0
chore(release): 0.14.0
Automatically generated by python-semantic-release (7bb0d1b
)
- docs: add examples to docs (#28)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (4eddb24
)
- docs: remove unnecessary type-ignores
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (26c561d
)
- docs: remove unnecessary type-ignores
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (11b5896
)
- fix: protect default value for
serialization_types
from unintended downstream modifications (#30)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (0e814f5
)
- refactor: _as_xml()'s klass_qualified_name module string from class, not instalce`
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (0499b59
)
- 0.13.1
chore(release): 0.13.1
Automatically generated by python-semantic-release (bd604c8
)
- tests: align tests with latest features/merges
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (76c566c
)
- feat: format specific (de)serialize (#25)
Added functionality to implement custom (de)serialization specific for XML or JSON (#13).
- Class
BaseHelper
is no longer abstract.
This class does not provide any functionality, it is more like a Protocol with some fallback implementations. - Method
BaseHelper.serialize()
is no longer abstract. Will raiseNotImplementedError
per default. - Method
BaseHelper.deserialize()
is no longer abstract. Will raiseNotImplementedError
per default.
- New method
BaseHelper.json_serialize()
predefined.
Will callcls.serialize()
per default. - New method
BaseHelper.json_deserialize()
predefined.
Will callcls.deserialize()
per default.
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (dc998df
)
- 0.13.0
chore(release): 0.13.0
Automatically generated by python-semantic-release (c1670d6
)
- build: semantic-release sets library version everywhere (#16)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (296ef19
)
- chore: bump to python-semantic-release/python-semantic-release@v7.34.6
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (4a7f5a1
)
- chore: remove poetry lockfile (#18)
- fixes #17
- poetry lockfile no longer in VCS
- pin dev-dependencies (to the version that was used in lockfile)
- gitignore more
- bump poetry version that is used in CI, to fix poetry issues ... (
4b20d44
)
- ci: removed unused step
Signed-off-by: Paul Horton <paul.horton@owasp.org> (d63caa6
)
- docs: render only public API (#19)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (fcc5d8e
)
- docs: set codeblock language and caption (#15)
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
)
- refactor: simplify decorators (#26)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (a2b5503
)
- 0.12.1
chore(release): 0.12.1
Automatically generated by python-semantic-release (9a2798d
)
- bump to python-semantic-release/python-semantic-release@v7.34.6
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com> (68d229e
)
- Merge pull request #7 from claui/fix-top-level-license
Keep LICENSE
in .dist-info
when building wheel (9bc4abc
)
- Keep
LICENSE
in.dist-info
when building wheel
Poetry 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 ofsite-packages
directly. That’s misleading, because anyone who’d browsesite-packages
might conclude that the license be valid for all packages, not justserializable
, 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 hadLICENSE
files coming from two different wheels, excludingserializable
, sitting at the top level of mysite-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
)
- Merge branch 'main' of github.com:madpah/serializable (
c1e8fd8
)
- ci: workaround as per python-semantic-release/python-semantic-release#566
Signed-off-by: Paul Horton <paul.horton@owasp.org> (bcd15e2
)
- ci: fix to CI
Signed-off-by: Paul Horton <paul.horton@owasp.org> (6eb28a6
)
- ci: update to run on 3.11 by default
ci: consolidate to use
Gr1N/setup-poetry
and update tov8
Signed-off-by: Paul Horton <paul.horton@owasp.org> (7d65f32
)
- feat: bump dev dependencies to latest (including
mypy
fixes)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (06dcaa2
)
- feat: bump dev dependencies to latest (including
mypy
fixes)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (6d70287
)
- 0.12.0
Automatically generated by python-semantic-release (fa9f9b3
)
- Merge pull request #6 from madpah/fix/dep-updates
feat: bump dev dependencies to latest (including mypy
fixes) (08b4825
)
-
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
)
- fix: use
defusedxml
whenever we load XML to prevent XEE attacks
Signed-off-by: Paul Horton <paul.horton@owasp.org> (72e0127
)
- fix: use
defusedxml
whenever we load XML to prevent XEE attacks
Signed-off-by: Paul Horton <paul.horton@owasp.org> (de61deb
)
- fix: use
defusedxml
whenever we load XML to prevent XEE attacks
Signed-off-by: Paul Horton <paul.horton@owasp.org> (de26dc3
)
- 0.11.1
Automatically generated by python-semantic-release (0bdccc4
)
- ci: revert to plain
semantic-release
to workaroundpoetry
not found error
Signed-off-by: Paul Horton <paul.horton@owasp.org> (d3f7847
)
- feat: disabled handling to avoid class attributes that clash with
keywords
andbuiltins
Signed-off-by: Paul Horton <paul.horton@owasp.org> (4439227
)
- 0.11.0
Automatically generated by python-semantic-release (90de3b8
)
- define
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
)
- Merge pull request #4 from madpah/feat/allow-python-keywords
feat: disabled handling to avoid class attributes that clash with keywords
and builtins
(2a33bc6
)
- cleanup
Signed-off-by: Paul Horton <paul.horton@owasp.org> (0ff402e
)
- ci: use higher powered GH token for release
Signed-off-by: Paul Horton <paul.horton@owasp.org> (1ea12f8
)
- ci: attempt to reolve broken CI (python-semantic-release/python-semantic-release#560)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (e6880ba
)
- fix: handle empty XML elements during deserialization
Signed-off-by: Paul Horton <paul.horton@owasp.org> (f806f35
)
- 0.10.1
Automatically generated by python-semantic-release (69e5866
)
- chore: manual changelog
Signed-off-by: Paul Horton <paul.horton@owasp.org> (bc8300d
)
- feat: ability for custom
type_mapping
to take lower priority thanxml_array
Signed-off-by: Paul Horton <paul.horton@owasp.org> (fc0bb22
)
- 0.10.0
Automatically generated by python-semantic-release (58d42ad
)
- Merge pull request #3 from madpah/feat/recursive-parsing-differing-schemas
feat: xml_array
has higher priority than type_mapping
feat: handle ForwardRef
types (664f947
)
- work to handle
ForwardRef
when we have cyclic references in models
Signed-off-by: Paul Horton <paul.horton@owasp.org> (a66e700
)
- remove comment
Signed-off-by: Paul Horton <paul.horton@owasp.org> (6898b40
)
- added test to prove CycloneDX/specification#146 for CycloneDX/cyclonedx-python-lib#290
Signed-off-by: Paul Horton <paul.horton@owasp.org> (2cfc44d
)
- fix: deserializing JSON with custom JSON name was incorrect
Signed-off-by: Paul Horton <paul.horton@owasp.org> (7d4aefc
)
- 0.9.3
Automatically generated by python-semantic-release (ccd610f
)
- better logging for deserialization errors
Signed-off-by: Paul Horton <paul.horton@owasp.org> (a77452d
)
- added more logging
Signed-off-by: Paul Horton <paul.horton@owasp.org> (1f80c4b
)
- code style
Signed-off-by: Paul Horton <paul.horton@owasp.org> (8ca9e44
)
- fix: nested array of Enum values in
from_json()
failed
Signed-off-by: Paul Horton <paul.horton@owasp.org> (ea4d76a
)
- fix: output better errors when deserializing JSON and we hit errors
Signed-off-by: Paul Horton <paul.horton@owasp.org> (1699c5b
)
- 0.9.2
Automatically generated by python-semantic-release (435126c
)
- fix: nested array of Enum values in
from_xml()
failed
Signed-off-by: Paul Horton <paul.horton@owasp.org> (393a425
)
- 0.9.1
Automatically generated by python-semantic-release (f4e018b
)
- doc: added to docs to cover latest features and Views
fix: aligned View definition in unit tests with proper practice
Signed-off-by: Paul Horton <paul.horton@owasp.org> (c7c66f7
)
- chore: silence
mypy
B027
forever
Signed-off-by: Paul Horton <paul.horton@owasp.org> (4112b7e
)
- chore: typing
Signed-off-by: Paul Horton <paul.horton@owasp.org> (ac67f09
)
- chore: updated CI to test on Py 3.11
Signed-off-by: Paul Horton <paul.horton@owasp.org> (daa6c07
)
- chore: updated CI to test on Py 3.11
Signed-off-by: Paul Horton <paul.horton@owasp.org> (c73dcde
)
- chore: fixed GitHub badge in README
Signed-off-by: Paul Horton <paul.horton@owasp.org> (e7895b7
)
- ci: bump setup-poetry to v8 to gain support for Python 3.11
Signed-off-by: Paul Horton <paul.horton@owasp.org> (a5c4e25
)
- feat: bring library to BETA state
feat: add support for Python 3.11
Signed-off-by: Paul Horton <paul.horton@owasp.org> (c6c36d9
)
- 0.9.0
Automatically generated by python-semantic-release (f5cb856
)
- Merge pull request #2 from madpah/feat/support-py311
feat: bring library to BETA state & add support Python 3.11 (33c6756
)
- fix: typing for
@serializable.view
was incorrect
Signed-off-by: Paul Horton <paul.horton@owasp.org> (756032b
)
- fix: typing for
@serializable.serializable_enum
decorator was incorrect
Signed-off-by: Paul Horton <paul.horton@owasp.org> (84e7826
)
- 0.8.2
Automatically generated by python-semantic-release (3332ed9
)
- Merge pull request #1 from madpah/fix/typing
fix: typing only (1860d4d
)
- spacing
Signed-off-by: Paul Horton <paul.horton@owasp.org> (fdd5c8a
)
- chore: typing and import ordering
Signed-off-by: Paul Horton <paul.horton@owasp.org> (dd815c3
)
- fix: Specific None value per View - support for XML was missing
Signed-off-by: Paul Horton <paul.horton@owasp.org> (5742861
)
- 0.8.1
Automatically generated by python-semantic-release (c6d9db8
)
- chore: remove
poetry install
from build command
Signed-off-by: Paul Horton <paul.horton@owasp.org> (b90da79
)
- feat: support for specific None values for Properties by View
Signed-off-by: Paul Horton <paul.horton@owasp.org> (a80ee35
)
- fix: minor typing and styling
Signed-off-by: Paul Horton <paul.horton@owasp.org> (b728c4c
)
- fix: minor typing and styling
Signed-off-by: Paul Horton <paul.horton@owasp.org> (b2ebcfb
)
- 0.8.0
Automatically generated by python-semantic-release (4ccdfc9
)
- fix: None value for JSON is now
None
(null
) fix: typing and coding standards
Signed-off-by: Paul Horton <paul.horton@owasp.org> (8b7f973
)
- 0.7.3
Automatically generated by python-semantic-release (8060db3
)
- Merge branch 'main' of github.com:madpah/serializable (
84f957b
)
- fix: missing namespace for empty XML elements
Signed-off-by: Paul Horton <paul.horton@owasp.org> (f3659ab
)
- 0.7.2
Automatically generated by python-semantic-release (08698d1
)
- fix: support forced inclusion of array properties by using
@serializable.include_none
Signed-off-by: Paul Horton <paul.horton@owasp.org> (7ad0ecf
)
- fix: support for deserializing to objects from a primitive value
Signed-off-by: Paul Horton <paul.horton@owasp.org> (12f9f97
)
- 0.7.1
Automatically generated by python-semantic-release (01743f2
)
- Merge branch 'main' of github.com:madpah/serializable (
eb82dbc
)
- feat: support for including
None
values, restricted to certain Views as required
fix: tests, imports and formatting
Signed-off-by: Paul Horton <paul.horton@owasp.org> (614068a
)
- 0.7.0
Automatically generated by python-semantic-release (4a007c0
)
- feat: implement views for serialization to JSON and XML
Signed-off-by: Paul Horton <paul.horton@owasp.org> (db57ef1
)
- fix: support for
Decimal
in JSON serialization
Signed-off-by: Paul Horton <paul.horton@owasp.org> (cc2c20f
)
- fix: better serialization to JSON
Signed-off-by: Paul Horton <paul.horton@owasp.org> (e8b37f2
)
- 0.6.0
Automatically generated by python-semantic-release (da20686
)
- Merge branch 'main' of github.com:madpah/serializable (
86492e1
)
- feat: support for string formatting of values
Signed-off-by: Paul Horton <paul.horton@owasp.org> (99b8f3e
)
- feat: support string formatting for values
Signed-off-by: Paul Horton <paul.horton@owasp.org> (3fefe22
)
- feat: support for custom Enum implementations
Signed-off-by: Paul Horton <paul.horton@owasp.org> (c3622fc
)
- 0.5.0
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
)
- chore: increase logging to debug GH Actions
Signed-off-by: Paul Horton <paul.horton@owasp.org> (6111fbe
)
- feat: add support for defining XML element ordering with
@serializable.xml_sequence()
decorator
Signed-off-by: Paul Horton <paul.horton@owasp.org> (c1442ae
)
- fix: removed unused dependencies
Signed-off-by: Paul Horton <paul.horton@owasp.org> (448a3c9
)
- fix: handle python builtins and keywords during
as_xml()
for element names
Signed-off-by: Paul Horton <paul.horton@owasp.org> (3bbfb1b
)
- fix: handle python builtins and keywords during
as_xml()
for attributes
Signed-off-by: Paul Horton <paul.horton@owasp.org> (8d6a96b
)
- 0.4.0
Automatically generated by python-semantic-release (3034bd1
)
- python < 3.8 typing
Signed-off-by: Paul Horton <paul.horton@owasp.org> (339e53c
)
- removed unused import
Signed-off-by: Paul Horton <paul.horton@owasp.org> (8462634
)
- updated release CI
Signed-off-by: Paul Horton <paul.horton@owasp.org> (f4cf0fa
)
- typing
Signed-off-by: Paul Horton <paul.horton@owasp.org> (0f9cf68
)
- cleanup
Signed-off-by: Paul Horton <paul.horton@owasp.org> (95a864a
)
- test alternative poetry installation in CI
Signed-off-by: Paul Horton <paul.horton@owasp.org> (8eb8704
)
- test alternative poetry installation in CI
Signed-off-by: Paul Horton <paul.horton@owasp.org> (8705180
)
- test alternative poetry installation in CI
Signed-off-by: Paul Horton <paul.horton@owasp.org> (fe3f56a
)
- test alternative poetry installation in CI
Signed-off-by: Paul Horton <paul.horton@owasp.org> (4e7a19f
)
- test alternative poetry installation in CI
Signed-off-by: Paul Horton <paul.horton@owasp.org> (7d268db
)
- test alternative poetry installation in CI
Signed-off-by: Paul Horton <paul.horton@owasp.org> (02caa9e
)
- test alternative poetry installation in CI
Signed-off-by: Paul Horton <paul.horton@owasp.org> (210d41d
)
- force poetry cache clear
Signed-off-by: Paul Horton <paul.horton@owasp.org> (731d7ae
)
- bump poetry to 1.1.12
Signed-off-by: Paul Horton <paul.horton@owasp.org> (90b8a92
)
- typing
Signed-off-by: Paul Horton <paul.horton@owasp.org> (3427f4b
)
- doc: added docs for
xml_sequence()
decorator
Signed-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
)
- fix: support declaration of XML NS in
as_xml()
call
Signed-off-by: Paul Horton <paul.horton@owasp.org> (19b2b70
)
- 0.3.9
Automatically generated by python-semantic-release (3269921
)
- fix: deserialization of XML boolean values
Signed-off-by: Paul Horton <paul.horton@owasp.org> (799d477
)
- 0.3.8
Automatically generated by python-semantic-release (dbf545c
)
- fix: fixed deferred parsing for Properties
Signed-off-by: Paul Horton <paul.horton@owasp.org> (833e29b
)
- 0.3.7
Automatically generated by python-semantic-release (1628f28
)
- fix: support for cyclic dependencies
Signed-off-by: Paul Horton <paul.horton@owasp.org> (911626c
)
- 0.3.6
Automatically generated by python-semantic-release (54607f1
)
- Merge branch 'main' of github.com:madpah/serializable (
a54d5cf
)
- fix: support for non-primitive types when XmlSerializationType == FLAT
Signed-off-by: Paul Horton <paul.horton@owasp.org> (7eff15b
)
- 0.3.5
Automatically generated by python-semantic-release (d7e03d1
)
- Merge branch 'main' of github.com:madpah/serializable (
6ec8c38
)
- fix: support ENUM in XML Attributes
Signed-off-by: Paul Horton <paul.horton@owasp.org> (f2f0922
)
- 0.3.4
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
)
- fix: handle Array types where the concrete type is quoted in its definition
Signed-off-by: Paul Horton <paul.horton@owasp.org> (b6db879
)
- 0.3.3
Automatically generated by python-semantic-release (f0c463b
)
- Merge branch 'main' of github.com:madpah/serializable (
ea0aa86
)
- fix: work to support
sortedcontainers
as a return type for Properties
Signed-off-by: Paul Horton <paul.horton@owasp.org> (805a3f7
)
- 0.3.2
Automatically generated by python-semantic-release (f86da94
)
- Merge branch 'main' of github.com:madpah/serializable (
cf9234e
)
- fix: better support for Properties that have a Class type that is not a Serializable Class (e.g. UUID)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (95d407b
)
- 0.3.1
Automatically generated by python-semantic-release (53d96bd
)
- feat: support ignoring elements/properties during deserialization
Signed-off-by: Paul Horton <paul.horton@owasp.org> (6319d1f
)
- 0.3.0
Automatically generated by python-semantic-release (a286b88
)
- chore: address isort and flake8 errors
Signed-off-by: Paul Horton <paul.horton@owasp.org> (0ceb5a2
)
- fix: update
helpers
to be properly typed
Signed-off-by: Paul Horton <paul.horton@owasp.org> (d924dc2
)
- 0.2.3
Automatically generated by python-semantic-release (f632d2f
)
- Merge branch 'main' of github.com:madpah/serializable (
5d6564d
)
- fix: change to helpers to address typing issues
Signed-off-by: Paul Horton <paul.horton@owasp.org> (1c32ba1
)
- fix: remove
/
from method signature so we work on Python < 3.8
Signed-off-by: Paul Horton <paul.horton@owasp.org> (c45864c
)
- 0.2.2
Automatically generated by python-semantic-release (60045d8
)
- fix: update to work on python < 3.10
Signed-off-by: Paul Horton <paul.horton@owasp.org> (91df8cb
)
- 0.2.1
Automatically generated by python-semantic-release (4afc403
)
- Merge branch 'main' of github.com:madpah/serializable (
dbc5039
)
- feat: library re-write to utilise decorators
Signed-off-by: Paul Horton <paul.horton@owasp.org> (957fca7
)
- 0.2.0
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
)
- typing
Signed-off-by: Paul Horton <paul.horton@owasp.org> (d3633ed
)
- typing
Signed-off-by: Paul Horton <paul.horton@owasp.org> (3480d71
)
- removed
print()
calls - added logger
Signed-off-by: Paul Horton <paul.horton@owasp.org> (1deee5e
)
- removed dead code
Signed-off-by: Paul Horton <paul.horton@owasp.org> (375b367
)
- wip: all unit tests passing for JSON and XML after migrating to use of decorators
Signed-off-by: Paul Horton <paul.horton@owasp.org> (d4ab8f4
)
- wip - JSON serialization and deserialization unit tests passing using decorators
Signed-off-by: Paul Horton <paul.horton@owasp.org> (291b37d
)
- wip - move to using Decorators to annotate classes to affect serialization/deserialization
Signed-off-by: Paul Horton <paul.horton@owasp.org> (05d6e5a
)
- fix: support for Objects that when represented in XML may just be simple elements with attributes
Signed-off-by: Paul Horton <paul.horton@owasp.org> (1369d7d
)
- 0.1.7
Automatically generated by python-semantic-release (291a2b3
)
- Merge branch 'main' of github.com:madpah/serializable (
9c34c2f
)
- fix: temporarilty add
Any
as part ofAnySerializable
type
Signed-off-by: Paul Horton <paul.horton@owasp.org> (d3e9beb
)
- 0.1.6
Automatically generated by python-semantic-release (77cc49b
)
- fix: direct support for Python
Enum
Signed-off-by: Paul Horton <paul.horton@owasp.org> (50148cc
)
- 0.1.5
Automatically generated by python-semantic-release (532d0d1
)
- fix: added missing
py.typed
marker
Signed-off-by: Paul Horton <paul.horton@owasp.org> (ee3169f
)
- 0.1.4
Automatically generated by python-semantic-release (02c2c30
)
- Merge branch 'main' of github.com:madpah/serializable (
5219023
)
- fix: added helpers for serializing XML dates and times (xsd:date, xsd:datetime)
Signed-off-by: Paul Horton <paul.horton@owasp.org> (c309834
)
- 0.1.3
Automatically generated by python-semantic-release (9c6de39
)
- Merge branch 'main' of github.com:madpah/serializable (
986286f
)
- fix: support for properties whose value is an
Type[SerializableObject]
but are notList
orSet
Signed-off-by: Paul Horton <paul.horton@owasp.org> (bf6773c
)
- 0.1.2
Automatically generated by python-semantic-release (7ca1b6f
)
- Merge branch 'main' of github.com:madpah/serializable (
bdb75e0
)
- fix: handle nested objects that are not list or set
Signed-off-by: Paul Horton <paul.horton@owasp.org> (4bc5252
)
- 0.1.1
Automatically generated by python-semantic-release (fc77999
)
- chore: corrected GitHub repo name
Signed-off-by: Paul Horton <paul.horton@owasp.org> (3dd770c
)
- chore: corrected GitHub repo name
Signed-off-by: Paul Horton <paul.horton@owasp.org> (4d009b7
)
- feat: first alpha release
Signed-off-by: Paul Horton <paul.horton@owasp.org> (c95a772
)
- feat: first working draft of library for (de-)serialization to/from JSON and XML
Signed-off-by: Paul Horton <paul.horton@owasp.org> (7af4f9c
)
- 0.1.0
Automatically generated by python-semantic-release (701a522
)
- doc: fixed doc config and added first pass documentation
Signed-off-by: Paul Horton <paul.horton@owasp.org> (38705a1
)
- Initial commit (
70ca2a5
)