Pre-release
Viicosreleased this
30 Jan 19:22 v2.11.0a1 (2025-01-30) What's ChangedNote
Pydantic v2.11 is a version strongly focused on build time performance of Pydantic models (and core schema generation in general).
This is an early alpha release, meant to collect early feedback from users having issues with core schema builds.
ruff
to v0.9.0 by @sydney-runkle in #11254uv.lock
deps update by @sydney-runkle in #11333check_pydantic_core_version()
function by @Viicos in #11324greenlet
development dependency by @Viicos in #11351pydantic-core
to v2.28.0 by @Viicos in #11364default_factory_takes_validated_data
property to FieldInfo
by @Viicos in #11034type[]
by @Viicos in #11088create_model
field definitions format by @Viicos in #11032model_fields
and model_computed_fields
on instances by @Viicos in #11169GenerateSchema
class by @sydney-runkle in #10846deque
schema gen to GenerateSchema
class by @sydney-runkle in #11239Mapping
schema gen to GenerateSchema
to complete removal of prepare_annotations_for_known_type
workaround by @sydney-runkle in #11247pydantic-core
core schema validation by @sydney-runkle in #11271FieldInfo
annotations if required during schema building by @Viicos in #10769get_type_ref
by @Viicos in #10863__setattr__
performance of Pydantic models by caching setter functions by @MarkusSintonen in #10868_typing_extra
module by @Viicos in #11255_internal/_validators.py
by @tkasuz in #10763TypeAdapter
instance repr by @sydney-runkle in #10872Literal
values if using PEP 695 type aliases by @Viicos in #11114__subclasscheck__
on ModelMetaclass
to avoid memory leak and performance issues by @Viicos in #11116_extract_get_pydantic_json_schema()
parameter by @Viicos in #11155Annotated
form by @Viicos in #11109openapi-python-client
check in issue creation for third-party failures, use main
branch by @sydney-runkle in #11182deprecated_instance_property
warning by @Viicos in #11200WithJsonSchema
schema to avoid sharing mutated data by @thejcannon in #11014CoreMetadata
definition by @Viicos in #11216_Definitions
class by @Viicos in #11208root
type in the mypy plugin by @Viicos in #11212use_attribute_docstrings
by @Viicos in #11246decimal_places_validator
by @misrasaurabh1 in #11281validation_alias
in the mypy plugin by @Viicos in #11295GenerateJsonSchema.literal_schema()
implementation by @misrasaurabh1 in #11321ClickHouseDsn
by @Maze21127 in #11319Decimal
instances by @Viicos in #11350ValueError
on year zero by @davidhewitt in pydantic-core#1583You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4