mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-27 07:07:31 +00:00
fix(notices): confine the 4.0.0 release modal to the 4.0.x line
Without an upper bound it would greet somebody who jumped 3.x straight to 4.2 with a summary of a release they skipped, and it would run alongside the next release's own notice. maxVersion is exclusive, so 4.1.0 covers every 4.0.x patch. Pinned in the registry test, together with the handover from the thank-you notice: at no version may both be active.
This commit is contained in:
@@ -106,7 +106,11 @@ export const SYSTEM_NOTICES: SystemNotice[] = [
|
||||
conditions: [{ kind: 'managed', is: false }],
|
||||
publishedAt: '2026-08-22T00:00:00Z',
|
||||
priority: 110,
|
||||
// The 4.0.x window. The copy is about this release, so somebody arriving on
|
||||
// 4.1 — or jumping 3.x straight to 4.2 — should get that release's notice
|
||||
// instead of this one, not a summary of a version they skipped.
|
||||
minVersion: '4.0.0',
|
||||
maxVersion: '4.1.0',
|
||||
},
|
||||
|
||||
// ── Thank-you + support the project — shown once per install AND once per upgrade ──
|
||||
|
||||
Reference in New Issue
Block a user