Pydantic

Latest version: v2.7.1

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

Scan your dependencies

Page 7 of 22

1.10.12

Not secure
* Fixes the `maxlen` property being dropped on `deque` validation. Happened only if the deque item has been typed. Changes the `_validate_sequence_like` func, [6581](https://github.com/pydantic/pydantic/pull/6581) by maciekglowka

1.10.11

Not secure
* Importing create_model in tools.py through relative path instead of absolute path - so that it doesn't import V2 code when copied over to V2 branch, [6361](https://github.com/pydantic/pydantic/pull/6361) by SharathHuddar

1.10.10

Not secure
* Add Pydantic `Json` field support to settings management, [6250](https://github.com/pydantic/pydantic/pull/6250) by hramezani
* Fixed literal validator errors for unhashable values, [6188](https://github.com/pydantic/pydantic/pull/6188) by markus1978
* Fixed bug with generics receiving forward refs, [6130](https://github.com/pydantic/pydantic/pull/6130) by mark-todd
* Update install method of FastAPI for internal tests in CI, [6117](https://github.com/pydantic/pydantic/pull/6117) by Kludex

1.10.9

Not secure
* Fix trailing zeros not ignored in Decimal validation, [5968](https://github.com/pydantic/pydantic/pull/5968) by hramezani
* Fix mypy plugin for v1.4.0, [5928](https://github.com/pydantic/pydantic/pull/5928) by cdce8p
* Add future and past date hypothesis strategies, [5850](https://github.com/pydantic/pydantic/pull/5850) by bschoenmaeckers
* Discourage usage of Cython 3 with Pydantic 1.x, [5845](https://github.com/pydantic/pydantic/pull/5845) by lig

1.10.8

Not secure
* Fix a bug in `Literal` usage with `typing-extension==4.6.0`, [5826](https://github.com/pydantic/pydantic/pull/5826) by hramezani
* This solves the (closed) issue [3849](https://github.com/pydantic/pydantic/pull/3849) where aliased fields that use discriminated union fail to validate when the data contains the non-aliased field name, [#5736](https://github.com/pydantic/pydantic/pull/5736) by benwah
* Update email-validator dependency to >=2.0.0post2, [5627](https://github.com/pydantic/pydantic/pull/5627) by adriangb
* update `AnyClassMethod` for changes in [python/typeshed9771](https://github.com/python/typeshed/issues/9771), [#5505](https://github.com/pydantic/pydantic/pull/5505) by ITProKyle

1.10.7

Not secure
* Fix creating schema from model using `ConstrainedStr` with `regex` as dict key, [5223](https://github.com/pydantic/pydantic/pull/5223) by matejetz
* Address bug in mypy plugin caused by explicit_package_bases=True, [5191](https://github.com/pydantic/pydantic/pull/5191) by dmontagu
* Add implicit defaults in the mypy plugin for Field with no default argument, [5190](https://github.com/pydantic/pydantic/pull/5190) by dmontagu
* Fix schema generated for Enum values used as Literals in discriminated unions, [5188](https://github.com/pydantic/pydantic/pull/5188) by javibookline
* Fix mypy failures caused by the pydantic mypy plugin when users define `from_orm` in their own classes, [5187](https://github.com/pydantic/pydantic/pull/5187) by dmontagu
* Fix `InitVar` usage with pydantic dataclasses, mypy version `1.1.1` and the custom mypy plugin, [5162](https://github.com/pydantic/pydantic/pull/5162) by cdce8p

Page 7 of 22

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.