-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update dependency typer to v0.14.0 #464
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #464 +/- ##
==========================================
+ Coverage 96.33% 96.48% +0.15%
==========================================
Files 19 19
Lines 1310 1310
==========================================
+ Hits 1262 1264 +2
+ Misses 48 46 -2 ☔ View full report in Codecov by Sentry. |
Base branch requires signed commits
cd6eedc
to
3bba131
Compare
3bba131
to
e87c873
Compare
e87c873
to
ea307a2
Compare
ea307a2
to
f7b678e
Compare
Base branch requires signed commits
f7b678e
to
f2d00c2
Compare
f2d00c2
to
1770b23
Compare
01e4e30
to
8d7a85b
Compare
Base branch requires signed commits
8d7a85b
to
b99699d
Compare
Base branch requires signed commits
b99699d
to
42ee0af
Compare
Base branch requires signed commits
42ee0af
to
c9ba32b
Compare
c9ba32b
to
b7c52b6
Compare
b7c52b6
to
2ef6d87
Compare
Base branch requires signed commits
2ef6d87
to
830c661
Compare
830c661
to
1138e8e
Compare
1138e8e
to
df791c1
Compare
This PR contains the following updates:
0.9.0
->0.14.0
Release Notes
fastapi/typer (typer)
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
Compare Source
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
v0.11.1
Compare Source
Fixes
Internal
v0.11.0
Compare Source
Breaking Changes
test
,doc
,dev
. PR #764 by @tiangolo.Refactors
Internal
v0.10.0
Compare Source
Fixes
None
for CLI Parameters when the type islist | None
and the default value isNone
. PR #664 by @theowisear.v0.9.4
Compare Source
Features
v0.9.3
Compare Source
Fixes
from __future__ import annotations
). PR #721 by @heckad.v0.9.2
Compare Source
Fixes
show_default
parameter and update docs for setting a "Custom default string". PR #501 by @plannigan.Docs
no_args_is_help
feature. PR #751 by @svlandeg.v0.9.1
Compare Source
Fixes
default_factory
inArgument
overloads. PR #750 by @m9810223.Docs
📝 Remove obsolete references to
--install-completion
fortyper.run()
scripts. PR #595 by @tiangolo.📝 Update docs example for a Typer/Click group to make new subcommands explicit. PR #755 by @svlandeg.
📝 Update docs for building a package, file structure example. PR #683 by @davidbgk.
📝 Update link in docs to the newest stable version of click. PR #675 by @javier171188.
🔧 Add
CITATION.cff
file for academic citations. PR #681 by @tiangolo.✏ Fix typo in
docs/tutorial/exceptions.md
. PR #702 by @menzenski.✏ Fix typo in
docs/tutorial/options/name.md
. PR #725 by @bwagner.✏ Fix typo in
docs/tutorial/arguments/optional.md
. PR #602 by @tadasgedgaudas.Internal
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.