Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release v7.2.6 #4528

Merged
merged 2 commits into from
Sep 5, 2024
Merged
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lwc-monorepo",
"version": "7.2.5",
"version": "7.2.6",
"private": true,
"description": "Lightning Web Components",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/@lwc/aria-reflection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/aria-reflection",
"version": "7.2.5",
"version": "7.2.6",
"description": "ARIA element reflection polyfill for strings",
"keywords": [
"aom",
Expand Down
6 changes: 3 additions & 3 deletions packages/@lwc/babel-plugin-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/babel-plugin-component",
"version": "7.2.5",
"version": "7.2.6",
"description": "Babel plugin to transform a LWC module",
"keywords": [
"lwc"
Expand Down Expand Up @@ -45,8 +45,8 @@
"@babel/helper-module-imports": "7.24.7",
"@babel/traverse": "^7.25.6",
"@babel/types": "^7.25.0",
"@lwc/errors": "7.2.5",
"@lwc/shared": "7.2.5",
"@lwc/errors": "7.2.6",
"@lwc/shared": "7.2.6",
"line-column": "~1.0.2"
},
"devDependencies": {
Expand Down
14 changes: 7 additions & 7 deletions packages/@lwc/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/compiler",
"version": "7.2.5",
"version": "7.2.6",
"description": "LWC compiler",
"keywords": [
"lwc"
Expand Down Expand Up @@ -48,11 +48,11 @@
"@babel/plugin-transform-class-properties": "7.25.4",
"@babel/plugin-transform-object-rest-spread": "7.24.7",
"@locker/babel-plugin-transform-unforgeables": "0.22.0",
"@lwc/babel-plugin-component": "7.2.5",
"@lwc/errors": "7.2.5",
"@lwc/shared": "7.2.5",
"@lwc/ssr-compiler": "7.2.5",
"@lwc/style-compiler": "7.2.5",
"@lwc/template-compiler": "7.2.5"
"@lwc/babel-plugin-component": "7.2.6",
"@lwc/errors": "7.2.6",
"@lwc/shared": "7.2.6",
"@lwc/ssr-compiler": "7.2.6",
"@lwc/style-compiler": "7.2.6",
"@lwc/template-compiler": "7.2.6"
}
}
8 changes: 4 additions & 4 deletions packages/@lwc/engine-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/engine-core",
"version": "7.2.5",
"version": "7.2.6",
"description": "Core LWC engine APIs.",
"keywords": [
"lwc"
Expand Down Expand Up @@ -42,9 +42,9 @@
}
},
"dependencies": {
"@lwc/features": "7.2.5",
"@lwc/shared": "7.2.5",
"@lwc/signals": "7.2.5"
"@lwc/features": "7.2.6",
"@lwc/shared": "7.2.6",
"@lwc/signals": "7.2.6"
},
"devDependencies": {
"observable-membrane": "2.0.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/@lwc/engine-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/engine-dom",
"version": "7.2.5",
"version": "7.2.6",
"description": "Renders LWC components in a DOM environment.",
"keywords": [
"lwc"
Expand Down Expand Up @@ -42,8 +42,8 @@
}
},
"devDependencies": {
"@lwc/engine-core": "7.2.5",
"@lwc/shared": "7.2.5"
"@lwc/engine-core": "7.2.6",
"@lwc/shared": "7.2.6"
},
"lwc": {
"modules": [
Expand Down
8 changes: 4 additions & 4 deletions packages/@lwc/engine-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/engine-server",
"version": "7.2.5",
"version": "7.2.6",
"description": "Renders LWC components in a server environment.",
"keywords": [
"lwc"
Expand Down Expand Up @@ -42,9 +42,9 @@
}
},
"devDependencies": {
"@lwc/engine-core": "7.2.5",
"@lwc/rollup-plugin": "7.2.5",
"@lwc/shared": "7.2.5",
"@lwc/engine-core": "7.2.6",
"@lwc/rollup-plugin": "7.2.6",
"@lwc/shared": "7.2.6",
"@rollup/plugin-virtual": "^3.0.2",
"parse5": "^7.1.2"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/@lwc/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/errors",
"version": "7.2.5",
"version": "7.2.6",
"description": "LWC Error Utilities",
"keywords": [
"lwc"
Expand Down
4 changes: 2 additions & 2 deletions packages/@lwc/features/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/features",
"version": "7.2.5",
"version": "7.2.6",
"description": "LWC Features Flags",
"keywords": [
"lwc"
Expand Down Expand Up @@ -42,6 +42,6 @@
}
},
"dependencies": {
"@lwc/shared": "7.2.5"
"@lwc/shared": "7.2.6"
}
}
12 changes: 6 additions & 6 deletions packages/@lwc/integration-karma/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@lwc/integration-karma",
"private": true,
"version": "7.2.5",
"version": "7.2.6",
"scripts": {
"start": "KARMA_MODE=watch karma start ./scripts/karma-configs/test/local.js",
"test": "karma start ./scripts/karma-configs/test/local.js --single-run --browsers ChromeHeadless",
Expand All @@ -17,11 +17,11 @@
"karma-sauce-launcher-fix-firefox": "using a fork to work around https://github.com/karma-runner/karma-sauce-launcher/issues/275"
},
"devDependencies": {
"@lwc/compiler": "7.2.5",
"@lwc/engine-dom": "7.2.5",
"@lwc/engine-server": "7.2.5",
"@lwc/rollup-plugin": "7.2.5",
"@lwc/synthetic-shadow": "7.2.5",
"@lwc/compiler": "7.2.6",
"@lwc/engine-dom": "7.2.6",
"@lwc/engine-server": "7.2.6",
"@lwc/rollup-plugin": "7.2.6",
"@lwc/synthetic-shadow": "7.2.6",
"@types/jasmine": "^5.1.4",
"chokidar": "^3.6.0",
"istanbul-lib-coverage": "^3.2.2",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { createElement } from 'lwc';
import Deep from 'x/deep';
import List from 'x/list';
import Mixed from 'x/mixed';

describe('deep listener', () => {
beforeEach(() => {
Expand Down Expand Up @@ -46,4 +47,28 @@ describe('deep listener', () => {
elm.shadowRoot.querySelector('button').click();
expect(window.clickBuffer).toEqual([1, 2]);
});

// In this case, the click listener is re-bound on every render, because the referenced
// listener is scoped inside a <template for:each>. However, `mainLogger.onChange` is
// never re-bound because the `mainLogger` is scoped to the component.
it('does redefine onClick for a list of deep click listeners but not the onChange for a single deep listener', async () => {
const elm = createElement('x-mixed', { is: Mixed });
document.body.appendChild(elm);

elm.loggers = [{ id: 1, onClick: () => window.clickBuffer.push(1) }];
elm.mainLogger = {
onChange: () => window.clickBuffer.push('foo'),
};
await Promise.resolve();
elm.shadowRoot.querySelector('input').click();
expect(window.clickBuffer).toEqual([1, 'foo']);

elm.loggers = [{ id: 2, onClick: () => window.clickBuffer.push(2) }];
elm.mainLogger = {
onChange: () => window.clickBuffer.push('bar'),
};
await Promise.resolve();
elm.shadowRoot.querySelector('input').click();
expect(window.clickBuffer).toEqual([1, 'foo', 2, 'foo']);
});
});
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<template>
<template for:each={loggers} for:item="logger">
<input
key={logger.id}
type="checkbox"
onclick={logger.onClick}
onchange={mainLogger.onChange}
></input>
</template>
</template>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { LightningElement, api } from 'lwc';

export default class extends LightningElement {
@api loggers = [];

@api mainLogger;
}
6 changes: 3 additions & 3 deletions packages/@lwc/integration-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@lwc/integration-tests",
"private": true,
"version": "7.2.5",
"version": "7.2.6",
"scripts": {
"build": "node scripts/build.js",
"build:dev": "MODE=dev yarn build",
Expand All @@ -16,7 +16,7 @@
"sauce:prod:ci": "MODE=prod yarn build:prod && MODE=prod ../../../scripts/ci/retry.sh wdio ./scripts/wdio.sauce.conf.js"
},
"devDependencies": {
"@lwc/rollup-plugin": "7.2.5",
"@lwc/rollup-plugin": "7.2.6",
"@wdio/cli": "^9.0.7",
"@wdio/local-runner": "^9.0.7",
"@wdio/mocha-framework": "^9.0.6",
Expand All @@ -25,7 +25,7 @@
"@wdio/static-server-service": "^9.0.4",
"deepmerge": "^4.3.1",
"dotenv": "^16.4.5",
"lwc": "7.2.5",
"lwc": "7.2.6",
"minimist": "^1.2.8",
"webdriverio": "^9.0.7"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/@lwc/integration-types/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@lwc/integration-types",
"private": true,
"version": "7.2.5",
"version": "7.2.6",
"description": "Type validation for LWC packages",
"type": "module",
"scripts": {
Expand All @@ -10,8 +10,8 @@
"playground": "rollup -c src/playground/rollup.config.js --watch"
},
"dependencies": {
"@lwc/rollup-plugin": "7.2.5",
"lwc": "7.2.5"
"@lwc/rollup-plugin": "7.2.6",
"lwc": "7.2.6"
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/@lwc/module-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/module-resolver",
"version": "7.2.5",
"version": "7.2.6",
"description": "Resolves paths for LWC components",
"keywords": [
"lwc"
Expand Down
4 changes: 2 additions & 2 deletions packages/@lwc/perf-benchmarks-components/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@lwc/perf-benchmarks-components",
"version": "7.2.5",
"version": "7.2.6",
"private": true,
"scripts": {
"build": "rm -fr dist && rollup -c ./rollup.config.mjs"
},
"devDependencies": {
"@lwc/rollup-plugin": "7.2.5"
"@lwc/rollup-plugin": "7.2.6"
},
"nx": {
"targets": {
Expand Down
10 changes: 5 additions & 5 deletions packages/@lwc/perf-benchmarks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lwc/perf-benchmarks",
"version": "7.2.5",
"version": "7.2.6",
"private": true,
"scripts": {
"build": "rm -fr dist && rollup -c ./rollup.config.mjs && node scripts/build.js && ./scripts/fix-deps.sh",
Expand All @@ -14,10 +14,10 @@
"Note it's important for Tachometer that any deps it needs to swap out are dependencies, not devDependencies."
],
"dependencies": {
"@lwc/engine-dom": "7.2.5",
"@lwc/engine-server": "7.2.5",
"@lwc/perf-benchmarks-components": "7.2.5",
"@lwc/synthetic-shadow": "7.2.5"
"@lwc/engine-dom": "7.2.6",
"@lwc/engine-server": "7.2.6",
"@lwc/perf-benchmarks-components": "7.2.6",
"@lwc/synthetic-shadow": "7.2.6"
},
"devDependencies": {
"@best/cli": "^13.0.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/@lwc/rollup-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/rollup-plugin",
"version": "7.2.5",
"version": "7.2.6",
"description": "Rollup plugin to compile LWC",
"keywords": [
"lwc"
Expand Down Expand Up @@ -42,13 +42,13 @@
}
},
"dependencies": {
"@lwc/compiler": "7.2.5",
"@lwc/module-resolver": "7.2.5",
"@lwc/shared": "7.2.5",
"@lwc/compiler": "7.2.6",
"@lwc/module-resolver": "7.2.6",
"@lwc/shared": "7.2.6",
"@rollup/pluginutils": "~5.1.0"
},
"devDependencies": {
"@lwc/errors": "7.2.5"
"@lwc/errors": "7.2.6"
},
"peerDependencies": {
"rollup": "^1.2.0||^2.0.0||^3.0.0||^4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/@lwc/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/shared",
"version": "7.2.5",
"version": "7.2.6",
"description": "Utilities and methods that are shared across packages",
"keywords": [
"lwc"
Expand Down
2 changes: 1 addition & 1 deletion packages/@lwc/signals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/signals",
"version": "7.2.5",
"version": "7.2.6",
"description": "Provides the interface to interact with reactivity from outside the framework",
"keywords": [
"lwc"
Expand Down
6 changes: 3 additions & 3 deletions packages/@lwc/ssr-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/ssr-compiler",
"version": "7.2.5",
"version": "7.2.6",
"description": "Compile component for use during server-side rendering",
"keywords": [
"compiler",
Expand Down Expand Up @@ -44,8 +44,8 @@
}
},
"dependencies": {
"@lwc/shared": "7.2.5",
"@lwc/template-compiler": "7.2.5",
"@lwc/shared": "7.2.6",
"@lwc/template-compiler": "7.2.6",
"acorn": "8.12.1",
"astring": "^1.9.0",
"estree-toolkit": "^1.7.7",
Expand Down
Loading
Loading