Pydantic-settings

Latest version: v2.2.1

Safety actively analyzes 622330 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.2.1

What's Changed
* respect `env_prefix` when `extra` allowed by zzstoatzz in https://github.com/pydantic/pydantic-settings/pull/238
* Replace tomlkit with tomli and remove toml_file_encoding config by hramezani in https://github.com/pydantic/pydantic-settings/pull/236
* Revert "Allow nested env var source to override nested init source." by hramezani in https://github.com/pydantic/pydantic-settings/pull/243

New Contributors
* zzstoatzz made their first contribution in https://github.com/pydantic/pydantic-settings/pull/238

**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.2.0...v2.2.1

2.2.0

What's Changed
* Fix documentation and update pydantic and pydantic-core dependancies by Xunop in https://github.com/pydantic/pydantic-settings/pull/194
* Correct a typo in README.md by felixonmars in https://github.com/pydantic/pydantic-settings/pull/195
* feat: ignore empty env vars by niventc in https://github.com/pydantic/pydantic-settings/pull/198
* Allow nested env var source to override nested init source. by kschwab in https://github.com/pydantic/pydantic-settings/pull/204
* Fix typo in explode_env_vars() docstring by paytonward6 in https://github.com/pydantic/pydantic-settings/pull/207
* Add support for parsing environment "None" strings to None. by kschwab in https://github.com/pydantic/pydantic-settings/pull/206
* Ensure extra='forbid' is enforced in DotEnvSettingsSource when env_prefix is specified by kjithin in https://github.com/pydantic/pydantic-settings/pull/218
* Fix for JSON on optional nested types. by kschwab in https://github.com/pydantic/pydantic-settings/pull/217
* Improve docs by hramezani in https://github.com/pydantic/pydantic-settings/pull/225
* feat: adding json, yaml and toml sources by Smixi in https://github.com/pydantic/pydantic-settings/pull/211
* Fix dotenv source extra values parsing provided in dotenv file by hramezani in https://github.com/pydantic/pydantic-settings/pull/221
* Update requirements by hramezani in https://github.com/pydantic/pydantic-settings/pull/233
* Prepare release 2.2.0 by hramezani in https://github.com/pydantic/pydantic-settings/pull/232

New Contributors
* Xunop made their first contribution in https://github.com/pydantic/pydantic-settings/pull/194
* felixonmars made their first contribution in https://github.com/pydantic/pydantic-settings/pull/195
* niventc made their first contribution in https://github.com/pydantic/pydantic-settings/pull/198
* kschwab made their first contribution in https://github.com/pydantic/pydantic-settings/pull/204
* paytonward6 made their first contribution in https://github.com/pydantic/pydantic-settings/pull/207
* kjithin made their first contribution in https://github.com/pydantic/pydantic-settings/pull/218
* Smixi made their first contribution in https://github.com/pydantic/pydantic-settings/pull/211

**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.1.0...v2.2.0

2.1.0

What's Changed
* Fix code for mentioned variable in Settings Management by ikosmala in https://github.com/pydantic/pydantic-settings/pull/146
* Add docs to explain env_prefix does not apply to field alias by hramezani in https://github.com/pydantic/pydantic-settings/pull/147
* Remove old code relatd to optional dotenv by hramezani in https://github.com/pydantic/pydantic-settings/pull/155
* Fix broken links by hramezani in https://github.com/pydantic/pydantic-settings/pull/160
* Add note about nested model should inherit BaseModel by hramezani in https://github.com/pydantic/pydantic-settings/pull/165
* Fix 166 - Add docs for validating default values by stinovlas in https://github.com/pydantic/pydantic-settings/pull/168
* Update links by hramezani in https://github.com/pydantic/pydantic-settings/pull/170
* Fix typo at `Environment variable names` section by iagorrr in https://github.com/pydantic/pydantic-settings/pull/173
* resolve nested code fence line numbering by johndutchover in https://github.com/pydantic/pydantic-settings/pull/182
* Confirm Python 3.12 support by hramezani in https://github.com/pydantic/pydantic-settings/pull/174
* Drop Python 3.7 by hramezani in https://github.com/pydantic/pydantic-settings/pull/188

