From 2e81c42e3bb91867641af74b30b8d71c2b8e7a4d Mon Sep 17 00:00:00 2001 From: Jon Kazama Date: Thu, 21 May 2026 09:20:21 +0200 Subject: [PATCH] feat(config): bump schema v17 to v18 --- HellionChat/Configuration.cs | 2 +- HellionChat/Plugin.cs | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/HellionChat/Configuration.cs b/HellionChat/Configuration.cs index e93adaa..3200a5b 100755 --- a/HellionChat/Configuration.cs +++ b/HellionChat/Configuration.cs @@ -34,7 +34,7 @@ public class ConfigKeyBind [Serializable] public class Configuration : IPluginConfiguration { - private const int LatestVersion = 17; + private const int LatestVersion = 18; public int Version { get; set; } = LatestVersion; diff --git a/HellionChat/Plugin.cs b/HellionChat/Plugin.cs index fa37ccf..dd9a8dd 100755 --- a/HellionChat/Plugin.cs +++ b/HellionChat/Plugin.cs @@ -198,10 +198,12 @@ public sealed class Plugin : IAsyncDalamudPlugin // point (MigrateFromChatTwoLayout, LanguageChanged, ImGuiUtil.Initialize) // do not touch either static, so the brief null-window is safe. - // Schema gate: v1.4.x requires config v16+. Users on older schemas - // must install v1.4.2 first to run the migration chain. v17 adds - // Tab.IsPinned (additive, no data migration needed) so v16 configs - // load cleanly and get their Version stamp bumped after the gate. + // Schema gate: v1.4.x+ requires config v16+. Users on older schemas + // must install v1.4.2 first to run the migration chain. v18 adds the + // per-tab EnableNotificationSound + NotificationSoundId fields (UI-3) + // and the top-level NotifyFailedTell flag (UI-2) — all additive with + // defaults, so v16/v17 configs load cleanly and get their Version + // stamp bumped after the gate. if (Config.Version < 16) { throw new InvalidOperationException( @@ -209,7 +211,7 @@ public sealed class Plugin : IAsyncDalamudPlugin + "Please install v1.4.2 first to migrate the configuration, then upgrade to v1.4.10." ); } - Config.Version = 17; + Config.Version = 18; // Unpinned TempTabs are session-only and dropped on every load. Pinned // TempTabs survive reload — Jin's tester feedback (v1.4.7).