Pydantic

Latest version: v2.7.4

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

Scan your dependencies

Page 15 of 23

0.32.1

Not secure
* do not validate extra fields when `validate_assignment` is on, [724](https://github.com/pydantic/pydantic/pull/724) by YaraslauZhylko

0.32

Not secure
* add model name to `ValidationError` error message, [676](https://github.com/pydantic/pydantic/pull/676) by dmontagu
* **breaking change**: remove `__getattr__` and rename `__values__` to `__dict__` on `BaseModel`,
deprecation warning on use `__values__` attr, attributes access speed increased up to 14 times, [712](https://github.com/pydantic/pydantic/pull/712) by Bobronium
* support `ForwardRef` (without self-referencing annotations) in Python 3.6, [706](https://github.com/pydantic/pydantic/pull/706) by koxudaxi
* implement `schema_extra` in `Config` sub-class, [663](https://github.com/pydantic/pydantic/pull/663) by tiangolo

0.31.1

Not secure
* fix json generation for `EnumError`, [697](https://github.com/pydantic/pydantic/pull/697) by dmontagu
* update numerous dependencies

0.31

Not secure
* better support for floating point `multiple_of` values, [652](https://github.com/pydantic/pydantic/pull/652) by justindujardin
* fix schema generation for `NewType` and `Literal`, [649](https://github.com/pydantic/pydantic/pull/649) by dmontagu
* fix `alias_generator` and field config conflict, [645](https://github.com/pydantic/pydantic/pull/645) by gmetzker and [#658](https://github.com/pydantic/pydantic/pull/658) by Bobronium
* more detailed message for `EnumError`, [673](https://github.com/pydantic/pydantic/pull/673) by dmontagu
* add advanced exclude support for `dict`, `json` and `copy`, [648](https://github.com/pydantic/pydantic/pull/648) by Bobronium
* fix bug in `GenericModel` for models with concrete parameterized fields, [672](https://github.com/pydantic/pydantic/pull/672) by dmontagu
* add documentation for `Literal` type, [651](https://github.com/pydantic/pydantic/pull/651) by dmontagu
* add `Config.keep_untouched` for custom descriptors support, [679](https://github.com/pydantic/pydantic/pull/679) by Bobronium
* use `inspect.cleandoc` internally to get model description, [657](https://github.com/pydantic/pydantic/pull/657) by tiangolo
* add `Color` to schema generation, by euri10
* add documentation for Literal type, [651](https://github.com/pydantic/pydantic/pull/651) by dmontagu

0.30.1

Not secure
* fix so nested classes which inherit and change `__init__` are correctly processed while still allowing `self` as a
parameter, [644](https://github.com/pydantic/pydantic/pull/644) by lnaden and dgasmith

0.30

Not secure
* enforce single quotes in code, [612](https://github.com/pydantic/pydantic/pull/612) by samuelcolvin
* fix infinite recursion with dataclass inheritance and `__post_init__`, [606](https://github.com/pydantic/pydantic/pull/606) by Hanaasagi
* fix default values for `GenericModel`, [610](https://github.com/pydantic/pydantic/pull/610) by dmontagu
* clarify that self-referencing models require Python 3.7+, [616](https://github.com/pydantic/pydantic/pull/616) by vlcinsky
* fix truncate for types, [611](https://github.com/pydantic/pydantic/pull/611) by dmontagu
* add `alias_generator` support, [622](https://github.com/pydantic/pydantic/pull/622) by Bobronium
* fix unparameterized generic type schema generation, [625](https://github.com/pydantic/pydantic/pull/625) by dmontagu
* fix schema generation with multiple/circular references to the same model, [621](https://github.com/pydantic/pydantic/pull/621) by tiangolo and wongpat
* support custom root types, [628](https://github.com/pydantic/pydantic/pull/628) by koxudaxi
* support `self` as a field name in `parse_obj`, [632](https://github.com/pydantic/pydantic/pull/632) by samuelcolvin

Page 15 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.