Skip to content

Commit 0d05c08

Browse files
authored
Merge branch 'master' into wjh/structuredClone
2 parents 59116a5 + 107a414 commit 0d05c08

File tree

200 files changed

+3709
-663
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+3709
-663
lines changed

.github/workflows/karma.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,12 @@ jobs:
4646
run: yarn install --frozen-lockfile
4747
working-directory: ./
4848

49-
- uses: saucelabs/sauce-connect-action@v2
49+
- uses: saucelabs/sauce-connect-action@v3.0.0
5050
with:
5151
username: ${{ secrets.SAUCE_USERNAME }}
5252
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
5353
tunnelName: ${{ env.SAUCE_TUNNEL_ID }}
54+
region: us
5455

5556
- run: yarn sauce:ci
5657
- run: DISABLE_SYNTHETIC=1 yarn sauce:ci
@@ -86,11 +87,12 @@ jobs:
8687
run: yarn install --frozen-lockfile
8788
working-directory: ./
8889

89-
- uses: saucelabs/sauce-connect-action@v2
90+
- uses: saucelabs/sauce-connect-action@v3.0.0
9091
with:
9192
username: ${{ secrets.SAUCE_USERNAME }}
9293
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
9394
tunnelName: ${{ env.SAUCE_TUNNEL_ID }}
95+
region: us
9496

9597
- run: API_VERSION=58 yarn sauce:ci
9698
- run: API_VERSION=58 DISABLE_SYNTHETIC=1 yarn sauce:ci
@@ -126,11 +128,12 @@ jobs:
126128
run: yarn install --frozen-lockfile
127129
working-directory: ./
128130

129-
- uses: saucelabs/sauce-connect-action@v2
131+
- uses: saucelabs/sauce-connect-action@v3.0.0
130132
with:
131133
username: ${{ secrets.SAUCE_USERNAME }}
132134
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
133135
tunnelName: ${{ env.SAUCE_TUNNEL_ID }}
136+
region: us
134137

135138
- run: API_VERSION=61 yarn sauce:ci
136139
- run: API_VERSION=61 DISABLE_SYNTHETIC=1 yarn sauce:ci
@@ -168,11 +171,12 @@ jobs:
168171
run: yarn install --frozen-lockfile
169172
working-directory: ./
170173

171-
- uses: saucelabs/sauce-connect-action@v2
174+
- uses: saucelabs/sauce-connect-action@v3.0.0
172175
with:
173176
username: ${{ secrets.SAUCE_USERNAME }}
174177
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
175178
tunnelName: ${{ env.SAUCE_TUNNEL_ID }}
179+
region: us
176180

177181
- run: DISABLE_STATIC_CONTENT_OPTIMIZATION=1 yarn sauce:ci
178182
- run: DISABLE_STATIC_CONTENT_OPTIMIZATION=1 DISABLE_SYNTHETIC=1 yarn sauce:ci

.nucleus.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ branches:
3838
spring25:
3939
pull-request:
4040
<<: *branch-definition
41+
summer25:
42+
pull-request:
43+
<<: *branch-definition
4144
jobs:
4245
build-and-test:
4346
memory-limit: 16

