0
0
mirror of https://github.com/ihabunek/toot.git synced 2025-06-30 22:18:36 -04:00

Tweak changelog generator script

This commit is contained in:
Ivan Habunek 2025-03-06 10:19:03 +01:00
parent ebd051bd0c
commit ad134d6971
No known key found for this signature in database
GPG Key ID: 01DB3DD0D824504C
5 changed files with 45 additions and 4 deletions

View File

@ -3,6 +3,23 @@ Changelog
<!-- Do not edit. This file is automatically generated from changelog.yaml.-->
**0.48.0 (TBA)**
This release adds a new set of commands for working with timelines under `toot
timelines` (note the plural). These will replace `toot timeline` which is now
marked as deprecated. The reason for this change is that various timelines
require different options and having separate commands makes them easier to
implement and use.
* BREAKING: Remove deprecated commands: `tags_followed`, `tags_follow`, and
`tags tags_unfollow`. Use `tags followed`, `tags follow`, and `tags tags
unfollow` instead.
* BREAKING: Remove deprecated `lists` command for listing lists in favour of
`lists list`
* Add `toot timelines` commands and mark `toot timeline` as deprecated
* Improve datetime parsing, improves compatibility with snac2 (#523)
* TUI: Fix urwid deprecations (thanks Aleksei Stepanov)
**0.47.1 (2024-11-27)**
* Fix last post ID not being stored when using --json, which broke --reply-last

View File

@ -1,8 +1,17 @@
0.48.0:
date: TBA
description: |
This release adds a new set of commands for working with timelines under
`toot timelines` (note the plural). These will replace `toot timeline`
which is now marked as deprecated. The reason for this change is that
various timelines require different options and having separate commands
makes them easier to implement and use.
changes:
- "BREAKING: Remove deprecated commands: `tags_followed`, `tags_follow`, and `tags tags_unfollow`. Use `tags followed`, `tags follow`, and `tags tags unfollow` instead."
- "BREAKING: Remove deprecated `lists` command for listing lists in favour of `lists list`"
- "Add `toot timelines` commands and mark `toot timeline` as deprecated"
- "Improve datetime parsing, improves compatibility with snac2 (#523)"
- "TUI: Fix urwid deprecations (thanks Aleksei Stepanov)"
0.47.1:
date: 2024-11-27

View File

@ -3,6 +3,23 @@ Changelog
<!-- Do not edit. This file is automatically generated from changelog.yaml.-->
**0.48.0 (TBA)**
This release adds a new set of commands for working with timelines under `toot
timelines` (note the plural). These will replace `toot timeline` which is now
marked as deprecated. The reason for this change is that various timelines
require different options and having separate commands makes them easier to
implement and use.
* BREAKING: Remove deprecated commands: `tags_followed`, `tags_follow`, and
`tags tags_unfollow`. Use `tags followed`, `tags follow`, and `tags tags
unfollow` instead.
* BREAKING: Remove deprecated `lists` command for listing lists in favour of
`lists list`
* Add `toot timelines` commands and mark `toot timeline` as deprecated
* Improve datetime parsing, improves compatibility with snac2 (#523)
* TUI: Fix urwid deprecations (thanks Aleksei Stepanov)
**0.47.1 (2024-11-27)**
* Fix last post ID not being stored when using --json, which broke --reply-last

View File

@ -23,9 +23,7 @@ for version in data.keys():
print()
if "description" in data[version]:
description = data[version]["description"].strip()
for line in textwrap.wrap(description, 80):
print(line)
print(textwrap.dedent(data[version]["description"]))
print()
for c in changes:

View File

@ -49,7 +49,7 @@ def timeline(
once: bool,
count: int,
):
"""Show recent items in a timeline
"""Show timelines (deprecated, use `toot timelines` instead)
By default shows the home timeline.
"""