Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 8, 2024

This PR contains the following updates:

Package Change Age Confidence
typer ^0.12.0 -> ^0.16.0 age confidence
typer (changelog) ==0.12.5 -> ==0.16.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

fastapi/typer (typer)

v0.16.0

Compare Source

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
Internal

v0.15.4

Compare Source

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

v0.15.3

Compare Source

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

v0.15.2

Compare Source

Features
Fixes
Refactors
Docs
Internal

v0.15.1

Compare Source

Features
  • 🗑️ Deprecate shell_complete and continue to use autocompletion for CLI parameters. PR #​974 by @​svlandeg.
Docs
Internal

v0.15.0

Compare Source

Features
Internal

v0.14.0

Compare Source

Breaking Changes
  • 🔥 Remove auto naming of groups added via 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:

import typer

app = typer.Typer()
users_app = typer.Typer()

app.add_typer(users_app)

@&#8203;users_app.callback()
def users():  # <-- This was the inferred command group name
    """
    Manage users in the app.
    """

@&#8203;users_app.command()
def create(name: str):
    print(f"Creating user: {name}")

...the command group would be named users, based on the name of the function def users().

Now you need to set it explicitly:

import typer

app = typer.Typer()
users_app = typer.Typer()

app.add_typer(users_app, name="users")  # <-- Explicitly set the command group name

@&#8203;users_app.callback()
def users():
    """
    Manage users in the app.
    """

@&#8203;users_app.command()
def create(name: str):
    print(f"Creating user: {name}")

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
Fixes
Refactors
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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) November 8, 2024 02:48
@renovate
Copy link
Contributor Author

renovate bot commented Nov 8, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
The --no-wheel and --wheel options are deprecated. They have no effect for Python > 3.8 as wheel is no longer bundled in virtualenv.
Updating dependencies
Resolving dependencies...

Creating virtualenv thu-learn-downloader-429CMsQi-py3.13 in /home/ubuntu/.cache/pypoetry/virtualenvs

Failed to clone https://github.com/Patarimi/typer-cli.git, check your git configuration and permissions for this repository.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 8, 2024

🦙 MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Warnings Elapsed time
❌ ACTION actionlint 3 1 0 0.27s
✅ BASH shellcheck 3 0 0 0.08s
✅ BASH shfmt 3 0 0 0 0.01s
❌ COPYPASTE jscpd yes 1 no 1.85s
✅ JSON jsonlint 3 0 0 0.18s
✅ JSON prettier 3 0 0 0 0.34s
✅ JSON v8r 3 0 0 3.4s
⚠️ MARKDOWN markdownlint 2 1 26 0 0.7s
✅ MARKDOWN markdown-link-check 2 0 0 7.3s
✅ MARKDOWN markdown-table-formatter 2 1 0 0 0.19s
⚠️ PYTHON pyright 25 18 0 2.95s
✅ PYTHON ruff 25 0 0 0 0.04s
❌ REPOSITORY checkov yes 3 no 13.41s
❌ REPOSITORY devskim yes 1 1 1.07s
✅ REPOSITORY dustilock yes no no 2.32s
✅ REPOSITORY gitleaks yes no no 0.14s
✅ REPOSITORY git_diff yes no no 0.0s
❌ REPOSITORY grype yes 2 10 24.42s
❌ REPOSITORY kics yes 1 10 1.91s
✅ REPOSITORY secretlint yes no no 0.99s
✅ REPOSITORY syft yes no no 1.65s
❌ REPOSITORY trivy yes 1 10 7.17s
✅ REPOSITORY trivy-sbom yes no no 0.14s
✅ REPOSITORY trufflehog yes no no 4.15s
⚠️ SPELL cspell 43 178 0 7.22s
✅ SPELL lychee 11 0 0 1.03s
✅ YAML prettier 5 0 0 0 0.4s
✅ YAML v8r 5 0 0 1.96s
✅ YAML yamllint 5 0 0 0.46s

See detailed report in MegaLinter reports

You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:

MegaLinter is graciously provided by OX Security

