Typer

Latest version: v0.12.3

Safety actively analyzes 629994 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 7

0.4.1

Fixes

* 🐛 Fix import of `get_terminal_size` for Click 8.1.0 support and upgrade Black to fix CI. PR [380](https://github.com/tiangolo/typer/pull/380) by [tiangolo](https://github.com/tiangolo) based on original PR [#375](https://github.com/tiangolo/typer/pull/375) by [madkinsz](https://github.com/madkinsz).

Internal

* 📝 Add Jina's QA Bot to the docs to help people that want to ask quick questions. PR [368](https://github.com/tiangolo/typer/pull/368) by [tiangolo](https://github.com/tiangolo).
* 💚 Only test on push when on master, avoid duplicate CI runs from PRs. PR [358](https://github.com/tiangolo/typer/pull/358) by [tiangolo](https://github.com/tiangolo).
* ✨ Add support for previewing docs in PRs from forks and enable MkDocs Insiders. PR [357](https://github.com/tiangolo/typer/pull/357) by [tiangolo](https://github.com/tiangolo).
* ⬆️ Upgrade MkDocs Material, MDX-Include, and MkDocs structure. PR [356](https://github.com/tiangolo/typer/pull/356) by [tiangolo](https://github.com/tiangolo).
* 👷 Update publish GitHub action. PR [325](https://github.com/tiangolo/typer/pull/325) by [tiangolo](https://github.com/tiangolo).

0.4.0

Features

* ✨ Add support for Click 8 while keeping compatibility with Click 7. PR [317](https://github.com/tiangolo/typer/pull/317) by [tiangolo](https://github.com/tiangolo).

Internal

* 📝 Add Security policy. PR [324](https://github.com/tiangolo/typer/pull/324) by [tiangolo](https://github.com/tiangolo).
* 🔧 Add updated issue templates. PR [323](https://github.com/tiangolo/typer/pull/323) by [tiangolo](https://github.com/tiangolo).
* 👷 Enable tests for Python 3.9. PR [322](https://github.com/tiangolo/typer/pull/322) by [tiangolo](https://github.com/tiangolo).
* 👷 Add GitHub Action Latest Changes. PR [321](https://github.com/tiangolo/typer/pull/321) by [tiangolo](https://github.com/tiangolo).
* 👷 Update docs CI name. PR [320](https://github.com/tiangolo/typer/pull/320) by [tiangolo](https://github.com/tiangolo).
* 🔧 Add sponsors docs and badge. PR [319](https://github.com/tiangolo/typer/pull/319) by [tiangolo](https://github.com/tiangolo).

0.3.2

Features

* Add support for `mypy --strict`. Original PR [147](https://github.com/tiangolo/typer/pull/147) by [victorphoenix3](https://github.com/victorphoenix3).

Docs

* Update docs with new `--help` showing default values. PR [135](https://github.com/tiangolo/typer/pull/135) by [victorphoenix3](https://github.com/victorphoenix3).
* Add `Optional` to docs for *CLI Arguments and Options* with a default of `None`. PR [131](https://github.com/tiangolo/typer/pull/131) by [rkbeatss](https://github.com/rkbeatss).
* Add valid date formats to docs. PR [122](https://github.com/tiangolo/typer/pull/122) by [IamCathal](https://github.com/IamCathal).

Internal

* Report coverage in XML to support GitHub Actions. PR [146](https://github.com/tiangolo/typer/pull/146).
* Update badges and remove Travis, now that GitHub Actions is the main CI. PR [145](https://github.com/tiangolo/typer/pull/145).

0.3.1

* Add GitHub Actions, move from Travis. PR [144](https://github.com/tiangolo/typer/pull/144).
* Pin dependencies. PR [138](https://github.com/tiangolo/typer/pull/138).
* Add Dependabot. PR [136](https://github.com/tiangolo/typer/pull/136).
* Upgrade Isort to version 5.x.x. PR [137](https://github.com/tiangolo/typer/pull/137).

0.3.0

* Add support for `help` parameter in *CLI arguments*:
* As `help` in *CLI arguments* is not supported by Click, there are two new internal classes (Click sub-classes) to support it:
* `typer.core.TyperArgument`
* `typer.core.TyperCommand`
* This includes a new auto-generated help text section `Arguments` for *CLI arguments*, showing defaults, required arguments, etc.
* It's also possible to disable it and keep the previous behavior, not showing automatic help for *CLI arguments* (Click's default) using the `hidden` parameter.
* Now `show_default` is `True` by default.
* And now `show_envvar` is `True` by default.
* So, default values and env vars are shown in the help text by default, without having to manually enable them, for both *CLI arguments* and *CLI options*.
* New docs:
* [CLI Arguments Intro](https://typer.tiangolo.com/tutorial/arguments/).
* [Optional CLI Arguments](https://typer.tiangolo.com/tutorial/arguments/optional/).
* [CLI Arguments with Default](https://typer.tiangolo.com/tutorial/arguments/default/).
* [CLI Arguments with Help](https://typer.tiangolo.com/tutorial/arguments/help/).
* [CLI Arguments with Environment Variables](https://typer.tiangolo.com/tutorial/arguments/envvar/).
* [CLI Arguments: Other uses](https://typer.tiangolo.com/tutorial/arguments/other-uses/).
* [CLI arguments with tuples](https://typer.tiangolo.com/tutorial/multiple-values/arguments-with-multiple-values/#cli-arguments-with-tuples).
* Lot's of tests for all the new examples in the new docs, keeping coverage at 100%.
* PR [123](https://github.com/tiangolo/typer/pull/123).
* Add docs for calling packages with `python -m some_package` using `__main__.py`: [Building a Package: Support `python -m`](https://typer.tiangolo.com/tutorial/package/#support-python-m-optional). PR [121](https://github.com/tiangolo/typer/pull/121).
* Add support for `*args` and `**kwargs` when calling the Typer app, just like in Click. PR [120](https://github.com/tiangolo/typer/pull/120) by [teymour-aldridge](https://github.com/teymour-aldridge).
* Fix typos in README and main docs [103](https://github.com/tiangolo/typer/pull/103) by [mrcartoonster](https://github.com/mrcartoonster).
* Fix typo in docs. PR [98](https://github.com/tiangolo/typer/pull/98) by [mrcartoonster](https://github.com/mrcartoonster).
* Fix typos and rewording in docs. PR [97](https://github.com/tiangolo/typer/pull/97) by [mrcartoonster](https://github.com/mrcartoonster).
* Update GitHub Action issue-manager. PR [114](https://github.com/tiangolo/typer/pull/114).

0.2.1

* Add support for forward references (types declared inside of strings). PR [93](https://github.com/tiangolo/typer/pull/93).

Page 4 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.