Skip to content

release: 1.5.0, and publish release notes from the CHANGELOG - #32

Merged
killerwolf merged 1 commit into
mainfrom
release/1.5.0
Sep 7, 2026
Merged

release: 1.5.0, and publish release notes from the CHANGELOG#32
killerwolf merged 1 commit into
mainfrom
release/1.5.0

Conversation

@killerwolf

Copy link
Copy Markdown
Owner

Cuts 1.5.0 and fixes the reason every release so far has had an empty body.

What's in 1.5.0

Three user-visible changes since v1.4.0:

Changed

  • The PDF viewer is no longer part of the initial bundle — it loads the first time you actually open a PDF.
  • The app icon fills more of its canvas.

Fixed

  • A file that fails to move to the Trash is no longer counted as tossed. The failure was swallowed, so the file stayed on disk while the summary claimed it was gone. Fixed by the useFileSession extraction, which only commits the "deleted" transition once moveToTrash resolves.

Why the version is 1.5.0

Every release in this project has been a minor bump, including v1.4.0 — which was two fix(...) commits. Following that convention rather than introducing a patch-release pattern here.

Empty release notes

electron-builder creates the GitHub release itself and never sets a body, so v0.9.0 through v1.4.0 all published with no notes at all. The release job now fills it from the matching CHANGELOG section:

node scripts/changelog-section.js "$GITHUB_REF_NAME" > notes.md
gh release edit "$GITHUB_REF_NAME" --notes-file notes.md

A prerelease tag (v1.3.0-rc.1) has no section of its own, so a miss logs and moves on rather than failing a release that has already uploaded its artifacts. The job already exports GH_TOKEN, so no new secret is needed.

Extraction verified locally against 1.5.0, an older section (1.2.0), and a missing version (exits 1).

Not in the changelog

The preload fix, the smoke test and the module extractions since v1.4.0 are deliberately left out — none of it changed anything for someone running v1.4.0, and the preload regression never reached a release. Listing it would imply their install was broken.

🤖 Generated with Claude Code

Cuts 1.5.0 with the three user-visible changes since v1.4.0: the PDF
viewer loading on demand, the fuller icon canvas, and the trash failure
that was being recorded as a successful toss.

Also fixes why every release so far has had an empty body. electron-builder
creates the GitHub release itself and never sets one, so v0.9.0 through
v1.4.0 all published with no notes. The release job now fills it from the
matching CHANGELOG section via scripts/changelog-section.js.

A prerelease tag has no section of its own, so a miss leaves the notes
untouched instead of failing a release that has already uploaded its
artifacts.

The internal work since v1.4.0 — the preload fix, the smoke test, the
module extractions — is deliberately not in the changelog: none of it
changed anything for someone running v1.4.0, and the preload regression
never reached a release.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@killerwolf
killerwolf merged commit ca7af21 into main Sep 7, 2026
2 checks passed
@killerwolf
killerwolf deleted the release/1.5.0 branch September 7, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant