Bump version to 0.5.0; update changelog
Phase 1 complete: JSON storage + exit-code removal (P1.1-P1.6). Settings and jobs now persist as gosentry.json / jobs.json with one-time YAML import for existing installs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,21 @@
|
|||||||
|
|
||||||
All notable GoSentry changes are recorded in this file.
|
All notable GoSentry changes are recorded in this file.
|
||||||
|
|
||||||
|
## 0.5.0 - 2026-06-22
|
||||||
|
|
||||||
|
**Storage migrated from YAML to JSON; exit-code flexibility removed.**
|
||||||
|
|
||||||
|
- Settings and jobs are now stored as `gosentry.json` and `jobs.json` (2-space indented JSON).
|
||||||
|
On first run after upgrading, existing `gosentry.yaml` / `jobs.yaml` files are imported
|
||||||
|
automatically and the JSON files are written; the YAML files are not deleted and can be
|
||||||
|
removed manually.
|
||||||
|
- Removed `SuccessExitCodes` field from jobs. Exit-code handling is now fixed: exit code 0 is
|
||||||
|
success, any nonzero exit code is failure. Jobs that relied on nonzero success codes will now
|
||||||
|
show "Failed"; update those jobs to use `StartOnly` mode if the exit code is irrelevant.
|
||||||
|
- Deleted `runner/exitcodes.go`; simplified `runStateDetail` accordingly.
|
||||||
|
- Tests updated: JSON round-trip tests, YAML-import tests for both config and jobs,
|
||||||
|
exit-code flexibility tests removed.
|
||||||
|
|
||||||
## 0.4.0 - 2026-06-22
|
## 0.4.0 - 2026-06-22
|
||||||
|
|
||||||
**Architectural milestone: completed refactoring and reached target architecture.**
|
**Architectural milestone: completed refactoring and reached target architecture.**
|
||||||
|
|||||||
+1
-1
@@ -3,4 +3,4 @@ package app
|
|||||||
// Version is the application version shown in the GUI and used by build
|
// Version is the application version shown in the GUI and used by build
|
||||||
// scripts in artifact names. It is a var rather than a const so release builds
|
// scripts in artifact names. It is a var rather than a const so release builds
|
||||||
// can override it with Go ldflags when CI tags a build.
|
// can override it with Go ldflags when CI tags a build.
|
||||||
var Version = "0.4.0"
|
var Version = "0.5.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user