Bump typer from 0.4.0 to 0.6.1
Bumps typer from 0.4.0 to 0.6.1.
Release notes
Sourced from typer's releases.
0.6.1
Fixes
- 🐛 Fix setting
FORCE_TERMINALwith colors 2. PR #424 by@tiangolo.- 🐛 Fix setting
FORCE_TERMINALwith colors. PR #423 by@tiangolo.0.6.0
This release adds deep integrations with Rich. ✨
richis an optional dependency, you can install it directly or it will be included when you install with:$ pip install "typer[all]"If Rich is available, it will be used to show the content from
--helpoptions, validation errors, and even errors in your app (exception tracebacks).There are new options to group commands, CLI arguments, and CLI options, support for Rich Console Markup, and more! 🎉
Features
- ✨ Richify, add integrations with Rich everywhere. PR #419 by
@tiangolo.
- Recommend Rich as the main information displaying tool, new docs: Printing and Colors.
- For most use cases not using Rich, use plain
print()instead oftyper.echo()in the docs, to simplify the concepts and avoid confusions. New docs: Printing and Colors - typer Echo.- Define help panels for CLI arguments, new docs: CLI Arguments with Help - CLI Argument help panels.
- Define help panels for CLI options, new docs: CLI Options with Help - CLI Options help panels.
- New docs for deprecating commands: Commands - Command Help - Deprecate a Command.
- Support for Rich Markdown in docstrings, CLI parameters
help, andepilogwith the new parametertyper.Typer(rich_markup_mode="markdown"), new docs: Commands - Command Help - Rich Markdown and Markup.- Support for Rich Markup (different from Markdown) in docstrings, CLI parameters
help, andepilogwith the new parametertyper.Typer(rich_markup_mode="rich"), new docs: Commands - Command Help - Rich Markdown and Markup.- Define help panels for commands, new docs: Commands - Command Help - Help Panels.
- New docs for setting an
epilog, with support for Rich Markdown and Console Markup, new docs: Commands - Command Help - Epilog.- ✨ Refactor and document handling pretty exceptions. PR #422 by
@tiangolo.
- Add support for customizing pretty short errors, new docs: Exceptions and Errors.
- ✨ Allow configuring pretty errors when creating the Typer instance. PR #416 by
@tiangolo.Docs
- 📝 Add docs for using Rich with Typer. PR #421 by
@tiangolo.
- Add new docs: Ask with Prompt - Prompt with Rich.
- Add new docs to handle progress bars and spinners with Rich: Progress Par.
Internal
- ⬆️ Upgrade codecov GitHub Action. PR #420 by
@tiangolo.0.5.0
Features
- ✨ Add pretty error tracebacks for user errors and support for Rich. PR #412 by
@tiangolo.
... (truncated)
Changelog
Sourced from typer's changelog.
0.6.1
Fixes
- 🐛 Fix setting
FORCE_TERMINALwith colors 2. PR #424 by@tiangolo.- 🐛 Fix setting
FORCE_TERMINALwith colors. PR #423 by@tiangolo.0.6.0
This release adds deep integrations with Rich. ✨
richis an optional dependency, you can install it directly or it will be included when you install with:$ pip install "typer[all]"If Rich is available, it will be used to show the content from
--helpoptions, validation errors, and even errors in your app (exception tracebacks).There are new options to group commands, CLI arguments, and CLI options, support for Rich Console Markup, and more! 🎉
Features
- ✨ Richify, add integrations with Rich everywhere. PR #419 by
@tiangolo.
- Recommend Rich as the main information displaying tool, new docs: Printing and Colors.
- For most use cases not using Rich, use plain
print()instead oftyper.echo()in the docs, to simplify the concepts and avoid confusions. New docs: Printing and Colors - typer Echo.- Define help panels for CLI arguments, new docs: CLI Arguments with Help - CLI Argument help panels.
- Define help panels for CLI options, new docs: CLI Options with Help - CLI Options help panels.
- New docs for deprecating commands: Commands - Command Help - Deprecate a Command.
- Support for Rich Markdown in docstrings, CLI parameters
help, andepilogwith the new parametertyper.Typer(rich_markup_mode="markdown"), new docs: Commands - Command Help - Rich Markdown and Markup.- Support for Rich Markup (different from Markdown) in docstrings, CLI parameters
help, andepilogwith the new parametertyper.Typer(rich_markup_mode="rich"), new docs: Commands - Command Help - Rich Markdown and Markup.- Define help panels for commands, new docs: Commands - Command Help - Help Panels.
- New docs for setting an
epilog, with support for Rich Markdown and Console Markup, new docs: Commands - Command Help - Epilog.- ✨ Refactor and document handling pretty exceptions. PR #422 by
@tiangolo.
- Add support for customizing pretty short errors, new docs: Exceptions and Errors.
- ✨ Allow configuring pretty errors when creating the Typer instance. PR #416 by
@tiangolo.Docs
- 📝 Add docs for using Rich with Typer. PR #421 by
@tiangolo.
- Add new docs: Ask with Prompt - Prompt with Rich.
- Add new docs to handle progress bars and spinners with Rich: Progress Par.
Internal
- ⬆️ Upgrade codecov GitHub Action. PR #420 by
@tiangolo.0.5.0
Features
... (truncated)
Commits
fac64ca🔖 Release version 0.6.1d182589📝 Update release notes7f44e6d🐛 Fix settingFORCE_TERMINALwith colors 2 (#424)ef59fb2📝 Update release notesf6626c8🐛 Fix settingFORCE_TERMINALwith colors (#423)b0c2647✏️ Fix typo in release notescabc0c1🔖 Release version 0.6.00772d75📝 Update release notesa51df7e📝 Update release notesc750f82✨ Refactor and document handling pretty exceptions (#422)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Codecov Report
Base: 91.01% // Head: 91.01% // No change to project coverage :thumbsup:
Coverage data is based on head (
d2d2368) compared to base (039bc8c). Patch has no changes to coverable lines.
Additional details and impacted files
@@ Coverage Diff @@
## master #264 +/- ##
=======================================
Coverage 91.01% 91.01%
=======================================
Files 5 5
Lines 345 345
=======================================
Hits 314 314
Misses 31 31
| Flag | Coverage Δ | |
|---|---|---|
| unittests | 91.01% <ø> (ø) |
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Please, accept it!
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.