Skip to content

v3.5.0

Choose a tag to compare

@BrianPugh BrianPugh released this 04 Feb 14:39

Features

  • Add argument/attribute App.help_on_error that will print the command's help-page before printing any Cyclopts runtime error. Disabled by default by @BrianPugh in #316
  • Add "did you mean" suggestions to MissingArgumentError. by @BrianPugh in #317

Bug Fixes

  • Fairly big bugfix: Fix Pydantic attribute annotations. Previously any Annotated[..., Parameter(...)] on a pydantic BaseModel attribute was accidentally not applied. by @BrianPugh in #321
  • fix obj check in Parameter.__call__; only fixes an unnecessary copy and code semantics. by @BrianPugh in #322

Full Changelog: v3.4.1...v3.5.0