Pydantic

Latest version: v2.7.4

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

Scan your dependencies

Page 23 of 23

0.3.0

* immutable models via `config.allow_mutation = False`, associated cleanup and performance improvement [44](https://github.com/pydantic/pydantic/pull/44)
* immutable helper methods `construct()` and `copy()` [53](https://github.com/pydantic/pydantic/pull/53)
* allow pickling of models [53](https://github.com/pydantic/pydantic/pull/53)
* `setattr` is removed as `__setattr__` is now intelligent [44](https://github.com/pydantic/pydantic/pull/44)
* `raise_exception` removed, Models now always raise exceptions [44](https://github.com/pydantic/pydantic/pull/44)
* instance method validators removed
* django-restful-framework benchmarks added [47](https://github.com/pydantic/pydantic/pull/47)
* fix inheritance bug [49](https://github.com/pydantic/pydantic/pull/49)
* make str type stricter so list, dict etc are not coerced to strings. [52](https://github.com/pydantic/pydantic/pull/52)
* add `StrictStr` which only always strings as input [52](https://github.com/pydantic/pydantic/pull/52)

0.2.1

Not secure
* pypi and travis together messed up the deploy of `v0.2` this should fix it

0.2.0

* **breaking change**: `values()` on a model is now a method not a property,
takes `include` and `exclude` arguments
* allow annotation only fields to support mypy
* add pretty `to_string(pretty=True)` method for models

0.1.0

* add docs
* add history

Page 23 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.