github pydantic/pydantic-settings v2.15.0

5 hours ago

What's Changed

  • Update documentation link for Pydantic settings by @hramezani in #863
  • Bump the python-packages group with 4 updates by @dependabot[bot] in #865
  • docs: clarify environment variable helper descriptions by @vip892766gma in #867
  • Bump the python-packages group with 4 updates by @dependabot[bot] in #870
  • Bump the python-packages group with 4 updates by @dependabot[bot] in #875
  • Skip list_secrets call when case_sensitive=True by @ecerulm in #862
  • GoogleSecretManagerSettingsSource: read project_id from previous sources by @ecerulm in #878
  • Bump the python-packages group with 3 updates by @dependabot[bot] in #883
  • fix: move SecretsManagerClient type import under TYPE_CHECKING by @gavin913-lss in #880
  • Skip partial update merging for discriminated union fields by @hramezani in #876
  • Support using a table header as root when reading a TOML file by @whyscream in #882
  • Bump the python-packages group with 4 updates by @dependabot[bot] in #885
  • Don't complain about missing table headers in a TOML file that isn't there by @whyscream in #886
  • Address issues in toml table header implementation by @whyscream in #887
  • Bump the python-packages group with 2 updates by @dependabot[bot] in #888
  • Prevent NestedSecretsSettingsSource from following symlinks outside secrets_dir by @hramezani in #889
  • Add 'Part of the Pydantic Stack' footer to README by @strawgate in #891
  • Bump the python-packages group with 3 updates by @dependabot[bot] in #893
  • Add support for showing environment variable names in CLI help text by @brad-alexander in #860
  • Fix loading env vars on Windows with case_sensitive=True by @hramezani in #894
  • Bump the github-actions group with 3 updates by @dependabot[bot] in #896
  • Bump the python-packages group with 3 updates by @dependabot[bot] in #897
  • Add explicit callout for the case where the unprefixed value is in dotenv by @martinky24 in #895
  • Fix AliasPath on nested model fields not decoding env values (#670) by @hramezani in #898
  • Support case_sensitive in InitSettingsSource and config file sources by @hramezani in #900
  • Warn when using fields not fully resolved at instantiation by @Viicos in #901
  • Support Traversable for json/toml/yaml config file sources (#299) by @hramezani in #902
  • docs: fix typos in docs and source comments by @maxtaran2010 in #904
  • Apply case-insensitive field matching to optional nested models (#903) by @hramezani in #905
  • Bump boto3 from 1.43.36 to 1.43.40 in the python-packages group by @dependabot[bot] in #907
  • Add PYDANTIC_SETTINGS_DEBUG for debugging settings sources (#538) by @hramezani in #906
  • docs: recommend async settings loading pattern by @w3lld1 in #908
  • fix: parse enum names through nested annotations by @Sanjays2402 in #910
  • Fix dotenv extras being claimed by complex fields sharing a name prefix by @ritsth in #912
  • Add debug logging for env_file and secret file resolution by @hramezani in #913
  • docs: document JSON parsing of complex env values + comma-separated recipe by @hrithvikakb in #919
  • fix: coerce empty yaml_config_section to an empty mapping instead of crashing by @chuenchen309 in #914
  • Bump the python-packages group with 3 updates by @dependabot[bot] in #915
  • fix: read secret files as UTF-8 instead of the locale encoding by @dchaudhari7177 in #917
  • Bump the python-packages group with 4 updates by @dependabot[bot] in #921
  • Bump the github-actions group with 4 updates by @dependabot[bot] in #925
  • Bump the python-packages group with 4 updates by @dependabot[bot] in #924
  • fix: treat Secret subclasses as non-complex fields (#716) by @Rony-ZenAlden in #920
  • fix: raise ValidationError for non-JSON env values on strict fields by @shuvamk in #926
  • test: move function-local imports to the top of test modules by @hramezani in #927
  • Bump the python-packages group with 4 updates by @dependabot[bot] in #929
  • Prepare release 2.15.0 by @hramezani in #930

New Contributors

Full Changelog: v2.14.1...v2.15.0

Don't miss a new pydantic-settings release

NewReleases is sending notifications on new releases.