Skip to content

Releases: vuejs/vue-cli

v4.0.2

17 Oct 02:29
8b08c73
Compare
Choose a tag to compare

🐛 Bug Fix

  • @vue/cli-service
    • #4693 fix: add a compatibility layer for router & vuex for CLI v3 & CLI UI (@sodatea)

Committers: 1

v4.0.1

16 Oct 12:43
9770808
Compare
Choose a tag to compare

🐛 Bug Fix

  • @vue/cli-plugin-eslint, @vue/cli-plugin-router, @vue/cli-plugin-vuex
    • fec160f fix: no need to assertCliVersion. avoid breaking old versions (@sodatea)

v4.0.0

16 Oct 11:41
81f8457
Compare
Choose a tag to compare

We're happy to announce the release of Vue CLI version 4!

This major version bump is focused on necessary version bumps of underlying tools, better default setups, and other fine-tunings required for long-term maintenance.

We expect a smooth migration experience for most users.

You can view the full migration guide at https://cli.vuejs.org/migrating-from-v3/


Vue CLI v4 comes with greatly improved Nightwatch, Jest and PWA support, as well as many other small tweaks across all the core packages.

Lots of underlying major dependencies have been upgraded:

The complete change list is available in the migration guide.


While our focus has shifted to this new major version, old versions will continue to be supported for a while.
Most of the (non-semver-breaking) new features we bring in v4 have already been backported to v3.

We'd like to continue to backport more commits to v3, but as the codebase diverges, it might become harder and harder for us to do so.
We strongly recommend you to upgrade your projects to v4 soon.

Here are a few new features not able to be backported to v3, because of the codebase divergence:

  1. In the development of v4, we've modernized much of the code base, now allowing us to support more package managers (custom package managers and PNPM v4).
    Yarn v2 support may arrive in subsequent feature releases of Vue CLI v4.

  2. For plugin developers, a few more utilities are available in the GeneratorAPI.

v4.0.0-rc.8

11 Oct 09:07
5cce80c
Compare
Choose a tag to compare
v4.0.0-rc.8 Pre-release
Pre-release

Documentation for the RC version is available at https://next.cli.vuejs.org/
See the migration guide at https://next.cli.vuejs.org/migrating-from-v3/

To install the RC version, run yarn global add @vue/cli@next or npm i -g @vue/cli@next


🚀 New Features

  • @vue/cli
  • @vue/babel-preset-app, @vue/cli-plugin-unit-jest, @vue/cli-plugin-unit-mocha
    • #4663 feat(babel-preset): set target to node whenever NODE_ENV === 'test' (@sodatea)
  • @vue/cli-plugin-pwa
    • #4664 feat(pwa): improve compatibility with v3 plugin usage (@sodatea)
  • @vue/cli-service
    • #4641 feat: make the minimizer config available in all modes (@sodatea)
    • #4644 feat: add webdriver log files to gitignore (@sodatea)

💥 Breaking Changes

  • @vue/cli-service
    • #4676 chore!: upgrade terser-webpack-plugin to 2.x (@sodatea)
    • #4673 refactor!: use DefinePlugin (again) instead of EnvironmentPlugin (@sodatea)

🐛 Bug Fix

  • @vue/cli-service
    • #4666 fix: fix redundant log messages from webpack-dev-server (@sodatea)

🏠 Internal

  • @vue/cli-service
    • #4673 refactor!: use DefinePlugin (again) instead of EnvironmentPlugin (@sodatea)

🔨 Underlying Tools

  • @vue/cli-service

Committers: 2

v3.12.0

10 Oct 10:44
57c6f03
Compare
Choose a tag to compare

🚀 New Features

🐛 Bug Fix

  • @vue/cli-service
    • #4666 fix: fix redundant log messages from webpack-dev-server (@sodatea)
    • #4613 fix: correctly ignore html templates in copy-webpack-plugin (@sodatea)
    • #4550 fix: should not proxy sockjs endpoint (@sodatea)
    • #4654 fix: fix ie11 compatibility when css.extract set to true (@sodatea)
  • @vue/cli-shared-utils
    • #4512 fix(pluginResolution): support dots in scope names (@ma-jahn)
  • @vue/cli
    • #4525 fix: remove the nonexistent test command from generated README (@cexbrayat)

📝 Documentation

Committers: 6

v4.0.0-rc.7

