Skip to content

Releases: pydantic/pydantic-settings

v2.3.1

05 Jun 15:15
39d5e81
Compare
Choose a tag to compare

What's Changed

  • Fix a regression in parsing env value for nested dict by @hramezani in #301

Full Changelog: v2.3.0...v2.3.1

v2.3.0

03 Jun 15:02
bcbfd17
Compare
Choose a tag to compare

What's Changed

  • Add environment parsing support for enums. by @kschwab in #252
  • Improve explode_env_vars for better dict handling by @hramezani in #261
  • add PyprojectTomlConfigSettingsSource by @ITProKyle in #255
  • Fix broken link in AliasChoices class by @keenranger in #271
  • Update Pydantic by @hramezani in #273
  • fix: superfluous deep env conflicts with non-dict model leaf by @diefans in #276
  • fix: a second level of environment nesting expected a dict by @diefans in #281
  • Fix an issue when inner types of a discriminated union with a callable discriminator were not correctly identified as complex. by @jenskeiner in #285
  • Fix a bug when we have case insentive field in nested model by @hramezani in #294
  • Add CLI Settings Source by @kschwab in #214

New Contributors

Full Changelog: v2.2.1...v2.3.0

v2.2.1

19 Feb 19:51
7e5731a
Compare
Choose a tag to compare

What's Changed

  • respect env_prefix when extra allowed by @zzstoatzz in #238
  • Replace tomlkit with tomli and remove toml_file_encoding config by @hramezani in #236
  • Revert "Allow nested env var source to override nested init source." by @hramezani in #243

New Contributors

Full Changelog: v2.2.0...v2.2.1

v2.2.0

16 Feb 17:30
965d1b4
Compare
Choose a tag to compare

What's Changed

  • Fix documentation and update pydantic and pydantic-core dependancies by @Xunop in #194
  • Correct a typo in README.md by @felixonmars in #195
  • feat: ignore empty env vars by @niventc in #198
  • Allow nested env var source to override nested init source. by @kschwab in #204
  • Fix typo in explode_env_vars() docstring by @paytonward6 in #207
  • Add support for parsing environment "None" strings to None. by @kschwab in #206
  • Ensure extra='forbid' is enforced in DotEnvSettingsSource when env_prefix is specified by @kjithin in #218
  • Fix for JSON on optional nested types. by @kschwab in #217
  • Improve docs by @hramezani in #225
  • feat: adding json, yaml and toml sources by @Smixi in #211
  • Fix dotenv source extra values parsing provided in dotenv file by @hramezani in #221
  • Update requirements by @hramezani in #233
  • Prepare release 2.2.0 by @hramezani in #232

New Contributors

Full Changelog: v2.1.0...v2.2.0

v2.1.0

14 Nov 12:51
15ef2a9
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.3...v2.1.0

v2.0.3

14 Aug 15:03
6f12222
Compare
Choose a tag to compare

What's Changed

  • Fix _replace_field_names_case_insensitively precondition inconsistency by @AlexVndnblcke in #130
  • Check union args to don't consider Optional fields as complex Union by @hramezani in #138

New Contributors

Full Changelog: v2.0.2...v2.0.3

v2.0.2

14 Jul 12:24
04ec4c7
Compare
Choose a tag to compare

What's Changed

  • dotenv no error w/ an env key shorter than prefix (#106) by @jvllmr in #107
  • Add installation instruction to doc by @hramezani in #111
  • Add support for adding config through class kwargs by @hramezani in #112
  • Use pydantic_settings.SettingsConfigDict instead of pydantic.ConfigDict in tests by @hramezani in #119
  • Add documentation link to README.md by @hramezani in #121
  • Fix error when no secret file provided for a complex field. by @hramezani in #118
  • Fix a bug when using BaseSettings with RootModel by @hramezani in #120
  • Fix typo (fiel_value -> field_value) by @kkirsche in #123
  • fix typos in pydantic settings module by @kkirsche in #124
  • Add documentation about compatibility with pydantic 1.x BaseSettings when using dotenv by @SthPhoenix in #127
  • Separate decoding of complex values into specific method by @dbendall in #128

New Contributors

Full Changelog: v2.0.1...v2.0.2

v2.0.1

05 Jul 12:14
373af71
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

30 Jun 11:23
107e8de
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0b1...v2.0.0

v2.0b1

02 Jun 11:03
74a4ff0
Compare
Choose a tag to compare
v2.0b1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v2.0a4...v2.0b1