Pydantic-settings

Latest version: v2.8.1

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

Scan your dependencies

Page 4 of 5

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

2.0.0

What's Changed
* Add `mkdocs.yml` to run mkdocs locally by Kludex in https://github.com/pydantic/pydantic-settings/pull/67
* Add documentation to pyproject by Kludex in https://github.com/pydantic/pydantic-settings/pull/69
* Remove unused plugins from `mkdocs.yml` by Kludex in https://github.com/pydantic/pydantic-settings/pull/70
* Improve docstrings by hramezani in https://github.com/pydantic/pydantic-settings/pull/72
* ✨ Make `SettingsConfigDict` public by Kludex in https://github.com/pydantic/pydantic-settings/pull/75
* Add enhancements to the `index.md` by Kludex in https://github.com/pydantic/pydantic-settings/pull/73
* Tweak sources to have `case_sensitive` and `env_prefix` usable as args by Viicos in https://github.com/pydantic/pydantic-settings/pull/76
* Update pydantic to 2.0b3 by hramezani in https://github.com/pydantic/pydantic-settings/pull/83
* Add default value to source classes init params by hramezani in https://github.com/pydantic/pydantic-settings/pull/82
* Add Pydantic Json field support by hramezani in https://github.com/pydantic/pydantic-settings/pull/79
* docs: fix link with relative by m9810223 in https://github.com/pydantic/pydantic-settings/pull/85
* Fix code block formatting by hramezani in https://github.com/pydantic/pydantic-settings/pull/89
* Add `assignees` list to the hooky config by hramezani in https://github.com/pydantic/pydantic-settings/pull/92

New Contributors
* Viicos made their first contribution in https://github.com/pydantic/pydantic-settings/pull/76
* m9810223 made their first contribution in https://github.com/pydantic/pydantic-settings/pull/85

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

2.0b1

What's Changed
* Format docs for import by tpdorsey in https://github.com/pydantic/pydantic-settings/pull/48
* Fix fetching env values for nested bytes field by hramezani in https://github.com/pydantic/pydantic-settings/pull/52
* Uprev pydantic to v2.0a4 by hramezani in https://github.com/pydantic/pydantic-settings/pull/55
* Update pydantic and pydantic-core dependancies by hramezani in https://github.com/pydantic/pydantic-settings/pull/58
* Add pytest-examples and make examples in docs testable by hramezani in https://github.com/pydantic/pydantic-settings/pull/56
* Use updated FieldInfo from https://github.com/pydantic/pydantic/pull/5800 by dmontagu in https://github.com/pydantic/pydantic-settings/pull/59
* Update dependencies by adriangb in https://github.com/pydantic/pydantic-settings/pull/62
* Update pydantic to 2.0b1 by hramezani in https://github.com/pydantic/pydantic-settings/pull/64
* Prepare for 2.0a4 release by hramezani in https://github.com/pydantic/pydantic-settings/pull/65

New Contributors
* tpdorsey made their first contribution in https://github.com/pydantic/pydantic-settings/pull/48
* adriangb made their first contribution in https://github.com/pydantic/pydantic-settings/pull/62

**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.0a4...v2.0b1

2.0a4

What's Changed
* Add Pydantic PyPI classifier by Kludex in https://github.com/pydantic/pydantic-settings/pull/36
* Create py.typed by Kludex in https://github.com/pydantic/pydantic-settings/pull/45
* Considering extra config in dotenv source by hramezani in https://github.com/pydantic/pydantic-settings/pull/39
* Modernize type hints by hramezani in https://github.com/pydantic/pydantic-settings/pull/46
* Prepare for 2.0a4 release by hramezani in https://github.com/pydantic/pydantic-settings/pull/47

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

**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.0a3...v2.0a4

Page 4 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.