From c7a63a2fa0200fe4845cce9c516c4cf7cb90170d Mon Sep 17 00:00:00 2001 From: Scott Lerch Date: Tue, 14 Jul 2026 15:02:59 -0700 Subject: [PATCH] =?UTF-8?q?Release:=20classic=201.5.2=20/=20modern=201.2.2?= =?UTF-8?q?=20=E2=80=94=20patch=20(large-list=20clip=20fix=20+=20hostname?= =?UTF-8?q?=20validation)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch release following v1.5.1 / v1.2.1. - modern (#79): list rows no longer bleed over the status bar on very large hosts files (WinUI raster clip-escape bug) — adopted the CornerRadius clip workaround and removed the status-bar backplate. - both (#131): an invalid host name now shows an "Invalid host names" validation message instead of a blank one (the InvalidHostnames resource was missing from Core's Resources.resx). Bump Version to 1.5.2.0 (classic) / 1.2.2.0 (modern); refresh the Readme Download section (v1.5.2 links + what's-new) and the publish-store.ps1 What's-new copy. Co-Authored-By: Claude Opus 4.8 --- .../HostsFileEditor.WinForm.csproj | 2 +- .../HostsFileEditor.WinUI.csproj | 2 +- Readme.md | 8 +++++--- publish-store.ps1 | 15 +++++---------- 4 files changed, 12 insertions(+), 15 deletions(-) diff --git a/HostsFileEditor.WinForm/HostsFileEditor.WinForm.csproj b/HostsFileEditor.WinForm/HostsFileEditor.WinForm.csproj index 0555c1a..e855bff 100644 --- a/HostsFileEditor.WinForm/HostsFileEditor.WinForm.csproj +++ b/HostsFileEditor.WinForm/HostsFileEditor.WinForm.csproj @@ -22,7 +22,7 @@ - 1.5.1.0 + 1.5.2.0 Release diff --git a/HostsFileEditor.WinUI/HostsFileEditor.WinUI.csproj b/HostsFileEditor.WinUI/HostsFileEditor.WinUI.csproj index c40486a..3f4952d 100644 --- a/HostsFileEditor.WinUI/HostsFileEditor.WinUI.csproj +++ b/HostsFileEditor.WinUI/HostsFileEditor.WinUI.csproj @@ -7,7 +7,7 @@ - 1.2.1.0 + 1.2.2.0 app.manifest x64 x64;arm64 diff --git a/Readme.md b/Readme.md index bb129ac..b784c71 100644 --- a/Readme.md +++ b/Readme.md @@ -119,12 +119,14 @@ Installs and updates automatically, with no separate download: * [Hosts File Editor (modern)](https://apps.microsoft.com/detail/9NBQWCDXGF9R) — the new WinUI edition * [Hosts File Editor (classic)](https://apps.microsoft.com/detail/9NF73PSPK332) — the classic WinForms edition -### Portable — v1.5.1 +### Portable — v1.5.2 The **classic edition** rebuilt on .NET 10: fully self-contained (no runtime to install), runs as a standard user, and elevates on demand (a single UAC prompt) only when you save changes to the hosts file. Binaries are signed. Download directly from [GitHub Releases](https://github.com/scottlerch/HostsFileEditor/releases): - * [Download v1.5.1 portable — x64](https://github.com/scottlerch/HostsFileEditor/releases/download/v1.5.1/HostsFileEditor-1.5.1-x64.zip) - * [Download v1.5.1 portable — ARM64](https://github.com/scottlerch/HostsFileEditor/releases/download/v1.5.1/HostsFileEditor-1.5.1-arm64.zip) + * [Download v1.5.2 portable — x64](https://github.com/scottlerch/HostsFileEditor/releases/download/v1.5.2/HostsFileEditor-1.5.2-x64.zip) + * [Download v1.5.2 portable — ARM64](https://github.com/scottlerch/HostsFileEditor/releases/download/v1.5.2/HostsFileEditor-1.5.2-arm64.zip) + +_What's new in v1.5.2 (classic) / v1.2.2 (modern):_ a small **quality patch**. The modern edition no longer lets list rows **bleed over the status bar** on very large hosts files (100K+ entries) — a WinUI rendering bug that spilled the bottom rows past the list is now held off at the source, so the status bar stays clean at any list size. Both editions now show a clear **"Invalid host names"** validation message for a bad host name instead of a blank one. See the [full release notes](https://github.com/scottlerch/HostsFileEditor/releases/tag/v1.5.2). _What's new in v1.5.1 (classic) / v1.2.1 (modern):_ a **quality & robustness patch** following the v1.5.0 / v1.2.0 feature release. The command line no longer risks **losing a saved (disabled) hosts configuration** on a repeated `disable`, and reports **ambiguous preset names** instead of guessing. The classic edition now **carries your settings forward across updates** (window size, auto-ping, the global shortcut) instead of resetting them, keeps the tray icon and toggle in sync after a command-line change, and its taskbar Jump List survives Store updates. The modern edition fixes a rare **crash** when a background merge/import overlapped a ping, and a Jump List preset clicked during a reload now opens. Plus smaller polish: paste-while-sorted appends predictably, merges don't ping discarded duplicates, and clearer messages. See the [full release notes](https://github.com/scottlerch/HostsFileEditor/releases/tag/v1.5.1). diff --git a/publish-store.ps1 b/publish-store.ps1 index 59fad84..c772978 100644 --- a/publish-store.ps1 +++ b/publish-store.ps1 @@ -65,18 +65,13 @@ $storeDir = Join-Path $PSScriptRoot 'artifacts\store' # ---- Per-release "What's new" copy (edit each release) ---- $notes = @{ classic = @' -Quality and reliability update (v1.5.1): -- The command line no longer risks losing a saved (disabled) hosts configuration on a repeated disable, and reports ambiguous preset names instead of guessing. -- Your settings (window size, auto-ping, the global shortcut) now carry forward across updates instead of resetting. -- The tray icon and Disable toggle stay in sync after a command-line change, and the taskbar Jump List keeps working after updates. -- Smaller polish: merges no longer ping skipped duplicates, and clearer messages. +Quality update (v1.5.2): +- An invalid host name now shows a clear "Invalid host names" validation message instead of a blank one. '@ modern = @' -Quality and reliability update (v1.2.1): -- Fixed a rare crash when a background merge/import overlapped a ping. -- A taskbar Jump List preset clicked while the app is reloading now opens correctly. -- The command line no longer risks losing a saved (disabled) hosts configuration on a repeated disable, and reports ambiguous preset names instead of guessing. -- Pasting while a sort is active now appends predictably; ping status stays accurate after editing an address. +Quality update (v1.2.2): +- List rows no longer bleed over the status bar on very large hosts files (100K+ entries) - the bottom rows stay clipped inside the list at any size. +- An invalid host name now shows a clear "Invalid host names" validation message instead of a blank one. '@ }