Pydantic-settings

Latest version: v2.8.1

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

Scan your dependencies

Page 2 of 5

2.5.2

What's Changed
* Second fix for the TypeError bug introduced in 2.5 by hramezani in https://github.com/pydantic/pydantic-settings/pull/396


**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.5.1...v2.5.2

2.5.1

What's Changed
* Fix TypeError introduced in 2.5 by hramezani in https://github.com/pydantic/pydantic-settings/pull/392


**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.5.0...v2.5.1

2.5.0

What's Changed
* Fix a bug in nested vanila dataclass by hramezani in https://github.com/pydantic/pydantic-settings/pull/357
* CLI Improve Docstring Help Text by kschwab in https://github.com/pydantic/pydantic-settings/pull/359
* Cli fix default or none object help text by kschwab in https://github.com/pydantic/pydantic-settings/pull/364
* Determine RootModel complexity from root type by user1584 in https://github.com/pydantic/pydantic-settings/pull/344
* Add CLI bool flags by kschwab in https://github.com/pydantic/pydantic-settings/pull/365
* CLI arg list whitespaces fix. by kschwab in https://github.com/pydantic/pydantic-settings/pull/369
* Add `nested_model_default_partial_update` flag and `DefaultSettingsSource` by kschwab in https://github.com/pydantic/pydantic-settings/pull/348
* Parse enum fixes. by kschwab in https://github.com/pydantic/pydantic-settings/pull/367
* Fixes CLI help text for function types by kschwab in https://github.com/pydantic/pydantic-settings/pull/370
* Add get_subcommand function. by kschwab in https://github.com/pydantic/pydantic-settings/pull/341
* Cli prefix validation alias fix by kschwab in https://github.com/pydantic/pydantic-settings/pull/375
* CLI ignore external parser list fix by kschwab in https://github.com/pydantic/pydantic-settings/pull/379
* Enable multiple secrets dirs by makukha in https://github.com/pydantic/pydantic-settings/pull/372
* Add CLI subcommand union and alias support by kschwab in https://github.com/pydantic/pydantic-settings/pull/380
* Fix dotenv settings source problem in handling extra variables with same prefix in name by hramezani in https://github.com/pydantic/pydantic-settings/pull/386

New Contributors
* user1584 made their first contribution in https://github.com/pydantic/pydantic-settings/pull/344
* makukha made their first contribution in https://github.com/pydantic/pydantic-settings/pull/372

**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.4.0...v2.5.0

2.4.0

What's Changed
* Fix regex flags accidentally passed as count by musicinmybrain in https://github.com/pydantic/pydantic-settings/pull/328
* Deprecate `read_env_file` and move it to `DotEnvSettingsSource` by WarpedPixel in https://github.com/pydantic/pydantic-settings/pull/318
* Fix a bug when loading empty yaml file by hramezani in https://github.com/pydantic/pydantic-settings/pull/330
* feat: Enable access to the current state in settings sources by VictorColomb in https://github.com/pydantic/pydantic-settings/pull/326
* Add support for short options. by kschwab in https://github.com/pydantic/pydantic-settings/pull/339
* Add Azure Key Vault settings source by AndreuCodina in https://github.com/pydantic/pydantic-settings/pull/272
* Add cli_exit_on_error config option by kschwab in https://github.com/pydantic/pydantic-settings/pull/340

New Contributors
* musicinmybrain made their first contribution in https://github.com/pydantic/pydantic-settings/pull/328
* WarpedPixel made their first contribution in https://github.com/pydantic/pydantic-settings/pull/318
* VictorColomb made their first contribution in https://github.com/pydantic/pydantic-settings/pull/326
* AndreuCodina made their first contribution in https://github.com/pydantic/pydantic-settings/pull/272

**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.3.4...v2.4.0

2.3.4

What's Changed
* add in-place reloading in docs by nrolin in https://github.com/pydantic/pydantic-settings/pull/316
* Nested pydantic dataclasses and doc fixes. by kschwab in https://github.com/pydantic/pydantic-settings/pull/317
* Remove leftover docstring causing warning on `pydantic` docs build by sydney-runkle in https://github.com/pydantic/pydantic-settings/pull/321

New Contributors
* nrolin made their first contribution in https://github.com/pydantic/pydantic-settings/pull/316
* sydney-runkle made their first contribution in https://github.com/pydantic/pydantic-settings/pull/321

**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.3.3...v2.3.4

2.3.3

What's Changed
* Fix an intriduced bug in parsing json field with discriminated union by hramezani in https://github.com/pydantic/pydantic-settings/pull/312
* Add CliSettingsSource alias handling for AliasChoices and AliasPath. by kschwab in https://github.com/pydantic/pydantic-settings/pull/313


**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.3.2...v2.3.3

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.