github pydantic/pydantic-settings v2.14.0

9 hours ago

What's Changed

  • Fix parsing env vars into Optional Strict types by @hramezani in #792
  • Fix RecursionError with mutually recursive models in CLI by @hramezani in #794
  • Fix env_file from model_config ignored in CliApp.run() (#795) by @hramezani in #796
  • Update dependencies by @hramezani in #798
  • Add Dependabot configuration by @hramezani in #801
  • Bump samuelcolvin/check-python-version from 4.1 to 5 by @dependabot[bot] in #802
  • Bump actions/upload-artifact from 4 to 7 by @dependabot[bot] in #803
  • Bump actions/checkout from 4 to 6 by @dependabot[bot] in #804
  • Bump astral-sh/setup-uv from 5 to 7 by @dependabot[bot] in #805
  • Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #806
  • Ignore chardet and group GitHub Actions in Dependabot by @hramezani in #808
  • Bump actions/download-artifact from 4 to 8 in the github-actions group by @dependabot[bot] in #809
  • Bump the python-packages group with 2 updates by @dependabot[bot] in #810
  • Support reading .env files from FIFOs (e.g. 1Password Environments) by @JacobHayes in #776
  • Fix AliasChoices ignored when changing provider priority by @hramezani in #813
  • fix: resolve KeyError in run_subcommand for underscore field names by @bradykieffer in #799
  • Bump the python-packages group with 3 updates by @dependabot[bot] in #814
  • Fix Literal[numeric Enum] coercion for CLI and env vars by @m9810223 in #811
  • Fix nested discriminated unions not discovered by env/CLI providers by @hramezani in #816
  • Bump the python-packages group with 3 updates by @dependabot[bot] in #820
  • CLI ensure env nested max split internally. by @kschwab in #821
  • Bump the python-packages group with 4 updates by @dependabot[bot] in #824
  • Migrate boto3-stubs to types-boto3 by @hramezani in #831
  • Fix CLI not recognizing field name with validate_by_name and AliasChoices by @hramezani in #826
  • Allow customisation of the dotevn setting source to filter variables by @CaselIT in #832
  • Bump the python-packages group with 3 updates by @dependabot[bot] in #833
  • Introduce yamlfmt by @Viicos in #836
  • Bump boto3 from 1.42.82 to 1.42.83 in the python-packages group by @dependabot[bot] in #837
  • Introduce zizmor by @Viicos in #838
  • Fix CliPositionalArg[list[CustomType]] crash for custom types by @hramezani in #839
  • Add note about Mypy plugin for BaseSettings.__init__() by @Viicos in #842
  • Fix cli_ignore_unknown_args=True not working on subcommands by @hramezani in #844
  • Bump the python-packages group with 4 updates by @dependabot[bot] in #847
  • Fix CLI descriptions lost under python -OO by falling back to json_schema_extra by @hramezani in #843
  • Prepare release 2.14.0 by @hramezani in #848

New Contributors

Full Changelog: v2.13.1...v2.14.0

Don't miss a new pydantic-settings release

NewReleases is sending notifications on new releases.