From f8a51fb9afca244ffbdb6bcaadfb432a9e5ea794 Mon Sep 17 00:00:00 2001 From: "shopify-github-actions-access[bot]" <109624739+shopify-github-actions-access[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 14:08:08 -0500 Subject: [PATCH] Publish packages (#500) Co-authored-by: github-actions[bot] --- .changeset/ninety-wasps-deny.md | 16 ---------------- .changeset/pink-dryers-fix.md | 6 ------ examples/custom-element/CHANGELOG.md | 7 +++++++ examples/custom-element/package.json | 2 +- examples/getting-started/CHANGELOG.md | 7 +++++++ examples/getting-started/package.json | 2 +- examples/kitchen-sink/CHANGELOG.md | 9 +++++++++ examples/kitchen-sink/package.json | 2 +- packages/core/CHANGELOG.md | 21 +++++++++++++++++++++ packages/core/package.json | 4 ++-- packages/polyfill/CHANGELOG.md | 16 ++++++++++++++++ packages/polyfill/package.json | 2 +- packages/preact/CHANGELOG.md | 10 ++++++++++ packages/preact/package.json | 6 +++--- packages/signals/package.json | 2 +- pnpm-lock.yaml | 6 +++--- 16 files changed, 83 insertions(+), 35 deletions(-) delete mode 100644 .changeset/ninety-wasps-deny.md delete mode 100644 .changeset/pink-dryers-fix.md diff --git a/.changeset/ninety-wasps-deny.md b/.changeset/ninety-wasps-deny.md deleted file mode 100644 index 4eeb6061..00000000 --- a/.changeset/ninety-wasps-deny.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'@remote-dom/core': patch -'@remote-dom/polyfill': patch ---- - -Roll back mutation of `globalThis` and `globalThis.self` in `Window.setGlobal()` - -This prevents the polyfill from interfering with globals like `globalThis.addEventListener`, which you may need to manage the communication between a sandboxed environment and the main thread. - -In the future, we will likely change the polyfill to require you to explicitly install the polyfill, instead of it being done automatically when you `@remote-dom/core/polyfill`. At that point, we will reintroduce the ability to more faithfully replicate more DOM globals, like having `globalThis`, `globalThis.self`, and `globalThis.window` all refer to the same polyfilled `Window` object. To install this polyfill today and get back to the behavior introduced by [this PR](https://github.com/Shopify/remote-dom/pull/470), you can call the new `Window.setGlobalThis()` method: - -```js -import {window, Window} from '@remote-dom/core/polyfill'; - -Window.setGlobalThis(window); -``` diff --git a/.changeset/pink-dryers-fix.md b/.changeset/pink-dryers-fix.md deleted file mode 100644 index 107cd756..00000000 --- a/.changeset/pink-dryers-fix.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@remote-dom/preact': patch -'@remote-dom/core': patch ---- - -Fix `slot` to be transmitted as an attribute, not a property diff --git a/examples/custom-element/CHANGELOG.md b/examples/custom-element/CHANGELOG.md index 7df100de..683db912 100644 --- a/examples/custom-element/CHANGELOG.md +++ b/examples/custom-element/CHANGELOG.md @@ -1,5 +1,12 @@ # example-custom-element +## 0.0.14 + +### Patch Changes + +- Updated dependencies [[`994e2ea`](https://github.com/Shopify/remote-dom/commit/994e2ea2f7ab0e67a2c37e5295ce86618b004518), [`017ca02`](https://github.com/Shopify/remote-dom/commit/017ca029fb148a51115edb12b7c8ccd49d2c52eb)]: + - @remote-dom/core@1.5.1 + ## 0.0.13 ### Patch Changes diff --git a/examples/custom-element/package.json b/examples/custom-element/package.json index 183db8a6..b14527c9 100644 --- a/examples/custom-element/package.json +++ b/examples/custom-element/package.json @@ -1,6 +1,6 @@ { "name": "example-custom-element", - "version": "0.0.13", + "version": "0.0.14", "type": "module", "private": true, "scripts": { diff --git a/examples/getting-started/CHANGELOG.md b/examples/getting-started/CHANGELOG.md index dac20b83..3b3fac75 100644 --- a/examples/getting-started/CHANGELOG.md +++ b/examples/getting-started/CHANGELOG.md @@ -1,5 +1,12 @@ # example-getting-started +## 0.0.14 + +### Patch Changes + +- Updated dependencies [[`994e2ea`](https://github.com/Shopify/remote-dom/commit/994e2ea2f7ab0e67a2c37e5295ce86618b004518), [`017ca02`](https://github.com/Shopify/remote-dom/commit/017ca029fb148a51115edb12b7c8ccd49d2c52eb)]: + - @remote-dom/core@1.5.1 + ## 0.0.13 ### Patch Changes diff --git a/examples/getting-started/package.json b/examples/getting-started/package.json index c315540e..b7dbe366 100644 --- a/examples/getting-started/package.json +++ b/examples/getting-started/package.json @@ -1,6 +1,6 @@ { "name": "example-getting-started", - "version": "0.0.13", + "version": "0.0.14", "type": "module", "private": true, "scripts": { diff --git a/examples/kitchen-sink/CHANGELOG.md b/examples/kitchen-sink/CHANGELOG.md index 19782851..ab81166e 100644 --- a/examples/kitchen-sink/CHANGELOG.md +++ b/examples/kitchen-sink/CHANGELOG.md @@ -1,5 +1,14 @@ # example-kitchen-sink +## 0.0.17 + +### Patch Changes + +- Updated dependencies [[`994e2ea`](https://github.com/Shopify/remote-dom/commit/994e2ea2f7ab0e67a2c37e5295ce86618b004518), [`017ca02`](https://github.com/Shopify/remote-dom/commit/017ca029fb148a51115edb12b7c8ccd49d2c52eb)]: + - @remote-dom/core@1.5.1 + - @remote-dom/preact@1.2.1 + - @remote-dom/signals@1.1.1 + ## 0.0.16 ### Patch Changes diff --git a/examples/kitchen-sink/package.json b/examples/kitchen-sink/package.json index 65881cd7..199738d0 100644 --- a/examples/kitchen-sink/package.json +++ b/examples/kitchen-sink/package.json @@ -2,7 +2,7 @@ "name": "example-kitchen-sink", "type": "module", "private": true, - "version": "0.0.16", + "version": "0.0.17", "scripts": { "start": "vite" }, diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 462b3afa..faf61920 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,26 @@ # @remote-dom/core +## 1.5.1 + +### Patch Changes + +- [#499](https://github.com/Shopify/remote-dom/pull/499) [`994e2ea`](https://github.com/Shopify/remote-dom/commit/994e2ea2f7ab0e67a2c37e5295ce86618b004518) Thanks [@lemonmade](https://github.com/lemonmade)! - Roll back mutation of `globalThis` and `globalThis.self` in `Window.setGlobal()` + + This prevents the polyfill from interfering with globals like `globalThis.addEventListener`, which you may need to manage the communication between a sandboxed environment and the main thread. + + In the future, we will likely change the polyfill to require you to explicitly install the polyfill, instead of it being done automatically when you `@remote-dom/core/polyfill`. At that point, we will reintroduce the ability to more faithfully replicate more DOM globals, like having `globalThis`, `globalThis.self`, and `globalThis.window` all refer to the same polyfilled `Window` object. To install this polyfill today and get back to the behavior introduced by [this PR](https://github.com/Shopify/remote-dom/pull/470), you can call the new `Window.setGlobalThis()` method: + + ```js + import {window, Window} from '@remote-dom/core/polyfill'; + + Window.setGlobalThis(window); + ``` + +- [#465](https://github.com/Shopify/remote-dom/pull/465) [`017ca02`](https://github.com/Shopify/remote-dom/commit/017ca029fb148a51115edb12b7c8ccd49d2c52eb) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix `slot` to be transmitted as an attribute, not a property + +- Updated dependencies [[`994e2ea`](https://github.com/Shopify/remote-dom/commit/994e2ea2f7ab0e67a2c37e5295ce86618b004518)]: + - @remote-dom/polyfill@1.4.2 + ## 1.5.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index 479898e9..61f21ed8 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -7,7 +7,7 @@ "access": "public", "@remote-dom/registry": "https://registry.npmjs.org" }, - "version": "1.5.0", + "version": "1.5.1", "engines": { "node": ">=14.0.0" }, @@ -80,7 +80,7 @@ "build": "rollup --config ./rollup.config.js" }, "dependencies": { - "@remote-dom/polyfill": "workspace:^1.3.0", + "@remote-dom/polyfill": "workspace:^1.4.2", "htm": "^3.1.1" }, "peerDependencies": { diff --git a/packages/polyfill/CHANGELOG.md b/packages/polyfill/CHANGELOG.md index cedbd32b..f77501e1 100644 --- a/packages/polyfill/CHANGELOG.md +++ b/packages/polyfill/CHANGELOG.md @@ -1,5 +1,21 @@ # @remote-dom/polyfill +## 1.4.2 + +### Patch Changes + +- [#499](https://github.com/Shopify/remote-dom/pull/499) [`994e2ea`](https://github.com/Shopify/remote-dom/commit/994e2ea2f7ab0e67a2c37e5295ce86618b004518) Thanks [@lemonmade](https://github.com/lemonmade)! - Roll back mutation of `globalThis` and `globalThis.self` in `Window.setGlobal()` + + This prevents the polyfill from interfering with globals like `globalThis.addEventListener`, which you may need to manage the communication between a sandboxed environment and the main thread. + + In the future, we will likely change the polyfill to require you to explicitly install the polyfill, instead of it being done automatically when you `@remote-dom/core/polyfill`. At that point, we will reintroduce the ability to more faithfully replicate more DOM globals, like having `globalThis`, `globalThis.self`, and `globalThis.window` all refer to the same polyfilled `Window` object. To install this polyfill today and get back to the behavior introduced by [this PR](https://github.com/Shopify/remote-dom/pull/470), you can call the new `Window.setGlobalThis()` method: + + ```js + import {window, Window} from '@remote-dom/core/polyfill'; + + Window.setGlobalThis(window); + ``` + ## 1.4.1 ### Patch Changes diff --git a/packages/polyfill/package.json b/packages/polyfill/package.json index 2a328d2a..5d070af2 100644 --- a/packages/polyfill/package.json +++ b/packages/polyfill/package.json @@ -7,7 +7,7 @@ "access": "public", "@remote-dom/registry": "https://registry.npmjs.org" }, - "version": "1.4.1", + "version": "1.4.2", "engines": { "node": ">=14.0.0" }, diff --git a/packages/preact/CHANGELOG.md b/packages/preact/CHANGELOG.md index d6f7f068..07d0eacb 100644 --- a/packages/preact/CHANGELOG.md +++ b/packages/preact/CHANGELOG.md @@ -1,5 +1,15 @@ # @remote-dom/preact +## 1.2.1 + +### Patch Changes + +- [#465](https://github.com/Shopify/remote-dom/pull/465) [`017ca02`](https://github.com/Shopify/remote-dom/commit/017ca029fb148a51115edb12b7c8ccd49d2c52eb) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix `slot` to be transmitted as an attribute, not a property + +- Updated dependencies [[`994e2ea`](https://github.com/Shopify/remote-dom/commit/994e2ea2f7ab0e67a2c37e5295ce86618b004518), [`017ca02`](https://github.com/Shopify/remote-dom/commit/017ca029fb148a51115edb12b7c8ccd49d2c52eb)]: + - @remote-dom/core@1.5.1 + - @remote-dom/signals@1.1.1 + ## 1.2.0 ### Minor Changes diff --git a/packages/preact/package.json b/packages/preact/package.json index 25dc6086..9db45f11 100644 --- a/packages/preact/package.json +++ b/packages/preact/package.json @@ -7,7 +7,7 @@ "access": "public", "@remote-dom/registry": "https://registry.npmjs.org" }, - "version": "1.2.0", + "version": "1.2.1", "engines": { "node": ">=14.0.0" }, @@ -55,8 +55,8 @@ "build": "rollup --config rollup.config.js" }, "dependencies": { - "@remote-dom/core": "workspace:^1.5.0", - "@remote-dom/signals": "workspace:^1.1.0", + "@remote-dom/core": "workspace:^1.5.1", + "@remote-dom/signals": "workspace:^1.1.1", "htm": "^3.1.1" }, "peerDependencies": { diff --git a/packages/signals/package.json b/packages/signals/package.json index 9ab0fec1..3a9533b4 100644 --- a/packages/signals/package.json +++ b/packages/signals/package.json @@ -30,7 +30,7 @@ }, "peerDependencies": { "@preact/signals-core": "^1.3.0", - "@remote-dom/core": "workspace:^1.0.0" + "@remote-dom/core": "workspace:^1.5.1" }, "peerDependenciesMeta": { "@preact/signals-core": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 60a8d15b..58471398 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -130,7 +130,7 @@ importers: packages/core: dependencies: '@remote-dom/polyfill': - specifier: workspace:^1.3.0 + specifier: workspace:^1.4.2 version: link:../polyfill htm: specifier: ^3.1.1 @@ -148,10 +148,10 @@ importers: packages/preact: dependencies: '@remote-dom/core': - specifier: workspace:^1.5.0 + specifier: workspace:^1.5.1 version: link:../core '@remote-dom/signals': - specifier: workspace:^1.1.0 + specifier: workspace:^1.1.1 version: link:../signals htm: specifier: ^3.1.1