Skip to content

Commit e39d5b9

Browse files
committed
Release version 5.0.0
1 parent 415ba96 commit e39d5b9

File tree

6 files changed

+55
-19
lines changed

6 files changed

+55
-19
lines changed

.github/RELEASE_DRAFT_FILTER.lua

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,36 @@
1-
-- Strip everything after the first section
2-
-- (i.e. the notes for the last release).
1+
-- Keep only the blocks that belong to the first level-1 section (release),
2+
-- but drop the level-1 header itself.
33

4-
release_count = 0
4+
local in_first_release = false
5+
local past_first_release = false
56

67
return {
78
{
8-
Header = function (elem)
9-
if elem.level == 2 then
10-
release_count = release_count + 1
9+
Header = function(h)
10+
if h.level == 1 then
11+
if not in_first_release and not past_first_release then
12+
-- Enter the first release; drop this H1 itself
13+
in_first_release = true
14+
return {}
15+
else
16+
-- Any subsequent H1 ends the first release; drop it and everything after
17+
past_first_release = true
18+
return {}
19+
end
1120
end
12-
if elem.level < 3 or release_count > 1 then
21+
-- For subheaders inside the first release, keep them; otherwise drop
22+
if past_first_release or not in_first_release then
1323
return {}
1424
end
15-
return elem
25+
return h
1626
end,
17-
Block = function (elem)
18-
if release_count > 1 then
27+
28+
Block = function(b)
29+
-- Drop everything before the first H1 and after the next H1
30+
if past_first_release or not in_first_release then
1931
return {}
2032
end
21-
return elem
33+
return b
2234
end,
2335
}
24-
}
36+
}

.github/RELEASE_DRAFT_TEMPLATE.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
1-
# Plover $version$
1+
# Plover v$version$
22

3-
> **Warning**: Version 5 updates the graphical interface library from PyQt5 to PySide6 which requires graphical plugins to be migrated.
3+
## ⚠️ Important Notice
44

5-
## Installation Guide
5+
Version 5 updates the graphical interface library from PyQt5 to PySide6, which means graphical plugins need to be migrated.
6+
Please check the [Unsupported Plugins List](https://github.com/openstenoproject/plover_plugins_registry/blob/master/unsupported.json) before installing this version.
67

7-
Read the [Installation Guide](https://github.com/openstenoproject/plover/wiki/Installation-Guide) to see which file you need to download.
8+
## Installation
9+
10+
To install Plover, please follow the [Installation Guide](https://plover.wiki/index.php/Installation_Guide) on our wiki.
11+
12+
## Changelog
813

914
$body$
15+
16+
## Release History
17+
18+
For a detailed list of changes in this and all previous versions, see [NEWS.md](https://github.com/openstenoproject/plover/blob/v$version$/NEWS.md).

.github/workflows/ci/helpers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ EOF
152152
run pandoc --from=gfm --to=gfm \
153153
--lua-filter=.github/RELEASE_DRAFT_FILTER.lua \
154154
--template=.github/RELEASE_DRAFT_TEMPLATE.md \
155-
--shift-heading-level-by=2 --wrap=none \
155+
--shift-heading-level-by=1 --wrap=none \
156156
--variable="version:$RELEASE_VERSION" \
157157
--output=notes.md \
158158
"$notes_body" || die

NEWS.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# v5.0.0 (2025-09-10)
2+
3+
4+
## Features
5+
6+
No significant changes.
7+
8+
## Bugfixes
9+
10+
No significant changes.
11+
12+
## API
13+
14+
No significant changes.
15+
116
# v5.0.0rc1 (2025-09-02)
217

318

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
copyright = "Open Steno Project"
77
author = copyright
88

9-
release = "5.0.0rc1"
9+
release = "5.0.0"
1010
version = release
1111

1212
# -- General configuration ---------------------------------------------------

plover/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# want to translate anyway.
1414
_ = lambda s: s
1515

16-
__version__ = "5.0.0rc1"
16+
__version__ = "5.0.0"
1717
__copyright__ = "(C) Open Steno Project"
1818
__url__ = "http://www.openstenoproject.org/"
1919
__download_url__ = "http://www.openstenoproject.org/plover"

0 commit comments

Comments
 (0)