Change8

2.10.0

📦 pydantic-settingsView on GitHub →
6 features🐛 8 fixes🔧 10 symbols

Summary

pydantic‑settings 2.10.0 adds YAML nested‑key loading, case‑sensitive secret manager options, a new `cli_shortcuts` flag, and numerous bug fixes and dependency updates.

✨ New Features

  • Support loading a specific nested key from YAML in `YamlConfigSettingsSource`.
  • Azure Key Vault now supports case‑insensitive keys and dash‑underscore translation.
  • Added `region` parameter to AWS Secrets Manager integration.
  • Exposed case‑sensitive option for GCP Secret Manager.
  • Added `cli_shortcuts` option to the CLI settings.
  • Exposed case‑sensitive option for AWS Secrets Manager.

🐛 Bug Fixes

  • Tests now run when `azure-keyvault-secrets` is not installed.
  • Tests now run when `google-cloud-secret-manager` is not installed.
  • CLI suppression fixed for model group help.
  • Missing `DEFAULT_PATH` import fixed.
  • Case‑insensitive handling of nested aliases in `EnvironmentSettingsSource` fixed.
  • `_consume_object_or_array` now correctly handles unbalanced brackets in JSON strings.
  • Coverage report generation fixed.
  • CI badge URL fixed.

🔧 Affected Symbols

YamlConfigSettingsSourceEnvironmentSettingsSourceAzureKeyVaultSettingsSourceAWSSecretsManagerSettingsSourceGCPSecretManagerSettingsSourcecli_shortcutscli_parse_argssettings_customise_sourcesDEFAULT_PATH_consume_object_or_array