Skip to content

Releases: tldr-pages/tldr-python-client

3.2.0

09 May 16:12
3.2.0
66706e5
Compare
Choose a tag to compare

Bugfixes

  • Fix forcing color through termcolor
  • Change non-word regex to be POSIX compliant (thanks @stevejbrown)
  • Update pages source to use the main branch
  • Add a timeout to the URL requests (thanks @Jaimepas77)

3.1.0

21 Feb 19:16
f525217
Compare
Choose a tag to compare

Features

Bugfixes

  • Command names are lowercased before searching for page
  • Fix color printing for tokens that end with curly braces

3.0.0

13 Nov 09:15
5cf0609
Compare
Choose a tag to compare

We have moved from argcomplete to 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 for details on setting up shtab. Please
see the argcomplete README for details on where to look to remove its provided completions.

Features

  • breaking Move to shtab for tab completion support (thanks @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)
  • Support Python 3.10

2.0.0

24 Jul 17:58
39b4d0c
Compare
Choose a tag to compare

Features

  • breaking Drop support for Python 3.5 (thanks @nebnola)
  • Allow overriding system language using TLDR_LANGUAGE environment variable (thanks @nebnola)

Fixes

  • Improve wording of missing page error message (thanks @CleanMachine1)

1.2.1

01 Apr 21:54
f24f81f
Compare
Choose a tag to compare

Fixes

  • Fallback to using linux as platform if no pages folder found for current platform

1.2.0

01 Feb 01:58
5fedb2b
Compare
Choose a tag to compare

Features

  • Set --help usage line to match node client (#149)
  • Get remote resource only after all cache failed (#151) (thanks @ramwin)

1.1.0

18 Oct 00:17
Compare
Choose a tag to compare
  • Add autocomplete and --list command (thanks @wcheang)
  • Exit with code 1 when command not found (thanks @samuel-w)
  • Always fall back to English for LANG / LANGUAGE env vars (thanks @columbarius)
  • Check that cache directory exists on platform before using it