Allow config and bases to be specified together in create_model() by @Viicos in #11714.
This change was backported as it was previously possible (although not meant to be supported)
to provide model_config as a field, which would make it possible to provide both configuration
and bases.
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [pydantic](https://github.com/pydantic/pydantic) ([changelog](https://docs.pydantic.dev/latest/changelog/)) | patch | `==2.11.3` -> `==2.11.4` |
---
### Release Notes
<details>
<summary>pydantic/pydantic (pydantic)</summary>
### [`v2.11.4`](https://github.com/pydantic/pydantic/blob/HEAD/HISTORY.md#v2114-2025-04-29)
[Compare Source](https://github.com/pydantic/pydantic/compare/v2.11.3...v2.11.4)
[GitHub release](https://github.com/pydantic/pydantic/releases/tag/v2.11.4)
##### What's Changed
##### Packaging
- Bump `mkdocs-llmstxt` to v0.2.0 by [@​Viicos](https://github.com/Viicos) in [#​11725](https://github.com/pydantic/pydantic/pull/11725)
##### Changes
- Allow config and bases to be specified together in `create_model()` by [@​Viicos](https://github.com/Viicos) in [#​11714](https://github.com/pydantic/pydantic/pull/11714).
This change was backported as it was previously possible (although not meant to be supported)
to provide `model_config` as a field, which would make it possible to provide both configuration
and bases.
##### Fixes
- Remove generics cache workaround by [@​Viicos](https://github.com/Viicos) in [#​11755](https://github.com/pydantic/pydantic/pull/11755)
- Remove coercion of decimal constraints by [@​Viicos](https://github.com/Viicos) in [#​11772](https://github.com/pydantic/pydantic/pull/11772)
- Fix crash when expanding root type in the mypy plugin by [@​Viicos](https://github.com/Viicos) in [#​11735](https://github.com/pydantic/pydantic/pull/11735)
- Fix issue with recursive generic models by [@​Viicos](https://github.com/Viicos) in [#​11775](https://github.com/pydantic/pydantic/pull/11775)
- Traverse `function-before` schemas during schema gathering by [@​Viicos](https://github.com/Viicos) in [#​11801](https://github.com/pydantic/pydantic/pull/11801)
</details>
---
### 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC40NS4wIiwidXBkYXRlZEluVmVyIjoiMzguNDUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
==2.11.3->==2.11.4Release Notes
pydantic/pydantic (pydantic)
v2.11.4Compare Source
GitHub release
What's Changed
Packaging
mkdocs-llmstxtto v0.2.0 by @Viicos in #11725Changes
create_model()by @Viicos in #11714.This change was backported as it was previously possible (although not meant to be supported)
to provide
model_configas a field, which would make it possible to provide both configurationand bases.
Fixes
function-beforeschemas during schema gathering by @Viicos in #11801Configuration
📅 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.