Skip to content

Commit d09d5c7

Browse files
authored
Merge branch 'master' into wjh/wtr-hydration
2 parents e885a88 + 6bec826 commit d09d5c7

File tree

37 files changed

+159
-118
lines changed

37 files changed

+159
-118
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lwc-monorepo",
3-
"version": "8.20.0",
3+
"version": "8.20.1",
44
"private": true,
55
"description": "Lightning Web Components",
66
"repository": {

packages/@lwc/aria-reflection/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
55
],
66
"name": "@lwc/aria-reflection",
7-
"version": "8.20.0",
7+
"version": "8.20.1",
88
"description": "ARIA element reflection polyfill for strings",
99
"keywords": [
1010
"aom",

packages/@lwc/babel-plugin-component/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
55
],
66
"name": "@lwc/babel-plugin-component",
7-
"version": "8.20.0",
7+
"version": "8.20.1",
88
"description": "Babel plugin to transform a LWC module",
99
"keywords": [
1010
"lwc"
@@ -47,8 +47,8 @@
4747
},
4848
"dependencies": {
4949
"@babel/helper-module-imports": "7.25.9",
50-
"@lwc/errors": "8.20.0",
51-
"@lwc/shared": "8.20.0",
50+
"@lwc/errors": "8.20.1",
51+
"@lwc/shared": "8.20.1",
5252
"line-column": "~1.0.2"
5353
},
5454
"devDependencies": {

packages/@lwc/compiler/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
55
],
66
"name": "@lwc/compiler",
7-
"version": "8.20.0",
7+
"version": "8.20.1",
88
"description": "LWC compiler",
99
"keywords": [
1010
"lwc"
@@ -52,11 +52,11 @@
5252
"@babel/plugin-transform-class-properties": "7.25.9",
5353
"@babel/plugin-transform-object-rest-spread": "7.25.9",
5454
"@locker/babel-plugin-transform-unforgeables": "0.22.0",
55-
"@lwc/babel-plugin-component": "8.20.0",
56-
"@lwc/errors": "8.20.0",
57-
"@lwc/shared": "8.20.0",
58-
"@lwc/ssr-compiler": "8.20.0",
59-
"@lwc/style-compiler": "8.20.0",
60-
"@lwc/template-compiler": "8.20.0"
55+
"@lwc/babel-plugin-component": "8.20.1",
56+
"@lwc/errors": "8.20.1",
57+
"@lwc/shared": "8.20.1",
58+
"@lwc/ssr-compiler": "8.20.1",
59+
"@lwc/style-compiler": "8.20.1",
60+
"@lwc/template-compiler": "8.20.1"
6161
}
6262
}

packages/@lwc/engine-core/README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,17 +122,25 @@ This experimental API enables the addition of a signal as a trusted signal. If t
122122

123123
If `setTrustedSignalSet` is called more than once, it will throw an error. If it is never called, then no trusted signal validation will be performed. The same `setTrustedSignalSet` API must be called on both `@lwc/engine-dom` and `@lwc/signals`.
124124

