Repository navigation
v1.4.3
This release adds a Changelog page to the Settings window, with the release notes of every version, and a changelog file to the repository.
The Changelog page
The navigation of the Settings window ends with a Changelog entry, pinned at the foot of the list whatever the height of the window, with the version of the build, such as 1.4.3, at the end of its row. The page lists the release notes of every version, newest first, each with its date. The installed version is marked and open. For the older ones the page shows the text that introduces the release, and a button opens its titled sections. A button at the top opens the releases page on GitHub.
The notes are the ones published on GitHub, without their screenshots, and they are written in English whatever the language of the interface. The page is loaded when it is opened, so it adds nothing to the start of the application, and the address ?settings=changelog opens it. The embedded widget does not offer it. The version is the one in package.json, read when the application is built, so it is the same in every deployment of a build.
A changelog file
CHANGELOG.md at the root of the repository gathers the same release notes, newest first, with a link and a date for each. It is for the readers who do not have the GitHub releases at hand, such as a clone, a fork or the internal Git server of a company.
The file is written by scripts/changelog.mjs from the published releases, so it is the same text as the releases page and is never edited by hand. The script needs the GitHub CLI signed in to the repository. Before a release is published it takes the notes of the version to come from a file, so that the changelog that ships with a release already lists it. The page reads the file through data/changelog.json, which the same script writes from CHANGELOG.md before npm run dev, npm run build and npm run check, with no network, and which Git does not keep.
Nothing has to change when upgrading from 1.4.2: config.json, local overrides and stored settings are read as before.
Documentation
The features guide describes the Changelog page and the address that opens it. The README lists the changelog among the guides and the script in the structure of the repository.