You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pypi-pydantic: Autospec creation for update from version 1.10.10 to version 2.0.1
Adrian Garcia Badaracco (133):
replace U+2019 with U+0027 in docstrings (#4714)
feat: add strict to Field (#4713)
Add strict option to BaseConfig (#4753)
Fix tests in test_validators.py (#5152)
Enforce using typing_extensions.TypedDict for Python < 3.11 (#5142)
Add xfail test for generic models being used as type aliases (#5183)
Add a Validator class for arbitrary non-model types (#5145)
Add ValidationInfo param in `@validator` & add backwards compat shims (#5153)
Use RecursiveRefSchema to handle recursive TypedDict (#5138)
Update pydantic-core to 0.12.1 (#5198)
Complete #5138 feedback (#5202)
skip analyzing pydantic-core via mypy configs (#5206)
Update pydantic to reflect changes in Add `field_name` to `ValidatorInfo` of pydantic-core (#5205)
Uprev pydantic-core to 0.15.0 (#5219)
Replace isort and pyupgrade with ruff rules (#5222)
Support instance method serializers (#5221)
Skip analyzing pydantic_core for mypy run via pre-commit (#5228)
fix typos in PHONY in Makefile (#5229)
Downgrade mypy (#5249)
Fix validator tests (#5235)
Fix more validator tests (#5260)
Allow serializers to ignore the info argument (#5272)
Add strict schemas for types defined in Python (#5177)
Fix dataclass decorators (#5276)
Fix more dataclass xfail tests (#5297)
Update to pydantic-core 0.18.1 and fix some root_validator tests (#5290)
Use constraints files for requirements (#5250)
Implement frozen and extra_behavior for dataclasses (#5322)
Rename Validator to AnalyzedType and replace some existing utility functions with it (#5308)
Fix requirements files (#5333)
Add strict and context arguments to validation functions (#5345)
Convert schema_of to use AnalyzedType (#5355)
Handle functools.partial/partialmethod in validators (#5362)
Fix validators/serializers and inheritance (#5390)
Rework allow_reuse in decorators (#5398)
Use pyright for type checking; fix errors and add type ignores (#5399)
make typecheck should run even if there are no changed files (#5407)
add docstring to _ModelNamespaceDict (#5408)
fix type checking for python 3.7 and simplify ForwardRef wrapper (#5415)
Convert internal classes into dataclasses (#5416)
Add `@model_validator` (#5379)
Rename internal dataclass decorator (#5417)
Implement Annotated validators (#5364)
Fix reference in _decorators.py (#5418)
Add test for validators with underscores in their names (#5420)
Make Extra a literal (#5431)
Clean up and add tests for extra and serialization (#5428)
Remove unused fixture and args in test_serializer.py (#5410)
Add substance to migration guide section on validator decorators (#5438)
Uprev pydantic-core to 0.23.1 (#5439)
Fix xfail tests (#5455)
Split `__get_pydantic_core_schema__` into `__modify_pydantic_core_schema__` and `__get_pydantic_core_schema__` (#5472)
Move logic from _generate_schema.py to annotated_arguments.py (#5491)
Rework `__get_pydantic_core_schema__` APIs (#5490)
Uprev pydantic-core to 0.24.1 (#5494)
Fix / rewrite xfail tests in docs (#5503)
Fix a couple of bugs in `@model_validator` (#5529)
Improve test for `extra` in TypedDict
Change bare-enum behavior for strict json (#5591)
Json schema modify function as middleware (#5570)
Uprev pydantic-core to 0.26.0 (#5602)
Use PDM for lockfiles & env management (#5610)
Fix dataclass module name (#5624)
Create a GetCoreSchemaHandler class (#5619)
Fix double-calling of json schema funcs w/ Annotated (#5647)
Pin urllib3<2 in CI (#5675)
Refactor CoreSchema WalkAndApply util (#5652)
rename tests/internal.py -> tests/test_internal.py (#5684)
Add `__prepare_pydantic_annotations__` for custom types (#5674)
Fix botched merge w/ rename of AnalyzedType -> TypeAdapter (#5692)
Use pydantic core main (#5680)
Re-organize exports for new validators and serializers (#5641)
Uprev pydantic-core to 0.31.0 (#5727)
Don't try to automatically handle subclasses of known types (#5737)
Do not try to automatically handle subclasses of mappings (#5744)
Remove dead code (#5775)
Uprev pydantic-core to 0.32.0 (#5805)
Rework `__prepare_pydantic_annotations__` to make it easier to wrap "known" types (#5801)
Fix bug partial get core schema (#5856)
Update pydantic-core to 0.34.0 (#5860)
Refactor handling of Enum and IP types to homogenize known type handling (#5837)
Ensure `__get_pydantic_json_schema__` always gets the schema passed down from a wrapping handler (#5876)
Allow `__prepare_pydantic_annotations__` to exist without `__get_pydantic_core_schema__` (#5886)
Bump pyright to 1.1.310 (#5887)
Fix botched merge, cleanup unused code (#5888)
Fix `@model_validator` on nested models (#5889)
Update typing-extensions to 4.6.1 (#5901)
Enforce constraints on arbitrary types via functional validators (#5883)
Add validators for TypedDict (#5877)
Add test for default values in annotated schema (#5902)
Uprev pydantic-core to 0.37.0 (#5905)
Support TypeAliasType for generic and recursive type aliases (#5861)
Disallow passing config to TypeAdapter for models and implement config for TypedDict (#5939)
Move `pydantic.annotated` to top level (#5954)
Add from_attributes to TypeAdapter.validate_python (#5983)
Add from_attributes to BaseModel.validate_python (#5985)
Prepare for v2.0b2 (#5986)
Fix SchemaError when multiple computed fields point to the same type (#5987)
Fix bug in BaseModel __signature__ generation when a field uses Annotated (#5990)
Fix json schema for single empty tuple (#5988)
Allow `__pydantic_config__` to be used on vanilla dataclasses (#6008)
Sort produced json schemas (#6043)
Allow applying serializers and constraints to named/ref schemas (#6007)
Update doc example (#5935)
Update pydantic-core (#5958)
Fix `__get_pydantic_core_schema__` for Enum (#6100)
Simplify our usage of `handler.generate_schema()` to simplify explaining it in the docs (#6102)
Fix extra fields behavior for TypedDict and make additionalProperties explicit in JSON schema (#6115)
Fix definitions unpacking and registering when building a schema that uses a model (#6144)
PYD-92: Add custom type docs for Annotated and TypeAliasType (#6161)
DOC-104: add note about preserving input types to migration guide (#6135)
Add SerializeAsAny for opt-in duck typed serialization (#6162)
Allow setting type for values in `__pydantic_extra__` (#6139)
Add Examples annotation and re-organize existing annotations (#6174)
Fix access of 'required' key for TypedDictField in GenerateJsonSchema (#6200)
Don't sort model keys (#6212)
PYD-124: improve docs for `__get_pydantic_core_schema__` (#6224)
Update V2 vs V1 section in README.md (#6242)
Add type key to enum json schema (#6243)
Update pydantic-core to 0.42.0 (#6272)
Fix deduplication of Enum refs in CoreSchema (#6274)
Defer building discriminated unions until after all schemas are defined (#6288)
PYD-140: Fix `use_enum_values` config flag (#6294)
PYD-142: Fix use of Annotated + Field for dataclasses (#6293)
Parse Decimal in python to avoid precision loss (#6321)
Allow `__modify_schema__` to co-exist `__get_pydantic_json_schema__` (#6334)
Unpack json schema refs for custom types (#6315)
Fix `validate_call` schema generation and doc error for `TypedDict` (#6370)
Fix some uses of `Field` inside of `Annotated` (#6373)
Update pydantic-core to 2.0.2 (#6389)
Remove --verbose flag from docs build to clean up CI logs (#6399)
Add note about changes to regex engine used (#6400)
Allow combining `Field` annotations by merging them (#6398)
Andrey (1):
fix: typo (#5210)
Anton Agestam (2):
Fix typo in FutureDate repr (#5075)
Implement AwareDatetime and NaiveDatetime (#4812)
Arseny Boykov (1):
[1.10.x] Properly encode model and dataclass default for schema (#4781)
Austin Raney (1):
Add extra fields set via `setattr` to `model_extra` / `__pydantic_extra__ ` (#6365)
Ben Goldstone (1):
Error definitions (#4870)
Cal Pratt (1):
✅ Add tests for mypy inspection of metaclass arguments (#5982)
Can H. Tartanoglu (1):
Test: Add test for variadic generic (#5625)
Daniel Kjellid (1):
Fix typo in Field function docstring (#4931)
Daniel Neilson (1):
follow pep593 by preserving unknown metadata in annotation (#5010)
David Hewitt (3):
correct deprecation warning for parse_file (#6228)
docs: use _pydantic_core.pyi as only docs source for now (#6257)
add davidhewitt to hooky respondents (#6385)
David Montague (158):
Show clearer error messages for different cases involving undefined annotations (#5021)
Add JSON schema support (v2) (#5029)
Fix up some of the test_edge_cases.py tests (#5105)
Add generics support for v2 (another attempt) (#5125)
Include tests demonstrating an approach to JSON schema error collection for FastAPI (#5094)
Use Validator in parse_obj_as (#5186)
Add discriminated union support (v2) (#5051)
Fix mypy plugin misbehavior with from_orm for user classes (#5194)
Fix up more of the test_edge_cases.py tests (#5151)
Fix double parametrization issue (#5209)
Add test for contextvar behavior (#5204)
Fix some issues with private attrs (#5197)
Merge main (#5020)
Fix classvars (#5199)
Fix mypy plugin issue (#5216)
Update some more old tests with notes and/or fixes (#5181)
Improve classvars behavior as noted in dunder_copy PR (#5238)
Bump pydantic core (#5239)
Get more JSON schema tests passing (#5233)
Get alias generator working (#5196)
Add DeepChainMap and re-add LimitedDict (#5247)
Fix bug where non-complete subclasses of complete models wouldn't rebuild properly (#5251)
Upgrade mypy (#5253)
Dunder copy (#5215)
Add tests checking the behavior of constraints on generic classes (#5258)
Get nearly all remaining tools tests passing (#5254)
Get invalid schema constraints tests passing (#5243)
Fix tests in test_validators_dataclass (#5262)
Fix a couple tests and improve xfail reasons for test_dataclasses (#5264)
Improve implementation of dunder equals (#5257)
Update remaining test xfail reasons (#5273)
Get generic typed dicts working (#5274)
Temporarily remove hramezani from the reviewers pool (#5275)
Fix various test_decorators.py tests (#5265)
Fix discriminated union (#5284)
Use pydantic core 0.17.1 (#5291)
Root validator signature (#5294)
Add warnings/errors for non-annotated fields (#5263)
Add validate_default option, equivalent to always=True in `@validator` (#5289)
Make model_dump_json return a str (#5310)
Fix validate_all test (#5313)
Pydantic core 0.19.0 (#5314)
Add an error for __root__ models (#5325)
Call default_factory during `model_construct` (finish fixing test_construction.py) (#5304)
Get all dataclasses JSON schema tests passing (#5303)
Add deprecated v1 methods to BaseModel (#5312)
Config migration warning (#5327)
Add authors (#5347)
[ALPHA] Massively simplify JSON schema generation (#5338)
[ALPHA] Update tests to show how to define root models in v2 (#5340)
Remove apparently-unnecessary model_rebuild (#5371)
Add support for frozen and final fields (#5366)
Only call __pydantic_post_init__ with positional arguments (#5382)
Move generic metadata into a typeddict (#5361)
Reorganize .gitignore file (#5404)
Add _types_namespace argument to model_rebuild (#5385)
Add __pydantic_init_subclass__ classmethod (#5386)
Pin the version of pydantic-core (#5451)
Fix mypy issue (#5450)
Update the version (#5456)
Preserve maxlen attribute on validated deques (#5458)
Defer evaluation of dataclasses for test 2162 (#5462)
Add failing unit test (#5368)
Hopefully improve model building performance when a model is reused (#5485)
Refactor dataclasses, and get simple generics working (#5473)
No case enum (#5506)
Add test showing that missing abstractmethods error for all decorators (#5530)
Add support for Hashable (#5489)
Change errors URL for next release (#5538)
Pre for 2.0a3 release (#5540)
Fix bug caused by strings in builtin generics not getting converted to forwardrefs (#5554)
Fix bug with recursive models with multiple references to the same type (#5555)
Add a test for validation using context (#5593)
Improve error messages by allowing arbitrary json types in strict mode (#5604)
Make it possible to have a plain BaseModel field annotation (#5609)
Pydantic core 0.27.0 (#5612)
Add test for exotic approaches to forward refs (#5526)
Add model_validator to pydantic.__all__ (#5633)
Attempt to fix CI python versions (#5643)
Add make help command (#5634)
Error more eagerly for proper subclasses of generics that we don't know how to validate (#5629)
Add alias generators to pydantic (#5568)
Delegate equality checks for BaseModel (#5662)
Re-add schema_extra functionality removed from config (#5676)
Remove Kludex from hooky temporarily (#5678)
Use __pydantic_serializer__ for serializing Any fields (#5578)
Add a test demonstrating how to integrate with a third-party type (#5620)
Add custom init support (#5703)
Bump version to 2.0a4 (#5704)
Generate separate JSON schema for inputs vs. outputs (#5707)
Fix use of None as type of private attribute (#5735)
Eliminate the undefined types warning (#5754)
Generate JSON schema for Sequence[T] as though it was List[T] (#5706)
Remove xfail from `tests.test_edge_cases.test_custom_generic_validators` (#5764)
Support recursive dataclasses (#5760)
Use uvicorn-style strings for ImportString (#5776)
Add a convenience type to override JSON schema (#5788)
Add a signature for __init_subclass__ to typecheck class kwargs (#5791)
Do not inherit config in model fields that are themselves of type model (#5793)
Make decoratorinfos attributes plural (#5802)
Remove various TODO comments (#5806)
Address more todo comments (#5809)
Add annotation that lets you skip validation (#5583)
Fix some issues with pydantic extra (#5810)
Fix json type json schema test (#5808)
Improve typechecking, docs, and minor bugs with Field/FieldInfo (#5800)
Add a convenience type for transforming a core schema via annotation (#5819)
Do not automatically handle subclasses of Iterable (#5834)
Use alias generator with computed fields (#5836)
Address root model feedback (#5820)
Add InstanceOf type/annotation (#5778)
Add a test demonstrating initvar works with inheritance (#5859)
Disallow non-nested types as non-annotated values (#5869)
Handle validators on vanilla dataclass fields (#5857)
Fix kw_only inheritance (#5873)
Fix dataclass stuff (#5874)
Use `__pydantic_private__` for storing private attributes (#5891)
Hide __pydantic_*__ from @dataclass_transform (#5923)
Make instanceof schema work with arbitrary types (#5947)
Give nicer error when using a bare root_validator (#6009)
Fix bug with model_construct when extra=allow (#6012)
Add API docs file for root_model.py (issue DOC-3) (#6060)
Minor docs improvements (#6064)
Update dataclasses.py docstrings (#6065)
Update datetime usage docs (#6077)
Document the behavior of non-hashable default values (#6122)
Update docs related to postponed annotations (#6123)
Improve documentation related to `model_construct` (#6121)
Make it work when using a type annotation on the `model_config` (#6136)
Remove default factory call results from the JSON schema (#6126)
Improve the regex used for NameEmail validation (#6125)
Update documentation about exporting models (#6078)
Update booleans.md and bytesize.md (#6076)
Make unannotated private attrs into private attrs (#6111)
V2 migration guide updates (#6006)
Prepare for v2.0b3 (#6176)
Another solution to custom getattr/delattr (#6165)
Update list and set docs (#6142)
Update docs for sequence_iterable (#6220)
Run docstring tests (#6175)
Reorder basemodel methods (#6260)
Update docs for validation errors (#6262)
Update the return type for RootModel.model_dump and document how to override it (#6290)
Improve the rendering of the conversion table (#6275)
Fix privateattr clobbering classvars with future annotations (#6287)
Add documentation of Strict Mode (#6276)
Add missing metadata to computed field JSON schemas (#6299)
Change mypy tests to put comments in-line in a python module (#6305)
Document validation context, and fix up some other issues with validators.md (#6256)
Update mypy plugin (#6306)
Use exclude in pyproject.toml with black (#6316)
Warn instead of error protected namespace (#6326)
Test model_extra is None when extra='forbid' (#6341)
Bind `validate_call` to instance when decorating methods (#6406)
Update models.md (#6331)
Fix issue where validate_call methods would break when accessed as a class attribute (#6431)
Rework how JSON schema refs get built/"simplified" (#6402)
Prepare for v2.0.1 (#6433)
Dmitry Lavrentev (1):
fix: missing file extension in model_config.md link (#4512)
Evorage (1):
Trivial Markdown Fix (#4711)
Gleb Moskalenko (1):
fix typo in create_model function docstring (#5004)
Halfdan Rump (1):
Fixes typo in documentation (#5756)
Hasan Ramezani (100):
Remove remaining parts of settings management (#4504)
Add newline before `Outputs:` when printing json output in docs (#4802)
Fix typo in types usage documentation. (#4825)
Replace deprecated `get_event_loop` with `asyncio.run` (#4859)
Update email-validator optional dependency to > 1.2.0 (#4926)
Update email-validator optional dependency to >= 1.3.0 (#4933)
Remove xfail from mistakenly marked test (#5002)
Make requirements/rebuild.sh and requirements/refresh.sh executable (#5346)
Return hramezani back to the reviewers list (#5374)
Add auto generate conversion table to doc (#5324)
Remove contuple from types (#5384)
Prevent multiple field serializers for a field in same class (#5378)
Make types hashable (#5392)
Clean up Field parameters (#5425)
Fix aliases and add `validation_alias` and `serialization_alias` to `Field` (#5433)
Add AliasPath and AliasPathChoices and use them in validation_alias type (#5500)
Add test for validate_call (#5574)
Update copy_on_model_validation tests (#5658)
Remove xfail from `tests.test_edge_cases.test_int_subclass` as it is expected behavior (#5665)
Rename AnalyzedType to TypeAdapter (#5689)
Improve usage errors (#5699)
Replace TypeError with ValidationError in forzen model (#5717)
Add PastDatetime and FutureDatetime types (#5720)
Fix typo in error message (#5734)
Improve validation errors doc (#5733)
Make usage errors code blocks testable. (#5743)
Respect config.alias_generator in pydantic dataclass (#5673)
Fix typo in error code (#5748)
Add pydantic-settings test to CI (#5758)
Add protected namespaces (#5768)
Add v1 namespace inside pydantic (#5780)
Add note about dynamically created model pickling (#5781)
Replace class Config with model_config (#5799)
Fix tests for create_model title and description (#5796)
Change pydantic to be compatible with typing-extension==4.6.1 (#5843)
Update pydantic-core to 0.35.0 (#5846)
Add hide_input_in_errors config (#5879)
Complete ConfigWrapper test coverage (#5900)
Complete test coverage pydantic/_internal/_serializers.py (#5915)
Improve test coverage for pydantic._internal._utils (#5917)
Improve test coverage for pydantic._internal._core_metadata (#5933)
Improve test coverage for pydantic.type_adapter (#5930)
Improve test coverage of pydantic._internal._core_utils (#5936)
Improve test coverage for pydantic.types (#5950)
Improve test coverage for pydantic.functional_validator (#5955)
Improve test coverage for pydantic._migration (#5964)
Rename old analyzed type variables name in test (#5965)
Fix Decimal trailing zero handling (#5962)
Improve test coverage for pydantic.dataclasses (#5973)
Improve test coverage of pydantic._internal._typing_extra (#5978)
Add more types to conversion table (#6005)
Improve usage models doc (#6019)
Improve docs/usage/exporting_models doc (#6030)
Fix api links in docs (#6036)
Add 1.10 releases to HISTORY.md (#6044)
Improve docs/usage/dataclasses.md (#6046)
Improve `docs/usage/types/string_types.md` (#6058)
Improve config docstring (#6066)
Improve `pydantic/_internal/_annotated_handlers.py` docstring (#6086)
Update Pydantic V1 to 1.10.9 (#6093)
Improve `docs/usage/errors.md` docs (#6098)
Improve `pydantic/_internal/_dataclasses.py` docstring (#6105)
Replace `deprecated-kwargs` with `removed-kwargs` (#6107)
Improve `pydantic/_internal/_core_metadata.py` docstring (#6089)
Improve `pydantic/_internal/_decorators.py` docstring (#6114)
Fix typo in errors doc (#6118)
Skip test `test_del_model_attr_error` to run on PyPy < 3.9 (#6131)
Revert "Skip test `test_del_model_attr_error` to run on PyPy < 3.9 (#6131)" (#6133)
Improve `pydantic/_internal/_decorators_v1.py` docstring (#6128)
Improve `pydantic/_internal/_discriminated_union.py` docstring (#6134)
Improve `pydantic/_internal/_fields.py` docstring (#6138)
Skip `test_del_model_attr_error` on PyPy (#6153)
Remove not needed code from `pydantic/_internal/_forward_ref.py` (#6146)
Improve `pydantic/_internal/_known_annotated_metadata.py` docstring (#6155)
Improve `pydantic/_internal/_generics.py` docstring (#6151)
Improve `pydantic/_internal/_generate_schema.py` docstring (#6149)
Improve `pydantic/_internal/_internal_dataclass.py` docstring (#6152)
Improve `pydantic/_internal/_model_construction.py` docstring (#6166)
Improve `pydantic/_internal/_schema_generation_shared.py` docstring (#6168)
Improve `pydantic/functional_validators.py` docstring (#6169)
Improve `pydantic/main.py` docstrings (#6173)
Ignore deprecated methods of `pydantic.main` in pydocstyle check (#6185)
Improve conversion_table (#6186)
Uncomment `from_orm` `deprecated` decorator (#6189)
Complete `pydantic/root_model.py` docstring (#6193)
Complete `pydantic/functional_validators.py` docstrings (#6191)
Improve `pydantic/mypy.py` docstring (#6207)
Improve mypy documentation (#6226)
Update migration docs to include a note about `parse_env_var` removal (#6235)
Add warning about datamodel-code-generator to docs (#6236)
Improve file type docs (#6252)
Improve types dict mapping doc (#6265)
Update Pydantic V1 to 1.10.10 (#6311)
Remove warning on top of `docs/usage/types/callables.md` (#6318)
Fix typo of `model_parametrized_name` in `docs/usage/models.md` (#6325)
Remove warning from top of `docs/usage/types/encoded.md` (#6377)
Remove datamodel code generator not working warning from doc (#6378)
Upate mypy plugin to consider pydantic-settings model (#6396)
Improve `BaseModel.__getattr__` to raise a better error in case of AttributeError in model property (#6417)
Update Pydantic V1 to 1.10.11 (#6427)
Irfanuddin Shafi Ahmed (1):
fix typo in docs (#4764)
JC (Jonathan Chen) (2):
feat: allow accessing attributes as strings (#5501)
docs: fix spelling and wording (#5525)
Jelle Zijlstra (1):
Ignore pytest warnings on 3.12 (#5849)
Jim Kring (2):
move xfail from module to individual failing tests (#4843)
config variable to raise UserWarning if model not fully defined (#4882)
John G G (1):
Update typo in computed_fields.md (#5786)
Johnny Hsieh (1):
Fix improper parsing of Enum document (#4734)
Kenneth Reitz (1):
add myself as a reviewer (#4934)
Koudai Aono (1):
Update mypy version to 1.0.1 (#5086)
Lie Ryan (1):
ByteSize.human_readable() should not have decimal point with B suffix (#4777)
Marc Mueller (5):
Invalidate mypy cache if config changes (#5007)
Fix mypy plugin for 1.1.0 (#5077)
Fix `dataclass_transform` decorator for pydantic dataclasses (#5120)
Don't apply dataclass transform twice with plugin + mypy 1.1.1 (#5162) (#5167)
Fix mypy plugin for 1.4.0 (#5927)
Marcelo Trylesinski (78):
Update mkdocs.yml (#4524)
Remove trailing "```" (#4799)
Add dependencies to fake `setup.py` (#4804)
Delete setup.py (#4881)
Add Kludex to list of reviewers (#5445)
Remove `__all__` from private modules (#5467)
Add `BaseConfig` back to the `pydantic.config` module (#5479)
Move `tools` module to `deprecated` namespace (#5483)
Add migration error messages to V2 (#5480)
Add `pydantic.typing.evaluate_forwardref` on the REMOVED_IN_V2 list (#5559)
Fix reviewer name on pyproject.toml (#5577)
Use only absolute imports (#5576)
Support UUID serialization to JSON (#5564)
Add test that proves order is preserved (#5600)
Support more complex typing structures with `Annotated` (#5603)
Add tests for date types (#5605)
Add `datetime_parse` module to the migration logic (#5617)
Add error message for `unique_items` parameter in `conlist` (#5650)
Add `deprecated` on `BaseModel` methods (#5646)
Add job to create a tweet on release (#5567)
Add support for `*` to `field_validator` (#5657)
Add Kludex to reviewer list (#5862)
Use `duration` instead of `time-delta` type for `timedelta` on JSON schema (#5864)
Add `lenient_issubclass` and `lenient_isinstance` to `DEPRECATED_MOVED_IN_V2` (#5916)
Add most used imports to `DEPRECATED_MOVED_IN_V2` (#5926)
Increase coverage for `json_schema.py` (#5934)
Increase coverage for `json_schema.py` (#5963)
Increase coverage for `_generate_schema.py` (#5966)
Increase coverage for `_generate_schema.py` (#5975)
🗑️ Deprecate `Color` and `PaymentCardNumber` (#6003)
👷 Add mkdocs-material-insiders to pipeline (#6014)
📝 Add documentation for `model_config` (#6021)
🐛 Fix aliases priority (#6023)
📝 Add documentation for `PhoneNumber` and `ABARoutingNumber` (#6031)
📝 Include API documentation for `pydantic-settings` (#6035)
💚 Remove installation of `mkdocs-material-insiders` on forks (#6037)
📝 Reference `ConfigDict` API documentation from `model_config.md` (#6047)
📝 Update `postponed_annotations.md` documentation (#6048)
📝 Add API documentation for `pydantic-extra-types` (#6050)
📝 Add docstrings for top level modules (#6053)
📝 Update documentation for the color module (#6057)
Add `pydocstyle` ruff rules (#6067)
📝 Update docstings on `networks.py` (#6069)
📝 Add docstrings on `version.py` (#6070)
📝 Update `install.md` documentation (#6071)
Create `fields.md` on the documentation (#6072)
🔥 Remove Google Analytics (#6087)
📝 Add docstrings for `functional_serializers.py` (#6092)
📝 Add docstrings to `types.py` (#6091)
📝 Improve `fields.py` docstring (#6088)
♻️ Remove `SecretField` from public API (#6094)
📝 Improve "Config Model" documentation (#6108)
📝 Add docstrings to `type_adapter.py` (#6109)
📝 Move "Arbitrary Types Allowed" section to "Model Config" page (#6110)
📝 Add documentation about `model_config` inheritance (#6132)
📝 Add documentation about `AliasPath` and `AliasChoices` (#6129)
📝 Update `union.md` documentation (#6055)
🐛 Remove dataclass field with `init_var` from `__pydantic__fields__` (#6141)
📝 Improve documentation on `fields.md` (#6137)
📝 Don't recomend to use `TypeError` on validators (#6179)
📝 Add docs about custom error messages (#6182)
📝 Improve fields documentation (#6183)
💚 Use the same conditions on `send_tweet` as `release` (#6170)
📝 Add migration reference to the "Import Error" section (#6208)
📝 Update documentation about "Number Types" (#6211)
🚸 Improve error message when BaseSettings is imported (#6229)
🐛 Restrict range on Python version for `_make_forward_ref` (#6246)
💚 Add timeout on `publish_docs` job (#6247)
👷 Enable FastAPI tests (#6249)
📝 Update docs about hypothesis (#6266)
📝 Improve docstrings on `json_schema.py` (#6267)
📝 Add documentation on Special Types (#6269)
🔥 Remove `final` keyword from `Field` (#6284)
📝 Add note about page not up-to-date (#6312)
📝 Add note about Bump Pydantic (#6281)
🐛 Don't call `repr()` on qualname retrieval (#6382)
💚 Use "result" instead of "status" on GitHub Action conditional (#6410)
🐛 Add `__hash__` for `WithJsonSchema` and `Examples` (#6414)
Matthew Gamble (1):
Support kwargs model config in Mypy plugin (#4912)
Michał Górny (1):
Fix test_extra_used_as_enum to use pytest.warns() (#5994)
Miloš Mandić (1):
v2 docs broken link fix (#4533)
Muhammad Abdur Rakib (1):
fixed documentation typo (#4855)
Mòrian (1):
Add postgresql+psycopg as allowed scheme for PostgreDsn (#4689) (#4690)
Ofek Lev (1):
Restore PyPI landing page (#4520)
Phantom1472 (1):
Update datetime.md (#6061)
Pierre Bonneau (1):
Renaming BaseModel (#4758)
Pierre GIRAUD (1):
Add a unit test for PostgresDSN with socket path as host (#5001)
Raju komati (1):
removed excluded fields from __fields_set__ when copying the object (#4920)
Reza Rohani (1):
Update metadata function description. (#5139)
Rémy HUBSCHER (1):
Add missing typing to example (#4596)
Samuel Colvin (113):
Remove Cython & Move to `pyproject.toml` (#4473)
Move settings to `pydantic-settings` (#4492)
use "field_specifiers", fix #4500
add hooky config to pyproject.toml
Email tweaks (#988)
fix license in pyproject.toml before it bites us
add cherry-pick action
tiny tweak to docs (#4543)
add github token to cherry-pick
remove repeat newline in docs (#4544)
remove repeat newline in docs (again) (#4545)
tweak cherry-pick.yml action
add label when cherry-picking
Remove superfluous (???) files from sdist (#4542)
lower coverage threshold during V2 development
use released version of 3.11 (#4661)
Switching to `pydantic_core` (#4516)
Move to `ruff` for linting (#4709)
url parsing in pydantic-core (#4732)
Support extracting attributes from the parent namespace (#4663)
skip mypy tests on py3.11, switch `pytest-sugar` -> `pytest-pretty` (#4738)
more friendly PR template
test docs with all.txt
Revert "test docs with all.txt"
Use 3.10 for all reqs resolution and add a Makefile target for re-locking (#4748)
Add Jina AI to sponsors (#4767)
docs build, bust cache? (#4778)
continue from #4809 (#4814)
Moving docs to `docs.pydantic.dev` (#4818)
uprev certif to molify Dependabot
uprev mypy (#4735)
increase minimum typing-extensions version, see #4885
add dependencies check workflow (#4891)
fix dependencies-check.yml
fix dependencies-check.yml, take 2
fix dependencies-check.yml, take 3 🤷
set dependency check to only run occationally
adopting `pydantic-core` serialisation (#4978)
uprev deps, newer ruff config (#5003)
Rename `extra` -> `metadata` (#5042)
bump
add company announcement to readme
🚀
improve issue and PR templates
tweak issue templates
test on pypy, change mypy testing (#5133)
add @adriangb and @dmontagu to hooky reviewers
update mypy tests in CI (#5203)
Dataclasses (#5009)
working on init_self (#5214)
Refector docs (#5270)
stop testing witn PyPy on MacOS (#5281)
fix flakey docs test (#5283)
Model schema changes 3 (#5305)
fix a few examples (#5315)
rename `serializer` to `field_serializer` (#5331)
support pydantic-core v0.21.0 (#5334)
custom `ValidationError` on `parse_raw` (#5336)
Support model serializer (#5332)
skip "without deps" on pypy (#5339)
Config cleanup (#5335)
prepare 2.0a1 release (#5358)
Fix deploy CI step (#5360)
bump
Error URLs (#5356)
support pydantic-core v0.23 (#5396)
new `ConfigWrapper` (#5411)
add pydantic-core to version-info (#5424)
remove os from lint job matrix
pydantic-core v0.24.0 (#5464)
`validate_call` to replace `validate_arguments` (#5342)
add codspell to pre-commit (#5516)
improve some coverage in main.py (#5518)
Computed Fields (#5502)
Revert "feat: allow accessing attributes as strings (#5501)" (#5541)
fix "id: check-tag" in ci
uprev samuelcolvin/check-python-version
adding Funding
test for allow info with Decimal (#5585)
raise TypeError in Field and PrivateAttr, fix #2059 (#5587)
Support `PathLike` (#5589)
using "mike" for documenting multiple versions (#5626)
docs preview with CloudFlare pages (#5638)
port alpha release blog post (#5637)
fix blog images and devtools example (#5639)
remove unused info arguments from validator functions (#5653)
set URL for errors (#5655)
tweak tweet ci task
stop BaseModel inheriting from `_repr.Representation` (#5740)
add api docs for pydantic-core (#5695)
see what happens with cf pages (#5828)
move `ModelMetaclass` to `_internal._model_construction` (#5865)
prevent `_internal` objects becoming public (#5892)
update license
fixing xfails (#5894)
Move model before validators (#5898)
fix apply_model_validators usage
remove xfails from docs (#5910)
add compatibility shim for `__fields__` -> `model_fields` (#5912)
improve coverage in main.py (#5913)
add "and individual contributors" to copyright
support for `return_schema` on functional serializers (#5920)
fix datetiome parsing tests (#5938)
fix dataclasses, uprev pydantic-core (#5942)
Prepare for Beta 1 release (#5969)
add road-map to annoucement bar (#6119)
correct `PrivateAttr` docs (#6164)
adding page about version compatibility (#6309)
pydantic-core 2.0.1 (#6310)
PYD-131 Links between API and usage docs (#6307)
Index improvements (#6314)
Prepare for release (#6319)
fix publish_docs
Sebastián Ramírez (1):
✅ Update installation of FastAPI for tests (#6084)
Serge Matveenko (33):
🐛 `Sequence[str]` does not raise on `str` (#5599)
✨ Add `Base64` and a general `Encoded` types (#5615)
🔥 Remove Hypothesis plugin for now (#5691)
⚡ Speedup `ModelPrivateAttr` (#5709)
✅ Improve internal validators test coverage (#5700)
✅ Improve test coverage (#5710)
✅ Improve test coverage (#5742)
Add `lig` to the reviewers list (#5759)
🔥 Remove `_base_class_defined` hack in favor of an empty bases check (#5761)
✨ Add `RootModel` support (#5765)
⚡ Optimize kw_only inheritance (#5878)
✅ Improve test coverage (#5885)
🐛 Config option `allow_inf_nan` doesn't work for `Decimal` (#5868)
✅ Improve test coverage (#5895)
🐛 Fix `AttributeError` on deleting a field of a Model having a `PrivateAttr` defined (#5897)
💚 Move email tests to "tests with deps" job (#5904)
✅ More `RootModel` tests (#5943)
🐛 Fix `RootModel` equality logic (#5948)
✅ Improve coverage for `pydantic/main.py` (#5977)
📦 Import `RootModel` dynamically when accessed directly only (#5951)
💡 Update links to RootModel docs section everywhere (#6154)
🐛 Fix RootModel json schema meta info (#6104)
✅ Try reproducing rebuilding recursive schema with a ForwardRef (#6159)
🐛 Fix `RootModel` default values (#5949)
👷 Add Integration CI workflow for `pydantic-settings` (#6221)
⬆ Upgrade to pydantic-core 0.41.0 (#6219)
🐛 Fix crash on serializing a union of RootModel and BaseModel (#6201)
🔧 Add `assignees` list to the hooky config (#6264)
🐛 Fix `TypeError` on mixed discriminated unions (#6282)
🐛 Fix `RootModel.construct()` and `RootModel.__init__()` results aren't equal (#6283)
💥 Use custom `PydanticDeprecationWarning` warning instead of the generic one (#6180)
🐛 Fix generic tuple cannot have more than one item (#6384)
💚 Use `main-pv2` FastAPI branch in integration tests (#6432)
Sviatoslav Sydorenko (1):
Introduce a gate/check GHA job (#4615)
Terrence Dorsey (63):
Docs navigation using tabs (#5268)
Drop mdx_truly_sane_lists dependency (#5295)
Enable announcement bar for docs website (#5280)
Combine plugins and integration notes under Integrations (#5288)
Break out types into individual topics (#5372)
add pre-commit hooks installation (#5403)
Add Migration Guide page (#5429)
Build API docs with mkdocstrings (#5427)
validation errors doc page (#5459)
Add docstring coverage for dataclasses (#5471)
Add docstring coverage for fields (#5469)
Add docstring coverage for errors (#5482)
Move types to subfolder and fix links (#5556)
Add docstrings for decorators.py (#5565)
Minor formatting fixes in docs (#5575)
migration notes for optional and nullable fields (#5618)
add missing types docs (#5616)
Expand alias generator docstrings (#5669)
Expand validate_call docstring (#5670)
Revise models docs to indicate attributes are copied for validation (#5632)
Move errors docs to top nav (#5685)
Pydantic settings docs (#5682)
Updates model docstrings (#5715)
Models usage docs revisions (#5738)
updates to errors and fields docstrings (#5746)
Edits for Usage Error documentation (#5774)
More docstrings edits - json schema and functional serializers (#5762)
Copy edits for validation errors (#5777)
BaseModel class attributes documented (#5787)
Move error handling to Error Messages (#5794)
Improve contribution guidelines (#5817)
Add note about V1 PRs (#5855)
Revise documentation landing page (#5835)
Logo grid for pydantic users (#5880)
Update docstrings - errors through functional serializers (#5940)
Update docstrings - alias_generators through dataclasses (#5932)
Docstrings updates for validation (#5967)
Docstrings for main (#5976)
Docstring formatting fixes for functional_validators (#6063)
Specify members to appear in documentation for pydantic_core (#6062)
Fix broken and incorrectly formatting internal links (#6075)
Document docstring requirements with examples (#6081)
Replace *pydantic* with Pydantic in docs (#6097)
Landing page fix links and minor edits (#6074)
Docs updates for type adapter (#6052)
Add additional links and notes regarding extra types (#6160)
Add documentation for strict mode (#6196)
Add documentation for strict types (#6218)
Update serialization decorator documentation (#6216)
Document Strict on Annotated fields (#6223)
Add documentation for PlainSerializer and WrapSerializer (#6230)
Minor edits from review of Enum docs (#6238)
Update and consolidate links in number types (#6239)
Document "wrap" validators (#6258)
Update validate_call documentation (#6255)
Update internal links to be compatible with versions (#6271)
Fix relative links for logos (#6285)
Move export_models to serialization (#6303)
Review custom types (#6292)
Update installation for release (#6289)
Blog and announce bar for v2 release (#6291)
Review and update Standard Types (#6240)
BaseSettings moved, not removed (#6401)
Tim Diekmann (1):
Fix typo in `create_model` function (#6347)
Vadim Suharnikov (1):
Fix tagged unions multiple processing in submodels (#6340)
Viicos (4):
Replace deprecated `validator` usage (#5712)
Use `typing.Self` for `@classmethod` constructors (#5713)
Fix typo in `pydantic._internal._fields` (#6148)
Do not recommend raising `TypeError` in validators (#6391)
Volker Hilsenstein (1):
Fix broken cross-references (#4743)
William Tisäter (1):
Support CSS 4 space-separated colors (#4869)
Yaakov Bressler (2):
Added more detailed documentation plus several code examples for ImportString (Take 2) (#4901)
Feat/serialize import string (#5841)
Yasser Tahiri (4):
chore(feat): Add `MySQL` & `MariaDB` to Pydantic types (#4990)
Add pydantic to classifiers (#4976)
📝 Include `Mac Address` documentation (#6367)
🔨 Include `pydantic-extra-types` to integration tests (#6344)
Zach Kirsch (1):
Fix "trough" typo in Model Config docs (#4593)
Zanie Adkins (1):
Add `UrlConstraints.__hash__` (#5697)
chaojie (1):
Docs add awesome-pydantic (#4616)
dependabot[bot] (6):
build(deps): bump carloscastrojumo/github-cherry-pick-action (#4580)
build(deps): bump actions/checkout from 2 to 3 (#4579)
build(deps): bump carloscastrojumo/github-cherry-pick-action (#4809)
build(deps): bump carloscastrojumo/github-cherry-pick-action (#4895)
build(deps): bump markdown-it-py from 2.1.0 to 2.2.0 in /requirements (#5104)
build(deps): bump carloscastrojumo/github-cherry-pick-action (#5129)
florianfischer91 (3):
Rename model methods (#4889)
fix field inheritance (#4911)
Make base config a dict (#4921)
gr8jam (1):
Fixed datetime format specifier in docs (#4876)
kanchi (1):
Bump typing-extensions minimum version to 4.5.0 (#5552)
kgolawski (1):
Fix code typo in docs (#4776)
mark-todd (1):
Change allow mutation wording (#6184)
rmargar (1):
correct deprecated warning message in _copy_and_set_values method (#5753)
weqopy (1):
Update README.md (#6363)
Özgür (1):
fix(docs): typo fix for docs (#6335)
⬢ Samuel Colvin (3):
remove remains of ads, add custom analytics (#4927)
simplify analytics more (#4930)
Uprev all dependencies (#4955)
0 commit comments