Skip to content

v5.0.0-rc.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@haoqunjiang haoqunjiang released this 06 Nov 13:50
· 111 commits to dev since this release
8eb12d6

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 of vue 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 in mochapack.
    • fork-ts-checker-webpack-plugin doesn't support type checking <script setup> blocks yet. For now, you have to run vue-tsc separately. The feature is being actively worked on, though.

The following are the changes between 5.0.0-beta.7 and 5.0.0-rc.0:

  • @vue/cli
    • #6817 feat: generate vue.config.js with defineConfig wrapper (@sodatea)
  • @vue/cli-plugin-eslint, @vue/cli-ui-addon-webpack, @vue/cli-ui-addon-widgets, @vue/cli-ui
    • #6795 feat(generator)!: bump eslint-plugin-vue to v8 (@sodatea)
  • @vue/cli-service
    • #6790 feat!: bump css-loader and mini-css-extract-plugin versions (@sodatea)
  • @vue/cli-plugin-eslint
    • #6791 feat: replace@vue/eslint-config-prettier with eslint-config-prettier (@sodatea)

πŸ’₯ Breaking Changes

  • @vue/babel-preset-app, @vue/cli-plugin-typescript, @vue/cli-service
    • #6808 feat!: remove @vue/compiler-sfc from peer dependencies (@sodatea)
  • @vue/cli-service
    • #6790 feat!: bump css-loader and mini-css-extract-plugin versions (@sodatea)

πŸ› Bug Fix

  • @vue/cli-plugin-unit-jest
  • @vue/cli-plugin-eslint
    • #6787 fix: bump eslint-webpack-plugin and fix lintOnError regressions (@sodatea)

🏠 Internal

  • @vue/cli-plugin-router, @vue/cli-plugin-typescript, @vue/cli-ui-addon-webpack, @vue/cli-ui-addon-widgets, @vue/cli-ui
    • #6809 refactor: use multi-word names for router views (@sodatea)

Committers: 3