Pydantic

Latest version: v2.10.4

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

Scan your dependencies

Page 23 of 26

0.12.1

Not secure
* fix schema generation for fields defined using `typing.Any` [237](https://github.com/pydantic/pydantic/pull/237)

0.12.0

* add `by_alias` argument in `.dict()` and `.json()` model methods [205](https://github.com/pydantic/pydantic/pull/205)
* add Json type support [214](https://github.com/pydantic/pydantic/pull/214)
* support tuples [227](https://github.com/pydantic/pydantic/pull/227)
* major improvements and changes to schema [213](https://github.com/pydantic/pydantic/pull/213)

0.11.2

Not secure
* add `NewType` support [115](https://github.com/pydantic/pydantic/pull/115)
* fix `list`, `set` & `tuple` validation [225](https://github.com/pydantic/pydantic/pull/225)
* separate out `validate_model` method, allow errors to be returned along with valid values [221](https://github.com/pydantic/pydantic/pull/221)

0.11.1

Not secure
* support Python 3.7 [216](https://github.com/pydantic/pydantic/pull/216), thanks layday
* Allow arbitrary types in model [209](https://github.com/pydantic/pydantic/pull/209), thanks oldPadavan

0.11.0

* make `list`, `tuple` and `set` types stricter [86](https://github.com/pydantic/pydantic/pull/86)
* **breaking change**: remove msgpack parsing [201](https://github.com/pydantic/pydantic/pull/201)
* add `FilePath` and `DirectoryPath` types [10](https://github.com/pydantic/pydantic/pull/10)
* model schema generation [190](https://github.com/pydantic/pydantic/pull/190)
* JSON serialization of models and schemas [133](https://github.com/pydantic/pydantic/pull/133)

0.10.0

* add `Config.allow_population_by_alias` [160](https://github.com/pydantic/pydantic/pull/160), thanks bendemaree
* **breaking change**: new errors format [179](https://github.com/pydantic/pydantic/pull/179), thanks Gr1N
* **breaking change**: removed `Config.min_number_size` and `Config.max_number_size` [183](https://github.com/pydantic/pydantic/pull/183), thanks Gr1N
* **breaking change**: correct behaviour of `lt` and `gt` arguments to `conint` etc. [188](https://github.com/pydantic/pydantic/pull/188)
for the old behaviour use `le` and `ge` [194](https://github.com/pydantic/pydantic/pull/194), thanks jaheba
* added error context and ability to redefine error message templates using `Config.error_msg_templates` [183](https://github.com/pydantic/pydantic/pull/183),
thanks Gr1N
* fix typo in validator exception [150](https://github.com/pydantic/pydantic/pull/150)
* copy defaults to model values, so different models don't share objects [154](https://github.com/pydantic/pydantic/pull/154)

Page 23 of 26

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.