diff --git a/CHANGELOG.md b/CHANGELOG.md index f5adb6b9..9d639a0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,63 +14,7 @@ because it turns other people's test suites red. ## [Unreleased] -### Added - -- **Copy command in the window.** The Single batch, Presets, Several batches - and Tools screens put on the clipboard the `tfg` command that does what the - screen would do, so a set you found in the window can go into a script or a - pipeline. It is written for PowerShell on Windows and for bash or zsh on - macOS and Linux, and it starts `tfg` the way your computer finds it. On - Several batches it saves the recipe of the screen as a file in the folder - the terminal is open in, then runs it. -- **Sample files to download on the website.** One file of every format at - exactly 1 MB, corrupt PDF, Word, Excel, PowerPoint, JPG, PNG, MP4 and ZIP - files, CSV, JSON and Excel tables for an import, and placeholder pictures in - common sizes. Each comes with its SHA-256 and what the manifest expects a - system to do with it. All of them come from one recipe published beside - them, so `tfg generate samples.yaml` makes the same bytes on any machine. -- **File upload test cases on the website.** A checklist from the size limit - to a file name that leaves its folder, each case with the file that tests it - and the outcome to expect, in every language of the site. -- **A page about the tools on the website.** Checking an archive for zip slip - and zip bombs before unpacking it, and checking or writing SHA-256 checksums. -- **Documentation on the website, in English.** Install, getting started, - every command with every flag and its default, every key of a recipe, every - field of the manifest, every setting of every format, the packages for - pytest and Node, and the desktop window screen by screen. The lists come - from the program when the site is built, so they say what the version you - download does. The documentation page in the other languages leads to them, - with a line about each page in your language. -- **Recipes to download.** Ready recipes for an image upload, a document - upload, a spreadsheet import, archives, email, video and sound, a CI smoke - test and ten thousand files, and every preset as a recipe. Each writes into a - folder of its own name, so several can run one after another. - -### Changed - -- **npm, PyPI and the container image get stable releases only.** A release - candidate stays a prerelease on GitHub, so `npm install`, `pip install` and - the image never give you one. While the code on `main` is a release - candidate, the README and the website name the last stable release in their - install commands. -- **The README says what the tool can do in full**: presets, damaged files, a - name no disk stores, the tools, and the packages for pytest and Node. -- **After a run, Open folder, Open manifest and Open instructions get a line of - their own** under Preview and Generate in the window, when they do not fit - beside them. Preview and Generate stay where they were, and the next run - starts without the form moving. - -### Fixed - -- **`tfg tool checksum-write` no longer promises to notice any change in the - folder.** Its question is now "How will I know later that none of these files - changed?". `checksum-check` checks the files the checksum file lists, so a - file added to the folder later is not noticed. -- **The examples in the README and on the documentation page each write into a - folder of their own.** Run one after another, the second used to stop at the - manifest the first had left in the same folder. - -## [0.6.0-rc1] - 2026-11-18 +## [0.6.0] - 2026-11-28 ### Breaking @@ -130,6 +74,36 @@ because it turns other people's test suites red. ### Added +- **Copy command in the window.** The Single batch, Presets, Several batches + and Tools screens put on the clipboard the `tfg` command that does what the + screen would do, so a set you found in the window can go into a script or a + pipeline. It is written for PowerShell on Windows and for bash or zsh on + macOS and Linux, and it starts `tfg` the way your computer finds it. On + Several batches it saves the recipe of the screen as a file in the folder + the terminal is open in, then runs it. +- **Sample files to download on the website.** One file of every format at + exactly 1 MB, corrupt PDF, Word, Excel, PowerPoint, JPG, PNG, MP4 and ZIP + files, CSV, JSON and Excel tables for an import, and placeholder pictures in + common sizes. Each comes with its SHA-256 and what the manifest expects a + system to do with it. All of them come from one recipe published beside + them, so `tfg generate samples.yaml` makes the same bytes on any machine. +- **File upload test cases on the website.** A checklist from the size limit + to a file name that leaves its folder, each case with the file that tests it + and the outcome to expect, in every language of the site. +- **A page about the tools on the website.** Checking an archive for zip slip + and zip bombs before unpacking it, and checking or writing SHA-256 checksums. +- **Documentation on the website, in English.** Install, getting started, + every command with every flag and its default, every key of a recipe, every + field of the manifest, every setting of every format, the packages for + pytest and Node, and the desktop window screen by screen. The lists come + from the program when the site is built, so they say what the version you + download does. The documentation page in the other languages leads to them, + with a line about each page in your language. +- **Recipes to download.** Ready recipes for an image upload, a document + upload, a spreadsheet import, archives, email, video and sound, a CI smoke + test and ten thousand files, and every preset as a recipe. Each writes into a + folder of its own name, so several can run one after another. + - **A preset of picture sizes.** `tfg generate --preset picture-sizes` writes a picture at each of 21 common sizes: HD, Full HD, QHD and 4K screens, profile pictures, and the covers, posts and thumbnails YouTube, Facebook, X, @@ -319,8 +293,19 @@ because it turns other people's test suites red. `--user "$(id -u):$(id -g)"` to write there. README also shows a step that installs `tfg` on Windows and macOS runners in GitHub Actions. +- **npm, PyPI and the Docker image get stable releases only.** A release + candidate stays a prerelease on GitHub, so `npm install`, `pip install` and + the image never give you one. + ### Changed +- **The README says what the tool can do in full**: presets, damaged files, a + name no disk stores, the tools, and the packages for pytest and Node. +- **After a run, Open folder, Open manifest and Open instructions get a line of + their own** under Preview and Generate in the window, when they do not fit + beside them. Preview and Generate stay where they were, and the next run + starts without the form moving. + - **Working out the smallest file of a picture takes half the time.** A picture with its width and height set and `smallest` as its size was compressed twice while the run worked out how small it can be, and is now @@ -444,6 +429,14 @@ because it turns other people's test suites red. ### Fixed +- **`tfg tool checksum-write` no longer promises to notice any change in the + folder.** Its question is now "How will I know later that none of these files + changed?". `checksum-check` checks the files the checksum file lists, so a + file added to the folder later is not noticed. +- **The examples in the README and on the documentation page each write into a + folder of their own.** Run one after another, the second used to stop at the + manifest the first had left in the same folder. + - **The title bar of the window is dark on Windows set to light apps.** The window is always dark, and on a Windows set to light apps its title bar was white. It is now dark there too, and stays dark when the Windows setting is @@ -3272,8 +3265,8 @@ because it turns other people's test suites red. Initial release. -[Unreleased]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.6.0-rc1...HEAD -[0.6.0-rc1]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.5.0...v0.6.0-rc1 +[Unreleased]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.6.0...HEAD +[0.6.0]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.5.0...v0.6.0 [0.5.0]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.4.0...v0.5.0 [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 diff --git a/README.md b/README.md index 76975437..97a0cc16 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ Arm. It holds the program from the release archive and nothing else, and it runs with no network: ``` -docker run --rm --network none -v "${PWD}:/work" ghcr.io/donislawdev/tfg:0.5.0 generate --format pdf --size 1mb +docker run --rm --network none -v "${PWD}:/work" ghcr.io/donislawdev/tfg:0.6.0 generate --format pdf --size 1mb ``` The files land in the current directory. On Linux add @@ -819,7 +819,7 @@ interrupted. One entry per file: ```json { "manifest_version": "1.0", - "tool": { "name": "testing-files-generator", "version": "0.6.0-rc1" }, + "tool": { "name": "testing-files-generator", "version": "0.6.0" }, "run": { "id": "run_b359aa8d94", "seed": 0, @@ -960,7 +960,7 @@ On a Linux runner the Docker image needs no install step: ```yaml - name: build the fixtures - run: docker run --rm --network none --user "$(id -u):$(id -g)" -v "$PWD:/work" ghcr.io/donislawdev/tfg:0.5.0 generate fixtures.yaml --out fixtures + run: docker run --rm --network none --user "$(id -u):$(id -g)" -v "$PWD:/work" ghcr.io/donislawdev/tfg:0.6.0 generate fixtures.yaml --out fixtures ``` Name the version rather than `latest`, so the same recipe gives the same bytes @@ -980,7 +980,7 @@ names the SPDX predicate. On macOS this needs an Apple silicon runner, such as env: GH_TOKEN: ${{ github.token }} run: | - version=0.5.0 + version=0.6.0 arch=amd64 if [ "$RUNNER_ARCH" = ARM64 ]; then arch=arm64; fi case "$RUNNER_OS" in diff --git a/cmd/tfg-gui/rsrc_windows_amd64.syso b/cmd/tfg-gui/rsrc_windows_amd64.syso index 890c87d7..f246701b 100644 Binary files a/cmd/tfg-gui/rsrc_windows_amd64.syso and b/cmd/tfg-gui/rsrc_windows_amd64.syso differ diff --git a/cmd/tfg/rsrc_windows_amd64.syso b/cmd/tfg/rsrc_windows_amd64.syso index 02f468c3..8b5d1d6b 100644 Binary files a/cmd/tfg/rsrc_windows_amd64.syso and b/cmd/tfg/rsrc_windows_amd64.syso differ diff --git a/cmd/tfg/tfg.rc b/cmd/tfg/tfg.rc index c029be65..86924918 100644 --- a/cmd/tfg/tfg.rc +++ b/cmd/tfg/tfg.rc @@ -50,12 +50,12 @@ BEGIN BEGIN VALUE "CompanyName", "DonislawDev" VALUE "FileDescription", "Generates test files for QA, from the command line" - VALUE "FileVersion", "0.6.0-rc1" + VALUE "FileVersion", "0.6.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.6.0-rc1" + VALUE "ProductVersion", "0.6.0" END END BLOCK "VarFileInfo" diff --git a/internal/guard/mutation/entries.py b/internal/guard/mutation/entries.py index c51223e7..b4799d85 100644 --- a/internal/guard/mutation/entries.py +++ b/internal/guard/mutation/entries.py @@ -538,7 +538,7 @@ ( "the version in the file properties drifts from the one the program reports", "internal/version/version.go", - 'const Version = "0.6.0-rc1"', + 'const Version = "0.6.0"', 'const Version = "0.1.0"', "TestBothBinariesCarryTheirVersionAndAuthor", ), @@ -8155,7 +8155,7 @@ ( "Unreleased is left comparing from the release before the newest one", "CHANGELOG.md", - "[Unreleased]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.6.0-rc1...HEAD", + "[Unreleased]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.6.0...HEAD", "[Unreleased]: https://github.com/donislawdev/TestingFilesGenerator/compare/v0.5.0...HEAD", "TestEveryChangelogVersionHasItsLinkDefinition", ), diff --git a/internal/guard/testdata/screens/about.png b/internal/guard/testdata/screens/about.png index dd92f4f2..cfdf10b2 100644 Binary files a/internal/guard/testdata/screens/about.png and b/internal/guard/testdata/screens/about.png differ diff --git a/internal/guard/testdata/screens/about.xml b/internal/guard/testdata/screens/about.xml index 18ecf231..f9a9a6b4 100644 --- a/internal/guard/testdata/screens/about.xml +++ b/internal/guard/testdata/screens/about.xml @@ -47,7 +47,7 @@ - Testing Files Generator 0.6.0-rc1 + Testing Files Generator 0.6.0 diff --git a/internal/gui/icon/chickpea.rc b/internal/gui/icon/chickpea.rc index 842b3aaf..41e335af 100644 --- a/internal/gui/icon/chickpea.rc +++ b/internal/gui/icon/chickpea.rc @@ -49,12 +49,12 @@ BEGIN BEGIN VALUE "CompanyName", "DonislawDev" VALUE "FileDescription", "Generates test files for QA" - VALUE "FileVersion", "0.6.0-rc1" + VALUE "FileVersion", "0.6.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.6.0-rc1" + VALUE "ProductVersion", "0.6.0" END END BLOCK "VarFileInfo" diff --git a/internal/version/version.go b/internal/version/version.go index 571f00ff..5290d49a 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -9,8 +9,8 @@ package version // // 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, to 0.3.0 on 2026-09-09, to 0.4.0 on 2026-09-25, to -// 0.5.0 on 2026-10-20 and to 0.6.0-rc1 on 2026-11-18, every one of them by -// the owner. It stopped being an internal number the day 0.1.0 was published: this +// 0.5.0 on 2026-10-20, to 0.6.0-rc1 on 2026-11-18 and to 0.6.0 on 2026-11-28, +// 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. // @@ -35,10 +35,9 @@ package version // the 26 changed. The settings of html and eml that moved bytes on the way to // this release were never in one, so they are listed under Added. // -// 0.6.0-rc1 is a release candidate, and the owner put it out without the -// release check: what it moves is said under Breaking, and the comparison of -// every format with the published 0.5.0 is the check 0.6.0 itself goes -// through. +// 0.6.0-rc1 was a release candidate, and the owner put it out without the +// release check. 0.6.0 is everything it carried and what came after it, and +// what it moves against the published 0.5.0 is said under Breaking. // // 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, @@ -50,8 +49,9 @@ package version // the workflow greps for a heading naming exactly it before it will build // 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.6.0-rc1" +// upgrading from 0.2.0 needs one list of what changed, not two. The entries +// of 0.6.0-rc1 went into the 0.6.0 section the same way. +const Version = "0.6.0" // LicenceNotice is what "tfg license" prints and what the window's about // screen shows. diff --git a/web/public/404.html b/web/public/404.html index bf7fae33..984540b5 100644 --- a/web/public/404.html +++ b/web/public/404.html @@ -59,7 +59,7 @@

That page is not here

The address you followed does not