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(deps): update vue monorepo #1597
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deploying with Β Β Cloudflare Pages
|
π This PR is included in version 3.1.218 π The release is available on: Your semantic-release bot π¦π |
github-merge-queue bot
pushed a commit
that referenced
this pull request
Oct 9, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [cordova-android](https://togithub.com/apache/cordova-android) | [`^9.0.0` -> `^12.0.0`](https://renovatebot.com/diffs/npm/cordova-android/9.1.0/12.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/cordova-android/12.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/cordova-android/12.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/cordova-android/9.1.0/12.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/cordova-android/9.1.0/12.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>apache/cordova-android (cordova-android)</summary> ### [`v12.0.1`](https://togithub.com/apache/cordova-android/blob/HEAD/RELEASENOTES.md#1201-Aug-23-2023) [Compare Source](https://togithub.com/apache/cordova-android/compare/12.0.0...12.0.1) - [GH-1632](https://togithub.com/apache/cordova-android/pull/1632) fix(android): `monochrome` checks - [GH-1649](https://togithub.com/apache/cordova-android/pull/1649) chore: rebuild `package-lock` w/ lint corrections ### [`v12.0.0`](https://togithub.com/apache/cordova-android/blob/HEAD/RELEASENOTES.md#1200-May-20-2023) [Compare Source](https://togithub.com/apache/cordova-android/compare/11.0.0...12.0.0) **Breaking:** - [GH-1605](https://togithub.com/apache/cordova-android/pull/1605) fix!: Make `CoreAndroid` plugin instantiate on load - [GH-1539](https://togithub.com/apache/cordova-android/pull/1539) feat!: bump Gradle 7.6 & AGP 7.4.2 - [GH-1571](https://togithub.com/apache/cordova-android/pull/1571) feat!: bump min SDK to 24 - [GH-1538](https://togithub.com/apache/cordova-android/pull/1538) feat!: bump target sdk & build tools for SDK 33 support - [GH-1540](https://togithub.com/apache/cordova-android/pull/1540) feat!: bump node engine requirement `>=16.13.0` - [GH-1597](https://togithub.com/apache/cordova-android/pull/1597) deprecate: `CoreAndroid.getBuildConfigValue` - [GH-1541](https://togithub.com/apache/cordova-android/pull/1541) dep(npm)!: bump acceptable modules w/ rebuilt `package-lock` - [GH-1566](https://togithub.com/apache/cordova-android/pull/1566) dep(npm)!: bump `cordova-common@5.0.0` **Features:** - [GH-1602](https://togithub.com/apache/cordova-android/pull/1602) feat: add `listTarget` api - [GH-1574](https://togithub.com/apache/cordova-android/pull/1574) feat: add plugin hooks for `WebViewClient.onRenderProcessGone` - [GH-1594](https://togithub.com/apache/cordova-android/pull/1594) feat: bump default `kotlin` to version 1.7.21 - [GH-1550](https://togithub.com/apache/cordova-android/pull/1550) feat: add `monochrome` app icon support - [GH-1589](https://togithub.com/apache/cordova-android/pull/1589) feat: `InspectableWebview` preference - [GH-1568](https://togithub.com/apache/cordova-android/pull/1568) feat: bump `androidx.appcompat.appcompat` 1.6.1 - [GH-1567](https://togithub.com/apache/cordova-android/pull/1567) feat: bump `androidx.webkit.webkit` 1.6.0 - [GH-1545](https://togithub.com/apache/cordova-android/pull/1545) feat: bump `androidx.webkit.webkit` 1.5.0 - [GH-1547](https://togithub.com/apache/cordova-android/pull/1547) feat: bump `com.google.gms.google-services` 4.3.15 - [GH-1546](https://togithub.com/apache/cordova-android/pull/1546) feat: bump `androidx.core.core-splashscreen` 1.0.0 - [GH-1544](https://togithub.com/apache/cordova-android/pull/1544) feat: bump `androidx.appcompat.appcompat` 1.5.1 **Fixes:** - [GH-1606](https://togithub.com/apache/cordova-android/pull/1606) fix: Gradle Args parsing - [GH-1575](https://togithub.com/apache/cordova-android/pull/1575) fix(`BuildHelper`): get package name from `ApplicationInfo` - [GH-1595](https://togithub.com/apache/cordova-android/pull/1595) fix(test): Native test namespace refactor - [GH-1471](https://togithub.com/apache/cordova-android/pull/1471) fix: `ANDROID_HOME` is the new default, to check first and give advice - [GH-1573](https://togithub.com/apache/cordova-android/pull/1573) fix([GH-1432](https://togithub.com/apache/cordova-android/issues/1432)): Default `content` `src` when content tag is missing - [GH-1506](https://togithub.com/apache/cordova-android/pull/1506) fix: only do fadeout animation if `FadeSplashScreen` is true - [GH-1505](https://togithub.com/apache/cordova-android/pull/1505) fix: correctly flag API dependency on `AppCompat` for Maven - [GH-1487](https://togithub.com/apache/cordova-android/pull/1487) fix: Add **Android** prefix to `WindowSplashScreenBrandingImage` - [GH-1489](https://togithub.com/apache/cordova-android/pull/1489) fix: import type definitions from obsolete `cordova-plugin-splashscreen` **Chores, Refactor, Dependencies & CI:** - [GH-1493](https://togithub.com/apache/cordova-android/pull/1493) chore: add `lint:fix` script for fixing lint errors - [GH-1491](https://togithub.com/apache/cordova-android/pull/1491) chore: Use gradle 7.4.2 distribution url - [GH-1588](https://togithub.com/apache/cordova-android/pull/1588) refactor: Removed obsolete version code checks - [GH-1492](https://togithub.com/apache/cordova-android/pull/1492) refactor: replace deprecated `Handler` constructor - [GH-1587](https://togithub.com/apache/cordova-android/pull/1587) dep: bump npm dependencies - `fs-extra@11.1.1` - `nopt@7.1.0` - `@cordova/eslint-config@5.0.0` - `jasmine@4.6.0` - [GH-1607](https://togithub.com/apache/cordova-android/pull/1607) ci: Added NodeJS 20.x to the workflow matrix - [GH-1542](https://togithub.com/apache/cordova-android/pull/1542) ci(workflow): update `codecov/codecov-action@v3` - [GH-1532](https://togithub.com/apache/cordova-android/pull/1532) ci: update `codecov/codecov-action` reporting format ### [`v11.0.0`](https://togithub.com/apache/cordova-android/blob/HEAD/RELEASENOTES.md#1100-Jul-04-2022) [Compare Source](https://togithub.com/apache/cordova-android/compare/10.1.2...11.0.0) **Breaking:** - [GH-1441](https://togithub.com/apache/cordova-android/pull/1441) feat!: **Android** 12 splash screen - [GH-1427](https://togithub.com/apache/cordova-android/pull/1427) feat!: API 32 support - [GH-1410](https://togithub.com/apache/cordova-android/pull/1410) feat!: API 31 support - [GH-1444](https://togithub.com/apache/cordova-android/pull/1444) fix!: set & use `ANDROID_HOME` as default - [GH-1411](https://togithub.com/apache/cordova-android/pull/1411) chore!: Drop Node 12 support **Features:** - [GH-1448](https://togithub.com/apache/cordova-android/pull/1448) feat: Update `androidx.appcompat` version - [GH-1446](https://togithub.com/apache/cordova-android/pull/1446) feat: Update gradle plugin version - [GH-1447](https://togithub.com/apache/cordova-android/pull/1447) feat: Update google services pluging - [GH-1431](https://togithub.com/apache/cordova-android/pull/1431) feat: support custom `compileSdk` setting - [GH-1311](https://togithub.com/apache/cordova-android/pull/1311) feat: added support for BoM imports **Fixes:** - [GH-1455](https://togithub.com/apache/cordova-android/pull/1455) fix(`prepare`): `destFile` path separator - [GH-1453](https://togithub.com/apache/cordova-android/pull/1453) fix: support installing platfrom from local git checkout - [GH-1449](https://togithub.com/apache/cordova-android/pull/1449) fix: accept file cookies only if `AndroidInsecureFileModeEnabled` - [GH-1443](https://togithub.com/apache/cordova-android/pull/1443) fix: force `hostname` to lowercase - [GH-1434](https://togithub.com/apache/cordova-android/pull/1434) fix: restore `checkReqs` in `prepare.js` - [GH-1154](https://togithub.com/apache/cordova-android/pull/1154) fix: move `MainActivity.java` to folder that tracks the app package name (widget id) **Chores, Dependencies & CI:** - [GH-1451](https://togithub.com/apache/cordova-android/pull/1451) chore: display warning on deprecated `<splash>` tag usage - [GH-1430](https://togithub.com/apache/cordova-android/pull/1430) chore: remove unneeded deprecated annotation - [GH-1421](https://togithub.com/apache/cordova-android/pull/1421) chore(npm): bump `@cordova/eslint-config@^4.0.0` - [GH-1420](https://togithub.com/apache/cordova-android/pull/1420) chore(npm): bump dependencies - [GH-1452](https://togithub.com/apache/cordova-android/pull/1452) dep: bump `jasmine@4.2.1` w/ `package-lock` rebuild - [GH-1439](https://togithub.com/apache/cordova-android/pull/1439) ci: update github action workflow - [GH-1424](https://togithub.com/apache/cordova-android/pull/1424) ci: Added Node 18 to test matrix ### [`v10.1.2`](https://togithub.com/apache/cordova-android/blob/HEAD/RELEASENOTES.md#1012-Apr-11-2022) [Compare Source](https://togithub.com/apache/cordova-android/compare/10.1.1...10.1.2) **Fixes:** - [GH-1372](https://togithub.com/apache/cordova-android/pull/1372) fix(`AndroidManifest`): explicitly define the `activity` attribute `android:exported` - [GH-1406](https://togithub.com/apache/cordova-android/pull/1406) fix: detect `JAVA_HOME` with Java 11 - [GH-1401](https://togithub.com/apache/cordova-android/pull/1401) fix([GH-1391](https://togithub.com/apache/cordova-android/issues/1391)): Reword minimum build tools version to make it more clear what is actually required. - [GH-1384](https://togithub.com/apache/cordova-android/pull/1384) fix: escape `strings.xml` app name **Chores:** - [GH-1413](https://togithub.com/apache/cordova-android/pull/1413) chore: update `package-lock` to satisfy `npm audit` - [GH-1348](https://togithub.com/apache/cordova-android/pull/1348) chore: `npmrc` ### [`v10.1.1`](https://togithub.com/apache/cordova-android/blob/HEAD/RELEASENOTES.md#1011-Sep-13-2021) [Compare Source](https://togithub.com/apache/cordova-android/compare/10.1.0...10.1.1) **Fixes:** - [GH-1349](https://togithub.com/apache/cordova-android/pull/1349) fix(`PluginManager`): `AllowNavigation` default policy to handle scheme & hostname - [GH-1342](https://togithub.com/apache/cordova-android/pull/1342) fix(`AllowListPlugin`): Safely handle default allow navigation policy in allow request - [GH-1332](https://togithub.com/apache/cordova-android/pull/1332) fix(`PluginManager`): `AllowBridgeAccess` default policy to handle scheme & hostname ### [`v10.1.0`](https://togithub.com/apache/cordova-android/blob/HEAD/RELEASENOTES.md#1010-Aug-13-2021) [Compare Source](https://togithub.com/apache/cordova-android/compare/10.0.1...10.1.0) **Features:** - [GH-1213](https://togithub.com/apache/cordova-android/pull/1213) feat: unify `create` default values & stop project name transform - [GH-1306](https://togithub.com/apache/cordova-android/pull/1306) feat: bump `ANDROIDX_APP_COMPAT@1.3.1` - [GH-1303](https://togithub.com/apache/cordova-android/pull/1303) feat: bump `Google Services Gradle Plugin@4.3.8` - [GH-1302](https://togithub.com/apache/cordova-android/pull/1302) feat: bump `kotlin@1.5.21` - [GH-1298](https://togithub.com/apache/cordova-android/pull/1298) feat: support `http` w/ `content` `src` fix **Fixes:** - [GH-1214](https://togithub.com/apache/cordova-android/pull/1214) fix: display project name in Android Studio - [GH-1300](https://togithub.com/apache/cordova-android/pull/1300) fix: fall back to project root `repositories.gradle` **Docs:** - [GH-1308](https://togithub.com/apache/cordova-android/pull/1308) doc: update `README` about development & testing ### [`v10.0.1`](https://togithub.com/apache/cordova-android/blob/HEAD/RELEASENOTES.md#1001-Jul-27-2021) [Compare Source](https://togithub.com/apache/cordova-android/compare/10.0.0...10.0.1) **Fixes:** - [GH-1295](https://togithub.com/apache/cordova-android/pull/1295) fix: `maven-publish` setup - [GH-1293](https://togithub.com/apache/cordova-android/pull/1293) fix: `gradle` build tools config - [GH-1294](https://togithub.com/apache/cordova-android/pull/1294) fix: automatic latest build tools finding - [GH-1287](https://togithub.com/apache/cordova-android/pull/1287) fix: Google Services Gradle Plugin version check failure **Chores:** - [GH-1291](https://togithub.com/apache/cordova-android/pull/1291) chore: add missing release notes - [GH-1286](https://togithub.com/apache/cordova-android/pull/1286) chore: update `README` requirements ### [`v10.0.0`](https://togithub.com/apache/cordova-android/blob/HEAD/RELEASENOTES.md#1000-Jul-17-2021) [Compare Source](https://togithub.com/apache/cordova-android/compare/9.1.0...10.0.0) **Breaking:** - [GH-1052](https://togithub.com/apache/cordova-android/pull/1052) feat!: only support `AndroidX` - [GH-1137](https://togithub.com/apache/cordova-android/pull/1137) feat!: implement `WebViewAssetLoader` - [GH-1268](https://togithub.com/apache/cordova-android/pull/1268) feat!: release build defaults to `aab` package type - [GH-1182](https://togithub.com/apache/cordova-android/pull/1182) feat!: bump `target sdk@30` w/ `build-tool@30.0.3` - [GH-1257](https://togithub.com/apache/cordova-android/pull/1257) feat!: upgrade `gradle@7.1.1` - [GH-1197](https://togithub.com/apache/cordova-android/pull/1197) feat!: upgrade `gradle@6.8.3` - [GH-1256](https://togithub.com/apache/cordova-android/pull/1256) feat!: upgrade `kotlin@1.5.20` - [GH-1204](https://togithub.com/apache/cordova-android/pull/1204) feat!: upgrade `kotlin@1.4.32` - [GH-1200](https://togithub.com/apache/cordova-android/pull/1200) feat!: upgrade `kotlin@1.4.31` - [GH-1255](https://togithub.com/apache/cordova-android/pull/1255) feat!: upgrade `android-gradle-plugin@4.2.2` - [GH-1232](https://togithub.com/apache/cordova-android/pull/1232) feat!: upgrade `android-gradle-plugin@4.2.1` - [GH-1198](https://togithub.com/apache/cordova-android/pull/1198) feat!: upgrade `android-gradle-plugin@4.1.3` - [GH-1199](https://togithub.com/apache/cordova-android/pull/1199) feat!: upgrade `Google Services Gradle Plugin@4.3.5` - [GH-1262](https://togithub.com/apache/cordova-android/pull/1262) feat!: bump `appcompat@1.3.0` - [GH-1258](https://togithub.com/apache/cordova-android/pull/1258) feat!: bump `android.webkit@1.4.0` - [GH-1252](https://togithub.com/apache/cordova-android/pull/1252) feat!: drop abandoned `com.github.dcendents:android-maven-gradle-plugin` - [GH-1212](https://togithub.com/apache/cordova-android/pull/1212) feat!: unify & fix gradle library/tooling overrides - [GH-1138](https://togithub.com/apache/cordova-android/pull/1138) feat(allow-list)!: integrate and refactor core plugin - [GH-1201](https://togithub.com/apache/cordova-android/pull/1201) feat!: upgrade jfrog `gradle-bintray-plugin@1.8.5` - [GH-1279](https://togithub.com/apache/cordova-android/pull/1279) chore!: bump all dependencies - [GH-1278](https://togithub.com/apache/cordova-android/pull/1278) chore!: drop `node` 10 support - [GH-1205](https://togithub.com/apache/cordova-android/pull/1205) chore! (`npm`): update all dependencies - [GH-1274](https://togithub.com/apache/cordova-android/pull/1274) cleanup!: remove deprecated settings & add todo comments - [GH-1048](https://togithub.com/apache/cordova-android/pull/1048) cleanup!: remove `keystore` password prompt - [GH-1251](https://togithub.com/apache/cordova-android/pull/1251) cleanup!: drop `jcenter` & update dependencies - [GH-1269](https://togithub.com/apache/cordova-android/pull/1269) refactor!: do not copy JS lib to platform project - [GH-1270](https://togithub.com/apache/cordova-android/pull/1270) refactor(Api)!: use version from `package.json` - [GH-1266](https://togithub.com/apache/cordova-android/pull/1266) refactor(run)!: `run` method - [GH-1083](https://togithub.com/apache/cordova-android/pull/1083) refactor!: drop support for `android` SDK tool - [GH-1100](https://togithub.com/apache/cordova-android/pull/1100) refactor!: remove most platform binaries **Features:** - [GH-1241](https://togithub.com/apache/cordova-android/pull/1241) feat: remove `java` 1.8 version check - [GH-1254](https://togithub.com/apache/cordova-android/pull/1254) feat: support `webkit` version override - [GH-1229](https://togithub.com/apache/cordova-android/pull/1229) feat: `CORDOVA_JAVA_HOME` env variable - [GH-1222](https://togithub.com/apache/cordova-android/pull/1222) feat: add backwards compatibility mode for `WebViewAssetLoader` - [GH-1166](https://togithub.com/apache/cordova-android/pull/1166) feat: overload `PluginEntry` constructor to set onload property - [GH-1208](https://togithub.com/apache/cordova-android/pull/1208) feat: allow `appcompat` version to be configurable - [GH-1047](https://togithub.com/apache/cordova-android/pull/1047) feat: Deprecated `onRequestPermissionResult` in favour for `onRequestPermissionsResult` for consistency **Fixes:** - [GH-1283](https://togithub.com/apache/cordova-android/pull/1283) fix: add missing apache-license header to `getASPath.bat` - [GH-1275](https://togithub.com/apache/cordova-android/pull/1275) fix: add `WebViewAssetloader` to default allow list - [GH-1216](https://togithub.com/apache/cordova-android/pull/1216) fix: request focus after custom view hided - [GH-1264](https://togithub.com/apache/cordova-android/pull/1264) fix: missing `super.onRequestPermissionsResult` error (`MissingSuperCall`) - [GH-563](https://togithub.com/apache/cordova-android/pull/563) fix(build): support tilde expansion on Windows - [GH-1220](https://togithub.com/apache/cordova-android/pull/1220) fix(`requirements` check): use regex to get java version from javac output - [GH-1227](https://togithub.com/apache/cordova-android/pull/1227) fix(prepare): delete splash screens if none are used - [GH-1228](https://togithub.com/apache/cordova-android/pull/1228) fix: java checks - [GH-1276](https://togithub.com/apache/cordova-android/pull/1276) fix: remove forced default `gradle.daemon` setting **Refactors:** - [GH-1265](https://togithub.com/apache/cordova-android/pull/1265) refactor: do not infer project root from script location - [GH-1267](https://togithub.com/apache/cordova-android/pull/1267) refactor: use target SDK of built APK to determine best emulator - [GH-1253](https://togithub.com/apache/cordova-android/pull/1253) refactor: `gradle` cleanup - [GH-1260](https://togithub.com/apache/cordova-android/pull/1260) refactor(`check_reqs`): drop `originalError` param from `check_android_target` - [GH-1246](https://togithub.com/apache/cordova-android/pull/1246) refactor(`env/java`): improve tests and implementation **Chores & Cleanup:** - [GH-1273](https://togithub.com/apache/cordova-android/pull/1273) chore: remove old `VERSION` file - [GH-1272](https://togithub.com/apache/cordova-android/pull/1272) cleanup: delete old ANT & Eclipse files - [GH-1141](https://togithub.com/apache/cordova-android/pull/1141) cleanup: remove app cache settings **CI, Build & Testing:** - [GH-1218](https://togithub.com/apache/cordova-android/pull/1218) ci: Add `Node16` to CI matrix - [GH-1271](https://togithub.com/apache/cordova-android/pull/1271) build: build `cordova.js` during npm prepare - [GH-1207](https://togithub.com/apache/cordova-android/pull/1207) test(`AndroidManifest`): update theme to `Theme.AppCompat.NoActionBar` - [GH-1263](https://togithub.com/apache/cordova-android/pull/1263) test(`check_reqs`): do not hardcode `DEFAULT_TARGET_API` - [GH-1259](https://togithub.com/apache/cordova-android/pull/1259) test(`prepare`): factor out common vars </details> --- ### Configuration π **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). π¦ **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. π **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/chemicaltools/chemicaltools-web). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.5.17
->4.5.19
4.5.17
->4.5.19
4.5.17
->4.5.19
4.5.17
->4.5.19
2.6.14
->2.7.4
2.6.14
->2.7.4
Release Notes
vuejs/vue-cli
v4.5.19
Compare Source
IMPORTANT NOTE: IE 11 has reached End-of-Life. The default
browserslist
query no longer includes IE 11 as a target.If your project still has to support IE 11, you MUST manually add
IE 11
to the last line of the.browserslistrc
file in the project (orbrowserslist
field inpackage.json
)π Bug Fix
@vue/babel-preset-app
@vue/cli-plugin-typescript
v4.5.18
Compare Source
Fix compatibility with the upcoming Vue 2.7 (currently in alpha) and Vue Loader 15.10 (currently in beta).
In Vue 2.7,
vue-template-compiler
is no longer a required peer dependency. Rather, there's a new export under the main package asvue/compiler-sfc
.vuejs/vue
v2.7.4
Compare Source
Bug Fixes
Features
v2.7.3
Compare Source
Bug Fixes
v2.7.2
Compare Source
Bug Fixes
Features
v2.7.1
Compare Source
Bug Fixes
v2.7.0
Compare Source
Backported Features
<script setup>
In addition, the following APIs are also supported:
defineComponent()
with improved type inference (compared toVue.extend
)h()
,useSlot()
,useAttrs()
,useCssModules()
set()
,del()
andnextTick()
are also provided as named exports in ESM builds.The
emits
option is also supported, but only for type-checking purposes (does not affect runtime behavior)2.7 also supports using ESNext syntax in template expressions. When using a build system, the compiled template render function will go through the same loaders / plugins configured for normal JavaScript. This means if you have configured Babel for
.js
files, it will also apply to the expressions in your SFC templates.Notes on API exposure
In ESM builds, these APIs are provided as named exports (and named exports only):
In UMD and CJS builds, these APIs are exposed as properties on the global
Vue
object.When bundling with CJS builds externalized, bundlers should be able to handle ESM interop when externalizing CJS builds.
Behavior Differences from Vue 3
The Composition API is backported using Vue 2's getter/setter-based reactivity system to ensure browser compatibility. This means there are some important behavior differences from Vue 3's proxy-based system:
All Vue 2 change detection caveats still apply.
reactive()
,ref()
, andshallowReactive()
will directly convert original objects instead of creating proxies. This means:readonly()
does create a separate object, but it won't track newly added properties and does not work on arrays.Avoid using arrays as root values in
reactive()
because without property access the array's mutation won't be tracked (this will result in a warning).Reactivity APIs ignore properties with symbol keys.
In addition, the following features are explicitly NOT ported:
createApp()
(Vue 2 doesn't have isolated app scope)await
in<script setup>
(Vue 2 does not support async component initialization)expose
option is not supported for options components (butdefineExpose()
is supported in<script setup>
).Upgrade Guide
Vue CLI / webpack
Upgrade local
@vue/cli-xxx
dependencies the latest version in your major version range (if applicable):~4.5.18
for v4~5.0.6
for v5Upgrade
vue
to^2.7.0
. You can also removevue-template-compiler
from the dependencies - it is no longer needed in 2.7.Note: if you are using
@vue/test-utils
, you may need to keep it in the dependencies for now, but this requirement will also be lifted in a new release of test utils.Check your package manager lockfile to ensure the following dependencies meet the version requirements. They may be transitive dependencies not listed in
package.json
.vue-loader
:^15.10.0
vue-demi
:^0.13.1
If not, you will need to remove
node_modules
and the lockfile and perform a fresh install to ensure they are bumped to the latest version.If you were previously using
@vue/composition-api
, update imports from it tovue
instead. Note that some APIs exported by the plugin, e.g.createApp
, are not ported in 2.7.Update
eslint-plugin-vue
to latest version (9+) if you run into unused variable lint errors when using<script setup>
.The SFC compiler for 2.7 now uses PostCSS 8 (upgraded from 7). PostCSS 8 should be backwards compatible with most plugins, but the upgrade may cause issues if you were previously using a custom PostCSS plugin that can only work with PostCSS 7. In such cases, you will need to upgrade the relevant plugins to their PostCSS 8 compatible versions.
Vite
2.7 support for Vite is provided via a new plugin: @βvitejs/plugin-vue2. This new plugin requires Vue 2.7 or above and supersedes the existing vite-plugin-vue2.
Note that the new plugin does not handle Vue-specific JSX / TSX transform, which is intentional. Vue 2 JSX / TSX transform should be handled in a separate, dedicated plugin, which will be provided soon.
Volar Compatibility
2.7 ships improved type definitions so it is no longer necessary to install
@vue/runtime-dom
just for Volar template type inference support. All you need now is the following config intsconfig.json
:Devtools Support
Vue Devtools 6.2.0 has added support for inspecting 2.7 Composition API state, but the extensions may still need a few days to go through review on respective publishing platforms.
Bug Fixes
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Enabled.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π» Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.