Pydantic

Latest version: v2.7.3

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

Scan your dependencies

Page 20 of 23

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)

0.9.1

Not secure
* allow custom `get_field_config` on config classes [159](https://github.com/pydantic/pydantic/pull/159)
* add `UUID1`, `UUID3`, `UUID4` and `UUID5` types [167](https://github.com/pydantic/pydantic/pull/167), thanks Gr1N
* modify some inconsistent docstrings and annotations [173](https://github.com/pydantic/pydantic/pull/173), thanks YannLuo
* fix type annotations for exotic types [171](https://github.com/pydantic/pydantic/pull/171), thanks Gr1N
* re-use type validators in exotic types [171](https://github.com/pydantic/pydantic/pull/171)
* scheduled monthly requirements updates [168](https://github.com/pydantic/pydantic/pull/168)
* add `Decimal`, `ConstrainedDecimal` and `condecimal` types [170](https://github.com/pydantic/pydantic/pull/170), thanks Gr1N

0.9.0

* tweak email-validator import error message [145](https://github.com/pydantic/pydantic/pull/145)
* fix parse error of `parse_date()` and `parse_datetime()` when input is 0 [144](https://github.com/pydantic/pydantic/pull/144), thanks YannLuo
* add `Config.anystr_strip_whitespace` and `strip_whitespace` kwarg to `constr`,
by default values is `False` [163](https://github.com/pydantic/pydantic/pull/163), thanks Gr1N
* add `ConstrainedFloat`, `confloat`, `PositiveFloat` and `NegativeFloat` types [166](https://github.com/pydantic/pydantic/pull/166), thanks Gr1N

0.8.0

* fix type annotation for `inherit_config` [139](https://github.com/pydantic/pydantic/pull/139)
* **breaking change**: check for invalid field names in validators [140](https://github.com/pydantic/pydantic/pull/140)
* validate attributes of parent models [141](https://github.com/pydantic/pydantic/pull/141)
* **breaking change**: email validation now uses
[email-validator](https://github.com/JoshData/python-email-validator) [#142](https://github.com/pydantic/pydantic/pull/142)

Page 20 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.