From 749989619834c3d2adf027d82e4a5273823a03b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabr=C3=ADcio=20Bracht?= Date: Mon, 19 Oct 2026 16:47:22 -0700 Subject: [PATCH] bump stitch-wasm floor to ^0.5.1 --- CHANGELOG.md | 10 ++++++++++ package-lock.json | 12 ++++++------ package.json | 4 ++-- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 43a5b06..61df49b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,16 @@ - _Nothing yet._ +## 0.6.3 + +### Fixed + +- **Resolved the `time not implemented on this platform` wasm panic** that fired on the first child `create()` in the browser and then failed every subsequent store call. The bug was in `stitch-rs` (fixed in stitch-rs #44) and shipped as `@laboverwire/stitch-wasm` 0.5.1; this release delivers it to consumers by raising the floor below. This is the panic the 0.6.2 entry noted as **not yet fixed** and tracked against MQDB. + +### Changed + +- Raised the `@laboverwire/stitch-wasm` floor to `^0.5.1`. `^0.5.0` already resolves 0.5.1 on a fresh install, but raising the floor guarantees the fix above is present rather than leaving it to resolution order. 0.5.1 is API-identical to 0.5.0, so there are no `@laboverwire/stitch` type or signature changes. The 0.4 → 0.5 engine change that switched failed `Store` methods from rejecting with a plain string to a structured `Error` (`message` + `kind`) does not affect this wrapper: the adapter forwards rejections untouched and never matches on error strings, so callers receive whatever shape the engine emits. + ## 0.6.2 ### Changed diff --git a/package-lock.json b/package-lock.json index 8ea6f98..be53527 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@laboverwire/stitch", - "version": "0.6.2", + "version": "0.6.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@laboverwire/stitch", - "version": "0.6.2", + "version": "0.6.3", "license": "Apache-2.0", "dependencies": { - "@laboverwire/stitch-wasm": "^0.5.0" + "@laboverwire/stitch-wasm": "^0.5.1" }, "devDependencies": { "@eslint/js": "^10.0.1", @@ -1031,9 +1031,9 @@ } }, "node_modules/@laboverwire/stitch-wasm": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@laboverwire/stitch-wasm/-/stitch-wasm-0.5.0.tgz", - "integrity": "sha512-IGb5d7kvahuZnNxq7ZOyXHkzAN3sC2FX9Es2uG4fHl+TMTQEu9bwbYVlShmfaDtA+da9mtpXwsZRSgVa3aO6cA==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@laboverwire/stitch-wasm/-/stitch-wasm-0.5.1.tgz", + "integrity": "sha512-FGS91Lv0QV61O6RqucohsaHCONDRpn2/IZSZRLJc/qbreaN+z1+bLdEXEP9eaihrQ24ELVNGjcUuqwR3RdM9Yg==", "license": "Apache-2.0" }, "node_modules/@napi-rs/lzma-linux-x64-gnu": { diff --git a/package.json b/package.json index acf6f8e..ed52e59 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@laboverwire/stitch", - "version": "0.6.2", + "version": "0.6.3", "description": "Reactive state synchronization library bridging an in-memory store, IndexedDB persistence, and MQTT-based remote sync.", "license": "Apache-2.0", "author": "LabOverWire", @@ -74,7 +74,7 @@ } }, "dependencies": { - "@laboverwire/stitch-wasm": "^0.5.0" + "@laboverwire/stitch-wasm": "^0.5.1" }, "peerDependencies": { "react": "^19.0.0",