@componentor/fs 3.0.46 → 3.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +27 -1
- package/dist/index.js +64 -21
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/readme.md +12 -0
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -604,6 +604,18 @@ Make sure `opfsSync` is enabled (it's `true` by default). Files are mirrored to
|
|
|
604
604
|
|
|
605
605
|
See [CHANGELOG.md](./CHANGELOG.md) for the full version history.
|
|
606
606
|
|
|
607
|
+
### v3.0.48 (2026)
|
|
608
|
+
|
|
609
|
+
**Fixes:**
|
|
610
|
+
- Close the residual race left in the 3.0.47 broker-heartbeat fix: stop calling `close()` on the prior control port. The disentangle signal travels on a separate IPC pipe from the SW main channel with no ordering guarantee against `register-server`, so a `transfer-port` already queued in the SW inbox could still be dispatched against a detached `serverPort` and silently dropped. Letting the old port live until both endpoints become unreferenced (and GC-collected) keeps it routable through the swap and removes the window entirely
|
|
611
|
+
|
|
612
|
+
### v3.0.47 (2026)
|
|
613
|
+
|
|
614
|
+
**Fixes:**
|
|
615
|
+
- Multi-tab broker survives service-worker idle-kill (≥30s on Chrome). Secondary tabs no longer fail with `[Shell] Failed to load cwd` after the SW is restarted — the leader re-registers on a 5 s heartbeat and the SW flushes any queued follower `transfer-port` messages to the new control port
|
|
616
|
+
- Eliminate a race where heartbeat re-registration could silently drop in-flight follower `transfer-port` messages (new control port is now posted to the SW before the old one is closed)
|
|
617
|
+
- `leader-changed` is broadcast exactly once at initial registration instead of on every heartbeat tick — prevents spurious EIO errors on long-running follower operations from leader-port reconnect churn
|
|
618
|
+
|
|
607
619
|
### v3.0.46 (2026)
|
|
608
620
|
|
|
609
621
|
**Features:**
|