feat(config): bump schema v18 to v19
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user