Skip to content

v4.0.0

Compare
Choose a tag to compare
@sodatea sodatea released this 16 Oct 11:41
· 870 commits to dev since this release
81f8457

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.