v5.0.0-rc.0
版本发布时间: 2021-11-06 21:50:16
vuejs/vue-cli最新发布版本:v5.0.8(2022-07-07 19:46:48)
For a complete guide on migrating from v4 to v5, see https://next.cli.vuejs.org/migrations/migrate-from-v4.html
There are still a few planned breaking changes that we are still working on. But most features are stable. So we think now is a good time for a release candidate.
- Default preset will be the Vue 3 preset, once the
latest
tag ofvue
on npm becomes v3. - There are a few major upstream dependencies that we may upgrade to once they are ready. Please be aware of the possible breaking changes if your custom configuration depends on them:
- The default mocha version in
@vue/cli-plugin-unit-mocha
is still mocha 8 because mocha 9 isn't yet supported inmochapack
. -
fork-ts-checker-webpack-plugin
doesn't support type checking<script setup>
blocks yet. For now, you have to runvue-tsc
separately. The feature is being actively worked on, though.
- The default mocha version in
The following are the changes between 5.0.0-beta.7 and 5.0.0-rc.0:
-
@vue/cli
-
@vue/cli-plugin-eslint
,@vue/cli-ui-addon-webpack
,@vue/cli-ui-addon-widgets
,@vue/cli-ui
-
@vue/cli-service
-
@vue/cli-plugin-eslint
:boom: Breaking Changes
-
@vue/babel-preset-app
,@vue/cli-plugin-typescript
,@vue/cli-service
-
@vue/cli-service
:bug: Bug Fix
-
@vue/cli-plugin-unit-jest
- #6794 fix(migrator): be aware of the project's vue version (@stefanlivens)
-
@vue/cli-plugin-eslint
:house: Internal
-
@vue/cli-plugin-router
,@vue/cli-plugin-typescript
,@vue/cli-ui-addon-webpack
,@vue/cli-ui-addon-widgets
,@vue/cli-ui
Committers: 3
- Haoqun Jiang (@sodatea)
- Simon Legner (@simon04)
- @stefanlivens