Skip to content

Releases: fastapi/typer

0.17.4

05 Sep 18:14
Compare
Choose a tag to compare

Fixes

  • 🐛 Make sure rich.markup is imported when rendering help text. PR #1290 by @g-arjones.

Internal

0.17.3

30 Aug 12:34
Compare
Choose a tag to compare

Features

  • ✨ Allow annotated parsing with a subclass of Path. PR #1183 by @emfdavid.

0.17.2

30 Aug 12:16
Compare
Choose a tag to compare

Fixes

  • 🐛 Avoid printing default: None in the help section when using Rich. PR #1120 by @mattmess1221.

0.17.1

30 Aug 11:50
Compare
Choose a tag to compare

Fixes

  • 🐛 Fix markdown formatting in --help output. PR #815 by @gar1t.

0.17.0

30 Aug 11:22
Compare
Choose a tag to compare

Features

  • ⚡️ Lazy-load rich_utils to reduce startup time. PR #1128 by @oefe.

Internal

0.16.1

18 Aug 19:17
Compare
Choose a tag to compare

Fixes

  • 🐛 Avoid printing additional output with no_args_is_help=True and Click 8.2. PR #1278 by @svlandeg.

Docs

  • 📝 Remove duplicated line in environment-variables.md. PR #1277 by @neirzhei.
  • 📝 Fix reference to count parameter in the documentation. PR #1201 by @PokkaKiyo.

Internal

0.16.0

26 May 14:30
Compare
Choose a tag to compare

Upgrades

When using the CliRunner with Click < 8.2, to be able to access the stderr output, you needed to set the mix_stderr parameter to True. Since Click 8.2 (and Typer 0.160 this release supporting it) this is no longer necessary, so this parameter has been removed.

Refactors

  • ✅ Refactor tests for compatibility with Click 8.2. PR #1230 by @tiangolo.

Internal

0.15.4

14 May 16:34
Compare
Choose a tag to compare

Upgrades

  • 📌 Pin Click to < 8.2, compatibility for Click >= 8.2 will be added in a future version. PR #1225 by @tiangolo.

0.15.3

28 Apr 21:40
Compare
Choose a tag to compare

Fixes

  • 🐛 Ensure that autocompletion works for Path arguments/options. PR #1138 by @svlandeg.
  • 🐛 Fix newline after header in help text, and add more tests for the behaviour of rich_markup_mode . PR #964 by @svlandeg.

Internal

0.15.2

27 Feb 19:17
Compare
Choose a tag to compare

Features

  • ✨ Allow custom styles for commands in help output. PR #1103 by @TheTechromancer.
  • ✨ Avoid the unnecessary import of typing_extensions in newer Python versions. PR #1048 by @horta.

Fixes

  • 🐛 Fix shell completions for the fish shell. PR #1069 by @goraje.

Refactors

  • 🚚 Rename test to corner-cases to make it more explicit. PR #1083 by @tiangolo.

Docs

  • ✏️ Fix small typos in the tutorial documentation. PR #1137 by @svlandeg.
  • 📝 Update optional CLI argument section in tutorial with Annotated. PR #983 by @gkeuccsr.
  • 📝 Clarify the need for mix_stderr when accessing the output of stderr in tests. PR #1045 by @mrchrisadams.

Internal