Pydantic-changedetect

Latest version: v0.8.0

Safety actively analyzes 706259 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.8.0

Officially support Python 3.13 + drop support for older versions.

What's Changed
* chore(deps-dev): Update ruff requirement from >=0.5.0,<0.7.0 to >=0.5.0,<0.8.0 by dependabot in https://github.com/team23/pydantic-changedetect/pull/38
* chore(deps-dev): Update pytest-cov requirement from >=3,<6 to >=3,<7 by dependabot in https://github.com/team23/pydantic-changedetect/pull/41
* chore(deps-dev): Update ruff requirement from >=0.5.0,<0.8.0 to >=0.5.0,<0.9.0 by dependabot in https://github.com/team23/pydantic-changedetect/pull/42
* Add official Python 3.13 support and remove support for older versions by ddanier
* Update libraries and code to match current version requirements by ddanier


**Full Changelog**: https://github.com/team23/pydantic-changedetect/compare/v0.7.3...v0.8.0

0.7.3

* Fix issues with newer version of pydantic and pyright (typing failed) by ddanier
* Add support for partially hydrated models, thanks to mathieu-gillot (see https://github.com/team23/pydantic-changedetect/pull/36)

0.7.0

* More types are not checked for equality and will not trigger `model_has_changed` to be true
- `datetime`/`date`/`time`/`timedelta`
- `list`/`set`/`tuple` and also `dict`
- `pydantic.BaseModel` instances, as pydantic supports comparing those
* You may not override checking for equality more easily using the two methods `_model_value_is_comparable_type` and `_model_value_is_actually_unchanged`. If any type is missing for you, feel free to extend the class 😉

0.6.7

* Fix issue with pylance, now "exporting" the library contents correctly
* Officially supporting Python 3.12 (`tox` tests on Python 3.12, too)

0.6.6

* Add support for new pydantic 2.7 parameters (`context` and `serialize_as_any`) to `model_dump` and `model_dump_json`

0.6.5

* Fix issue 27

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.