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 v2.50.0 #3588

Merged
merged 6 commits into from
Jun 19, 2023
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
4 changes: 2 additions & 2 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"dev": {
"dependsOn": ["^build"]
},
"//": "Build @lwc/perf-benchmarks dependencies and build target when invoking the test:performance script on the root package.json.",
"test": {
"//": "Build @lwc/perf-benchmarks dependencies and build target when invoking the test:performance script on the root package.json.",
"dependsOn": ["build"]
},
"//": "Build @lwc/integration dependencies when invoking the test:integration script on the root package.json.",
"sauce": {
"//": "Build @lwc/integration dependencies when invoking the test:integration script on the root package.json.",
"dependsOn": ["^build"]
}
},
Expand Down
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lwc-monorepo",
"version": "2.49.1",
"version": "2.50.0",
"private": true,
"description": "Lightning Web Components",
"repository": {
Expand All @@ -26,9 +26,13 @@
"test:performance:best:ci": "nx test:best:ci @lwc/perf-benchmarks",
"release:version": "./scripts/release/version.js"
},
"//": {
"@babel/helper-explode-assignable-expression": "required for rollup-plugin-compat"
},
"devDependencies": {
"@babel/core": "7.21.8",
"@babel/preset-env": "7.21.5",
"@babel/core": "^7.22.5",
"@babel/helper-explode-assignable-expression": "^7.18.6",
"@babel/preset-env": "^7.22.5",
"@commitlint/cli": "^17.6.5",
"@lwc/eslint-plugin-lwc-internal": "link:./scripts/eslint-plugin",
"@lwc/jest-utils-lwc-internals": "link:./scripts/jest/utils",
Expand All @@ -37,8 +41,7 @@
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-typescript": "^11.1.1",
"@types/babel__core": "7.20.0",
"@types/glob": "^8.1.0",
"@types/babel__core": "^7.20.1",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.1",
"@typescript-eslint/eslint-plugin": "^5.59.11",
Expand All @@ -58,7 +61,7 @@
"jest-environment-jsdom": "^29.5.0",
"lint-staged": "^13.2.2",
"magic-string": "^0.30.0",
"nx": "15.9.4",
"nx": "16.3.2",
"prettier": "^2.8.8",
"rollup": "^3.25.1",
"rollup-plugin-compat": "^0.22.4",
Expand Down
4 changes: 2 additions & 2 deletions 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": "2.49.1",
"version": "2.50.0",
"description": "ARIA element reflection polyfill for strings",
"keywords": [
"aom",
Expand Down Expand Up @@ -46,6 +46,6 @@
}
},
"dependencies": {
"@lwc/shared": "2.49.1"
"@lwc/shared": "2.50.0"
}
}
8 changes: 4 additions & 4 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": "2.49.1",
"version": "2.50.0",
"description": "Babel plugin to transform a LWC module",
"keywords": [
"lwc"
Expand Down Expand Up @@ -42,9 +42,9 @@
}
},
"dependencies": {
"@babel/helper-module-imports": "7.21.4",
"@lwc/errors": "2.49.1",
"@lwc/shared": "2.49.1",
"@babel/helper-module-imports": "7.22.5",
"@lwc/errors": "2.50.0",
"@lwc/shared": "2.50.0",
"line-column": "~1.0.2"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/@lwc/compiler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const { code } = transformSync(source, filename, options);
- `scopedStyles` (type: `boolean`, optional) - True if the CSS file being compiled is a scoped stylesheet. Passed to `@lwc/style-compiler`.
- `enableStaticContentOptimization` (type: `boolean`, optional) - True if the static content optimization should be enabled. Passed to `@lwc/template-compiler`.
- `customRendererConfig` (type: `object`, optional) - custom renderer config to pass to `@lwc/template-compiler`. See that package's README for details.
- `enableLightningWebSecurityTransforms` (type: `boolean`, default: `false`) - The configuration to enable Lighting Web Security specific transformations.
- `enableLwcSpread` (boolean, optional, `true` by default) - Deprecated. Ignored by compiler. `lwc:spread` is always enabled.
- `disableSyntheticShadowSupport` (type: `boolean`, default: `false`) - Set to true if synthetic shadow DOM support is not needed, which can result in smaller output.
- `instrumentation` (type: `InstrumentationObject`, optional) - instrumentation object to gather metrics and non-error logs for internal use. See the `@lwc/errors` package for details on the interface.
Expand Down
18 changes: 9 additions & 9 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": "2.49.1",
"version": "2.50.0",
"description": "LWC compiler",
"keywords": [
"lwc"
Expand Down Expand Up @@ -42,16 +42,16 @@
}
},
"dependencies": {
"@babel/core": "7.21.8",
"@babel/core": "7.22.5",
"@babel/plugin-proposal-async-generator-functions": "7.20.7",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-object-rest-spread": "7.20.2",
"@babel/plugin-transform-async-to-generator": "7.20.7",
"@babel/plugin-proposal-object-rest-spread": "7.20.7",
"@babel/plugin-transform-async-to-generator": "7.22.5",
"@locker/babel-plugin-transform-unforgeables": "0.19.8",
"@lwc/babel-plugin-component": "2.49.1",
"@lwc/errors": "2.49.1",
"@lwc/shared": "2.49.1",
"@lwc/style-compiler": "2.49.1",
"@lwc/template-compiler": "2.49.1"
"@lwc/babel-plugin-component": "2.50.0",
"@lwc/errors": "2.50.0",
"@lwc/shared": "2.50.0",
"@lwc/style-compiler": "2.50.0",
"@lwc/template-compiler": "2.50.0"
}
}
9 changes: 6 additions & 3 deletions packages/@lwc/compiler/src/transformers/javascript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import * as babel from '@babel/core';
import babelClassPropertiesPlugin from '@babel/plugin-proposal-class-properties';
import babelObjectRestSpreadPlugin from '@babel/plugin-proposal-object-rest-spread';
import lwcClassTransformPlugin from '@lwc/babel-plugin-component';
import lockerBabelPluginTransformUnforgeables from '@locker/babel-plugin-transform-unforgeables';
import babelAsyncToGenPlugin from '@babel/plugin-transform-async-to-generator';
import babelAsyncGeneratorFunctionsPlugin from '@babel/plugin-proposal-async-generator-functions';

