Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: Bump typer from 0.12.5 to 0.14.0 (#61)
Bumps [typer](https://github.com/fastapi/typer) from 0.12.5 to 0.14.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/fastapi/typer/releases">typer's releases</a>.</em></p> <blockquote> <h2>0.14.0</h2> <h3>Breaking Changes</h3> <ul> <li>🔥 Remove auto naming of groups added via <code>add_typer</code> based on the group's callback function name. PR <a href="https://redirect.github.com/fastapi/typer/pull/1052">#1052</a> by <a href="https://github.com/patrick91"><code>@patrick91</code></a>.</li> </ul> <p>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:</p> <pre lang="python"><code>import typer <p>app = typer.Typer()<br /> users_app = typer.Typer()</p> <p>app.add_typer(users_app)</p> <p><a href="https://github.com/users"><code>@users</code></a>_app.callback()<br /> def users(): # <-- This was the inferred command group name<br /> """<br /> Manage users in the app.<br /> """</p> <p><a href="https://github.com/users"><code>@users</code></a>_app.command()<br /> def create(name: str):<br /> print(f"Creating user: {name}")<br /> </code></pre></p> <p>...the command group would be named <code>users</code>, based on the name of the function <code>def users()</code>.</p> <p>Now you need to set it explicitly:</p> <pre lang="python"><code>import typer <p>app = typer.Typer()<br /> users_app = typer.Typer()</p> <p>app.add_typer(users_app, name="users") # <-- Explicitly set the command group name</p> <p><a href="https://github.com/users"><code>@users</code></a>_app.callback()<br /> def users():<br /> """<br /> Manage users in the app.<br /> """</p> <p><a href="https://github.com/users"><code>@users</code></a>_app.command()<br /> def create(name: str):<br /> </tr></table><br /> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/fastapi/typer/blob/master/docs/release-notes.md">typer's changelog</a>.</em></p> <blockquote> <h2>0.14.0</h2> <h3>Breaking Changes</h3> <ul> <li>🔥 Remove auto naming of groups added via <code>add_typer</code> based on the group's callback function name. PR <a href="https://redirect.github.com/fastapi/typer/pull/1052">#1052</a> by <a href="https://github.com/patrick91"><code>@patrick91</code></a>.</li> </ul> <p>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:</p> <pre lang="python"><code>import typer <p>app = typer.Typer()<br /> users_app = typer.Typer()</p> <p>app.add_typer(users_app)</p> <p><a href="https://github.com/users"><code>@users</code></a>_app.callback()<br /> def users(): # <-- This was the inferred command group name<br /> """<br /> Manage users in the app.<br /> """</p> <p><a href="https://github.com/users"><code>@users</code></a>_app.command()<br /> def create(name: str):<br /> print(f"Creating user: {name}")<br /> </code></pre></p> <p>...the command group would be named <code>users</code>, based on the name of the function <code>def users()</code>.</p> <p>Now you need to set it explicitly:</p> <pre lang="python"><code>import typer <p>app = typer.Typer()<br /> users_app = typer.Typer()</p> <p>app.add_typer(users_app, name="users") # <-- Explicitly set the command group name</p> <p><a href="https://github.com/users"><code>@users</code></a>_app.callback()<br /> def users():<br /> """<br /> Manage users in the app.<br /> """</p> <p><a href="https://github.com/users"><code>@users</code></a>_app.command()<br /> </tr></table><br /> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/fastapi/typer/commit/f5c0b8a6598a3941a7f74d85649896fe3fcaa72a"><code>f5c0b8a</code></a> 🔖 Release version 0.14.0</li> <li><a href="https://github.com/fastapi/typer/commit/70153235a891ab49cc3e6611dce89fa98ec7c64b"><code>7015323</code></a> 📝 Update release notes</li> <li><a href="https://github.com/fastapi/typer/commit/35bad6a08e1a878603e47313edff28fd6fa76a6f"><code>35bad6a</code></a> 📝 Update release notes</li> <li><a href="https://github.com/fastapi/typer/commit/2d1a5984e658d8de477cce669c4433496b85052a"><code>2d1a598</code></a> 🔥 Remove auto naming of groups added via <code>add_typer</code> based on the group's cal...</li> <li><a href="https://github.com/fastapi/typer/commit/45cbfcdf2e662c6a1106d79c21377b2310953352"><code>45cbfcd</code></a> 📝 Update release notes</li> <li><a href="https://github.com/fastapi/typer/commit/8af0b487d22dca19f9124fb2cb4b4c21c0e394a0"><code>8af0b48</code></a> ⬆ Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.12.2 (<a href="https://redirect.github.com/fastapi/typer/issues/1043">#1043</a>)</li> <li><a href="https://github.com/fastapi/typer/commit/62525f2f8bfa7cdeaca43fe6ad8ca1c036d71a26"><code>62525f2</code></a> 📝 Update release notes</li> <li><a href="https://github.com/fastapi/typer/commit/be45e5858a359604e0729c548bd057d279ba6717"><code>be45e58</code></a> ⬆ Bump mkdocs-material from 9.5.44 to 9.5.46 (<a href="https://redirect.github.com/fastapi/typer/issues/1062">#1062</a>)</li> <li><a href="https://github.com/fastapi/typer/commit/740610fbeadaeca50245a1417ced79e30e318441"><code>740610f</code></a> 📝 Update release notes</li> <li><a href="https://github.com/fastapi/typer/commit/5fe79c24f75fb408e8732161b85624f07d1a2789"><code>5fe79c2</code></a> ⬆ Bump ruff from 0.7.4 to 0.8.0 (<a href="https://redirect.github.com/fastapi/typer/issues/1059">#1059</a>)</li> <li>Additional commits viewable in <a href="https://github.com/fastapi/typer/compare/0.12.5...0.14.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=typer&package-manager=pip&previous-version=0.12.5&new-version=0.14.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
- Loading branch information