From c8a4d31441ecb474d8b274bd22c8992025fe22ae Mon Sep 17 00:00:00 2001 From: Mikhail Yenuchenko Date: Wed, 5 Aug 2026 23:26:39 +0300 Subject: [PATCH] release: 1.0.2, tray runtime wiring and Windows notification polish Move post-1.0.1 changes into a 1.0.2 changelog section and restore 1.0.1 to the shipped release notes. Co-authored-by: Cursor --- docs/CHANGELOG.md | 48 +++++++++++++++++++++++++--------------------- src/app/version.go | 2 +- 2 files changed, 27 insertions(+), 23 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 7b775be..4db557b 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,29 +2,10 @@ All notable GoSentry changes are recorded in this file. -## 1.0.1 - 2026-08-04 +## 1.0.2 - 2026-08-05 -**Windows failure notifications can show the app icon (experimental).** - -- **`ui.run`** — after `NewWindow`, register `AppMetadata.Icon` on Windows so - Fyne toasts pick up artwork without calling `SetIcon`, which would override - the PE multi-size window/taskbar icon. -- **`ui.notify_timing`** — append app-side failure-notification timing to - `logs/notify-timing.log` for diagnosing toast delay (OS latency excluded). - -**Sample jobs include a disabled failure test for desktop notifications.** - -- **`storage.defaultJobs`** — new disabled example *Failure notification test* - (folder Examples). Run it manually to trigger a failed run and verify - Settings → Notifications without waiting on the scheduler. - -**Platform layer rationale is documented in ARCHITECTURE.md.** - -- **`docs/ARCHITECTURE.md`** — new §Platform layer: why autostart, file manager, - shell, and winproc are OS-specific; compile-time vs runtime branching; rules - for adding platform code. - -**KeepRunningInTray is wired to runtime; autostart respects the tray setting.** +**KeepRunningInTray is wired to runtime; Windows failure notifications can show +the app icon (experimental).** **Application:** @@ -37,6 +18,29 @@ All notable GoSentry changes are recorded in this file. remove the icon mid-session). - A stale autostart shortcut that still passes `--start-in-tray` no longer hides the window when the tray setting is off — saved config wins over the CLI flag. +- On Windows, failure toasts can show the app icon: after `NewWindow`, + `AppMetadata.Icon` is registered so Fyne picks up artwork without calling + `SetIcon`, which would override the PE multi-size window/taskbar icon. + +**Jobs:** + +- New disabled example *Failure notification test* (folder Examples). Run it + manually to trigger a failed run and verify Settings → Notifications without + waiting on the scheduler. + +**Documentation:** + +- **`docs/ARCHITECTURE.md`** — new §Platform layer: why autostart, file manager, + shell, and winproc are OS-specific; compile-time vs runtime branching; rules + for adding platform code. + +**Internal:** + +- App-side failure-notification timing is appended to `logs/notify-timing.log` + for diagnosing toast delay (OS latency excluded). `scripts/measure-windows-toast.ps1` + measures the PowerShell baseline on Windows. + +## 1.0.1 - 2026-08-04 **The branded theme is the default, Fyne's built-in theme is System, and the test suite is leaner.** diff --git a/src/app/version.go b/src/app/version.go index c028b08..6d856d5 100644 --- a/src/app/version.go +++ b/src/app/version.go @@ -3,4 +3,4 @@ package app // 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 // can override it with Go ldflags when CI tags a build. -var Version = "1.0.1" +var Version = "1.0.2"