import { normalizeToCompilerError, TransformerErrors } from '@lwc/errors';

Expand Down Expand Up @@ -50,9 +53,9 @@ export default function scriptTransform(

if (enableLightningWebSecurityTransforms) {
plugins.push(
'@locker/babel-plugin-transform-unforgeables',
'@babel/plugin-transform-async-to-generator',
'@babel/plugin-proposal-async-generator-functions'
lockerBabelPluginTransformUnforgeables,
babelAsyncToGenPlugin,
babelAsyncGeneratorFunctionsPlugin
);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
declare module '@babel/plugin-proposal-async-generator-functions' {
const props: any;
export = props;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
declare module '@babel/plugin-transform-async-to-generator' {
const props: any;
export = props;
}
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": "2.49.1",
"version": "2.50.0",
"description": "Core LWC engine APIs.",
"keywords": [
"lwc"
Expand Down Expand Up @@ -42,9 +42,9 @@
}
},
"dependencies": {
"@lwc/aria-reflection": "2.49.1",
"@lwc/features": "2.49.1",
"@lwc/shared": "2.49.1"
"@lwc/aria-reflection": "2.50.0",
"@lwc/features": "2.50.0",
"@lwc/shared": "2.50.0"
},
"devDependencies": {
"observable-membrane": "2.0.0"
Expand Down
8 changes: 4 additions & 4 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": "2.49.1",
"version": "2.50.0",
"description": "Renders LWC components in a DOM environment.",
"keywords": [
"lwc"
Expand Down Expand Up @@ -42,9 +42,9 @@
}
},
"devDependencies": {
"@lwc/aria-reflection": "2.49.1",
"@lwc/engine-core": "2.49.1",
"@lwc/shared": "2.49.1",
"@lwc/aria-reflection": "2.50.0",
"@lwc/engine-core": "2.50.0",
"@lwc/shared": "2.50.0",
"magic-string": "^0.30.0"
},
"lwc": {
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": "2.49.1",
"version": "2.50.0",
"description": "Renders LWC components in a server environment.",
"keywords": [
"lwc"
Expand Down Expand Up @@ -42,9 +42,9 @@
}
},
"devDependencies": {
"@lwc/engine-core": "2.49.1",
"@lwc/rollup-plugin": "2.49.1",
"@lwc/shared": "2.49.1",
"@lwc/engine-core": "2.50.0",
"@lwc/rollup-plugin": "2.50.0",
"@lwc/shared": "2.50.0",
"@rollup/plugin-virtual": "^3.0.1",
"parse5": "^6.0.1"
}
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": "2.49.1",
"version": "2.50.0",
"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": "2.49.1",
"version": "2.50.0",
"description": "LWC Features Flags",
"keywords": [
"lwc"
Expand Down Expand Up @@ -42,6 +42,6 @@
}
},
"dependencies": {
"@lwc/shared": "2.49.1"
"@lwc/shared": "2.50.0"
}
}
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": "2.49.1",
"version": "2.50.0",
"scripts": {
"start": "karma start ./scripts/karma-configs/test/local.js",
"test": "karma start ./scripts/karma-configs/test/local.js --single-run --browsers ChromeHeadless",
Expand All @@ -16,11 +16,11 @@
"karma-jasmine": "must be kept at v4 because it is only compatible with jasmine-core@4, which we need for IE11"
},
"devDependencies": {
"@lwc/compiler": "2.49.1",
"@lwc/engine-dom": "2.49.1",
"@lwc/engine-server": "2.49.1",
"@lwc/rollup-plugin": "2.49.1",
"@lwc/synthetic-shadow": "2.49.1",
"@lwc/compiler": "2.50.0",
"@lwc/engine-dom": "2.50.0",
"@lwc/engine-server": "2.50.0",
"@lwc/rollup-plugin": "2.50.0",
"@lwc/synthetic-shadow": "2.50.0",
"chokidar": "^3.5.3",
"istanbul-lib-coverage": "^3.2.0",
"istanbul-lib-report": "^3.0.0",
Expand Down
27 changes: 12 additions & 15 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": "2.49.1",
"version": "2.50.0",
"scripts": {
"build": "node scripts/build.js",
"build:dev": "MODE=dev yarn build",
Expand All @@ -19,23 +19,20 @@
"sauce:compat": "MODE=compat yarn build:compat && MODE=compat wdio ./scripts/wdio.sauce.conf.js",
"sauce:prod_compat": "MODE=prod_compat yarn build:prod_compat && MODE=prod_compat wdio ./scripts/wdio.sauce.conf.js"
},
"//": {
"webdriverio, @wdio/cli": "Currently can't upgrade @wdio namespaced dependencies to v8.0.0 because it dropped CommonJS support https://github.com/webdriverio/webdriverio/releases/tag/v8.0.0"
},
"devDependencies": {
"@lwc/rollup-plugin": "2.49.1",
"@wdio/cli": "^7.26.0",
"@wdio/devtools-service": "^7.30.1",
"@wdio/local-runner": "^7.26.0",
"@wdio/mocha-framework": "^7.26.0",
"@wdio/sauce-service": "^7.26.0",
"@wdio/selenium-standalone-service": "^7.26.0",
"@wdio/spec-reporter": "^7.26.0",
"@wdio/static-server-service": "^7.26.0",
"@lwc/rollup-plugin": "2.50.0",
"@wdio/cli": "^8.11.2",
"@wdio/devtools-service": "^8.11.2",
"@wdio/local-runner": "^8.11.2",
"@wdio/mocha-framework": "^8.11.0",
"@wdio/sauce-service": "^8.11.2",
"@wdio/selenium-standalone-service": "^8.11.0",
"@wdio/spec-reporter": "^8.11.2",
"@wdio/static-server-service": "^8.11.0",
"deepmerge": "^4.3.0",
"dotenv": "^16.1.4",
"lwc": "2.49.1",
"lwc": "2.50.0",
"minimist": "^1.2.8",
"webdriverio": "^7.26.0"
"webdriverio": "^8.11.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = function (browser) {
browser.addCommand(
'focus',
function () {
return this.execute(function (target) {
return browser.execute(function (target) {
target.focus();
}, this);
},
Expand Down
2 changes: 1 addition & 1 deletion packages/@lwc/integration-tests/scripts/wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const wdSuites = suites.reduce((seed, suite) => {
exports.config = {
logLevel: 'warn',

specs: ['./src/**/*.spec.js'],
specs: ['../src/**/*.spec.js'],
suites: wdSuites,

baseUrl: `http://localhost:${port}`,
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": "2.49.1",
"version": "2.50.0",
"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": "2.49.1",
"version": "2.50.0",
"private": true,
"scripts": {
"build": "rm -fr dist && rollup -c ./rollup.config.mjs"
},
"devDependencies": {
"@lwc/rollup-plugin": "2.49.1"
"@lwc/rollup-plugin": "2.50.0"
},
"nx": {
"targets": {
Expand Down
Loading