diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e20dde..066b335 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## 3.0.0 (10/27/2021) + +### Breaking + +We have moved from [argcomplete](https://github.com/kislyuk/argcomplete) to [shtab](https://github.com/iterative/shtab) for +providing shell completions. This library is more efficient on doing tab completion, avoiding costly time it takes for the python +intrepreter to parse tldr to get options. + +See [Readme#autocomplete](https://github.com/tldr-pages/tldr-python-client#autocomplete) for details on setting up shtab. Please +see the [argcomplete README](https://github.com/kislyuk/argcomplete) for details on where to look to remove its provided completions. + +### Features + +* __breaking__ Move to shtab for tab completion support (thanks [@casperdcl](https://github.com/casperdcl)) +* Change default max cache age from 1 day to 7 days, can get prior behavior by setting the `TLDR_CACHE_MAX_AGE` environment variable +* Install manpage in pypi package +* Add option to print raw markdown (thanks [@dadav](https://github.com/dadav)) +* Support Python 3.10 + ## 2.0.0 (07/19/2021) ### Features diff --git a/tldr.py b/tldr.py index aeaa62f..d95f429 100755 --- a/tldr.py +++ b/tldr.py @@ -17,7 +17,7 @@ import colorama # Required for Windows import shtab -__version__ = "2.0.0" +__version__ = "3.0.0" __client_specification__ = "1.4" REQUEST_HEADERS = {'User-Agent': 'tldr-python-client'}