@renovate renovate bot force-pushed the renovate/typer-0.x branch from 48e144d to 28949e8 Compare November 19, 2024 00:49
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.13.0 fix(deps): update dependency typer to v0.13.1 Nov 19, 2024
@renovate renovate bot force-pushed the renovate/typer-0.x branch from 28949e8 to e6c8c61 Compare November 28, 2024 23:05
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.13.1 fix(deps): update dependency typer to v0.14.0 Nov 28, 2024
@renovate renovate bot force-pushed the renovate/typer-0.x branch from e6c8c61 to 4f38a56 Compare December 3, 2024 17:26
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.14.0 fix(deps): update dependency typer to v0.15.0 Dec 3, 2024
@renovate renovate bot force-pushed the renovate/typer-0.x branch from 4f38a56 to 1953832 Compare December 4, 2024 20:08
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.15.0 fix(deps): update dependency typer to v0.15.1 Dec 4, 2024
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.15.1 chore(deps): update dependency typer to v0.15.1 Dec 17, 2024
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.15.1 fix(deps): update dependency typer to v0.15.1 Dec 17, 2024
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.15.1 chore(deps): update dependency typer to v0.15.1 Dec 18, 2024
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.15.1 fix(deps): update dependency typer to v0.15.1 Dec 18, 2024
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.15.1 chore(deps): update dependency typer to v0.15.1 Dec 24, 2024
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.15.1 fix(deps): update dependency typer to v0.15.1 Dec 24, 2024
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.15.1 chore(deps): update dependency typer to v0.15.1 Dec 27, 2024
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.15.1 fix(deps): update dependency typer to v0.15.1 Dec 27, 2024
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.15.1 chore(deps): update dependency typer to v0.15.1 Dec 31, 2024
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.15.1 fix(deps): update dependency typer to v0.15.1 Jan 1, 2025
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.15.1 chore(deps): update dependency typer to v0.15.1 Jan 1, 2025
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.15.1 fix(deps): update dependency typer to v0.15.1 Jan 1, 2025
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.15.1 chore(deps): update dependency typer to v0.15.1 Jan 4, 2025
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.15.1 fix(deps): update dependency typer to v0.15.1 Jan 5, 2025
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.15.1 chore(deps): update dependency typer to v0.15.1 Jan 10, 2025
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.15.1 fix(deps): update dependency typer to v0.15.1 Jan 10, 2025
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.15.1 chore(deps): update dependency typer to v0.15.1 Jan 11, 2025
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.15.1 fix(deps): update dependency typer to v0.15.1 Jan 11, 2025
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.16.0 fix(deps): update dependency typer to v0.16.0 Jun 17, 2025
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.16.0 chore(deps): update dependency typer to v0.16.0 Jun 18, 2025
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.16.0 fix(deps): update dependency typer to v0.16.0 Jun 18, 2025
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.16.0 chore(deps): update dependency typer to v0.16.0 Jun 21, 2025
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.16.0 fix(deps): update dependency typer to v0.16.0 Jun 21, 2025
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.16.0 chore(deps): update dependency typer to v0.16.0 Jun 22, 2025
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.16.0 fix(deps): update dependency typer to v0.16.0 Jun 22, 2025
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.16.0 chore(deps): update dependency typer to v0.16.0 Jun 28, 2025
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.16.0 fix(deps): update dependency typer to v0.16.0 Jun 28, 2025
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.16.0 chore(deps): update dependency typer to v0.16.0 Jul 2, 2025
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.16.0 fix(deps): update dependency typer to v0.16.0 Jul 3, 2025
@renovate renovate bot force-pushed the renovate/typer-0.x branch from c1ef3d9 to 0268ed4 Compare July 3, 2025 05:00
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.16.0 chore(deps): update dependency typer to v0.16.0 Jul 7, 2025
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.16.0 fix(deps): update dependency typer to v0.16.0 Jul 7, 2025
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.16.0 chore(deps): update dependency typer to v0.16.0 Jul 12, 2025
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.16.0 fix(deps): update dependency typer to v0.16.0 Jul 12, 2025
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.16.0 chore(deps): update dependency typer to v0.16.0 Jul 14, 2025
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.16.0 fix(deps): update dependency typer to v0.16.0 Jul 14, 2025
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.16.0 chore(deps): update dependency typer to v0.16.0 Jul 21, 2025
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.16.0 fix(deps): update dependency typer to v0.16.0 Jul 21, 2025
@renovate renovate bot force-pushed the renovate/typer-0.x branch from 0268ed4 to 33f5443 Compare July 27, 2025 01:39
@renovate renovate bot changed the title fix(deps): update dependency typer to v0.16.0 chore(deps): update dependency typer to v0.16.0 Jul 27, 2025
@renovate renovate bot force-pushed the renovate/typer-0.x branch from 33f5443 to daebbd0 Compare July 27, 2025 05:32
@renovate renovate bot changed the title chore(deps): update dependency typer to v0.16.0 fix(deps): update dependency typer to v0.16.0 Jul 27, 2025
@renovate renovate bot merged commit 4e036fe into main Aug 3, 2025
37 of 57 checks passed
@renovate renovate bot deleted the renovate/typer-0.x branch August 3, 2025 14:08
@liblaf liblaf bot mentioned this pull request Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants