Releases: pydantic/pydantic-settings
Releases · pydantic/pydantic-settings
v2.6.1
What's Changed
- Add Python 3.13 support by @hramezani in #450
- Fixes #452 - Adding support for populate_by_name by @hozn in #454
- Refactor path_type_label by @aberenda-optifino in #458
- Revert "Fix context not passed to field validators bug (#417)" by @hramezani in #459
New Contributors
- @hozn made their first contribution in #454
- @aberenda-optifino made their first contribution in #458
Full Changelog: v2.6.0...v2.6.1
v2.6.0
What's Changed
- Fix nested model field with alias parsing by @hramezani in #400
- Fix PathType typing in case of sequence by @just-maiyak in #402
- Add
cli_ignore_unknown_args
config option. by @kschwab in #405 - Fix AzureKeyVaultSettingsSource problem in case of field with underscore by @hramezani in #415
- Add
cli_flag_prefix_char
config option. by @kschwab in #418 - Fix nested model AliasChoices in validation alias by @hramezani in #411
- Add CLI App Support by @kschwab in #389
- Fix context not passed to field validators bug by @hramezani in #417
- Fix a regression in dotenv optional nested field by @hramezani in #423
- Put tests for non-default sources in separate files by @makukha in #429
- Update nested model partial update docs example. by @kschwab in #433
- Add support for suppressing fields from CLI help. by @kschwab in #436
- Fix bug in dotenv source when there is env with and without prefix by @hramezani in #440
- Prepare release 2.6.0 by @hramezani in #444
New Contributors
- @just-maiyak made their first contribution in #402
Full Changelog: v2.5.2...v2.6.0
v2.5.2
What's Changed
- Second fix for the TypeError bug introduced in 2.5 by @hramezani in #396
Full Changelog: v2.5.1...v2.5.2
v2.5.1
What's Changed
- Fix TypeError introduced in 2.5 by @hramezani in #392
Full Changelog: v2.5.0...v2.5.1
v2.5.0
What's Changed
- Fix a bug in nested vanila dataclass by @hramezani in #357
- CLI Improve Docstring Help Text by @kschwab in #359
- Cli fix default or none object help text by @kschwab in #364
- Determine RootModel complexity from root type by @user1584 in #344
- Add CLI bool flags by @kschwab in #365
- CLI arg list whitespaces fix. by @kschwab in #369
- Add
nested_model_default_partial_update
flag andDefaultSettingsSource
by @kschwab in #348 - Parse enum fixes. by @kschwab in #367
- Fixes CLI help text for function types by @kschwab in #370
- Add get_subcommand function. by @kschwab in #341
- Cli prefix validation alias fix by @kschwab in #375
- CLI ignore external parser list fix by @kschwab in #379
- Enable multiple secrets dirs by @makukha in #372
- Add CLI subcommand union and alias support by @kschwab in #380
- Fix dotenv settings source problem in handling extra variables with same prefix in name by @hramezani in #386
New Contributors
Full Changelog: v2.4.0...v2.5.0
v2.4.0
What's Changed
- Fix regex flags accidentally passed as count by @musicinmybrain in #328
- Deprecate
read_env_file
and move it toDotEnvSettingsSource
by @WarpedPixel in #318 - Fix a bug when loading empty yaml file by @hramezani in #330
- feat: Enable access to the current state in settings sources by @VictorColomb in #326
- Add support for short options. by @kschwab in #339
- Add Azure Key Vault settings source by @AndreuCodina in #272
- Add cli_exit_on_error config option by @kschwab in #340
New Contributors
- @musicinmybrain made their first contribution in #328
- @WarpedPixel made their first contribution in #318
- @VictorColomb made their first contribution in #326
- @AndreuCodina made their first contribution in #272
Full Changelog: v2.3.4...v2.4.0
v2.3.4
What's Changed
- add in-place reloading in docs by @nrolin in #316
- Nested pydantic dataclasses and doc fixes. by @kschwab in #317
- Remove leftover docstring causing warning on
pydantic
docs build by @sydney-runkle in #321
New Contributors
- @nrolin made their first contribution in #316
- @sydney-runkle made their first contribution in #321
Full Changelog: v2.3.3...v2.3.4
v2.3.3
What's Changed
- Fix an intriduced bug in parsing json field with discriminated union by @hramezani in #312
- Add CliSettingsSource alias handling for AliasChoices and AliasPath. by @kschwab in #313
Full Changelog: v2.3.2...v2.3.3
v2.3.2
What's Changed
- Initialize CLI source on demand. by @kschwab in #305
- Fix command line help from
argparse
formatting problem by @scottstanie in #307 - Fix issue with nested model uppercase field name in case insensitive mode by @hramezani in #309
New Contributors
- @scottstanie made their first contribution in #307
Full Changelog: v2.3.1...v2.3.2
v2.3.1
What's Changed
- Fix a regression in parsing env value for nested dict by @hramezani in #301
Full Changelog: v2.3.0...v2.3.1