diff --git a/.changeset/importmap-points-at-prebundled-deps.md b/.changeset/importmap-points-at-prebundled-deps.md deleted file mode 100644 index d31c8654..00000000 --- a/.changeset/importmap-points-at-prebundled-deps.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@inkandswitch/patchwork": patch ---- - -The dev importmap now names each builtin's pre-bundled dep URL -(`/node_modules/.vite/deps/…?v=…`) instead of `/@id/`. Both URLs resolve to -the same file, but a module fetched under two URLs is evaluated twice — the site -imported solid through the pre-bundled URL and tool code imported it through the -importmap, so tools ran against a second solid with its own owner stack and -logged "computations created outside a `createRoot`" for every effect they -created. Builtins that aren't pre-bundled still fall back to `/@id/`. diff --git a/.changeset/suggested-package-over-raw-fallback.md b/.changeset/suggested-package-over-raw-fallback.md deleted file mode 100644 index 814ece56..00000000 --- a/.changeset/suggested-package-over-raw-fallback.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@inkandswitch/patchwork-elements": patch ---- - -A doc whose only match is a wildcard tool (the raw viewer) but which suggests a -package now shows just the offer, instead of dropping the reader into raw JSON -that gets swapped out from under them once the import lands. If the import -registers nothing, the view says so rather than sitting empty. - -The offer's toast is also themed: it took its colours from hardcoded light -values while its button read `--studio-*`, so in a dark theme a light card held -a black-on-black button. Both now use the theme's ink (`--studio-line` — the -`--studio-text` they asked for doesn't exist), surface and accent. diff --git a/core/elements/CHANGELOG.md b/core/elements/CHANGELOG.md index 1efb82ea..ed46f2d7 100644 --- a/core/elements/CHANGELOG.md +++ b/core/elements/CHANGELOG.md @@ -1,5 +1,19 @@ # @inkandswitch/patchwork-elements +## 6.0.2 + +### Patch Changes + +- 882eacd: A doc whose only match is a wildcard tool (the raw viewer) but which suggests a + package now shows just the offer, instead of dropping the reader into raw JSON + that gets swapped out from under them once the import lands. If the import + registers nothing, the view says so rather than sitting empty. + + The offer's toast is also themed: it took its colours from hardcoded light + values while its button read `--studio-*`, so in a dark theme a light card held + a black-on-black button. Both now use the theme's ink (`--studio-line` — the + `--studio-text` they asked for doesn't exist), surface and accent. + ## 6.0.1 ### Patch Changes diff --git a/core/elements/package.json b/core/elements/package.json index 28c06504..1d3c9f92 100644 --- a/core/elements/package.json +++ b/core/elements/package.json @@ -5,7 +5,7 @@ "url": "git+https://github.com/inkandswitch/patchwork-system.git", "directory": "core/elements" }, - "version": "6.0.1", + "version": "6.0.2", "author": "Ink & Switch", "type": "module", "description": "", diff --git a/core/patchwork/CHANGELOG.md b/core/patchwork/CHANGELOG.md index 7d4188c3..dd624e56 100644 --- a/core/patchwork/CHANGELOG.md +++ b/core/patchwork/CHANGELOG.md @@ -1,5 +1,19 @@ # @inkandswitch/patchwork +## 0.7.4 + +### Patch Changes + +- 7339066: The dev importmap now names each builtin's pre-bundled dep URL + (`/node_modules/.vite/deps/…?v=…`) instead of `/@id/`. Both URLs resolve to + the same file, but a module fetched under two URLs is evaluated twice — the site + imported solid through the pre-bundled URL and tool code imported it through the + importmap, so tools ran against a second solid with its own owner stack and + logged "computations created outside a `createRoot`" for every effect they + created. Builtins that aren't pre-bundled still fall back to `/@id/`. +- Updated dependencies [882eacd] + - @inkandswitch/patchwork-elements@6.0.2 + ## 0.7.3 ### Patch Changes diff --git a/core/patchwork/package.json b/core/patchwork/package.json index 96b025a2..f7b6dddb 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.7.3", + "version": "0.7.4", "author": "Ink & Switch", "type": "module", "license": "MIT",