pypi cyclopts 3.11.0
v3.11.0

latest releases: 5.3.2, 5.3.1, 5.3.0...
20 months ago

Lots of pydantic-specific improvements in this release.

Features

  • Completely disable cyclopts conversion mechanisms for pydantic type hints and defer responsibility to pydantic. Notably, pydantic union discriminators now work correctly. By @BrianPugh in #379
  • Add pydantic Field.description to 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.ValidationError from 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

Don't miss a new cyclopts release

NewReleases is sending notifications on new releases.