Skip to content

v2.9.0b1 (2024-08-26)

Pre-release
Pre-release
Compare
Choose a tag to compare
@sydney-runkle sydney-runkle released this 26 Aug 16:42
· 542 commits to main since this release
714c0df

What's Changed

Packaging

New Features

Changes

Performance

Minor Internal Improvements

  • ⚑️ Speed up multiple_of_validator() by 31% in pydantic/_internal/_validators.py by @misrasaurabh1 in #9839
  • ⚑️ Speed up ModelPrivateAttr.__set_name__() by 18% in pydantic/fields.py by @misrasaurabh1 in #9841
  • ⚑️ Speed up dataclass() by 7% in pydantic/dataclasses.py by @misrasaurabh1 in #9843
  • ⚑️ Speed up function _field_name_for_signature by 37% in pydantic/_internal/_signature.py by @misrasaurabh1 in #9951
  • ⚑️ Speed up method GenerateSchema._unpack_refs_defs by 26% in pydantic/_internal/_generate_schema.py by @misrasaurabh1 in #9949
  • ⚑️ Speed up function apply_each_item_validators by 100% in pydantic/_internal/_generate_schema.py by @misrasaurabh1 in #9950
  • ⚑️ Speed up method ConfigWrapper.core_config by 28% in pydantic/_internal/_config.py by @misrasaurabh1 in #9953

Fixes

New Contributors

pydantic

pydantic-core

Full Changelog: v2.8.1...v2.8.2