From 805da598f6ccacb2c973cd2fefb703881c51e0cc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 27 Oct 2026 07:32:51 +0000 Subject: [PATCH] Version Packages --- .changeset/worker-import-errors.md | 6 ------ core/bootloader/CHANGELOG.md | 6 ++++++ core/bootloader/package.json | 2 +- core/patchwork/CHANGELOG.md | 8 ++++++++ core/patchwork/package.json | 2 +- 5 files changed, 16 insertions(+), 8 deletions(-) delete mode 100644 .changeset/worker-import-errors.md diff --git a/.changeset/worker-import-errors.md b/.changeset/worker-import-errors.md deleted file mode 100644 index c2cfe61d1..000000000 --- a/.changeset/worker-import-errors.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@inkandswitch/patchwork": patch -"@inkandswitch/patchwork-bootloader": patch ---- - -A package that fails to import in the module-loader worker now reports why. Vite's preload helper, which wraps every dynamic `import()`, announced the failure with `window.dispatchEvent`, and in a worker that threw a ReferenceError in place of the import's own error. The `patchwork()` vite plugin now includes `preloadErrorInWorkers()`, which has the helper dispatch on `globalThis` instead, and fails the build if a vite version stops writing that line. The worker also sends the error's name and message along with its stack, since Safari's and Firefox's stacks leave them out; before, Safari logged only `handlePreloadError@…`. diff --git a/core/bootloader/CHANGELOG.md b/core/bootloader/CHANGELOG.md index 5713127a3..7cd01f0c4 100644 --- a/core/bootloader/CHANGELOG.md +++ b/core/bootloader/CHANGELOG.md @@ -1,5 +1,11 @@ # @inkandswitch/patchwork-bootloader +## 0.8.8 + +### Patch Changes + +- 7d4520f: A package that fails to import in the module-loader worker now reports why. Vite's preload helper, which wraps every dynamic `import()`, announced the failure with `window.dispatchEvent`, and in a worker that threw a ReferenceError in place of the import's own error. The `patchwork()` vite plugin now includes `preloadErrorInWorkers()`, which has the helper dispatch on `globalThis` instead, and fails the build if a vite version stops writing that line. The worker also sends the error's name and message along with its stack, since Safari's and Firefox's stacks leave them out; before, Safari logged only `handlePreloadError@…`. + ## 0.8.7 ### Patch Changes diff --git a/core/bootloader/package.json b/core/bootloader/package.json index 207a095d6..f30f0a030 100644 --- a/core/bootloader/package.json +++ b/core/bootloader/package.json @@ -5,7 +5,7 @@ "url": "git+https://github.com/inkandswitch/patchwork-system.git", "directory": "core/bootloader" }, - "version": "0.8.7", + "version": "0.8.8", "author": "chee", "type": "module", "license": "MIT", diff --git a/core/patchwork/CHANGELOG.md b/core/patchwork/CHANGELOG.md index 235620614..96ce494bc 100644 --- a/core/patchwork/CHANGELOG.md +++ b/core/patchwork/CHANGELOG.md @@ -1,5 +1,13 @@ # @inkandswitch/patchwork +## 0.8.9 + +### Patch Changes + +- 7d4520f: A package that fails to import in the module-loader worker now reports why. Vite's preload helper, which wraps every dynamic `import()`, announced the failure with `window.dispatchEvent`, and in a worker that threw a ReferenceError in place of the import's own error. The `patchwork()` vite plugin now includes `preloadErrorInWorkers()`, which has the helper dispatch on `globalThis` instead, and fails the build if a vite version stops writing that line. The worker also sends the error's name and message along with its stack, since Safari's and Firefox's stacks leave them out; before, Safari logged only `handlePreloadError@…`. +- Updated dependencies [7d4520f] + - @inkandswitch/patchwork-bootloader@0.8.8 + ## 0.8.8 ### Patch Changes diff --git a/core/patchwork/package.json b/core/patchwork/package.json index fb72cda13..5008dfd45 100644 --- a/core/patchwork/package.json +++ b/core/patchwork/package.json @@ -5,7 +5,7 @@ "url": "git+https://github.com/inkandswitch/patchwork-system.git", "directory": "core/patchwork" }, - "version": "0.8.8", + "version": "0.8.9", "author": "Ink & Switch", "type": "module", "license": "MIT",