Pydantic-settings

Latest version: v2.7.0

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

Scan your dependencies

Page 1 of 4

2.7.0

What's Changed
* Fix `test_protected_namespace_defaults` with -Wdefault by CyberTailor in https://github.com/pydantic/pydantic-settings/pull/462
* Make tests more robust to the running environment by CyberTailor in https://github.com/pydantic/pydantic-settings/pull/464
* Fix rendering of annotations in code example by Viicos in https://github.com/pydantic/pydantic-settings/pull/470
* Fix alias resolution for default settings source. by kschwab in https://github.com/pydantic/pydantic-settings/pull/468
* Use the class name in the `__repr__` implementations by dlax in https://github.com/pydantic/pydantic-settings/pull/465
* Fix default help text for union of submodels. by kschwab in https://github.com/pydantic/pydantic-settings/pull/472
* Add support for CliMutuallyExclusiveGroup. by kschwab in https://github.com/pydantic/pydantic-settings/pull/473
* Disable abbreviations on internal parser. by kschwab in https://github.com/pydantic/pydantic-settings/pull/477
* Fix Secret field parsing by hramezani in https://github.com/pydantic/pydantic-settings/pull/478
* Fix alias resolution to use preferred key. by kschwab in https://github.com/pydantic/pydantic-settings/pull/481
* Strip annotated when getting submodels during CLI parsing. by kschwab in https://github.com/pydantic/pydantic-settings/pull/490
* Removing return type from the function in test by hramezani in https://github.com/pydantic/pydantic-settings/pull/491
* Relax default protected_namespaces by hramezani in https://github.com/pydantic/pydantic-settings/pull/483
* Add support for CLI kebab case flag. by kschwab in https://github.com/pydantic/pydantic-settings/pull/489
* Change reference of default values validation in documentation by Viicos in https://github.com/pydantic/pydantic-settings/pull/496
* Improve field value parsing by adding `NoDecode` and `ForceDecode` annotations by hramezani in https://github.com/pydantic/pydantic-settings/pull/492
* Fix attribute error on Python 3.9 with typing.Sequence by hramezani in https://github.com/pydantic/pydantic-settings/pull/497
* Prepare release 2.7.0 by hramezani in https://github.com/pydantic/pydantic-settings/pull/499

New Contributors
* CyberTailor made their first contribution in https://github.com/pydantic/pydantic-settings/pull/462
* dlax made their first contribution in https://github.com/pydantic/pydantic-settings/pull/465

**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.6.1...v2.7.0

2.6.1

What's Changed
* Add Python 3.13 support by hramezani in https://github.com/pydantic/pydantic-settings/pull/450
* Fixes 452 - Adding support for populate_by_name by hozn in https://github.com/pydantic/pydantic-settings/pull/454
* Refactor path_type_label by aberenda-optifino in https://github.com/pydantic/pydantic-settings/pull/458
* Revert "Fix context not passed to field validators bug (417)" by hramezani in https://github.com/pydantic/pydantic-settings/pull/459

New Contributors
* hozn made their first contribution in https://github.com/pydantic/pydantic-settings/pull/454
* aberenda-optifino made their first contribution in https://github.com/pydantic/pydantic-settings/pull/458

**Full Changelog**: https://github.com/pydantic/pydantic-settings/compare/v2.6.0...v2.6.1

2.6.0

What's Changed
* Fix nested model field with alias parsing by hramezani in https://github.com/pydantic/pydantic-settings/pull/400
* Fix PathType typing in case of sequence by just-maiyak in https://github.com/pydantic/pydantic-settings/pull/402
* Add `cli_ignore_unknown_args` config option. by kschwab in https://github.com/pydantic/pydantic-settings/pull/405
* Fix AzureKeyVaultSettingsSource problem in case of field with underscore by hramezani in https://github.com/pydantic/pydantic-settings/pull/415
* Add `cli_flag_prefix_char` config option. by kschwab in https://github.com/pydantic/pydantic-settings/pull/418
* Fix nested model AliasChoices in validation alias by hramezani in https://github.com/pydantic/pydantic-settings/pull/411
* Add CLI App Support by kschwab in https://github.com/pydantic/pydantic-settings/pull/389
* Fix context not passed to field validators bug by hramezani in https://github.com/pydantic/pydantic-settings/pull/417
* Fix a regression in dotenv optional nested field by hramezani in https://github.com/pydantic/pydantic-settings/pull/423
* Put tests for non-default sources in separate files by makukha in https://github.com/pydantic/pydantic-settings/pull/429
* Update nested model partial update docs example. by kschwab in https://github.com/pydantic/pydantic-settings/pull/433
* Add support for suppressing fields from CLI help. by kschwab in https://github.com/pydantic/pydantic-settings/pull/436
* Fix bug in dotenv source when there is env with and without prefix by hramezani in https://github.com/pydantic/pydantic-settings/pull/440
* Prepare release 2.6.0 by hramezani in https://github.com/pydantic/pydantic-settings/pull/444

New Contributors
* just-maiyak made their first contribution in https://github.com/pydantic/pydantic-settings/pull/402

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

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

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.