125+
### isTrustedSignal()
126+
127+
Not intended for external use. This experimental API enables the caller to determine if an object is a trusted signal. The [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature must be enabled.
128+
125129
### setContextKeys
126130

127-
Not intended for external use. Enables another library to establish contextful relationships via the LWC component tree. The `connectContext` and `disconnectContext` symbols that are provided are later used to identify methods that facilitate the establishment and dissolution of these contextful relationships.
131+
Not intended for external use. Enables another library to establish contextful relationships via the LWC component tree. The `connectContext` and `disconnectContext` symbols that are provided are later used to identify methods that facilitate the establishment and dissolution of these contextful relationships. The [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature must be enabled.
128132

129133
### setTrustedContextSet()
130134

131-
Not intended for external use. This experimental API enables the addition of context as trusted context. If the [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature is enabled.
135+
Not intended for external use. This experimental API enables the addition of context as trusted context. The [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature must be enabled.
132136

133137
If `setTrustedContextSet` is called more than once, it will throw an error. If it is never called, then context will not be connected.
134138

135139
### ContextBinding
136140

137141
The context object's `connectContext` and `disconnectContext` methods are called with this object when contextful components are connected and disconnected. The ContextBinding exposes `provideContext` and `consumeContext`,
138-
enabling the provision/consumption of a contextful Signal of a specified variety for the associated component.
142+
enabling the provision/consumption of a contextful Signal of a specified variety for the associated component. The [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature must be enabled.
143+
144+
### SignalBaseClass
145+
146+
Not intended for external use. Signals that extend SignalBaseClass will be added to set of trusted signals. The [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature must be enabled.

packages/@lwc/engine-core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
55
],
66
"name": "@lwc/engine-core",
7-
"version": "8.20.0",
7+
"version": "8.20.1",
88
"description": "Core LWC engine APIs.",
99
"keywords": [
1010
"lwc"
@@ -46,9 +46,9 @@
4646
}
4747
},
4848
"dependencies": {
49-
"@lwc/features": "8.20.0",
50-
"@lwc/shared": "8.20.0",
51-
"@lwc/signals": "8.20.0"
49+
"@lwc/features": "8.20.1",
50+
"@lwc/shared": "8.20.1",
51+
"@lwc/signals": "8.20.1"
5252
},
5353
"devDependencies": {
5454
"observable-membrane": "2.0.0"

packages/@lwc/engine-core/src/framework/main.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,13 @@ export { default as wire } from './decorators/wire';
7373
export { readonly } from './readonly';
7474

7575
export { setFeatureFlag, setFeatureFlagForTest } from '@lwc/features';
76-
export { setContextKeys, setTrustedSignalSet, setTrustedContextSet } from '@lwc/shared';
76+
export {
77+
setContextKeys,
78+
setTrustedSignalSet,
79+
setTrustedContextSet,
80+
addTrustedContext,
81+
isTrustedSignal,
82+
} from '@lwc/shared';
7783
export type { Stylesheet, Stylesheets } from '@lwc/shared';
84+
85+
export { SignalBaseClass } from '@lwc/signals';

packages/@lwc/engine-dom/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
55
],
66
"name": "@lwc/engine-dom",
7-
"version": "8.20.0",
7+
"version": "8.20.1",
88
"description": "Renders LWC components in a DOM environment.",
99
"keywords": [
1010
"lwc"
@@ -46,9 +46,10 @@
4646
}
4747
},
4848
"devDependencies": {
49-
"@lwc/engine-core": "8.20.0",
50-
"@lwc/shared": "8.20.0",
51-
"@lwc/features": "8.20.0"
49+
"@lwc/engine-core": "8.20.1",
50+
"@lwc/shared": "8.20.1",
51+
"@lwc/features": "8.20.1",
52+
"@lwc/signals": "8.20.1"
5253
},
5354
"lwc": {
5455
"modules": [

packages/@lwc/engine-dom/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,20 @@ export {
2828
setHooks,
2929
getComponentDef,
3030
isComponentConstructor,
31+
isTrustedSignal,
3132
parseFragment,
3233
parseSVGFragment,
3334
setContextKeys,
3435
setTrustedSignalSet,
3536
setTrustedContextSet,
37+
addTrustedContext as __dangerous_do_not_use_addTrustedContext,
3638
swapComponent,
3739
swapStyle,
3840
swapTemplate,
3941
getComponentConstructor,
4042
__unstable__ProfilerControl,
4143
__unstable__ReportingControl,
44+
SignalBaseClass,
4245
} from '@lwc/engine-core';
4346

4447
// Engine-core public types ------------------------------------------------------------------------

packages/@lwc/engine-server/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
55
],
66
"name": "@lwc/engine-server",
7-
"version": "8.20.0",
7+
"version": "8.20.1",
88
"description": "Renders LWC components in a server environment.",
99
"keywords": [
1010
"lwc"
@@ -46,10 +46,11 @@
4646
}
4747
},
4848
"devDependencies": {
49-
"@lwc/engine-core": "8.20.0",
50-
"@lwc/rollup-plugin": "8.20.0",
51-
"@lwc/shared": "8.20.0",
52-
"@lwc/features": "8.20.0",
49+
"@lwc/engine-core": "8.20.1",
50+
"@lwc/rollup-plugin": "8.20.1",
51+
"@lwc/shared": "8.20.1",
52+
"@lwc/features": "8.20.1",
53+
"@lwc/signals": "8.20.1",
5354
"@rollup/plugin-virtual": "^3.0.2",
5455
"parse5": "^7.3.0"
5556
}

0 commit comments

Comments
 (0)