Releases: pydantic/pydantic-settings
Releases Β· pydantic/pydantic-settings
v2.11.0
What's Changed
- CLI Serialize Support by @kschwab in #643
- Inspect type aliases to determine if an annotation is complex by @tselepakis in #644
- Revert "fix: Respect 'cli_parse_args' from model_config with settings_customise_sources (#611)" by @hramezani in #655
- Remove parsing of command line arguments from
CliSettingsSource.__init__
. by @trygve-baerland in #656 - turn off allow_abbrev on subparsers by @mroch in #658
- CLI Serialization Fixes by @kschwab in #649
- Fix PydanticModel type checking. by @kschwab in #659
- Avoid env_prefix falling back to env vars without prefix by @tselepakis in #648
- Warn if model_config sets unused keys for missing settings sources by @HomerusJa in #663
- Included endpoint_url kwarg in AWSSecretsManagerSettingsSource class by @adrianohrl in #664
- Fix typo ("Accesing") in the "Adding sources" docs by @deepyaman in #668
- CLI Windows Path Fix by @kschwab in #669
- Cli root model support by @kschwab in #677
- Snake case conversion in Azure Key Vault by @AndreuCodina in #680
- Make
InitSettingsSource
resolution deterministic by @enrico-stauss in #681 - Update deps by @hramezani in #683
New Contributors
- @tselepakis made their first contribution in #644
- @trygve-baerland made their first contribution in #656
- @mroch made their first contribution in #658
- @HomerusJa made their first contribution in #663
- @adrianohrl made their first contribution in #664
- @deepyaman made their first contribution in #668
- @enrico-stauss made their first contribution in #681
Full Changelog: 2.10.1...v2.11.0
v2.10.1
What's Changed
- Fix UnboundLocalError error in _replace_field_names_case_insensitively by @hramezani in #639
- Remove unknown file reference in documentation by @Viicos in #640
- Prepare release 2.10.1 by @hramezani in #642
Full Changelog: 2.10.0...2.10.1
v2.10.0
What's Changed
- Fix running tests when azure-keyvault-secrets is not installed by @CyberTailor in #601
- Fix running tests when google-cloud-secret-manager is not installed by @CyberTailor in #602
- Support loading a specific nested key from YAML in YamlConfigSettingsSource by @Seunghan-Jung in #603
- Fix CLI suppression for model group help by @kschwab in #604
- Fix missing DEFAULT_PATH import by @hramezani in #606
- Fix case-insensitive handling of nested aliases in EnvironmentSettingsSource by @d15ky in #608
- Azure Key Vault case insensitive support and dash-underscore translation by @d15ky in #607
- fix: Respect 'cli_parse_args' from model_config with settings_customise_sources by @karta9821 in #611
- Bump astral-sh/setup-uv by @hramezani in #612
- Update packages by @hramezani in #613
- Update README.md by @hramezani in #616
- Fix CI badge by @hramezani in #617
- Update dependencies by @hramezani in #618
- Fix coverage report by @hramezani in #619
- Fix _consume_object_or_array on unbalanced brackets in JSON strings by @andryak in #621
- add region as a parameter to aws secret manager by @barakor-vs in #622
- Expose GCP Secret Manager case sensitive option by @bellmatthewf in #626
- Update deps by @hramezani in #633
- feat: Add
cli_shortcuts
to CLI settings by @karta9821 in #624 - Expose AWS Secrets Manager case sensitive option by @femiadebayo in #629
- Prepare release 2.10.0 by @hramezani in #635
New Contributors
- @Seunghan-Jung made their first contribution in #603
- @d15ky made their first contribution in #608
- @karta9821 made their first contribution in #611
- @andryak made their first contribution in #621
- @barakor-vs made their first contribution in #622
- @bellmatthewf made their first contribution in #626
- @femiadebayo made their first contribution in #629
Full Changelog: v2.9.1...2.10.0
v2.9.1
What's Changed
- fix: Expose ConfigFileSourceMixing on top level sources/init.py by @jbw-vtl in #597
- Fix typo in gcp secret manager error message by @christian-heusel in #598
- Prepare release 2.9.1 by @hramezani in #600
New Contributors
- @jbw-vtl made their first contribution in #597
- @christian-heusel made their first contribution in #598
Full Changelog: v2.9.0...v2.9.1
v2.9.0
What's Changed
- Drop support for Python 3.8 by @Viicos in #560
- Switch to
typing-inspection
by @Viicos in #556 - Introduce
uv
for Project Management by @KanchiShimono in #547 - Refactor sources.py into a subpackage (#546) by @ezwiefel in #548
- chore: cleanup by @CodeWithEmad in #563
- Fix typo in documentation by @CodeWithEmad in #564
- Add support for AWS Secrets Manager by @mavwolverine in #532
- Fix minor typo: conotations => connotations by @svenevs in #577
- Azure Key Vault: Don't load disabled secret by @AndreuCodina in #578
- Add support for GCP Secret Manager by @ezwiefel in #567
- CLI JSON Optional Default by @kschwab in #581
- Fix for env nested enum. by @kschwab in #589
- CLI submodel suppress. by @kschwab in #587
- Cli retrieve unknown args by @kschwab in #588
- Update pydantic by @hramezani in #593
- Fix check in CI by @hramezani in #595
New Contributors
- @ezwiefel made their first contribution in #548
- @CodeWithEmad made their first contribution in #563
- @mavwolverine made their first contribution in #532
- @svenevs made their first contribution in #577
Full Changelog: v2.8.1...v2.9.0
v2.8.1
What's Changed
- Fix for init source kwarg alias resolution. by @kschwab in #550
- Revert usage of positional only argument in
BaseSettings.__init__
by @Viicos in #557 - Revert use of
object
instead ofAny
by @Viicos in #559 - Prepare release 2.8.1 by @hramezani in #558
Full Changelog: v2.8.0...v2.8.1
v2.8.0
What's Changed
- CLI support for optional and variadic positional args by @kschwab in #519
- Improve env_prefix config doc by @hramezani in #523
- Add env_nested_max_split setting by @gsakkis in #534
- Avoid using
Any
inBaseSettings
signature to avoid mypy errors by @Viicos in #529 - Asynchronous CLI methods in CliApp by @KanchiShimono in #533
- Don't explode env vars if env_nested_delimiter is empty by @gsakkis in #540
- Prepare release 2.8.0 by @hramezani in #541
New Contributors
- @gsakkis made their first contribution in #534
- @KanchiShimono made their first contribution in #533
Full Changelog: v2.7.1...v2.8.0
v2.7.1
What's Changed
- Move preferred alias resolution to private method by @kschwab in #507
- Prepare release 2.7.1 by @hramezani in #511
Full Changelog: v2.7.0...v2.7.1
v2.7.0
What's Changed
- Fix
test_protected_namespace_defaults
with -Wdefault by @CyberTailor in #462 - Make tests more robust to the running environment by @CyberTailor in #464
- Fix rendering of annotations in code example by @Viicos in #470
- Fix alias resolution for default settings source. by @kschwab in #468
- Use the class name in the
__repr__
implementations by @dlax in #465 - Fix default help text for union of submodels. by @kschwab in #472
- Add support for CliMutuallyExclusiveGroup. by @kschwab in #473
- Disable abbreviations on internal parser. by @kschwab in #477
- Fix Secret field parsing by @hramezani in #478
- Fix alias resolution to use preferred key. by @kschwab in #481
- Strip annotated when getting submodels during CLI parsing. by @kschwab in #490
- Removing return type from the function in test by @hramezani in #491
- Relax default protected_namespaces by @hramezani in #483
- Add support for CLI kebab case flag. by @kschwab in #489
- Change reference of default values validation in documentation by @Viicos in #496
- Improve field value parsing by adding
NoDecode
andForceDecode
annotations by @hramezani in #492 - Fix attribute error on Python 3.9 with typing.Sequence by @hramezani in #497
- Prepare release 2.7.0 by @hramezani in #499
New Contributors
- @CyberTailor made their first contribution in #462
- @dlax made their first contribution in #465
Full Changelog: v2.6.1...v2.7.0
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