Update changelog

This commit is contained in:
Ivan Habunek 2023-12-13 15:11:45 +01:00
parent fab23b9069
commit ad7cfd44d4
No known key found for this signature in database
GPG Key ID: F5F0623FF5EBCB3D
4 changed files with 60 additions and 9 deletions

View File

@ -5,11 +5,28 @@ Changelog
**0.40.0 (TBA)** **0.40.0 (TBA)**
* Migrate to `click` for commandline arguments. BC should be mostly preserved, This release includes a major rewrite to use
please report any issues. [Click](https://click.palletsprojects.com/) for creating the command line
interface. This allows for some new features like nested commands, setting
parameters via environment variables, and shell completion. See docs for
details. Backward compatibility should be mostly preserved, except for cases
noted below please report any issues.
* BREAKING: Remove deprecated `--disable-https` option for `login` and
`login_cli`, pass the base URL instead
* BREAKING: Options `--debug`, `--color`, `--quiet` must be specified after
`toot` but before the command
* Enable passing params via environment variables, see:
https://toot.bezdomni.net/environment_variables.html
* Add shell completion, see: https://toot.bezdomni.net/shell_completion.html * Add shell completion, see: https://toot.bezdomni.net/shell_completion.html
* Remove deprecated `--disable-https` option for `login` and `login_cli`, pass * Add `--json` option to tag commands
the base URL instead * Add `tags info`, `tags featured`, `tags feature`, and `tags unfeature`
commands
* Add `tags followed`, `tags follow`, and `tags unfollow` commands, deprecate
`tags_followed`, `tags_follow`, and `tags tags_unfollow`
* Add `toot --width` option for setting your prefered terminal width
* Add `--media-viewer` and `--colors` options to `toot tui`. These were
previously accessible only via settings.
**0.39.0 (2023-11-23)** **0.39.0 (2023-11-23)**

View File

@ -1,11 +1,21 @@
0.40.0: 0.40.0:
date: TBA date: TBA
description: |
This release includes a major rewrite to use [Click](https://click.palletsprojects.com/) for
creating the command line interface. This allows for some new features like nested commands,
setting parameters via environment variables, and shell completion. See docs for details.
Backward compatibility should be mostly preserved, except for cases noted below please report
any issues.
changes: changes:
- "BREAKING: Remove deprecated `--disable-https` option for `login` and `login_cli`, pass the base URL instead" - "BREAKING: Remove deprecated `--disable-https` option for `login` and `login_cli`, pass the base URL instead"
- "Migrate to `click` for commandline arguments. BC should be mostly preserved, please report any issues." - "BREAKING: Options `--debug`, `--color`, `--quiet` must be specified after `toot` but before the command"
- "Enable passing params via environment variables, see: https://toot.bezdomni.net/environment_variables.html"
- "Add shell completion, see: https://toot.bezdomni.net/shell_completion.html" - "Add shell completion, see: https://toot.bezdomni.net/shell_completion.html"
- "Add `--json` option to tag commands" - "Add `--json` option to tag commands"
- "Add `tags info`, `tags featured`, `tags feature`, and `tags unfeature` commands" - "Add `tags info`, `tags featured`, `tags feature`, and `tags unfeature` commands"
- "Add `tags followed`, `tags follow`, and `tags unfollow` commands, deprecate `tags_followed`, `tags_follow`, and `tags tags_unfollow`"
- "Add `toot --width` option for setting your prefered terminal width"
- "Add `--media-viewer` and `--colors` options to `toot tui`. These were previously accessible only via settings."
0.39.0: 0.39.0:
date: 2023-11-23 date: 2023-11-23

View File

@ -5,11 +5,28 @@ Changelog
**0.40.0 (TBA)** **0.40.0 (TBA)**
* Migrate to `click` for commandline arguments. BC should be mostly preserved, This release includes a major rewrite to use
please report any issues. [Click](https://click.palletsprojects.com/) for creating the command line
interface. This allows for some new features like nested commands, setting
parameters via environment variables, and shell completion. See docs for
details. Backward compatibility should be mostly preserved, except for cases
noted below please report any issues.
* BREAKING: Remove deprecated `--disable-https` option for `login` and
`login_cli`, pass the base URL instead
* BREAKING: Options `--debug`, `--color`, `--quiet` must be specified after
`toot` but before the command
* Enable passing params via environment variables, see:
https://toot.bezdomni.net/environment_variables.html
* Add shell completion, see: https://toot.bezdomni.net/shell_completion.html * Add shell completion, see: https://toot.bezdomni.net/shell_completion.html
* Remove deprecated `--disable-https` option for `login` and `login_cli`, pass * Add `--json` option to tag commands
the base URL instead * Add `tags info`, `tags featured`, `tags feature`, and `tags unfeature`
commands
* Add `tags followed`, `tags follow`, and `tags unfollow` commands, deprecate
`tags_followed`, `tags_follow`, and `tags tags_unfollow`
* Add `toot --width` option for setting your prefered terminal width
* Add `--media-viewer` and `--colors` options to `toot tui`. These were
previously accessible only via settings.
**0.39.0 (2023-11-23)** **0.39.0 (2023-11-23)**

View File

@ -21,6 +21,13 @@ for version in data.keys():
changes = data[version]["changes"] changes = data[version]["changes"]
print(f"**{version} ({date})**") print(f"**{version} ({date})**")
print() print()
if "description" in data[version]:
description = data[version]["description"].strip()
for line in textwrap.wrap(description, 80):
print(line)
print()
for c in changes: for c in changes:
lines = textwrap.wrap(c, 78) lines = textwrap.wrap(c, 78)
initial = True initial = True