Lots of pydantic-specific improvements in this release.
Features
- Completely disable cyclopts conversion mechanisms for
pydantictype hints and defer responsibility to pydantic. Notably, pydantic union discriminators now work correctly. By @BrianPugh in #379 - Add pydantic
Field.descriptionto the help-resolution-hierarchy. By @pablospe in #375 - If pydantic is used in your project (detected as pydantic being imported), pydantic will additionally validate coerced data. This means that pydantic validator types (e.g.
pydantic.PositiveInt) now work.
Bug Fixes
- Do not catch
pydantic.ValidationErrorfrom calling user's command. by @BrianPugh in #378 - Fix empty space in HelpPanel when combining panels (introduced in v3.10.0). by @BrianPugh in #380
New Contributors
Full Changelog: v3.10.1...v3.11.0