v5.0.0-rc.0
Pre-release
Pre-release
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
π₯ Breaking Changes
@vue/babel-preset-app
,@vue/cli-plugin-typescript
,@vue/cli-service
@vue/cli-service
π Bug Fix
@vue/cli-plugin-unit-jest
- #6794 fix(migrator): be aware of the project's vue version (@stefanlivens)
@vue/cli-plugin-eslint
π 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