New Contributors
* ikosmala made their first contribution in https://github.com/pydantic/pydantic-settings/pull/146
* stinovlas made their first contribution in https://github.com/pydantic/pydantic-settings/pull/168
* iagorrr made their first contribution in https://github.com/pydantic/pydantic-settings/pull/173
* johndutchover made their first contribution in https://github.com/pydantic/pydantic-settings/pull/182

**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.0.3...v2.1.0

2.0.3

What's Changed
* Fix `_replace_field_names_case_insensitively` precondition inconsistency by AlexVndnblcke in https://github.com/pydantic/pydantic-settings/pull/130
* Check union args to don't consider Optional fields as complex Union by hramezani in https://github.com/pydantic/pydantic-settings/pull/138

New Contributors
* AlexVndnblcke made their first contribution in https://github.com/pydantic/pydantic-settings/pull/130

**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.0.2...v2.0.3

2.0.2

What's Changed
* dotenv no error w/ an env key shorter than prefix (106) by jvllmr in https://github.com/pydantic/pydantic-settings/pull/107
* Add installation instruction to doc by hramezani in https://github.com/pydantic/pydantic-settings/pull/111
* Add support for adding config through class kwargs by hramezani in https://github.com/pydantic/pydantic-settings/pull/112
* Use `pydantic_settings.SettingsConfigDict` instead of `pydantic.ConfigDict` in tests by hramezani in https://github.com/pydantic/pydantic-settings/pull/119
* Add documentation link to README.md by hramezani in https://github.com/pydantic/pydantic-settings/pull/121
* Fix error when no secret file provided for a complex field. by hramezani in https://github.com/pydantic/pydantic-settings/pull/118
* Fix a bug when using BaseSettings with RootModel by hramezani in https://github.com/pydantic/pydantic-settings/pull/120
* Fix typo (`fiel_value` -> `field_value`) by kkirsche in https://github.com/pydantic/pydantic-settings/pull/123
* fix typos in pydantic settings module by kkirsche in https://github.com/pydantic/pydantic-settings/pull/124
* Add documentation about compatibility with pydantic 1.x BaseSettings when using dotenv by SthPhoenix in https://github.com/pydantic/pydantic-settings/pull/127
* Separate decoding of complex values into specific method by dbendall in https://github.com/pydantic/pydantic-settings/pull/128

New Contributors
* jvllmr made their first contribution in https://github.com/pydantic/pydantic-settings/pull/107
* kkirsche made their first contribution in https://github.com/pydantic/pydantic-settings/pull/123
* SthPhoenix made their first contribution in https://github.com/pydantic/pydantic-settings/pull/127
* dbendall made their first contribution in https://github.com/pydantic/pydantic-settings/pull/128

**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.0.1...v2.0.2

2.0.1

What's Changed
* pydantic V2 is released by davidhewitt in https://github.com/pydantic/pydantic-settings/pull/99
* Add explicit type hint to `BaseSettings.model_config` by Viicos in https://github.com/pydantic/pydantic-settings/pull/97
* Improve `DotenvType` to accept `str` by hramezani in https://github.com/pydantic/pydantic-settings/pull/96
* Use config values as default in `PydanticBaseEnvSettingsSource.__init__` by hramezani in https://github.com/pydantic/pydantic-settings/pull/100
* Update to Pydantic 2.0.1 by hramezani in https://github.com/pydantic/pydantic-settings/pull/101
* Prepare for release 2.0.1 by hramezani in https://github.com/pydantic/pydantic-settings/pull/105

New Contributors
* davidhewitt made their first contribution in https://github.com/pydantic/pydantic-settings/pull/99

**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.0.0...v2.0.1

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.