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:
17
CHANGELOG.md
17
CHANGELOG.md
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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.
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user