Change8

v2.8.0

📦 pydantic-settings
3 features🐛 2 fixes🔧 2 symbols

Summary

Version 2.8.0 adds optional/variadic CLI arguments, a new `env_nested_max_split` setting, async CLI methods, and fixes type‑signature and env‑delimiter issues.

✨ New Features

  • CLI now supports optional and variadic positional arguments
  • Added `env_nested_max_split` setting for controlling nested environment variable splitting
  • Introduced asynchronous CLI methods in `CliApp`

🐛 Bug Fixes

  • Removed `Any` from `BaseSettings` signature to prevent mypy type errors
  • Environment variables no longer cause errors when `env_nested_delimiter` is empty

🔧 Affected Symbols

BaseSettingsCliApp