postgrest-py
postgrest-py copied to clipboard
chore(deps): bump pydantic from 2.7.4 to 2.8.0
trafficstars
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.0is functionally identical to that ofv2.8.0b1.Check out our blog post to learn more about the release highlights!
What's Changed
Packaging
- Update citation version automatically with new releases by
@sydney-runklein #9673- Bump pyright to
v1.1.367and add type checking tests for pipeline API by@adriangbin #9674- Update
pydantic.v1stub tov1.10.17by@sydney-runklein #9707- General package updates to prep for
v2.8.0b1by@sydney-runklein #9741- Bump
pydantic-coretov2.20.0by@sydney-runklein #9745- Add support for Python 3.13 by
@sydney-runklein #9743- Update
pdmversion used forpdm.locktov2.16.1by@sydney-runklein #9761- Update to
ruffv0.4.8by@Viicosin #9585New Features
- Experimental: support
defer_buildforTypeAdapterby@MarkusSintonenin #8939- Implement
deprecatedfield in json schema by@NeevCohenin #9298- Experimental: Add pipeline API by
@adriangbin #9459- Add support for programmatic title generation by
@NeevCohenin #9183- Implement
fail_fastfeature by@uriyyoin #9708- Add
ser_json_inf_nan='strings'mode to produce valid JSON by@josh-newmanin pydantic/pydantic-core#1307Changes
- Add warning when "alias" is set in ignored
Annotatedfield by@nix010in #9170- Support serialization of some serializable defaults in JSON schema by
@sydney-runklein #9624- Relax type specification for
__validators__values increate_modelby@sydney-runklein #9697- Breaking Change: Improve
smartunion matching logic by@sydney-runklein pydantic/pydantic-core#1322 You can read more about oursmartunion matching logic here. In some cases, if the old behavior is desired, you can switch toleft-to-rightmode and change the order of yourUnionmembers.Performance
Internal Improvements
- ⚡️ Speed up
_display_error_loc()by 25% inpydantic/v1/error_wrappers.pyby@misrasaurabh1in #9653- ⚡️ Speed up
_get_all_json_refs()by 34% inpydantic/json_schema.pyby@misrasaurabh1in #9650- ⚡️ Speed up
is_pydantic_dataclass()by 41% inpydantic/dataclasses.pyby@misrasaurabh1in #9652- ⚡️ Speed up
to_snake()by 27% inpydantic/alias_generators.pyby@misrasaurabh1in #9747- ⚡️ Speed up
unwrap_wrapped_function()by 93% inpydantic/_internal/_decorators.pyby@misrasaurabh1in #9727Fixes
- Replace
__spec__.parentwith__package__by@hramezaniin #9331- Fix Outputted Model JSON Schema for
Sequencetype by@anesmemisevicin #9303
... (truncated)
Changelog
Sourced from pydantic's changelog.
v2.8.0 (2024-07-01)
The code released in v2.8.0 is functionally identical to that of v2.8.0b1.
What's Changed
Packaging
- Update citation version automatically with new releases by
@sydney-runklein #9673- Bump pyright to
v1.1.367and add type checking tests for pipeline API by@adriangbin #9674- Update
pydantic.v1stub tov1.10.17by@sydney-runklein #9707- General package updates to prep for
v2.8.0b1by@sydney-runklein #9741- Bump
pydantic-coretov2.20.0by@sydney-runklein #9745- Add support for Python 3.13 by
@sydney-runklein #9743- Update
pdmversion used forpdm.lockto v2.16.1 by@sydney-runklein #9761- Update to
ruffv0.4.8by@Viicosin #9585New Features
- Experimental: support
defer_buildforTypeAdapterby@MarkusSintonenin #8939- Implement
deprecatedfield in json schema by@NeevCohenin #9298- Experimental: Add pipeline API by
@adriangbin #9459- Add support for programmatic title generation by
@NeevCohenin #9183- Implement
fail_fastfeature by@uriyyoin #9708- Add
ser_json_inf_nan='strings'mode to produce valid JSON by@josh-newmanin pydantic/pydantic-core#1307Changes
- Add warning when "alias" is set in ignored
Annotatedfield by@nix010in #9170- Support serialization of some serializable defaults in JSON schema by
@sydney-runklein #9624- Relax type specification for
__validators__values increate_modelby@sydney-runklein #9697- Breaking Change: Improve
smartunion matching logic by@sydney-runklein pydantic/pydantic-core#1322 You can read more about oursmartunion matching logic here. In some cases, if the old behavior is desired, you can switch toleft-to-rightmode and change the order of yourUnionmembers.Performance
Internal Improvements
- ⚡️ Speed up
_display_error_loc()by 25% inpydantic/v1/error_wrappers.pyby@misrasaurabh1in #9653- ⚡️ Speed up
_get_all_json_refs()by 34% inpydantic/json_schema.pyby@misrasaurabh1in #9650- ⚡️ Speed up
is_pydantic_dataclass()by 41% inpydantic/dataclasses.pyby@misrasaurabh1in #9652- ⚡️ Speed up
to_snake()by 27% inpydantic/alias_generators.pyby@misrasaurabh1in #9747- ⚡️ Speed up
unwrap_wrapped_function()by 93% inpydantic/_internal/_decorators.pyby@misrasaurabh1in #9727Fixes
- Replace
__spec__.parentwith__package__by@hramezaniin #9331
... (truncated)
Commits
1609e2aPrep for v2.8 release (#9806)411dfd8👥 Update Pydantic People (#9803)e280663Add Nested Model Field Validation Examples to Docs (#9735)a002e69Fix Python version check for_eval_type(#9781)e108fd1Docs updates to prep for v2.8 (#9778)011d8b6Fix documentation formatting (#9779)738b5d7Add note about Pipeline API recommended usage (#9777)8a0f335Document and testser_json_inf_nan='strings'variant (#9771)764e148Preparing for the v2.8.0b1 release! (#9776)fcd2010validate_calltype params fix (#9760)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)