Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ because it turns other people's test suites red.

## [Unreleased]

## [0.4.0] - 2026-09-25

### Changed

- **`tfg preset eject` writes a `purpose` line for every target, so an
Expand Down Expand Up @@ -2412,7 +2414,8 @@ because it turns other people's test suites red.

Initial release.

[Unreleased]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.3.0...HEAD
[Unreleased]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.4.0...HEAD
[0.4.0]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.2.0...v0.3.0
[0.2.0]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.1.0...v0.2.0
[0.1.0]: https://github.com/donislawdev/TestingFilesGenerator/releases/tag/v0.1.0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ interrupted. One entry per file:
```json
{
"manifest_version": "1.0",
"tool": { "name": "testing-files-generator", "version": "0.3.0" },
"tool": { "name": "testing-files-generator", "version": "0.4.0" },
"run": {
"id": "run_b359aa8d94",
"seed": 0,
Expand Down
Binary file modified cmd/tfg-gui/rsrc_windows_amd64.syso
Binary file not shown.
Binary file modified cmd/tfg/rsrc_windows_amd64.syso
Binary file not shown.
8 changes: 4 additions & 4 deletions cmd/tfg/tfg.rc
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
1 ICON "../../internal/gui/icon/chickpea.ico"

1 VERSIONINFO
FILEVERSION 0,3,0,0
PRODUCTVERSION 0,3,0,0
FILEVERSION 0,4,0,0
PRODUCTVERSION 0,4,0,0
FILEOS 0x40004L
FILETYPE 0x1L
BEGIN
Expand All @@ -50,12 +50,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "DonislawDev"
VALUE "FileDescription", "Generates test files for QA, from the command line"
VALUE "FileVersion", "0.3.0"
VALUE "FileVersion", "0.4.0"
VALUE "InternalName", "tfg"
VALUE "LegalCopyright", "Copyright (C) 2026 DonislawDev. GNU GPL version 3."
VALUE "OriginalFilename", "tfg.exe"
VALUE "ProductName", "Testing Files Generator"
VALUE "ProductVersion", "0.3.0"
VALUE "ProductVersion", "0.4.0"
END
END
BLOCK "VarFileInfo"
Expand Down
Binary file modified internal/guard/testdata/screens/about.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion internal/guard/testdata/screens/about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<container size="788x24">
<widget pos="-6,-6" size="800x36" type="*widget.Label">
<widget size="800x36" type="*widget.RichText">
<text bold pos="6,6" size="284x24" textSize="20">Testing Files Generator 0.3.0</text>
<text bold pos="6,6" size="285x24" textSize="20">Testing Files Generator 0.4.0</text>
</widget>
</widget>
</container>
Expand Down
8 changes: 4 additions & 4 deletions internal/gui/icon/chickpea.rc
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
* the fourth number of FILEVERSION is a zero rather than a build counter.
*/
1 VERSIONINFO
FILEVERSION 0,3,0,0
PRODUCTVERSION 0,3,0,0
FILEVERSION 0,4,0,0
PRODUCTVERSION 0,4,0,0
FILEOS 0x40004L
FILETYPE 0x1L
BEGIN
Expand All @@ -49,12 +49,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "DonislawDev"
VALUE "FileDescription", "Generates test files for QA"
VALUE "FileVersion", "0.3.0"
VALUE "FileVersion", "0.4.0"
VALUE "InternalName", "tfg-gui"
VALUE "LegalCopyright", "Copyright (C) 2026 DonislawDev. GNU GPL version 3."
VALUE "OriginalFilename", "tfg-gui.exe"
VALUE "ProductName", "Testing Files Generator"
VALUE "ProductVersion", "0.3.0"
VALUE "ProductVersion", "0.4.0"
END
END
BLOCK "VarFileInfo"
Expand Down
23 changes: 14 additions & 9 deletions internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,23 @@ package version
// explain a hash mismatch after an upgrade.
//
// Set to 0.1.0 by the owner on 2026-08-02, raised to 0.2.0 on 2026-08-28, to
// 0.3.0-rc1 on 2026-09-03 and to 0.3.0 on 2026-09-09, every one of them by the
// owner. It stopped being an internal number the day 0.1.0 was published: this
// 0.3.0-rc1 on 2026-09-03, to 0.3.0 on 2026-09-09 and to 0.4.0 on 2026-09-25,
// every one of them by the owner. It stopped being an internal number the day 0.1.0 was published: this
// is what somebody compares their build against when a hash they stored months
// ago does not match.
//
// 0.2.0 was a minor bump that moved no bytes. This one moves them, and before
// 0.2.0 was a minor bump that moved no bytes. 0.3.0 moved them, and before
// 1.0 the minor is where that goes - D11 and immutable rule 3 ask for a bump,
// not for a particular digit. Six formats have different bytes under Go 1.27,
// a log advances through time, a GIF moves, a CSV quotes only the fields that
// need it, and the padding of a ZIP, a TAR.GZ and a WAV is drawn eight bytes
// at a time instead of one. The changelog lists each one and says whether
// there is a way back to the old bytes.
// not for a particular digit. Six formats had different bytes under Go 1.27,
// a log advanced through time, a GIF moved, a CSV quoted only the fields that
// needed it, and the padding of a ZIP, a TAR.GZ and a WAV was drawn eight
// bytes at a time instead of one. The changelog lists each one and says
// whether there is a way back to the old bytes.
//
// 0.4.0 moves no generated byte - the pre-release rehearsal compared every
// format 0.3.0 had with 0.3.0 and found none changed. What does move is the
// recipe_hash of a run from a preset, because a preset now gives every target
// a purpose, and the changelog says so under Changed.
//
// The absence of a suffix is a decision rather than tidying up. The release
// workflow marks a release as a prerelease when the TAG NAME carries a hyphen,
Expand All @@ -32,7 +37,7 @@ package version
// anything. The entries that shipped as 0.3.0-rc1 were folded into the 0.3.0
// section on 2026-09-09 for the same reason the version has one place: someone
// upgrading from 0.2.0 needs one list of what changed, not two.
const Version = "0.3.0"
const Version = "0.4.0"

// LicenceNotice is what "tfg license" prints and what the window's about
// screen shows.
Expand Down
2 changes: 1 addition & 1 deletion web/public/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h1>That page is not here</h1><p class="lead">The address you followed does not
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.3.0</p>
<p class="footer-brand">Testing Files Generator 0.4.0</p>
<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>
</div>
<div class="footer-col">
Expand Down
2 changes: 1 addition & 1 deletion web/public/create-file-exact-size/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ <h2>So which should you use?</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.3.0</p>
<p class="footer-brand">Testing Files Generator 0.4.0</p>
<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>
</div>
<div class="footer-col">
Expand Down
4 changes: 2 additions & 2 deletions web/public/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ <h2>What is in the manifest?</h2>
</p>
<pre><code>{
"manifest_version": "1.0",
"tool": { "name": "testing-files-generator", "version": "0.3.0" },
"tool": { "name": "testing-files-generator", "version": "0.4.0" },
"run": {
"id": "run_b359aa8d94",
"seed": 0,
Expand Down Expand Up @@ -439,7 +439,7 @@ <h2>Is there a desktop window?</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.3.0</p>
<p class="footer-brand">Testing Files Generator 0.4.0</p>
<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>
</div>
<div class="footer-col">
Expand Down
2 changes: 1 addition & 1 deletion web/public/faq/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ <h2>Still deciding?</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.3.0</p>
<p class="footer-brand">Testing Files Generator 0.4.0</p>
<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>
</div>
<div class="footer-col">
Expand Down
2 changes: 1 addition & 1 deletion web/public/formats/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ <h2>Archives hold real files</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.3.0</p>
<p class="footer-brand">Testing Files Generator 0.4.0</p>
<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>
</div>
<div class="footer-col">
Expand Down
4 changes: 2 additions & 2 deletions web/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"applicationCategory": "DeveloperApplication",
"applicationSubCategory": "Software Testing",
"operatingSystem": "Windows, macOS, Linux",
"softwareVersion": "0.3.0",
"softwareVersion": "0.4.0",
"downloadUrl": "https:\/\/github.com\/donislawdev\/TestingFilesGenerator\/releases",
"installUrl": "https:\/\/github.com\/donislawdev\/TestingFilesGenerator\/releases",
"softwareHelp": "https:\/\/github.com\/donislawdev\/TestingFilesGenerator",
Expand Down Expand Up @@ -308,7 +308,7 @@ <h2>Pick the build for your system</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.3.0</p>
<p class="footer-brand">Testing Files Generator 0.4.0</p>
<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>
</div>
<div class="footer-col">
Expand Down
4 changes: 2 additions & 2 deletions web/public/pl/dokumentacja/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ <h2>Co zawiera manifest?</h2>
</p>
<pre><code>{
"manifest_version": "1.0",
"tool": { "name": "testing-files-generator", "version": "0.3.0" },
"tool": { "name": "testing-files-generator", "version": "0.4.0" },
"run": {
"id": "run_b359aa8d94",
"seed": 0,
Expand Down Expand Up @@ -440,7 +440,7 @@ <h2>Czy jest okno?</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.3.0</p>
<p class="footer-brand">Testing Files Generator 0.4.0</p>
<p class="muted">Pliki testowe dla QA o dok艂adnie zadanym rozmiarze, z manifestem m贸wi膮cym, jak Tw贸j system ma na ka偶dy z nich zareagowa膰.</p>
</div>
<div class="footer-col">
Expand Down
2 changes: 1 addition & 1 deletion web/public/pl/faq/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ <h2>Wci膮偶 si臋 zastanawiasz?</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.3.0</p>
<p class="footer-brand">Testing Files Generator 0.4.0</p>
<p class="muted">Pliki testowe dla QA o dok艂adnie zadanym rozmiarze, z manifestem m贸wi膮cym, jak Tw贸j system ma na ka偶dy z nich zareagowa膰.</p>
</div>
<div class="footer-col">
Expand Down
2 changes: 1 addition & 1 deletion web/public/pl/formaty/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ <h2>Archiwa zawieraj膮 prawdziwe pliki</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.3.0</p>
<p class="footer-brand">Testing Files Generator 0.4.0</p>
<p class="muted">Pliki testowe dla QA o dok艂adnie zadanym rozmiarze, z manifestem m贸wi膮cym, jak Tw贸j system ma na ka偶dy z nich zareagowa膰.</p>
</div>
<div class="footer-col">
Expand Down
4 changes: 2 additions & 2 deletions web/public/pl/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"applicationCategory": "DeveloperApplication",
"applicationSubCategory": "Software Testing",
"operatingSystem": "Windows, macOS, Linux",
"softwareVersion": "0.3.0",
"softwareVersion": "0.4.0",
"downloadUrl": "https:\/\/github.com\/donislawdev\/TestingFilesGenerator\/releases",
"installUrl": "https:\/\/github.com\/donislawdev\/TestingFilesGenerator\/releases",
"softwareHelp": "https:\/\/github.com\/donislawdev\/TestingFilesGenerator",
Expand Down Expand Up @@ -308,7 +308,7 @@ <h2>Wybierz wersj臋 dla swojego systemu</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.3.0</p>
<p class="footer-brand">Testing Files Generator 0.4.0</p>
<p class="muted">Pliki testowe dla QA o dok艂adnie zadanym rozmiarze, z manifestem m贸wi膮cym, jak Tw贸j system ma na ka偶dy z nich zareagowa膰.</p>
</div>
<div class="footer-col">
Expand Down
2 changes: 1 addition & 1 deletion web/public/pl/plik-o-zadanym-rozmiarze/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ <h2>Czego wi臋c u偶y膰?</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.3.0</p>
<p class="footer-brand">Testing Files Generator 0.4.0</p>
<p class="muted">Pliki testowe dla QA o dok艂adnie zadanym rozmiarze, z manifestem m贸wi膮cym, jak Tw贸j system ma na ka偶dy z nich zareagowa膰.</p>
</div>
<div class="footer-col">
Expand Down
2 changes: 1 addition & 1 deletion web/public/pl/zastosowania/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ <h2>Dla kogo to jest</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.3.0</p>
<p class="footer-brand">Testing Files Generator 0.4.0</p>
<p class="muted">Pliki testowe dla QA o dok艂adnie zadanym rozmiarze, z manifestem m贸wi膮cym, jak Tw贸j system ma na ka偶dy z nich zareagowa膰.</p>
</div>
<div class="footer-col">
Expand Down
2 changes: 1 addition & 1 deletion web/public/use-cases/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ <h2>Who this is for</h2>
<footer class="footer">
<div class="wrap footer-inner">
<div class="footer-col">
<p class="footer-brand">Testing Files Generator 0.3.0</p>
<p class="footer-brand">Testing Files Generator 0.4.0</p>
<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>
</div>
<div class="footer-col">
Expand Down
Loading