Skip to content

Commit 2f2371e

Browse files
donislawdevclaude
andauthored
release: close the changelog for 0.2.0 and raise the version (#17)
* release: the changelog closes for 0.2.0 and everything that says a version agrees The owner raised the version on 2026-08-28 and asked for the changelog to be put in order first, because the unreleased section had grown its four kinds in the order they happened to be written: Breaking, Fixed, Added, Changed. Breaking, Added, Changed, Fixed now, and closed into a dated 0.2.0 section with nothing left under Unreleased. That is not tidying: the release workflow refuses to build when a version has no section, and refuses again when anything is left under Unreleased, because those are changes that would go out undescribed. A minor bump rather than a major one, and here that is a claim about other people's CI. What changed under Breaking is which names and sizes this tool agrees to produce - a name Windows cannot store, two names a Mac keeps as one file, a bare nul - not what it writes once it agrees. The machine answer is internal/guard/testdata/generator-golden.json, which git says is byte for byte the file v0.1.0 shipped with. A version lives in five places and four of them are copies, so all four moved together. internal/version is the one the owner sets. The two Windows resource scripts carry it because a .rc cannot ask a Go constant, and their compiled .syso files are committed because the toolchain links any it finds and runs no generator - so both were rebuilt with windres, and the guard that reads the version back out of the compiled resource is what would have caught it if only the scripts had been edited. The site renders it from internal/version, so web/public was regenerated: the diff is 29 lines and not one of them is anything other than a version number. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * guard: the About screen's stored picture says 0.2.0 as well The version is on that screen, so raising it made the stored tree and the stored picture stale. Three CI jobs went red on one cause - the suite on ubuntu and on windows, and the coverage gate, which runs the same suite. macOS passed, because the screen guard is skipped there. The diff is one line: "Testing Files Generator 0.1.0" becomes 0.2.0, in about.xml, and about.png with it. Nothing else in any of the twenty five screens moved. Missed here because the version was checked against the places that carry it as a NUMBER - internal/version, both resource scripts, the site - and the About screen carries it as a sentence a person reads. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent a1c712d commit 2f2371e

21 files changed

Lines changed: 260 additions & 252 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 211 additions & 208 deletions
Large diffs are not rendered by default.
0 Bytes
Binary file not shown.

‎cmd/tfg/rsrc_windows_amd64.syso‎

0 Bytes
Binary file not shown.

‎cmd/tfg/tfg.rc‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
1 ICON "../../internal/gui/icon/chickpea.ico"
4040

4141
1 VERSIONINFO
42-
FILEVERSION 0,1,0,0
43-
PRODUCTVERSION 0,1,0,0
42+
FILEVERSION 0,2,0,0
43+
PRODUCTVERSION 0,2,0,0
4444
FILEOS 0x40004L
4545
FILETYPE 0x1L
4646
BEGIN
@@ -50,12 +50,12 @@ BEGIN
5050
BEGIN
5151
VALUE "CompanyName", "DonislawDev"
5252
VALUE "FileDescription", "Generates test files for QA, from the command line"
53-
VALUE "FileVersion", "0.1.0"
53+
VALUE "FileVersion", "0.2.0"
5454
VALUE "InternalName", "tfg"
5555
VALUE "LegalCopyright", "Copyright (C) 2026 DonislawDev. GNU GPL version 3."
5656
VALUE "OriginalFilename", "tfg.exe"
5757
VALUE "ProductName", "Testing Files Generator"
58-
VALUE "ProductVersion", "0.1.0"
58+
VALUE "ProductVersion", "0.2.0"
5959
END
6060
END
6161
BLOCK "VarFileInfo"
183 Bytes
Loading

‎internal/guard/testdata/screens/about.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<container size="820x39">
3131
<widget pos="6,0" size="808x39" type="*widget.Label">
3232
<widget size="808x39" type="*widget.RichText">
33-
<text bold pos="6,6" size="280x27" textSize="20">Testing Files Generator 0.1.0</text>
33+
<text bold pos="6,6" size="280x27" textSize="20">Testing Files Generator 0.2.0</text>
3434
</widget>
3535
</widget>
3636
</container>

‎internal/gui/icon/chickpea.rc‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
* the fourth number of FILEVERSION is a zero rather than a build counter.
3939
*/
4040
1 VERSIONINFO
41-
FILEVERSION 0,1,0,0
42-
PRODUCTVERSION 0,1,0,0
41+
FILEVERSION 0,2,0,0
42+
PRODUCTVERSION 0,2,0,0
4343
FILEOS 0x40004L
4444
FILETYPE 0x1L
4545
BEGIN
@@ -49,12 +49,12 @@ BEGIN
4949
BEGIN
5050
VALUE "CompanyName", "DonislawDev"
5151
VALUE "FileDescription", "Generates test files for QA"
52-
VALUE "FileVersion", "0.1.0"
52+
VALUE "FileVersion", "0.2.0"
5353
VALUE "InternalName", "tfg-gui"
5454
VALUE "LegalCopyright", "Copyright (C) 2026 DonislawDev. GNU GPL version 3."
5555
VALUE "OriginalFilename", "tfg-gui.exe"
5656
VALUE "ProductName", "Testing Files Generator"
57-
VALUE "ProductVersion", "0.1.0"
57+
VALUE "ProductVersion", "0.2.0"
5858
END
5959
END
6060
BLOCK "VarFileInfo"

‎internal/version/version.go‎

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@ package version
77
// Version is written into every manifest. A manifest without it cannot
88
// explain a hash mismatch after an upgrade.
99
//
10-
// Set to 0.1.0 by the owner on 2026-08-02. It is an internal number: nothing
11-
// has been released, the repository is private, and both changelogs keep
12-
// everything under [Unreleased] because there is no release to point at. What
13-
// it buys today is that a manifest found later says which line of the tool
14-
// produced it, which "0.0.0-dev" could not.
15-
const Version = "0.1.0"
10+
// Set to 0.1.0 by the owner on 2026-08-02 and raised to 0.2.0 by the owner on
11+
// 2026-08-28. It stopped being an internal number the day 0.1.0 was published:
12+
// this is what somebody compares their build against when a hash they stored
13+
// months ago does not match.
14+
//
15+
// A minor bump rather than a major one, and here that is a claim about other
16+
// people's CI rather than a habit - D11 and immutable rule 3. What changed
17+
// under Breaking is which names and sizes this tool AGREES to produce, not what
18+
// it writes once it agrees. The machine answer to that is the golden hashes in
19+
// internal/guard/testdata, which are byte for byte the ones 0.1.0 shipped with.
20+
const Version = "0.2.0"
1621

1722
// LicenceNotice is what "tfg license" prints and what the window's about
1823
// screen shows.

‎web/public/404.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h1>That page is not here</h1><p class="lead">The address you followed does not
5656
<footer class="footer">
5757
<div class="wrap footer-inner">
5858
<div class="footer-col">
59-
<p class="footer-brand">Testing Files Generator 0.1.0</p>
59+
<p class="footer-brand">Testing Files Generator 0.2.0</p>
6060
<p class="muted">Test files for QA, at any exact size, with a manifest that states how your system should react to each one.</p>
6161
</div>
6262
<div class="footer-col">

‎web/public/create-file-exact-size/index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ <h2>A real file of that format, at exactly the size you asked for</h2>
193193
through that and four other jobs it is built for.
194194
</p>
195195
<div class="cta">
196-
<a class="button primary" href="https://github.com/donislawdev/TestingFilesGenerator/releases/latest">Download 0.1.0</a>
196+
<a class="button primary" href="https://github.com/donislawdev/TestingFilesGenerator/releases/latest">Download 0.2.0</a>
197197
<a class="button ghost" href="https://github.com/donislawdev/TestingFilesGenerator">View the source</a>
198198
</div>
199199
<p class="cta-note">Free and open source, GPL-3.0. Nothing to sign up for. The binaries are not signed yet, so your system will warn you the first time - the release notes say what to expect.</p>
@@ -228,7 +228,7 @@ <h2>So which should you use?</h2>
228228
<footer class="footer">
229229
<div class="wrap footer-inner">
230230
<div class="footer-col">
231-
<p class="footer-brand">Testing Files Generator 0.1.0</p>
231+
<p class="footer-brand">Testing Files Generator 0.2.0</p>
232232
<p class="muted">Test files for QA, at any exact size, with a manifest that states how your system should react to each one.</p>
233233
</div>
234234
<div class="footer-col">

0 commit comments

Comments
 (0)