From 4b7ba6cb3fc4794975bcab24df7a835be91e38b8 Mon Sep 17 00:00:00 2001 From: jubnl Date: Fri, 17 Apr 2026 20:04:54 +0200 Subject: [PATCH] feat(system-notices): apply version gates to v3 upgrade notices --- server/src/systemNotices/registry.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/server/src/systemNotices/registry.ts b/server/src/systemNotices/registry.ts index ccf4f6c3..19f056ce 100644 --- a/server/src/systemNotices/registry.ts +++ b/server/src/systemNotices/registry.ts @@ -27,6 +27,8 @@ export const SYSTEM_NOTICES: SystemNotice[] = [ conditions: [{ kind: 'existingUserBeforeVersion', version: '3.0.0' }], publishedAt: '2026-04-16T00:00:00Z', priority: 90, + minVersion: '3.0.0', + maxVersion: '4.0.0', }, { @@ -55,6 +57,8 @@ export const SYSTEM_NOTICES: SystemNotice[] = [ ], publishedAt: '2026-04-16T00:00:00Z', priority: 80, + minVersion: '3.0.0', + maxVersion: '4.0.0', }, { @@ -78,6 +82,8 @@ export const SYSTEM_NOTICES: SystemNotice[] = [ ], publishedAt: '2026-04-16T00:00:00Z', priority: 75, + minVersion: '3.0.0', + maxVersion: '4.0.0', }, { @@ -98,6 +104,8 @@ export const SYSTEM_NOTICES: SystemNotice[] = [ conditions: [{ kind: 'existingUserBeforeVersion', version: '3.0.0' }], publishedAt: '2026-04-16T00:00:00Z', priority: 70, + minVersion: '3.0.0', + maxVersion: '4.0.0', }, { @@ -112,6 +120,8 @@ export const SYSTEM_NOTICES: SystemNotice[] = [ conditions: [{ kind: 'existingUserBeforeVersion', version: '3.0.0' }], publishedAt: '2026-04-16T00:00:00Z', priority: 95, + minVersion: '3.0.0', + maxVersion: '4.0.0', }, // ── Onboarding ─────────────────────────────────────────────────────────────