feat(config): bump schema v18 to v19

This commit is contained in:
2026-05-22 14:03:36 +02:00
parent 5771573a94
commit ba30b1e742
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ public class ConfigKeyBind
[Serializable]
public class Configuration : IPluginConfiguration
{
private const int LatestVersion = 18;
private const int LatestVersion = 19;
public int Version { get; set; } = LatestVersion;
+6 -6
View File
@@ -200,11 +200,11 @@ public sealed class Plugin : IAsyncDalamudPlugin
// 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. v18 adds the
// per-tab EnableNotificationSound + NotificationSoundId fields and the
// top-level NotifyFailedTell flag, all additive with defaults, so
// v16/v17 configs load cleanly and get their Version stamp bumped
// after the gate.
// must install v1.4.2 first to run the migration chain. v19 adds the
// per-tab MessageRegex field (UI-8) and the top-level CustomSoundVolume,
// WindowOpacityInactive, WorldSuffixMode and NameFormMode fields — all
// additive with defaults, so v16-v18 configs load cleanly and get their
// Version stamp bumped after the gate.
if (Config.Version < 16)
{
throw new InvalidOperationException(
@@ -212,7 +212,7 @@ public sealed class Plugin : IAsyncDalamudPlugin
+ "Please install v1.4.2 first to migrate the configuration, then upgrade to v1.4.10."
);
}
Config.Version = 18;
Config.Version = 19;
// Unpinned TempTabs are session-only and dropped on every load. Pinned
// TempTabs survive reload — Jin's tester feedback (v1.4.7).