Releases: sassanh/python-immutable
Releases · sassanh/python-immutable
v1.2.2
PyPI package: https://pypi.org/project/python-immutable/1.2.2
Changes:
- refactor: make it play nicer with pyright's
reportUnhashable - chore: update setup-uv version in github actions to v6 to support
python-versionparameter
v1.2.1
PyPI package: https://pypi.org/project/python-immutable/1.2.1
Changes:
- refactor: make it play nicer with pyright's
reportUnhashable - chore: update setup-uv version in github actions to v6 to support
python-versionparameter
v1.2.0
PyPI package: https://pypi.org/project/python-immutable/1.2.0
Changes:
- chore: replace poetry with uv, make sure python3.9+ is supported and add tests for all supported python versions in github actions
- feat: add
__call__method toImmutableclass to allow replacing attributes with new values, basically a shorthand fordataclasses.replace
v1.1.1
PyPI package: https://pypi.org/project/python-immutable/1.1.1
Changes:
- fix: mark
Immutableclass as a dataclass to avoidTypeErrorwhen usingdataclasses.replace,
dataclasses.fields, etc.
v1.1.0
PyPI package: https://pypi.org/project/python-immutable/1.1.0
Changes:
- feat: instanced of subclasses of
Immutableare now considered equal if they
have the same attributes, in the same order, with the same values - refactor: the return value of
make_immutablenow passesissubclass(cls, Immutable)
check and has__eq__ofImmutable - test: add tests
v1.0.6
PyPI package: https://pypi.org/project/python-immutable/1.0.6
Changes:
- feat: add
make_immutableto be on par withmake_dataclass
v1.0.5
Release of version 1.0.5
PyPI package: https://pypi.org/project/python-immutable/1.0.5
v1.0.4
Release of version 1.0.4
PyPI package: https://pypi.org/project/python-immutable/1.0.4
Version 1.0.0
Immutable classes can now be defined using immutable decorator or by inheriting from Immutable class.