github pydantic/pydantic-settings v2.13.0

10 hours ago

What's Changed

  • fix: Deterministic alias selection when using validate_by_name by @chbndrhnns in #707
  • add deep merge functionality to config file sources by @pmeier in #698
  • Add support for AWS Secrets Manager VersionId parameter by @jcyamacho in #708
  • bugfix: Return None for inaccessible GCP Secret Manager secrets by @zaphod72 in #712
  • Bugfix for cli_kebab_case="all" and CliImplicitFlag[bool] by @Digity101 in #702
  • Unpack type alisases when looking for NoDecode by @tselepakis in #695
  • CliToggleFlag and CliDualFlag by @kschwab in #717
  • Fix for CLI duplicate enum field values. by @kschwab in #722
  • fixed load nested config from env by @Sube-py in #723
  • Add non-Path files support (for example Traversable) and open files using Path.open method by @mahenzon in #724
  • add one more traversable test by @mahenzon in #725
  • CLI fix fox external list args. by @kschwab in #727
  • fix: handle case-insensitive retrieval in GoogleSecretManagerSettingsSource by @ezwiefel in #730
  • CLI test fixes for help text formatting. by @kschwab in #735
  • Avoid conflicts with the NAME environment variable in WSL by @kzrnm in #747
  • fix: When restoring init kwargs, use deterministic order by @chbndrhnns in #746
  • Add env_prefix_target by @kzrnm in #749
  • Remove (default: …) in the help message for CliToggleFlag by @kzrnm in #740
  • Add support for CLI serialize styles. by @kschwab in #755
  • Add support for overriding default help on CLI internal parser. by @kschwab in #758
  • CLI format_help method support by @kschwab in #759
  • feat(gcp): support SecretVersion annotation for per-field secret versioning by @ezwiefel in #763
  • Allow snake_case_conversion with env_prefix for Azure Key Vault source by @cstarkers in #762
  • fix: Only override preferred_key when no value was found by @chbndrhnns in #767
  • Update deps by @hramezani in #768
  • CLI coerce numeric types. by @kschwab in #769
  • CLI Union Discriminator Choices in Help by @kschwab in #764
  • Add nested path support for yaml_config_section (fixes #772) by @hugo-romero-mm in #773
  • Prepare release 2.13.0 by @hramezani in #777

New Contributors

Full Changelog: v2.12.0...v2.13.0

Don't miss a new pydantic-settings release

NewReleases is sending notifications on new releases.