pydantic/pydantic (pydantic)
### [`v2.7.1`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v271-2024-04-23)
[Compare Source](https://togithub.com/pydantic/pydantic/compare/v2.7.0...v2.7.1)
[GitHub release](https://togithub.com/pydantic/pydantic/releases/tag/v2.7.1)
##### What's Changed
##### Packaging
- Bump `pydantic-core` to `v2.18.2` by [@sydney-runkle](https://togithub.com/sydney-runkle) in [#9307](https://togithub.com/pydantic/pydantic/pull/9307)
##### New Features
- Ftp and Websocket connection strings support by [@CherrySuryp](https://togithub.com/CherrySuryp) in [#9205](https://togithub.com/pydantic/pydantic/pull/9205)
##### Changes
- Use field description for RootModel schema description when there is `…` by [@LouisGobert](https://togithub.com/LouisGobert) in [#9214](https://togithub.com/pydantic/pydantic/pull/9214)
##### Fixes
- Fix `validation_alias` behavior with `model_construct` for `AliasChoices` and `AliasPath` by [@sydney-runkle](https://togithub.com/sydney-runkle) in [#9223](https://togithub.com/pydantic/pydantic/pull/9223)
- Revert `typing.Literal` and import it outside the TYPE_CHECKING block by [@frost-nzcr4](https://togithub.com/frost-nzcr4) in [#9232](https://togithub.com/pydantic/pydantic/pull/9232)
- Fix `Secret` serialization schema, applicable for unions by [@sydney-runkle](https://togithub.com/sydney-runkle) in [#9240](https://togithub.com/pydantic/pydantic/pull/9240)
- Fix `strict` application to `function-after` with `use_enum_values` by [@sydney-runkle](https://togithub.com/sydney-runkle) in [#9279](https://togithub.com/pydantic/pydantic/pull/9279)
- Address case where `model_construct` on a class which defines `model_post_init` fails with `AttributeError` by [@babygrimes](https://togithub.com/babygrimes) in [#9168](https://togithub.com/pydantic/pydantic/pull/9168)
- Fix `model_json_schema` with config types by [@NeevCohen](https://togithub.com/NeevCohen) in [#9287](https://togithub.com/pydantic/pydantic/pull/9287)
- Support multiple zeros as an `int` by [@samuelcolvin](https://togithub.com/samuelcolvin) in [pydantic/pydantic-core#1269](https://togithub.com/pydantic/pydantic-core/pull/1269)
- Fix validation of `int`s with leading unary plus by [@cknv](https://togithub.com/cknv) in [pydantic/pydantic-core#1272](https://togithub.com/pydantic/pydantic-core/pull/1272)
- Fix interaction between `extra != 'ignore'` and `from_attributes=True` by [@davidhewitt](https://togithub.com/davidhewitt) in [pydantic/pydantic-core#1276](https://togithub.com/pydantic/pydantic-core/pull/1276)
- Handle error from `Enum`'s `missing` function as `ValidationError` by [@sydney-runkle](https://togithub.com/sydney-runkle) in [pydantic/pydantic-core#1274](https://togithub.com/pydantic/pydantic-core/pull/1754)
- Fix memory leak with `Iterable` validation by [@davidhewitt](https://togithub.com/davidhewitt) in [pydantic/pydantic-core#1271](https://togithub.com/pydantic/pydantic-core/pull/1751)
##### New Contributors
- [@zzstoatzz](https://togithub.com/zzstoatzz) made their first contribution in [#9219](https://togithub.com/pydantic/pydantic/pull/9219)
- [@frost-nzcr4](https://togithub.com/frost-nzcr4) made their first contribution in [#9232](https://togithub.com/pydantic/pydantic/pull/9232)
- [@CherrySuryp](https://togithub.com/CherrySuryp) made their first contribution in [#9205](https://togithub.com/pydantic/pydantic/pull/9205)
- [@vagenas](https://togithub.com/vagenas) made their first contribution in [#9268](https://togithub.com/pydantic/pydantic/pull/9268)
- [@ollz272](https://togithub.com/ollz272) made their first contribution in [#9262](https://togithub.com/pydantic/pydantic/pull/9262)
- [@babygrimes](https://togithub.com/babygrimes) made their first contribution in [#9168](https://togithub.com/pydantic/pydantic/pull/9168)
- [@swelborn](https://togithub.com/swelborn) made their first contribution in [#9296](https://togithub.com/pydantic/pydantic/pull/9296)
- [@kf-novi](https://togithub.com/kf-novi) made their first contribution in [#9236](https://togithub.com/pydantic/pydantic/pull/9236)
- [@lgeiger](https://togithub.com/lgeiger) made their first contribution in [#9288](https://togithub.com/pydantic/pydantic/pull/9288)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
2.7.0
->2.7.1
Release Notes
pydantic/pydantic (pydantic)
### [`v2.7.1`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v271-2024-04-23) [Compare Source](https://togithub.com/pydantic/pydantic/compare/v2.7.0...v2.7.1) [GitHub release](https://togithub.com/pydantic/pydantic/releases/tag/v2.7.1) ##### What's Changed ##### Packaging - Bump `pydantic-core` to `v2.18.2` by [@sydney-runkle](https://togithub.com/sydney-runkle) in [#9307](https://togithub.com/pydantic/pydantic/pull/9307) ##### New Features - Ftp and Websocket connection strings support by [@CherrySuryp](https://togithub.com/CherrySuryp) in [#9205](https://togithub.com/pydantic/pydantic/pull/9205) ##### Changes - Use field description for RootModel schema description when there is `…` by [@LouisGobert](https://togithub.com/LouisGobert) in [#9214](https://togithub.com/pydantic/pydantic/pull/9214) ##### Fixes - Fix `validation_alias` behavior with `model_construct` for `AliasChoices` and `AliasPath` by [@sydney-runkle](https://togithub.com/sydney-runkle) in [#9223](https://togithub.com/pydantic/pydantic/pull/9223) - Revert `typing.Literal` and import it outside the TYPE_CHECKING block by [@frost-nzcr4](https://togithub.com/frost-nzcr4) in [#9232](https://togithub.com/pydantic/pydantic/pull/9232) - Fix `Secret` serialization schema, applicable for unions by [@sydney-runkle](https://togithub.com/sydney-runkle) in [#9240](https://togithub.com/pydantic/pydantic/pull/9240) - Fix `strict` application to `function-after` with `use_enum_values` by [@sydney-runkle](https://togithub.com/sydney-runkle) in [#9279](https://togithub.com/pydantic/pydantic/pull/9279) - Address case where `model_construct` on a class which defines `model_post_init` fails with `AttributeError` by [@babygrimes](https://togithub.com/babygrimes) in [#9168](https://togithub.com/pydantic/pydantic/pull/9168) - Fix `model_json_schema` with config types by [@NeevCohen](https://togithub.com/NeevCohen) in [#9287](https://togithub.com/pydantic/pydantic/pull/9287) - Support multiple zeros as an `int` by [@samuelcolvin](https://togithub.com/samuelcolvin) in [pydantic/pydantic-core#1269](https://togithub.com/pydantic/pydantic-core/pull/1269) - Fix validation of `int`s with leading unary plus by [@cknv](https://togithub.com/cknv) in [pydantic/pydantic-core#1272](https://togithub.com/pydantic/pydantic-core/pull/1272) - Fix interaction between `extra != 'ignore'` and `from_attributes=True` by [@davidhewitt](https://togithub.com/davidhewitt) in [pydantic/pydantic-core#1276](https://togithub.com/pydantic/pydantic-core/pull/1276) - Handle error from `Enum`'s `missing` function as `ValidationError` by [@sydney-runkle](https://togithub.com/sydney-runkle) in [pydantic/pydantic-core#1274](https://togithub.com/pydantic/pydantic-core/pull/1754) - Fix memory leak with `Iterable` validation by [@davidhewitt](https://togithub.com/davidhewitt) in [pydantic/pydantic-core#1271](https://togithub.com/pydantic/pydantic-core/pull/1751) ##### New Contributors - [@zzstoatzz](https://togithub.com/zzstoatzz) made their first contribution in [#9219](https://togithub.com/pydantic/pydantic/pull/9219) - [@frost-nzcr4](https://togithub.com/frost-nzcr4) made their first contribution in [#9232](https://togithub.com/pydantic/pydantic/pull/9232) - [@CherrySuryp](https://togithub.com/CherrySuryp) made their first contribution in [#9205](https://togithub.com/pydantic/pydantic/pull/9205) - [@vagenas](https://togithub.com/vagenas) made their first contribution in [#9268](https://togithub.com/pydantic/pydantic/pull/9268) - [@ollz272](https://togithub.com/ollz272) made their first contribution in [#9262](https://togithub.com/pydantic/pydantic/pull/9262) - [@babygrimes](https://togithub.com/babygrimes) made their first contribution in [#9168](https://togithub.com/pydantic/pydantic/pull/9168) - [@swelborn](https://togithub.com/swelborn) made their first contribution in [#9296](https://togithub.com/pydantic/pydantic/pull/9296) - [@kf-novi](https://togithub.com/kf-novi) made their first contribution in [#9236](https://togithub.com/pydantic/pydantic/pull/9236) - [@lgeiger](https://togithub.com/lgeiger) made their first contribution in [#9288](https://togithub.com/pydantic/pydantic/pull/9288)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.