All Versions
13
Latest Version
Avg Release Cycle
19 days
Latest Release
1131 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.3.2 Changes
August 16, 2020๐ Features
- โ Add support for
mypy --strict
. Original PR #147 by @victorphoenix3.
๐ Docs
- โก๏ธ Update docs with new
--help
showing default values. PR #135 by @victorphoenix3. - Add
Optional
to docs for CLI Arguments and Options with a default ofNone
. PR #131 by @rkbeatss. - โ Add valid date formats to docs. PR #122 by @IamCathal.
Internal
- โ Add support for
-
v0.3.1 Changes
July 19, 2020 -
v0.3.0 Changes
June 24, 2020- 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
isTrue
by default. - And now
show_envvar
isTrue
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.
- Optional CLI Arguments.
- CLI Arguments with Default.
- CLI Arguments with Help.
- CLI Arguments with Environment Variables.
- CLI Arguments: Other uses.
- CLI arguments with tuples.
- Lot's of tests for all the new examples in the new docs, keeping coverage at 100%.
- PR #123.
- As
- ๐ฆ Add docs for calling packages with
python -m some_package
using__main__.py
: Building a Package: Supportpython -m
. PR #121. - Add support for
*args
and**kwargs
when calling the Typer app, just like in Click. PR #120 by @teymour-aldridge. - ๐ Fix typos in README and main docs #103 by @mrcartoonster.
- ๐ Fix typo in docs. PR #98 by @mrcartoonster.
- ๐ Fix typos and rewording in docs. PR #97 by @mrcartoonster.
- โก๏ธ Update GitHub Action issue-manager. PR #114.
- Add support for
-
v0.2.1 Changes
April 26, 2020- โ Add support for forward references (types declared inside of strings). PR #93.
-
v0.2.0 Changes
April 26, 2020- โ Add support for completion for commands/programs not available on startup.
- This allows installing a Typer program/script in a virtual environment and still have completion globally installed.
- PR #92.
- โ Add note about
typer.echo()
andprint()
for colors in Windows. PR #89. - ๐ Upgrade Mkdocs-Material version, update contributing guide style. PR #90.
- โ Add support for completion for commands/programs not available on startup.
-
v0.1.1 Changes
March 29, 2020 -
v0.1.0 Changes
March 19, 2020- ๐ Fix coverage instructions. PR #72.
- โ Add docs for Building a Package. PR #71.
- โ Add docs for Using Click (with Typer). PR #70.
- โ Add support for type-based callbacks and autocompletion functions, extra tests and docs:
- Extra tests, raising coverage to 100%.
- New docs: Printing and Colors: "Standard Output" and "Standard Error".
- New docs: Password CLI Option and Confirmation Prompt.
- Support for callbacks based on type annotations. New docs: CLI Option Callback and Context.
- New docs: Version CLI Option, is_eager.
- Support for autocompletion functions based on type annotations. New docs: CLI Option autocompletion.
- New docs: Commands: Using the Context.
- New docs: Testing.
- PR #68.
- ๐ Fix Zsh completion install script. PR #69.
- ๐ Fix typo in progressbar example. PR #63 by @ValentinCalomme.
-
v0.0.11 Changes
March 16, 2020- Re-implement completion system:
- Remove optional dependency
click-completion
(with its sub-dependencies, like Jinja). - Add optional dependency
shellingham
to auto detect shell to install (it was used byclick-completion
). - Completion now doesn't require a third party library.
- If
shellingham
is not installed/added as a dependency,--install-completion
and--show-completion
take a value with the name of the shell. - Fix support for user provided completion in CLI Parameters.
- Fix completion for files in Bash, Zsh, and Fish.
- Add support for modern versions of PowerShell, 5, 6, and 7 (e.g. in Windows 10).
- Add support for
pwsh
(PowerShell Core). - PowerShell support includes help strings for commands and CLI Parameters.
- Several bug fixes.
- Tests for the completion logic/code.
- Tested in all the shells in Linux and Windows.
- PR #66.
- Remove optional dependency
- ๐ Fix format in docs with highlighted lines. PR #65.
- โ Add docs about Typer CLI - completion for small scripts. PR #64.
- โ Add docs about Alternatives, Inspiration and Comparisons. PR #62.
- โ Add Development - Contributing Guide. PR #61.
- Re-implement completion system:
-
v0.0.10 Changes
March 10, 2020- โ Add support for Click version 7.1.1. PR #60.
-
v0.0.9 Changes
March 08, 2020- Add support for PEP 561, to allow
mypy
to type check applications built with Typer. PR #58. - ๐ Upgrade deploy docs to Netlify GitHub action. PR #57.
- โ Add support for Mermaid JS for visualizations. PR #56.
- ๐ Update CI to run docs deployment in GitHub actions. PR #50.
- โก๏ธ Update format for internal links. PR #38.
- ๐ Tweak external links' format. PR #36.
- Add support for PEP 561, to allow