Skip to content

v5.7.2

Choose a tag to compare

@BrianPugh BrianPugh released this 03 Dec 20:51
· 10 commits to main since this release
86ddc3b

Bug Fixes

  • Treat typing.Final[X] and ReadOnly[X] as X (e.g. a dataclass field annotated Final[int]) by @RavSinghChandan in #1114
  • Pydantic fields declared with an alias (or validation_alias) keep their value from the CLI, config and JSON instead of silently falling back to their default (requires pydantic>=2.11) by @Yasser-Ameur in #1115
  • Environment values split by a delimiter (e.g. os.pathsep for list[Path]) have each element's surrounding whitespace stripped, and empty elements are dropped instead of becoming Path(".") by @mokshupadhyay in #1116
  • A custom Parameter.env_var_split with the documented (type_, val) signature no longer raises TypeError by @BrianPugh in #1117
  • A Parameter(count=True) flag that isn't given now uses the function's default (and config/env values) instead of always 0; code using Optional[int] = None now receives None when the flag is absent by @Yasser-Ameur in #1118

New Contributors

Full Changelog: v5.7.1...v5.7.2