Closed github-renovate-self-hosted closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 100.00%. Comparing base (
e3159fc
) to head (c52299c
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR contains the following updates:
2.1.1
->2.4.0
GitHub Vulnerability Alerts
CVE-2024-3772
Regular expression denial of service in Pydantic < 2.4.0, < 1.10.13 allows remote attackers to cause denial of service via a crafted email string.
Release Notes
pydantic/pydantic (pydantic)
### [`v2.4.0`](https://togithub.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v240-2023-09-22) [Compare Source](https://togithub.com/pydantic/pydantic/compare/v2.3.0...v2.4.0) [GitHub release](https://togithub.com/pydantic/pydantic/releases/tag/v2.4.0) ##### What's Changed ##### Packaging - Update pydantic-core to 2.10.0 by [@samuelcolvin](https://togithub.com/samuelcolvin) in [#7542](https://togithub.com/pydantic/pydantic/pull/7542) ##### New Features - Add `Base64Url` types by [@dmontagu](https://togithub.com/dmontagu) in [#7286](https://togithub.com/pydantic/pydantic/pull/7286) - Implement optional `number` to `str` coercion by [@lig](https://togithub.com/lig) in [#7508](https://togithub.com/pydantic/pydantic/pull/7508) - Allow access to `field_name` and `data` in all validators if there is data and a field name by [@samuelcolvin](https://togithub.com/samuelcolvin) in [#7542](https://togithub.com/pydantic/pydantic/pull/7542) - Add `BaseModel.model_validate_strings` and `TypeAdapter.validate_strings` by [@hramezani](https://togithub.com/hramezani) in [#7552](https://togithub.com/pydantic/pydantic/pull/7552) - Add Pydantic `plugins` experimental implementation by [@lig](https://togithub.com/lig) [@samuelcolvin](https://togithub.com/samuelcolvin) and [@Kludex](https://togithub.com/Kludex) in [#6820](https://togithub.com/pydantic/pydantic/pull/6820) ##### Changes - Do not override `model_post_init` in subclass with private attrs by [@Viicos](https://togithub.com/Viicos) in [#7302](https://togithub.com/pydantic/pydantic/pull/7302) - Make fields with defaults not required in the serialization schema by default by [@dmontagu](https://togithub.com/dmontagu) in [#7275](https://togithub.com/pydantic/pydantic/pull/7275) - Mark `Extra` as deprecated by [@disrupted](https://togithub.com/disrupted) in [#7299](https://togithub.com/pydantic/pydantic/pull/7299) - Make `EncodedStr` a dataclass by [@Kludex](https://togithub.com/Kludex) in [#7396](https://togithub.com/pydantic/pydantic/pull/7396) - Move `annotated_handlers` to be public by [@samuelcolvin](https://togithub.com/samuelcolvin) in [#7569](https://togithub.com/pydantic/pydantic/pull/7569) ##### Performance - Simplify flattening and inlining of `CoreSchema` by [@adriangb](https://togithub.com/adriangb) in [#7523](https://togithub.com/pydantic/pydantic/pull/7523) - Remove unused copies in `CoreSchema` walking by [@adriangb](https://togithub.com/adriangb) in [#7528](https://togithub.com/pydantic/pydantic/pull/7528) - Add caches for collecting definitions and invalid schemas from a CoreSchema by [@adriangb](https://togithub.com/adriangb) in [#7527](https://togithub.com/pydantic/pydantic/pull/7527) - Eagerly resolve discriminated unions and cache cases where we can't by [@adriangb](https://togithub.com/adriangb) in [#7529](https://togithub.com/pydantic/pydantic/pull/7529) - Replace `dict.get` and `dict.setdefault` with more verbose versions in `CoreSchema` building hot paths by [@adriangb](https://togithub.com/adriangb) in [#7536](https://togithub.com/pydantic/pydantic/pull/7536) - Cache invalid `CoreSchema` discovery by [@adriangb](https://togithub.com/adriangb) in [#7535](https://togithub.com/pydantic/pydantic/pull/7535) - Allow disabling `CoreSchema` validation for faster startup times by [@adriangb](https://togithub.com/adriangb) in [#7565](https://togithub.com/pydantic/pydantic/pull/7565) ##### Fixes - Fix config detection for `TypedDict` from grandparent classes by [@dmontagu](https://togithub.com/dmontagu) in [#7272](https://togithub.com/pydantic/pydantic/pull/7272) - Fix hash function generation for frozen models with unusual MRO by [@dmontagu](https://togithub.com/dmontagu) in [#7274](https://togithub.com/pydantic/pydantic/pull/7274) - Make `strict` config overridable in field for Path by [@hramezani](https://togithub.com/hramezani) in [#7281](https://togithub.com/pydantic/pydantic/pull/7281) - Use `ser_json_Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.