From ee6522a229f6dbf3ba6a1501c4fff6d6236479ff Mon Sep 17 00:00:00 2001 From: Sascha Haase Date: Wed, 3 Jun 2026 16:56:04 +0200 Subject: [PATCH] chore(release): 0.3.2 (changelog + build-script version bump) Ships the Restore-button enable fix (#14). Bumps build-exe.ps1 and build-msi.ps1 default version 0.3.1 -> 0.3.2. Co-Authored-By: Claude Opus 4.8 --- CHANGELOG.md | 14 ++++++++++++++ scripts/build-exe.ps1 | 4 ++-- src/ClaudePortable.Installer/build-msi.ps1 | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58e656f..f58ce8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,20 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [0.3.2] - 2026-06-03 + +### Fixed + +- **Restore button stayed disabled after selecting a snapshot.** On the Restore + tab, "Restore selected snapshot" is gated on a backup being selected, but + `SelectedBackup` raised no change notification and `AsyncRelayCommand` does not + hook `CommandManager.RequerySuggested`, so its `CanExecute` was evaluated once + (nothing selected -> disabled) and never re-queried when a row was picked - the + button was therefore permanently greyed out. `SelectedBackup` is now a notifying + property that raises `RestoreCommand` `CanExecuteChanged`, matching the existing + `SelectedTarget` fix. "Restore from file..." was unaffected and was the + workaround on 0.3.1. + ## [0.3.1] - 2026-06-01 ### Fixed diff --git a/scripts/build-exe.ps1 b/scripts/build-exe.ps1 index c42862d..65a2bc5 100644 --- a/scripts/build-exe.ps1 +++ b/scripts/build-exe.ps1 @@ -15,11 +15,11 @@ Debug or Release (default Release). .EXAMPLE - pwsh .\build-exe.ps1 -Version 0.3.1 + pwsh .\build-exe.ps1 -Version 0.3.2 #> param( - [string] $Version = "0.3.1", + [string] $Version = "0.3.2", [string] $Configuration = "Release" ) diff --git a/src/ClaudePortable.Installer/build-msi.ps1 b/src/ClaudePortable.Installer/build-msi.ps1 index d5ad902..40a27bc 100644 --- a/src/ClaudePortable.Installer/build-msi.ps1 +++ b/src/ClaudePortable.Installer/build-msi.ps1 @@ -10,7 +10,7 @@ # pwsh .\build-msi.ps1 [-Version 0.1.0] [-Configuration Release] param( - [string] $Version = "0.3.1", + [string] $Version = "0.3.2", [string] $Configuration = "Release" )