package.json

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lwc-monorepo",
3-
"version": "8.17.0",
3+
"version": "8.19.1",
44
"private": true,
55
"description": "Lightning Web Components",
66
"repository": {
@@ -25,33 +25,35 @@
2525
"test:ci": "vitest run --workspace vitest.workspace.mjs --coverage",
2626
"test:karma": "nx test @lwc/integration-karma",
2727
"test:karma:start": "nx start @lwc/integration-karma",
28+
"test:hydration": "nx hydration:test @lwc/integration-karma",
2829
"test:hydration:start": "nx hydration:start @lwc/integration-karma",
2930
"test:integration": "nx sauce @lwc/integration-tests",
3031
"test:performance": "nx test @lwc/perf-benchmarks",
3132
"test:performance:best": "nx test:best @lwc/perf-benchmarks",
3233
"test:performance:best:ci": "nx test:best:ci @lwc/perf-benchmarks",
3334
"test:types": "nx test @lwc/integration-types",
34-
"release:version": "node ./scripts/release/version.js",
35-
"release:publish": "nx release publish --registry https://registry.npmjs.org"
35+
"release:version": "./scripts/release/version.sh",
36+
"release:publish": "./scripts/release/publish.sh",
37+
"release:publish:canary": "nx release publish --registry https://registry.npmjs.org"
3638
},
3739
"devDependencies": {
3840
"@commitlint/cli": "^19.8.0",
3941
"@eslint/js": "9.24.0",
4042
"@lwc/eslint-plugin-lwc-internal": "link:./scripts/eslint-plugin",
4143
"@lwc/test-utils-lwc-internals": "link:./scripts/test-utils",
42-
"@nx/js": "20.7.1",
44+
"@nx/js": "20.7.2",
4345
"@rollup/plugin-commonjs": "^28.0.3",
4446
"@rollup/plugin-inject": "^5.0.5",
4547
"@rollup/plugin-node-resolve": "^16.0.1",
4648
"@rollup/plugin-replace": "^6.0.2",
4749
"@rollup/plugin-typescript": "^12.1.2",
4850
"@swc-node/register": "~1.10.10",
49-
"@swc/core": "~1.11.18",
50-
"@swc/helpers": "~0.5.15",
51+
"@swc/core": "~1.11.21",
52+
"@swc/helpers": "~0.5.17",
5153
"@types/babel__core": "^7.20.5",
52-
"@types/node": "^22.14.0",
54+
"@types/node": "^22.14.1",
5355
"@vitest/coverage-v8": "^3.1.1",
54-
"@vitest/eslint-plugin": "^1.1.39",
56+
"@vitest/eslint-plugin": "^1.1.42",
5557
"@vitest/ui": "^3.1.1",
5658
"bytes": "^3.1.2",
5759
"es-module-lexer": "^1.6.0",
@@ -63,16 +65,16 @@
6365
"globals": "^16.0.0",
6466
"husky": "^9.1.7",
6567
"isbinaryfile": "^5.0.4",
66-
"jsdom": "^26.0.0",
67-
"lint-staged": "^15.5.0",
68+
"jsdom": "^26.1.0",
69+
"lint-staged": "^15.5.1",
6870
"magic-string": "^0.30.17",
69-
"nx": "20.7.1",
71+
"nx": "20.7.2",
7072
"prettier": "^3.5.3",
71-
"rollup": "^4.39.0",
73+
"rollup": "^4.40.0",
7274
"terser": "^5.39.0",
7375
"tslib": "^2.8.1",
7476
"typescript": "5.8.2",
75-
"typescript-eslint": "8.29.0",
77+
"typescript-eslint": "8.29.1",
7678
"vitest": "^3.1.1"
7779
},
7880
"lint-staged": {

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.17.0",
7+
"version": "8.19.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.17.0",
7+
"version": "8.19.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.17.0",
51-
"@lwc/shared": "8.17.0",
50+
"@lwc/errors": "8.19.1",
51+
"@lwc/shared": "8.19.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.17.0",
7+
"version": "8.19.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.17.0",
56-
"@lwc/errors": "8.17.0",
57-
"@lwc/shared": "8.17.0",
58-
"@lwc/ssr-compiler": "8.17.0",
59-
"@lwc/style-compiler": "8.17.0",
60-
"@lwc/template-compiler": "8.17.0"
55+
"@lwc/babel-plugin-component": "8.19.1",
56+
"@lwc/errors": "8.19.1",
57+
"@lwc/shared": "8.19.1",
58+
"@lwc/ssr-compiler": "8.19.1",
59+
"@lwc/style-compiler": "8.19.1",
60+
"@lwc/template-compiler": "8.19.1"
6161
}
6262
}

packages/@lwc/compiler/src/options.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ export interface TransformOptions {
125125
customRendererConfig?: CustomRendererConfig;
126126
/** @deprecated Ignored by compiler. `lwc:spread` is always enabled. */
127127
enableLwcSpread?: boolean;
128+
/** Flag to enable usage of dynamic event listeners (lwc:on) directive in HTML template */
129+
enableLwcOn?: boolean;
128130
/** Set to true if synthetic shadow DOM support is not needed, which can result in smaller/faster output. */
129131
disableSyntheticShadowSupport?: boolean;
130132
/**
@@ -148,6 +150,7 @@ type OptionalTransformKeys =
148150
| 'scopedStyles'
149151
| 'customRendererConfig'
150152
| 'enableLwcSpread'
153+
| 'enableLwcOn'
151154
| 'enableLightningWebSecurityTransforms'
152155
| 'enableDynamicComponents'
153156
| 'experimentalDynamicDirective'

packages/@lwc/compiler/src/transformers/template.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export default function templateTransform(
4040
customRendererConfig,
4141
enableDynamicComponents,
4242
experimentalDynamicDirective: deprecatedDynamicDirective,
43+
enableLwcOn,
4344
instrumentation,
4445
namespace,
4546
name,
@@ -61,6 +62,7 @@ export default function templateTransform(
6162
enableStaticContentOptimization,
6263
customRendererConfig,
6364
enableDynamicComponents,
65+
enableLwcOn,
6466
instrumentation,
6567
apiVersion,
6668
disableSyntheticShadowSupport,

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,18 @@ This experimental API enables the removal of an object's observable membrane pro
121121
This experimental API enables the addition of a signal as a trusted signal. If the [ENABLE_EXPERIMENTAL_SIGNALS](https://github.com/salesforce/lwc/blob/master/packages/%40lwc/features/README.md#lwcfeatures) feature is enabled, any signal value change will trigger a re-render.
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`.
124+
125+
### setContextKeys
126+
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.
128+
129+
### setTrustedContextSet()
130+
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.
132+
133+
If `setTrustedContextSet` is called more than once, it will throw an error. If it is never called, then context will not be connected.
134+
135+
### ContextBinding
136+
137+
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.

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.17.0",
7+
"version": "8.19.1",
88
"description": "Core LWC engine APIs.",
99
"keywords": [
1010
"lwc"
@@ -46,9 +46,9 @@
4646
}
4747
},
4848
"dependencies": {
49-
"@lwc/features": "8.17.0",
50-
"@lwc/shared": "8.17.0",
51-
"@lwc/signals": "8.17.0"
49+
"@lwc/features": "8.19.1",
50+
"@lwc/shared": "8.19.1",
51+
"@lwc/signals": "8.19.1"
5252
},
5353
"devDependencies": {
5454
"observable-membrane": "2.0.0"

0 commit comments

Comments
 (0)