pydantic/pydantic-settings (pydantic-settings)
### [`v2.3.1`](https://togithub.com/pydantic/pydantic-settings/releases/tag/v2.3.1)
[Compare Source](https://togithub.com/pydantic/pydantic-settings/compare/v2.3.0...v2.3.1)
#### What's Changed
- Fix a regression in parsing env value for nested dict by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/301](https://togithub.com/pydantic/pydantic-settings/pull/301)
**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.3.0...v2.3.1
### [`v2.3.0`](https://togithub.com/pydantic/pydantic-settings/releases/tag/v2.3.0)
[Compare Source](https://togithub.com/pydantic/pydantic-settings/compare/v2.2.1...v2.3.0)
##### What's Changed
- Add environment parsing support for enums. by [@kschwab](https://togithub.com/kschwab) in [https://github.com/pydantic/pydantic-settings/pull/252](https://togithub.com/pydantic/pydantic-settings/pull/252)
- Improve `explode_env_vars` for better dict handling by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/261](https://togithub.com/pydantic/pydantic-settings/pull/261)
- add `PyprojectTomlConfigSettingsSource` by [@ITProKyle](https://togithub.com/ITProKyle) in [https://github.com/pydantic/pydantic-settings/pull/255](https://togithub.com/pydantic/pydantic-settings/pull/255)
- Fix broken link in AliasChoices class by [@keenranger](https://togithub.com/keenranger) in [https://github.com/pydantic/pydantic-settings/pull/271](https://togithub.com/pydantic/pydantic-settings/pull/271)
- Update Pydantic by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/273](https://togithub.com/pydantic/pydantic-settings/pull/273)
- fix: superfluous deep env conflicts with non-dict model leaf by [@diefans](https://togithub.com/diefans) in [https://github.com/pydantic/pydantic-settings/pull/276](https://togithub.com/pydantic/pydantic-settings/pull/276)
- fix: a second level of environment nesting expected a dict by [@diefans](https://togithub.com/diefans) in [https://github.com/pydantic/pydantic-settings/pull/281](https://togithub.com/pydantic/pydantic-settings/pull/281)
- Fix an issue when inner types of a discriminated union with a callable discriminator were not correctly identified as complex. by [@jenskeiner](https://togithub.com/jenskeiner) in [https://github.com/pydantic/pydantic-settings/pull/285](https://togithub.com/pydantic/pydantic-settings/pull/285)
- Fix a bug when we have case insentive field in nested model by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/294](https://togithub.com/pydantic/pydantic-settings/pull/294)
- Add CLI Settings Source by [@kschwab](https://togithub.com/kschwab) in [https://github.com/pydantic/pydantic-settings/pull/214](https://togithub.com/pydantic/pydantic-settings/pull/214)
##### New Contributors
- [@ITProKyle](https://togithub.com/ITProKyle) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/255](https://togithub.com/pydantic/pydantic-settings/pull/255)
- [@keenranger](https://togithub.com/keenranger) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/271](https://togithub.com/pydantic/pydantic-settings/pull/271)
- [@diefans](https://togithub.com/diefans) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/276](https://togithub.com/pydantic/pydantic-settings/pull/276)
- [@jenskeiner](https://togithub.com/jenskeiner) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/285](https://togithub.com/pydantic/pydantic-settings/pull/285)
**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.2.1...v2.3.0
### [`v2.2.1`](https://togithub.com/pydantic/pydantic-settings/releases/tag/v2.2.1)
[Compare Source](https://togithub.com/pydantic/pydantic-settings/compare/v2.2.0...v2.2.1)
#### What's Changed
- respect `env_prefix` when `extra` allowed by [@zzstoatzz](https://togithub.com/zzstoatzz) in [https://github.com/pydantic/pydantic-settings/pull/238](https://togithub.com/pydantic/pydantic-settings/pull/238)
- Replace tomlkit with tomli and remove toml_file_encoding config by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/236](https://togithub.com/pydantic/pydantic-settings/pull/236)
- Revert "Allow nested env var source to override nested init source." by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/243](https://togithub.com/pydantic/pydantic-settings/pull/243)
#### New Contributors
- [@zzstoatzz](https://togithub.com/zzstoatzz) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/238](https://togithub.com/pydantic/pydantic-settings/pull/238)
**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.2.0...v2.2.1
### [`v2.2.0`](https://togithub.com/pydantic/pydantic-settings/releases/tag/v2.2.0)
[Compare Source](https://togithub.com/pydantic/pydantic-settings/compare/v2.1.0...v2.2.0)
#### What's Changed
- Fix documentation and update pydantic and pydantic-core dependancies by [@Xunop](https://togithub.com/Xunop) in [https://github.com/pydantic/pydantic-settings/pull/194](https://togithub.com/pydantic/pydantic-settings/pull/194)
- Correct a typo in README.md by [@felixonmars](https://togithub.com/felixonmars) in [https://github.com/pydantic/pydantic-settings/pull/195](https://togithub.com/pydantic/pydantic-settings/pull/195)
- feat: ignore empty env vars by [@niventc](https://togithub.com/niventc) in [https://github.com/pydantic/pydantic-settings/pull/198](https://togithub.com/pydantic/pydantic-settings/pull/198)
- Allow nested env var source to override nested init source. by [@kschwab](https://togithub.com/kschwab) in [https://github.com/pydantic/pydantic-settings/pull/204](https://togithub.com/pydantic/pydantic-settings/pull/204)
- Fix typo in explode_env_vars() docstring by [@paytonward6](https://togithub.com/paytonward6) in [https://github.com/pydantic/pydantic-settings/pull/207](https://togithub.com/pydantic/pydantic-settings/pull/207)
- Add support for parsing environment "None" strings to None. by [@kschwab](https://togithub.com/kschwab) in [https://github.com/pydantic/pydantic-settings/pull/206](https://togithub.com/pydantic/pydantic-settings/pull/206)
- Ensure extra='forbid' is enforced in DotEnvSettingsSource when env_prefix is specified by [@kjithin](https://togithub.com/kjithin) in [https://github.com/pydantic/pydantic-settings/pull/218](https://togithub.com/pydantic/pydantic-settings/pull/218)
- Fix for JSON on optional nested types. by [@kschwab](https://togithub.com/kschwab) in [https://github.com/pydantic/pydantic-settings/pull/217](https://togithub.com/pydantic/pydantic-settings/pull/217)
- Improve docs by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/225](https://togithub.com/pydantic/pydantic-settings/pull/225)
- feat: adding json, yaml and toml sources by [@Smixi](https://togithub.com/Smixi) in [https://github.com/pydantic/pydantic-settings/pull/211](https://togithub.com/pydantic/pydantic-settings/pull/211)
- Fix dotenv source extra values parsing provided in dotenv file by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/221](https://togithub.com/pydantic/pydantic-settings/pull/221)
- Update requirements by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/233](https://togithub.com/pydantic/pydantic-settings/pull/233)
- Prepare release 2.2.0 by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/232](https://togithub.com/pydantic/pydantic-settings/pull/232)
#### New Contributors
- [@Xunop](https://togithub.com/Xunop) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/194](https://togithub.com/pydantic/pydantic-settings/pull/194)
- [@felixonmars](https://togithub.com/felixonmars) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/195](https://togithub.com/pydantic/pydantic-settings/pull/195)
- [@niventc](https://togithub.com/niventc) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/198](https://togithub.com/pydantic/pydantic-settings/pull/198)
- [@kschwab](https://togithub.com/kschwab) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/204](https://togithub.com/pydantic/pydantic-settings/pull/204)
- [@paytonward6](https://togithub.com/paytonward6) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/207](https://togithub.com/pydantic/pydantic-settings/pull/207)
- [@kjithin](https://togithub.com/kjithin) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/218](https://togithub.com/pydantic/pydantic-settings/pull/218)
- [@Smixi](https://togithub.com/Smixi) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/211](https://togithub.com/pydantic/pydantic-settings/pull/211)
**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.1.0...v2.2.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
2.1.0
->2.3.1
Release Notes
pydantic/pydantic-settings (pydantic-settings)
### [`v2.3.1`](https://togithub.com/pydantic/pydantic-settings/releases/tag/v2.3.1) [Compare Source](https://togithub.com/pydantic/pydantic-settings/compare/v2.3.0...v2.3.1) #### What's Changed - Fix a regression in parsing env value for nested dict by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/301](https://togithub.com/pydantic/pydantic-settings/pull/301) **Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.3.0...v2.3.1 ### [`v2.3.0`](https://togithub.com/pydantic/pydantic-settings/releases/tag/v2.3.0) [Compare Source](https://togithub.com/pydantic/pydantic-settings/compare/v2.2.1...v2.3.0) ##### What's Changed - Add environment parsing support for enums. by [@kschwab](https://togithub.com/kschwab) in [https://github.com/pydantic/pydantic-settings/pull/252](https://togithub.com/pydantic/pydantic-settings/pull/252) - Improve `explode_env_vars` for better dict handling by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/261](https://togithub.com/pydantic/pydantic-settings/pull/261) - add `PyprojectTomlConfigSettingsSource` by [@ITProKyle](https://togithub.com/ITProKyle) in [https://github.com/pydantic/pydantic-settings/pull/255](https://togithub.com/pydantic/pydantic-settings/pull/255) - Fix broken link in AliasChoices class by [@keenranger](https://togithub.com/keenranger) in [https://github.com/pydantic/pydantic-settings/pull/271](https://togithub.com/pydantic/pydantic-settings/pull/271) - Update Pydantic by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/273](https://togithub.com/pydantic/pydantic-settings/pull/273) - fix: superfluous deep env conflicts with non-dict model leaf by [@diefans](https://togithub.com/diefans) in [https://github.com/pydantic/pydantic-settings/pull/276](https://togithub.com/pydantic/pydantic-settings/pull/276) - fix: a second level of environment nesting expected a dict by [@diefans](https://togithub.com/diefans) in [https://github.com/pydantic/pydantic-settings/pull/281](https://togithub.com/pydantic/pydantic-settings/pull/281) - Fix an issue when inner types of a discriminated union with a callable discriminator were not correctly identified as complex. by [@jenskeiner](https://togithub.com/jenskeiner) in [https://github.com/pydantic/pydantic-settings/pull/285](https://togithub.com/pydantic/pydantic-settings/pull/285) - Fix a bug when we have case insentive field in nested model by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/294](https://togithub.com/pydantic/pydantic-settings/pull/294) - Add CLI Settings Source by [@kschwab](https://togithub.com/kschwab) in [https://github.com/pydantic/pydantic-settings/pull/214](https://togithub.com/pydantic/pydantic-settings/pull/214) ##### New Contributors - [@ITProKyle](https://togithub.com/ITProKyle) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/255](https://togithub.com/pydantic/pydantic-settings/pull/255) - [@keenranger](https://togithub.com/keenranger) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/271](https://togithub.com/pydantic/pydantic-settings/pull/271) - [@diefans](https://togithub.com/diefans) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/276](https://togithub.com/pydantic/pydantic-settings/pull/276) - [@jenskeiner](https://togithub.com/jenskeiner) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/285](https://togithub.com/pydantic/pydantic-settings/pull/285) **Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.2.1...v2.3.0 ### [`v2.2.1`](https://togithub.com/pydantic/pydantic-settings/releases/tag/v2.2.1) [Compare Source](https://togithub.com/pydantic/pydantic-settings/compare/v2.2.0...v2.2.1) #### What's Changed - respect `env_prefix` when `extra` allowed by [@zzstoatzz](https://togithub.com/zzstoatzz) in [https://github.com/pydantic/pydantic-settings/pull/238](https://togithub.com/pydantic/pydantic-settings/pull/238) - Replace tomlkit with tomli and remove toml_file_encoding config by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/236](https://togithub.com/pydantic/pydantic-settings/pull/236) - Revert "Allow nested env var source to override nested init source." by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/243](https://togithub.com/pydantic/pydantic-settings/pull/243) #### New Contributors - [@zzstoatzz](https://togithub.com/zzstoatzz) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/238](https://togithub.com/pydantic/pydantic-settings/pull/238) **Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.2.0...v2.2.1 ### [`v2.2.0`](https://togithub.com/pydantic/pydantic-settings/releases/tag/v2.2.0) [Compare Source](https://togithub.com/pydantic/pydantic-settings/compare/v2.1.0...v2.2.0) #### What's Changed - Fix documentation and update pydantic and pydantic-core dependancies by [@Xunop](https://togithub.com/Xunop) in [https://github.com/pydantic/pydantic-settings/pull/194](https://togithub.com/pydantic/pydantic-settings/pull/194) - Correct a typo in README.md by [@felixonmars](https://togithub.com/felixonmars) in [https://github.com/pydantic/pydantic-settings/pull/195](https://togithub.com/pydantic/pydantic-settings/pull/195) - feat: ignore empty env vars by [@niventc](https://togithub.com/niventc) in [https://github.com/pydantic/pydantic-settings/pull/198](https://togithub.com/pydantic/pydantic-settings/pull/198) - Allow nested env var source to override nested init source. by [@kschwab](https://togithub.com/kschwab) in [https://github.com/pydantic/pydantic-settings/pull/204](https://togithub.com/pydantic/pydantic-settings/pull/204) - Fix typo in explode_env_vars() docstring by [@paytonward6](https://togithub.com/paytonward6) in [https://github.com/pydantic/pydantic-settings/pull/207](https://togithub.com/pydantic/pydantic-settings/pull/207) - Add support for parsing environment "None" strings to None. by [@kschwab](https://togithub.com/kschwab) in [https://github.com/pydantic/pydantic-settings/pull/206](https://togithub.com/pydantic/pydantic-settings/pull/206) - Ensure extra='forbid' is enforced in DotEnvSettingsSource when env_prefix is specified by [@kjithin](https://togithub.com/kjithin) in [https://github.com/pydantic/pydantic-settings/pull/218](https://togithub.com/pydantic/pydantic-settings/pull/218) - Fix for JSON on optional nested types. by [@kschwab](https://togithub.com/kschwab) in [https://github.com/pydantic/pydantic-settings/pull/217](https://togithub.com/pydantic/pydantic-settings/pull/217) - Improve docs by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/225](https://togithub.com/pydantic/pydantic-settings/pull/225) - feat: adding json, yaml and toml sources by [@Smixi](https://togithub.com/Smixi) in [https://github.com/pydantic/pydantic-settings/pull/211](https://togithub.com/pydantic/pydantic-settings/pull/211) - Fix dotenv source extra values parsing provided in dotenv file by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/221](https://togithub.com/pydantic/pydantic-settings/pull/221) - Update requirements by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/233](https://togithub.com/pydantic/pydantic-settings/pull/233) - Prepare release 2.2.0 by [@hramezani](https://togithub.com/hramezani) in [https://github.com/pydantic/pydantic-settings/pull/232](https://togithub.com/pydantic/pydantic-settings/pull/232) #### New Contributors - [@Xunop](https://togithub.com/Xunop) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/194](https://togithub.com/pydantic/pydantic-settings/pull/194) - [@felixonmars](https://togithub.com/felixonmars) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/195](https://togithub.com/pydantic/pydantic-settings/pull/195) - [@niventc](https://togithub.com/niventc) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/198](https://togithub.com/pydantic/pydantic-settings/pull/198) - [@kschwab](https://togithub.com/kschwab) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/204](https://togithub.com/pydantic/pydantic-settings/pull/204) - [@paytonward6](https://togithub.com/paytonward6) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/207](https://togithub.com/pydantic/pydantic-settings/pull/207) - [@kjithin](https://togithub.com/kjithin) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/218](https://togithub.com/pydantic/pydantic-settings/pull/218) - [@Smixi](https://togithub.com/Smixi) made their first contribution in [https://github.com/pydantic/pydantic-settings/pull/211](https://togithub.com/pydantic/pydantic-settings/pull/211) **Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.1.0...v2.2.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 Mend Renovate. View repository job log here.