01 Oct 15:39
58592fe
Compare
Choose a tag to compare
v4.0.0-rc.7 Pre-release
Pre-release

🐛 Bug Fix

  • @vue/cli-service
    • #4637 fix: avoid accidentally overriding sass config with scss configs (@sodatea)

Committers: 1

v4.0.0-rc.6

30 Sep 12:34
b823ca8
Compare
Choose a tag to compare
v4.0.0-rc.6 Pre-release
Pre-release

🚀 New Features

  • @vue/cli-plugin-babel
    • #4633 feat(babel-migrator): transform babel preset regardless of plugin version (@sodatea)

🐛 Bug Fix

  • @vue/cli
    • #4634 fix(upgrade-all): avoid accidentally writing outdated package.json back (@sodatea)

Committers: 1

v4.0.0-rc.5

30 Sep 12:33
d49f784
Compare
Choose a tag to compare
v4.0.0-rc.5 Pre-release
Pre-release

4.0.0-rc.5 (2019-09-30)

🚀 New Features

  • @vue/cli
  • @vue/cli-plugin-babel
    • #4629 feat(babel): transform preset names in the plugin migrator (@sodatea)

🐛 Bug Fix

  • @vue/cli-service
    • #4631 fix sassOptions merging for scss syntax in sass-loader v8 (@sodatea)
  • @vue/cli-plugin-e2e-nightwatch
    • #4622 fix nightwatch template's compatibility with eslint plugin (@sodatea)
    • #4627 fix nightwatch cli option (--url) handling (@sodatea)

Committers: 2

v4.0.0-rc.4

25 Sep 04:59
2125737
Compare
Choose a tag to compare
v4.0.0-rc.4 Pre-release
Pre-release

Documentation for the RC version is available at https://next.cli.vuejs.org/
There is also a work-in-progress migration guide at #4552

To install the RC version, run yarn global add @vue/cli@next or npm i -g @vue/cli@next


Start from the version, the unit-jest plugin comes with 4 configuration presets:

  • @vue/cli-plugin-unit-jest The default preset for the most common type of projects
  • @vue/cli-plugin-unit-jest/presets/no-babel If you don't have @vue/cli-plugin-babel installed and don't want to see babel files in the project
  • @vue/cli-plugin-unit-jest/presets/typescript The preset with TypeScript support (but no TSX support)
  • @vue/cli-plugin-unit-jest/presets/typescript-and-babel The preset with TypeScript (and TSX) and babel support.

If you haven't changed the default Jest configuration (lies in either jest.config.js or the jest field in package.json) ever since project creation, you can now replace the massive configuration object with one single field:

module.exports = {
  // Replace the following preset name with the one you want to use from the above list
  preset: '@vue/cli-plugin-unit-jest'
}

(the ts-jest, babel-jest dependencies can also be removed now)

A reminder:
The default test environment in the new presets is jsdom@15, which differs from the default one in Jest 24 (jsdom@11).
This is to be aligned with the upcoming Jest 25 updates.
Most users won't be affected by this change.
For a detailed changelog with regard to jsdom, see https://github.com/jsdom/jsdom/blob/master/Changelog.md

🚀 New Features

  • @vue/cli-plugin-unit-jest
    • #4607 feat: use jsdom v15 in jest presets instead of the default v11 (@sodatea)
    • #4597 refactor: move jest configs into presets (@sodatea)
  • @vue/cli-plugin-e2e-nightwatch, @vue/cli-shared-utils, @vue/cli
    • #4563 feat(nightwatch): check user's installed browser versions on scaffolding / before running tests (@sodatea)

🐛 Bug Fix

  • @vue/cli-service
    • #4613 fix: correctly ignore html templates in copy-webpack-plugin (@sodatea)

📝 Documentation

🔨 Underlying Tools

  • @vue/cli-plugin-unit-jest
    • #4607 feat: use jsdom v15 in jest presets instead of the default v11 (@sodatea)
    • #4597 refactor: move jest configs into presets (@sodatea)

Committers: 4

v4.0.0-rc.3

09 Sep 16:09
863d6bb
Compare
Choose a tag to compare
v4.0.0-rc.3 Pre-release
Pre-release

🚀 New Features

  • @vue/cli-service, @vue/cli-shared-utils
  • @vue/cli-plugin-e2e-nightwatch
    • #4541 Upgrade Nightwatch to v1.2 and update bundled config and generated tests (@beatfactor)

Committers: 2