chore(deps): update dependency typer-cli to ^0.15.0 #57
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.0.13
->^0.15.0
Release Notes
fastapi/typer (typer-cli)
v0.15.0
Compare Source
Features
Internal
v0.14.0
Compare Source
Breaking Changes
add_typer
based on the group's callback function name. PR #1052 by @patrick91.Before, it was supported to infer the name of a command group from the callback function name in the sub-app, so, in this code:
...the command group would be named
users
, based on the name of the functiondef users()
.Now you need to set it explicitly:
Updated docs SubCommand Name and Help.
Note: this change will enable important features in the next release. 🤩
Internal
v0.13.1
Compare Source
Features
Refactors
Docs
Internal
v0.13.0
Compare Source
Features
KeyboardInterrupt
separately from other exceptions. PR #1039 by @patrick91.launch
to not print anything when opening urls. PR #1035 by @patrick91.Fixes
Refactors
is_flag
andflag_value
parameters. PR #987 by @svlandeg._typing.py
file. PR #805 by @ivantodorovich._make_rich_text
. PR #959 by @svlandeg.Internal
_TYPER_RUN_INSTALL_COMPLETION_TESTS
is set. PR #995 by @svlandeg._make_rich_text
method. PR #972 by @svlandeg.labeler.yml
. PR #1014 by @tiangolo.issue-manager.yml
. PR #978 by @tiangolo.include-hidden-files
toTrue
when using theupload-artifact
GH action. PR #967 by @svlandeg.latest-changes
GitHub Action. PR #955 by @tiangolo.v0.12.5
Compare Source
Features
Fixes
rich_markup_mode=None
disables Rich formatting. PR #859 by @svlandeg.Refactors
Docs
main.py
in tutorial on CLI option names. PR #868 by @fsramalho.docs/virtual-environments.md
. PR #952 by @tiangolo.docs/contributing.md
. PR #947 by @tiangolo.Internal
needs_bash
test fixture. PR #888 by @svlandeg.v0.12.4
Compare Source
Features
Fixes
UnionType
(e.g.str | None
) with Python 3.11. PR #548 by @jonaslb.zsh
autocompletion installation. PR #237 by @alexjurkiewicz.Annotated
with future annotations in Python 3.7+. PR #814 by @ivantodorovich.shell_complete
not working for Arguments. PR #737 by @bckohan.Docs
Internal
pyproject.toml
, show up in PyPI. PR #931 by @tiangolo.__init__.py
files to fix test suite. PR #809 by @svlandeg.v0.12.3
Compare Source
Fixes
v0.12.2
Compare Source
Features
Fixes
Optional[Tuple]
and default valueNone
. PR #757 by @Asthestarsfalll.Docs
v0.12.1
Compare Source
Now you don't need to install
typer[all]
. When you installtyper
it comes with the default optional dependencies and thetyper
command.If you don't want the extra optional dependencies (
rich
andshellingham
), you can installtyper-slim
instead.You can also install
typer-slim[standard]
, which includes the default optional dependencies, but not thetyper
command.Now the package
typer-cli
doesn't add anything on top of whattyper
has, it only depends ontyper
, and is there only for backwards compatibility, so that projects that depend ontyper-cli
can get the latest features of thetyper
command while they upgrade their dependencies to requiretyper
directly.Features
typer ./someprogram.py utils docs --title
. PR #782 by @tiangolo.Fixes
typer <0.12.0
totyper >=0.12.0
, maketyper
independent oftyper-slim
, includetyper
command intyper
package. PR #791 by @tiangolo.This fixes a problem that would break the
typer
installation directory when upgrading fromtyper <0.12.0
totyper >=0.12.0
, see issue #790.By installing the latest version (
0.12.1
) it fixes it, for any previous version, even if the installation directory was already broken by the previous upgrade.Internal
v0.12.0
In version
0.12.0
, thetyper
package depends ontyper-slim[standard]
which includes the default dependencies (instead oftyper[all]
) andtyper-cli
(that provides thetyper
command).If you don't want the extra optional dependencies (
rich
andshellingham
), you can installtyper-slim
instead.You can also install
typer-slim[standard]
, which includes the default optional dependencies, but not thetyper
command.In version
0.12.0
thetyper-cli
package only provides thetyper
command, but the code is still in the main code, so even without installingtyper-cli
, it can be called withpython -m typer
.This approach of having
typer
depend ontyper-slim[standard]
instead of including the whole code and dependencies itself caused an issue when upgrading fromtyper <0.12.0
totyper >=0.12.0
, see issue #790. This is fixed in version0.12.1
.Features
typer-slim
package without extras, maketyper
includetyper-slim[default]
and integrate Typer CLI (typer
command) into Typer. PR #780 by @tiangolo.Internal
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.