0
0
mirror of https://github.com/ihabunek/toot.git synced 2025-10-21 19:44:16 -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
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.--> <!-- 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)** **0.47.1 (2024-11-27)**
* Fix last post ID not being stored when using --json, which broke --reply-last * Fix last post ID not being stored when using --json, which broke --reply-last

View File

@@ -1,8 +1,17 @@
0.48.0: 0.48.0:
date: TBA 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: 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 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`" - "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: 0.47.1:
date: 2024-11-27 date: 2024-11-27

View File

@@ -3,6 +3,23 @@ Changelog
<!-- Do not edit. This file is automatically generated from changelog.yaml.--> <!-- 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)** **0.47.1 (2024-11-27)**
* Fix last post ID not being stored when using --json, which broke --reply-last * 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() print()
if "description" in data[version]: if "description" in data[version]:
description = data[version]["description"].strip() print(textwrap.dedent(data[version]["description"]))
for line in textwrap.wrap(description, 80):
print(line)
print() print()
for c in changes: for c in changes:

View File

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