You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"comment": "fix: remove the fast-kernel multi-kernel modes. Breaking change: FAST no longer supports configuring isolated or version-scoped kernels via the script attribute.",
-`FAST.addMessages(dict)` – registers human-readable debug messages (imported by `src/debug.ts`)
71
71
72
-
The `KernelServiceId` object controls which numeric/string keys are used for shared services. Three modes are supported via a `fast-kernel` attribute on the current `<script>` tag:
73
-
74
-
| Mode | Behaviour |
75
-
|---|---|
76
-
|`share`| Use the shared numeric kernel service IDs |
77
-
|`share-v2`| Use the alternate numeric kernel service IDs |
78
-
|*(default)*| Fully isolated instance with a random postfix |
72
+
The `KernelServiceId` enum provides the fixed numeric keys used for shared
73
+
services on the `FAST` global. These stable IDs let FAST instances on the same
74
+
page reuse the update queue, observable system, context event, and element
Copy file name to clipboardExpand all lines: packages/fast-element/MIGRATION.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,17 @@
8
8
|---|---|
9
9
|`FAST.versions`| No replacement. Multiple FAST versions on the same page are unsupported in v3. |
10
10
11
+
### Removed configuration
12
+
13
+
| Removed | Replacement |
14
+
|---|---|
15
+
|`fast-kernel="share"` / `fast-kernel="share-v2"` / `fast-kernel="isolate"`| No replacement. FAST now uses a single shared kernel contract, and multiple FAST versions on the same page are unsupported. |
16
+
11
17
### Migration steps
12
18
13
19
1. Remove any runtime checks that read `FAST.versions`.
14
20
2. Fix duplicate FAST installs in your bundler or dependency graph instead of relying on version tracking at runtime.
21
+
3. Remove any `fast-kernel` script attributes. They no longer affect FAST initialization.
0 commit comments