Skip to content

Bump pydantic from 2.7.4 to 2.8.0

24-03-dependabot requested to merge dependabot-pip-pydantic-2.8.0 into main

Bumps pydantic from 2.7.4 to 2.8.0.

Release notes

Sourced from pydantic's releases.

v2.8.0 (2024-07-01)

The code released in v2.8.0 is functionally identical to that of v2.8.0b1.

Check out our blog post to learn more about the release highlights!

What's Changed

Packaging

New Features

Changes

  • Add warning when "alias" is set in ignored Annotated field by @​nix010 in #9170
  • Support serialization of some serializable defaults in JSON schema by @​sydney-runkle in #9624
  • Relax type specification for __validators__ values in create_model by @​sydney-runkle in #9697
  • Breaking Change: Improve smart union matching logic by @​sydney-runkle in pydantic/pydantic-core#1322 You can read more about our smart union matching logic here. In some cases, if the old behavior is desired, you can switch to left-to-right mode and change the order of your Union members.

Performance

Internal Improvements

Fixes

... (truncated)

Changelog

Sourced from pydantic's changelog.

v2.8.0 (2024-07-01)

GitHub release

The code released in v2.8.0 is functionally identical to that of v2.8.0b1.

What's Changed

Packaging

New Features

Changes

  • Add warning when "alias" is set in ignored Annotated field by @​nix010 in #9170
  • Support serialization of some serializable defaults in JSON schema by @​sydney-runkle in #9624
  • Relax type specification for __validators__ values in create_model by @​sydney-runkle in #9697
  • Breaking Change: Improve smart union matching logic by @​sydney-runkle in pydantic/pydantic-core#1322 You can read more about our smart union matching logic here. In some cases, if the old behavior is desired, you can switch to left-to-right mode and change the order of your Union members.

Performance

Internal Improvements

Fixes

... (truncated)

Commits

Merge request reports