Highlights
This patch release fixes two CLI regressions introduced in 2.16.0.
Bug fixes
CLI
- Fixed-length tuple positionals such as
CliPositionalArg[tuple[int, int]]andNamedTuples are single-valued again (#1069). Since 2.16.0 they were treated as variadic, so a CLI either refused to start with aSettingsErroror put the wrong argument into the tuple. Variable-length tuples (tuple[int, ...]and bareTuple) are still variadic. - A field typed as an alias of a list of dicts, e.g.
type ListOfDict = list[dict[str, int]], accepts a JSON list again (#1049). Since 2.16.0,--xx '[{"a":1},{"b":2}]'was merged into the single dict{"a": 1, "b": 2}and failed validation.
All changes (including dependency bumps and internal maintenance)
What's Changed
- Harden CI by @Viicos in #1044
- Keep list of dicts CLI values as lists by @hramezani in #1049
- Keep fixed-length tuple CLI positionals single-valued by @hramezani in #1069
- Prepare release 2.16.1 by @hramezani in #1087
- build(deps): bump the python-packages group with 3 updates by @dependabot[bot] in #1056
Full Changelog: v2.16.0...v2.16.1