Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/adopt-attached-attributes.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/calm-dragons-listen.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/deprecate-dom-receiver.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/improve-class-list-and-dataset.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/named-node-map-properties.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/optimize-selector-matching.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/reuse-tag-name-selector-traversal.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/validate-untrusted-remote-values.md

This file was deleted.

7 changes: 7 additions & 0 deletions examples/custom-element/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# example-custom-element

## 0.0.28

### Patch Changes

- Updated dependencies [[`064847c`](https://github.com/Shopify/remote-dom/commit/064847cd32e4f1ff712661e4acd2cbb92904c2b5), [`0354436`](https://github.com/Shopify/remote-dom/commit/035443609f46fb69989f64019531c8be72496669)]:
- @remote-dom/core@1.12.1

## 0.0.27

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-element/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example-custom-element",
"version": "0.0.27",
"version": "0.0.28",
"type": "module",
"private": true,
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions examples/getting-started/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# example-getting-started

## 0.0.28

### Patch Changes

- Updated dependencies [[`064847c`](https://github.com/Shopify/remote-dom/commit/064847cd32e4f1ff712661e4acd2cbb92904c2b5), [`0354436`](https://github.com/Shopify/remote-dom/commit/035443609f46fb69989f64019531c8be72496669)]:
- @remote-dom/core@1.12.1

## 0.0.27

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/getting-started/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example-getting-started",
"version": "0.0.27",
"version": "0.0.28",
"type": "module",
"private": true,
"scripts": {
Expand Down
10 changes: 10 additions & 0 deletions examples/kitchen-sink/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# example-kitchen-sink

## 0.0.35

### Patch Changes

- Updated dependencies [[`064847c`](https://github.com/Shopify/remote-dom/commit/064847cd32e4f1ff712661e4acd2cbb92904c2b5), [`0354436`](https://github.com/Shopify/remote-dom/commit/035443609f46fb69989f64019531c8be72496669)]:
- @remote-dom/core@1.12.1
- @remote-dom/signals@2.1.2
- @remote-dom/preact@1.3.1
- @remote-dom/react@1.2.3

## 0.0.34

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "example-kitchen-sink",
"type": "module",
"private": true,
"version": "0.0.34",
"version": "0.0.35",
"scripts": {
"start": "vite"
},
Expand Down
15 changes: 15 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @remote-dom/core

## 1.12.1

### Patch Changes

- [#726](https://github.com/Shopify/remote-dom/pull/726) [`064847c`](https://github.com/Shopify/remote-dom/commit/064847cd32e4f1ff712661e4acd2cbb92904c2b5) Thanks [@MitchLillie](https://github.com/MitchLillie)! - Deprecate `DOMRemoteReceiver` and `RemoteReceiverElement`. Use `RemoteReceiver` or a framework-specific receiver instead.

- [#738](https://github.com/Shopify/remote-dom/pull/738) [`0354436`](https://github.com/Shopify/remote-dom/commit/035443609f46fb69989f64019531c8be72496669) Thanks [@greatscotty](https://github.com/greatscotty)! - Validate values received from the remote environment before storing or rendering them.

`RemoteReceiver` and `SignalRemoteReceiver` now normalize text node content and attribute values to strings (nullish attribute updates remove the attribute), reject property values containing objects that would be mistaken by a UI framework for one of its own virtual nodes (including inherited values and non-enumerable `Error.cause` values), require event listeners to be functions, and reject `__proto__` as a property name. The `@remote-dom/preact` and `@remote-dom/react` host renderers additionally ignore non-string attributes and never pass remote-controlled `children`, `ref`, `key`, `dangerouslySetInnerHTML`, `innerHTML`, or `outerHTML` props to host components. `RemoteElement.updateRemoteAttribute()` now sends the same string it stores locally.

The new validation helpers are exported from `@remote-dom/core/receivers` for use by custom receivers.

- Updated dependencies [[`d4b35f6`](https://github.com/Shopify/remote-dom/commit/d4b35f66a49eaca27be2530a0d6b6f6f8a25f4d3), [`69b76a2`](https://github.com/Shopify/remote-dom/commit/69b76a28c79177f9b1654618a5979345b86fbf9a), [`dd02515`](https://github.com/Shopify/remote-dom/commit/dd02515a4324fc279e4d7c0b1fce827bd3a2ffad), [`3e4b3e7`](https://github.com/Shopify/remote-dom/commit/3e4b3e7e72aa69eaec8cce73149ba708aaf05fef), [`1f2468e`](https://github.com/Shopify/remote-dom/commit/1f2468ef2b0147e8edbeabc79d982f4e62ddcf67), [`1f7e35d`](https://github.com/Shopify/remote-dom/commit/1f7e35d9aa22a14afc01feab341ffa88686a1715)]:
- @remote-dom/polyfill@1.7.0

## 1.12.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"access": "public",
"@remote-dom/registry": "https://registry.npmjs.org"
},
"version": "1.12.0",
"version": "1.12.1",
"engines": {
"node": ">=14.0.0"
},
Expand Down Expand Up @@ -90,7 +90,7 @@
"build": "rollup --config ./rollup.config.js"
},
"dependencies": {
"@remote-dom/polyfill": "workspace:^1.6.0",
"@remote-dom/polyfill": "workspace:^1.7.0",
"htm": "catalog:"
},
"peerDependencies": {
Expand Down
18 changes: 18 additions & 0 deletions packages/polyfill/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @remote-dom/polyfill

## 1.7.0

### Minor Changes

- [#658](https://github.com/Shopify/remote-dom/pull/658) [`69b76a2`](https://github.com/Shopify/remote-dom/commit/69b76a28c79177f9b1654618a5979345b86fbf9a) Thanks [@airhorns](https://github.com/airhorns)! - Add `Element.closest()`, `Element.classList`, and `Element.dataset` convenience APIs.

- [#723](https://github.com/Shopify/remote-dom/pull/723) [`3e4b3e7`](https://github.com/Shopify/remote-dom/commit/3e4b3e7e72aa69eaec8cce73149ba708aaf05fef) Thanks [@andrewiggins](https://github.com/andrewiggins)! - Add live indexed and named property access to `Element.attributes`.

### Patch Changes

- [#724](https://github.com/Shopify/remote-dom/pull/724) [`d4b35f6`](https://github.com/Shopify/remote-dom/commit/d4b35f66a49eaca27be2530a0d6b6f6f8a25f4d3) Thanks [@andrewiggins](https://github.com/andrewiggins)! - Detach attributes from their owner element when passed to `Document.adoptNode()`, including same-document adoption.

- [#731](https://github.com/Shopify/remote-dom/pull/731) [`dd02515`](https://github.com/Shopify/remote-dom/commit/dd02515a4324fc279e4d7c0b1fce827bd3a2ffad) Thanks [@andrewiggins](https://github.com/andrewiggins)! - Improve `classList` token parsing, validation, and attribute normalization, and reduce repeated parsing and temporary allocations. Correct dataset property precedence and name conversion while preserving non-ASCII casing.

- [#719](https://github.com/Shopify/remote-dom/pull/719) [`1f2468e`](https://github.com/Shopify/remote-dom/commit/1f2468ef2b0147e8edbeabc79d982f4e62ddcf67) Thanks [@andrewiggins](https://github.com/andrewiggins)! - Optimize selector matching by precomputing HTML element and attribute comparison names and avoiding redundant normalization and temporary selector-part arrays.

- [#720](https://github.com/Shopify/remote-dom/pull/720) [`1f7e35d`](https://github.com/Shopify/remote-dom/commit/1f7e35d9aa22a14afc01feab341ffa88686a1715) Thanks [@andrewiggins](https://github.com/andrewiggins)! - Return a static `NodeList` with `item()` support from `getElementsByTagName()`, using shared selector traversal while preserving qualified-name and namespace-sensitive matching.

## 1.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/polyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"access": "public",
"@remote-dom/registry": "https://registry.npmjs.org"
},
"version": "1.6.0",
"version": "1.7.0",
"engines": {
"node": ">=14.0.0"
},
Expand Down
14 changes: 14 additions & 0 deletions packages/preact/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @remote-dom/preact

## 1.3.1

### Patch Changes

- [#738](https://github.com/Shopify/remote-dom/pull/738) [`0354436`](https://github.com/Shopify/remote-dom/commit/035443609f46fb69989f64019531c8be72496669) Thanks [@greatscotty](https://github.com/greatscotty)! - Validate values received from the remote environment before storing or rendering them.

`RemoteReceiver` and `SignalRemoteReceiver` now normalize text node content and attribute values to strings (nullish attribute updates remove the attribute), reject property values containing objects that would be mistaken by a UI framework for one of its own virtual nodes (including inherited values and non-enumerable `Error.cause` values), require event listeners to be functions, and reject `__proto__` as a property name. The `@remote-dom/preact` and `@remote-dom/react` host renderers additionally ignore non-string attributes and never pass remote-controlled `children`, `ref`, `key`, `dangerouslySetInnerHTML`, `innerHTML`, or `outerHTML` props to host components. `RemoteElement.updateRemoteAttribute()` now sends the same string it stores locally.

The new validation helpers are exported from `@remote-dom/core/receivers` for use by custom receivers.

- Updated dependencies [[`064847c`](https://github.com/Shopify/remote-dom/commit/064847cd32e4f1ff712661e4acd2cbb92904c2b5), [`0354436`](https://github.com/Shopify/remote-dom/commit/035443609f46fb69989f64019531c8be72496669)]:
- @remote-dom/core@1.12.1
- @remote-dom/signals@2.1.2

## 1.3.0

### Minor Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"access": "public",
"@remote-dom/registry": "https://registry.npmjs.org"
},
"version": "1.3.0",
"version": "1.3.1",
"engines": {
"node": ">=14.0.0"
},
Expand Down Expand Up @@ -55,8 +55,8 @@
"build": "rollup --config rollup.config.js"
},
"dependencies": {
"@remote-dom/core": "workspace:^1.7.0",
"@remote-dom/signals": "workspace:^2.1.0",
"@remote-dom/core": "workspace:^1.12.1",
"@remote-dom/signals": "workspace:^2.1.2",
"htm": "catalog:"
},
"peerDependencies": {
Expand Down
13 changes: 13 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @remote-dom/react

## 1.2.3

### Patch Changes

- [#738](https://github.com/Shopify/remote-dom/pull/738) [`0354436`](https://github.com/Shopify/remote-dom/commit/035443609f46fb69989f64019531c8be72496669) Thanks [@greatscotty](https://github.com/greatscotty)! - Validate values received from the remote environment before storing or rendering them.

`RemoteReceiver` and `SignalRemoteReceiver` now normalize text node content and attribute values to strings (nullish attribute updates remove the attribute), reject property values containing objects that would be mistaken by a UI framework for one of its own virtual nodes (including inherited values and non-enumerable `Error.cause` values), require event listeners to be functions, and reject `__proto__` as a property name. The `@remote-dom/preact` and `@remote-dom/react` host renderers additionally ignore non-string attributes and never pass remote-controlled `children`, `ref`, `key`, `dangerouslySetInnerHTML`, `innerHTML`, or `outerHTML` props to host components. `RemoteElement.updateRemoteAttribute()` now sends the same string it stores locally.

The new validation helpers are exported from `@remote-dom/core/receivers` for use by custom receivers.

- Updated dependencies [[`064847c`](https://github.com/Shopify/remote-dom/commit/064847cd32e4f1ff712661e4acd2cbb92904c2b5), [`0354436`](https://github.com/Shopify/remote-dom/commit/035443609f46fb69989f64019531c8be72496669)]:
- @remote-dom/core@1.12.1

## 1.2.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"access": "public",
"@remote-dom/registry": "https://registry.npmjs.org"
},
"version": "1.2.2",
"version": "1.2.3",
"engines": {
"node": ">=18.0.0"
},
Expand Down Expand Up @@ -68,7 +68,7 @@
"build": "rollup --config rollup.config.js"
},
"dependencies": {
"@remote-dom/core": "workspace:^1.7.0",
"@remote-dom/core": "workspace:^1.12.1",
"@types/react": "^18.0.0",
"htm": "catalog:"
},
Expand Down
13 changes: 13 additions & 0 deletions packages/signals/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @remote-dom/signals

## 2.1.2

### Patch Changes

- [#738](https://github.com/Shopify/remote-dom/pull/738) [`0354436`](https://github.com/Shopify/remote-dom/commit/035443609f46fb69989f64019531c8be72496669) Thanks [@greatscotty](https://github.com/greatscotty)! - Validate values received from the remote environment before storing or rendering them.

`RemoteReceiver` and `SignalRemoteReceiver` now normalize text node content and attribute values to strings (nullish attribute updates remove the attribute), reject property values containing objects that would be mistaken by a UI framework for one of its own virtual nodes (including inherited values and non-enumerable `Error.cause` values), require event listeners to be functions, and reject `__proto__` as a property name. The `@remote-dom/preact` and `@remote-dom/react` host renderers additionally ignore non-string attributes and never pass remote-controlled `children`, `ref`, `key`, `dangerouslySetInnerHTML`, `innerHTML`, or `outerHTML` props to host components. `RemoteElement.updateRemoteAttribute()` now sends the same string it stores locally.

The new validation helpers are exported from `@remote-dom/core/receivers` for use by custom receivers.

- Updated dependencies [[`064847c`](https://github.com/Shopify/remote-dom/commit/064847cd32e4f1ff712661e4acd2cbb92904c2b5), [`0354436`](https://github.com/Shopify/remote-dom/commit/035443609f46fb69989f64019531c8be72496669)]:
- @remote-dom/core@1.12.1

## 2.1.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/signals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"access": "public",
"@remote-dom/registry": "https://registry.npmjs.org"
},
"version": "2.1.1",
"version": "2.1.2",
"engines": {
"node": ">=14.0.0"
},
Expand Down Expand Up @@ -43,6 +43,6 @@
"defaults and not dead"
],
"dependencies": {
"@remote-dom/core": "workspace:^1.11.1"
"@remote-dom/core": "workspace:^1.12.1"
}
}
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading