vue-cli4更新历程

本文档记录了 Vue CLI 4 的各个版本更新内容,包括新特性、重大变更、bug 修复和文档更新。从 4.0.0 到 4.0.1,每个版本都涉及到了对工具、内部工作流程和依赖项的改进,旨在提升用户体验和开发效率。
摘要由CSDN通过智能技术生成

在这里插入图片描述

4.0.1 (2019-10-16)

? Bug Fix
  • @vue/cli-plugin-eslint, @vue/cli-plugin-router, @vue/cli-plugin-vuex, @vue/cli-service-global, @vue/cli-ui-addon-webpack, @vue/cli-ui-addon-widgets, @vue/cli-ui, @vue/cli
    • fec160f fix: no need to assertCliVersion. avoid breaking old versions (@sodatea)

4.0.0 (2019-10-16)

? New Features
  • @vue/cli-shared-utils, @vue/cli
? Breaking Changes
  • @vue/cli
    • #4681 chore!: add @vue/cli in --version output, to avoid confusion (@sodatea)
? Bug Fix
  • @vue/cli-plugin-babel
? Documentation
Committers: 5

4.0.0-rc.8 (2019-10-11)

? 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

4.0.0-rc.7 (2019-10-01)

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

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

? 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

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: fix sassOptions merging for scss syntax in sass-loader v8 (@sodatea)
  • @vue/cli-plugin-e2e-nightwatch
    • #4622 fix: fix nightwatch template’s compatibility with eslint plugin (@sodatea)
    • #4627 fix: fix nightwatch cli option (--url) handling (@sodatea)
Committers: 2

4.0.0-rc.4 (2019-09-25)

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 configurations (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'
}

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

4.0.0-rc.3 (2019-09-09)

? 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

4.0.0-rc.2 (2019-09-08)

? New Features
  • @vue/cli-plugin-eslint, @vue/cli
    • #4549 feat: implement a migrator to auto add eslint to deps (@sodatea)
? Bug Fix
  • @vue/cli-plugin-e2e-nightwatch
  • @vue/cli-service
  • @vue/cli
    • #4546 fix(upgrade): correctly update version range in package.json (@sodatea)
? Documentation
Committers: 3

4.0.0-rc.1 (2019-09-04)

? New Features
  • @vue/cli-plugin-e2e-nightwatch
  • @vue/cli-plugin-babel, @vue/cli-plugin-typescript
    • #4533 fix(cli-plugin-babel): properly exports the babel preset (@arcanis)
  • @vue/cli
    • #4497 feat: add vue outdated command & make vue upgrade interactive (@sodatea)
? Bug Fix
  • @vue/cli
    • #4525 fix: remove the nonexistent test command from generated README (@cexbrayat)
  • @vue/cli-plugin-babel, @vue/cli-plugin-typescript
    • #4533 fix(cli-plugin-babel): properly exports the babel preset (@arcanis)
  • @vue/cli-shared-utils
    • #4512 fix(pluginResolution): support dots in scope names (@ma-jahn)
Committers: 5

4.0.0-rc.0 (2019-08-21)

? New Features
  • @vue/cli-service
? Bug Fix
  • @vue/cli-plugin-eslint, @vue/cli-ui
  • @vue/cli-service
    • #4468 feat: bump default less-loader version (@sodatea)
    • #4429 fix: merge custom externals config correctly, supports array (@sodatea)
  • @vue/cli-plugin-unit-jest, @vue/cli-plugin-unit-mocha
? Documentation
? Internal
  • @vue/cli-ui-addon-webpack, @vue/cli-ui
? Underlying Tools
  • @vue/cli-service
  • @vue/cli-plugin-babel, @vue/cli-plugin-eslint, @vue/cli-plugin-pwa, @vue/cli-plugin-typescript, @vue/cli-service
Committers: 8

4.0.0-beta.3 (2019-08-08)

? New Features
  • @vue/cli
    • #4404 feat: add --next flag to vue upgrade to check for beta versions (@sodatea)
    • #4404 feat: add --next flag to vue upgrade to check for beta versions (@sodatea)
  • @vue/cli-service
    • #4387 feat!: deprecate css.modules in favor of css.requireModuleExtension (@sodatea)
    • #4386 feat: allow configuring scss options separately from sass (@sodatea)
? Breaking Changes
  • @vue/cli-service
    • #4387 feat!: deprecate css.modules in favor of css.requireModuleExtension (@sodatea)
  • @vue/cli-service, @vue/cli-ui
    • #4388 chore!: remove the already-deprecated baseUrl option (@sodatea)
  • @vue/cli-plugin-e2e-cypress
    • #3774 chore: remove support for legacy vue-cli-service e2e command (@sodatea)
? Bug Fix
  • @vue/cli-shared-utils
    • #4405 fix: resolvePluginId should correctly resolve @vue/cli-service (@sodatea)
  • @vue/cli-plugin-typescript, @vue/cli
    • #4374 fix: do not generate empty file when adding ts plugin without router (@cexbrayat)
  • @vue/cli
    • #4377 fix: Make sure afterInvoke hook doesn’t get run from other plugins (@pksunkara)
? Documentation
? Internal
  • @vue/cli-plugin-e2e-cypress, @vue/cli-plugin-e2e-nightwatch, @vue/cli-plugin-eslint, @vue/cli-plugin-pwa, @vue/cli-plugin-typescript, @vue/cli-service-global, @vue/cli-service, @vue/cli-shared-utils, @vue/cli-test-utils, @vue/cli
Committers: 4

4.0.0-beta.2 (2019-07-29)

? New Features
? Bug Fix
  • @vue/cli-service
    • #4363 fix: fix css.loaderOptions.css.modules default values (@sodatea)
    • #4359 fix stats display when chunkFilename contains query string (@flyhope)
  • @vue/cli
    • #4356 fix: vue add should be able to install prerelease versions for official plugins (@sodatea)
? Documentation
  • Other
  • @vue/cli-plugin-babel, @vue/cli-plugin-e2e-cypress, @vue/cli-plugin-e2e-nightwatch, @vue/cli-plugin-eslint, @vue/cli-plugin-pwa, @vue/cli-plugin-router, @vue/cli-plugin-typescript, @vue/cli-plugin-unit-jest, @vue/cli-plugin-unit-mocha, @vue/cli-plugin-vuex
    • #4365 chore: plugins should list @vue/cli-service in peerDependencies (@sodatea)
  • @vue/cli-plugin-e2e-nightwatch
    • #4364 Replacing nightwatch CLI options URL with proper documentation (@aberonni)
? Internal
  • @vue/cli-plugin-babel, @vue/cli-plugin-e2e-cypress, @vue/cli-plugin-e2e-nightwatch, @vue/cli-plugin-eslint, @vue/cli-plugin-pwa, @vue/cli-plugin-router, @vue/cli-plugin-typescript, @vue/cli-plugin-unit-jest, @vue/cli-plugin-unit-mocha, @vue/cli-plugin-vuex
    • #4365 chore: plugins should list @vue/cli-service in peerDependencies (@sodatea)
  • @vue/cli-service, @vue/cli
Committers: 8

4.0.0-beta.1 (2019-07-25)

? New Features
  • @vue/cli
    • #4342 Add --port argument to ‘vue serve’ command (@bokub)
? Bug Fix
  • @vue/cli-service
    • #4345 fix: fix css modules configuration in css-loader v3 (@sodatea)
  • @vue/cli-plugin-typescript
    • #4346 fix: fix typo in typescript generator, convertAllFiles -> convertJsToTs (@sodatea)
  • @vue/cli-plugin-eslint
  • @vue/cli-shared-utils
Committers: 3

4.0.0-beta.0 (2019-07-22)

? New Features
  • @vue/cli-plugin-eslint
    • #4329 feat(eslint-generator): upgrade @vue/eslint-config-prettier to v5.0.0 (@sodatea)
  • @vue/cli-plugin-eslint, @vue/cli
? Breaking Changes
  • @vue/cli-service
    • #4331 chore!: update versions of underlying webpack loaders (@sodatea)
    • #4323 chore!: ensure consistent directory structure for all modes (@sodatea)
    • #4302 chore!: move dev configs into serve command (@sodatea)
? Bug Fix
  • @vue/cli
    • #4332 fix: when executing multiple actions, only check git status once (@sodatea)
    • #4330 fix: require parent template after when condition evaluated as truthy (@sodatea)
    • #4295 fix: fix latest version check when current version is a prerelease (@sodatea)
  • @vue/cli-plugin-eslint
    • #4329 feat(eslint-generator): upgrade @vue/eslint-config-prettier to v5.0.0 (@sodatea)
  • @vue/cli-service
    • #4320 fix: do not introduce extra level of directory when building lib for scoped packages (@MewesK)
  • @vue/cli-test-utils
    • #4224 fix(cli-test-utils): use --no-git when initGit option is false (@fangbinwei)
? Documentation
? Internal
  • @vue/cli-service
? Underlying Tools
Committers: 7

4.0.0-alpha.5 (2019-07-14)

? New Features
  • @vue/cli
    • #4275 feat!: confirm before invoke/add/upgrade if project has uncommitted changes (@sodatea)
? Breaking Changes
  • @vue/cli-service
  • @vue/cli
    • #4275 feat!: confirm before invoke/add/upgrade if project has uncommitted changes (@sodatea)
? Bug Fix
  • @vue/cli-service
? Documentation
? Internal
  • @vue/cli-ui, @vue/cli
Committers: 4

4.0.0-alpha.4 (2019-07-06)

? New Features
  • @vue/cli-plugin-babel, @vue/cli-plugin-e2e-cypress, @vue/cli-plugin-e2e-nightwatch, @vue/cli-plugin-eslint, @vue/cli-plugin-pwa, @vue/cli-plugin-router, @vue/cli-plugin-typescript, @vue/cli-plugin-unit-jest, @vue/cli-plugin-unit-mocha, @vue/cli-plugin-vuex, @vue/cli-shared-utils
    • #4219 feat: allow omitting scope prefix for official plugins on vue add (@sodatea)
? Breaking Changes
  • @vue/cli-plugin-vuex, @vue/cli-service, @vue/cli-ui, @vue/cli
  • @vue/cli-plugin-router, @vue/cli-plugin-typescript, @vue/cli-service, @vue/cli-ui, @vue/cli
? Bug Fix
  • @vue/cli-plugin-eslint
? Documentation
  • Other
  • @vue/babel-preset-app, @vue/cli-plugin-e2e-nightwatch, @vue/cli-plugin-eslint, @vue/cli-service, @vue/cli-ui, @vue/cli
Committers: 4

4.0.0-alpha.3 (2019-07-04)

? Bug Fix
  • @vue/cli-plugin-eslint
    • #4233 fix: use module directory instead of main entry path for eslintPath (@sodatea)
Committers: 1

4.0.0-alpha.2 (2019-07-03)

? New Features
  • @vue/cli-plugin-babel, @vue/cli-plugin-typescript, @vue/cli-shared-utils, @vue/cli-ui, @vue/cli-upgrade, @vue/cli
    • #4090 feat!: redesigns vue upgrade, supports code migration (@sodatea)
  • @vue/cli
    • #4188 feat: add transformScript to GeneratorAPI (@sodatea)
    • #4000 feat: implement version-related APIs for GeneratorAPI (@sodatea)
    • #4168 feat: make injectImports & injectRootOptions work for .vue files (@sodatea)
  • @vue/cli-plugin-typescript
? Breaking Changes
  • @vue/cli-plugin-babel, @vue/cli-plugin-typescript, @vue/cli-shared-utils, @vue/cli-ui, @vue/cli-upgrade, @vue/cli
    • #4090 feat!: redesigns vue upgrade, supports code migration (@sodatea)
? Bug Fix
  • @vue/cli-service
    • #4169 fix: prefer devServer.public as the custom url for browser to open (#4169) (@Devil-Cong)
    • #4150 chore: upgrade default-gateway to 5.0.2 (@zrh122)
    • #4083 fix: display correct address when multiple network adapters present (@sodatea)
    • #4095 fix: fix resolve project local plugin’s file path (@sodatea)
  • @vue/cli
    • #4148 fix: fix config merging during vue invoke in Node.js v12 (@sodatea)
  • @vue/eslint-config-airbnb
? Documentation
? Internal
  • @vue/cli
  • @vue/cli-plugin-eslint, @vue/cli-plugin-typescript, @vue/cli-service
    • #4153 chore: move yorkie from cli-service to plugin-eslint & plugin-typescript (@sodatea)
Committers: 11

4.0.0-alpha.1 (2019-05-25)

? Breaking Changes
  • @vue/cli-plugin-eslint, @vue/cli-service-global, @vue/cli-service, @vue/cli-ui-addon-widgets, @vue/cli
    • #3975 chore!: change default value of lintOnSave option (@sodatea)
  • @vue/cli-service
  • @vue/cli-plugin-typescript

Most of the following new features and bugfixes also applies to v3.8.0

? New Features
? Bug Fix
  • @vue/cli-upgrade
    • #4036 fix: add missing dependencies to @vue/cli-upgrade (@sodatea)
  • @vue/cli-service
    • #4034 fix bundles’ compatibility with workers for those built in development mode (@sodatea)
    • #4025 fix: update the css-loader runtime path for css-loader v2 (@sodatea)
  • @vue/cli-ui
? Internal
  • @vue/cli-service
  • @vue/cli
    • #4003 refactor: replace recast with jscodeshift for injectImportsAndOptions, fixes #3309 (@sodatea)
? Underlying Tools
Committers: 9

4.0.0-alpha.0 (2019-05-01)

? Breaking Changes
  • @vue/cli-service, @vue/cli
    • #3921 generator/preset: default to dart sass for sass option of cssPreprocessor (@sodatea)
  • @vue/cli-service
  • @vue/babel-preset-app, @vue/cli-plugin-babel
  • @vue/cli-plugin-eslint
  • @vue/cli-plugin-eslint, @vue/cli-service-global
  • @vue/cli-plugin-pwa
  • @vue/cli-plugin-e2e-nightwatch
  • @vue/cli-plugin-unit-jest
  • @vue/cli-plugin-unit-mocha
    • #3914 upgrade to mocha 6 and use mochapack instead of mocha-webpack (@sodatea)
Committers: 3
? Bug Fix
  • @vue/cli-plugin-eslint, @vue/cli-plugin-router, @vue/cli-plugin-vuex, @vue/cli-service-global, @vue/cli-ui-addon-webpack, @vue/cli-ui-addon-widgets, @vue/cli-ui, @vue/cli
    • fec160f fix: no need to assertCliVersion. avoid breaking old versions (@sodatea)

4.0.0 (2019-10-16)

? New Features
  • @vue/cli-shared-utils, @vue/cli
? Breaking Changes
  • @vue/cli
    • #4681 chore!: add @vue/cli in --version output, to avoid confusion (@sodatea)
? Bug Fix
  • @vue/cli-plugin-babel
? Documentation
Committers: 5

4.0.0-rc.8 (2019-10-11)

? 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

4.0.0-rc.7 (2019-10-01)

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

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

? 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

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: fix sassOptions merging for scss syntax in sass-loader v8 (@sodatea)
  • @vue/cli-plugin-e2e-nightwatch
    • #4622 fix: fix nightwatch template’s compatibility with eslint plugin (@sodatea)
    • #4627 fix: fix nightwatch cli option (--url) handling (@sodatea)
Committers: 2

4.0.0-rc.4 (2019-09-25)

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 configurations (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'
}

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

4.0.0-rc.3 (2019-09-09)

? 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

4.0.0-rc.2 (2019-09-08)

? New Features
  • @vue/cli-plugin-eslint, @vue/cli
    • #4549 feat: implement a migrator to auto add eslint to deps (@sodatea)
? Bug Fix
  • @vue/cli-plugin-e2e-nightwatch
  • @vue/cli-service
  • @vue/cli
    • #4546 fix(upgrade): correctly update version range in package.json (@sodatea)
? Documentation
Committers: 3

4.0.0-rc.1 (2019-09-04)

? New Features
  • @vue/cli-plugin-e2e-nightwatch
  • @vue/cli-plugin-babel, @vue/cli-plugin-typescript
    • #4533 fix(cli-plugin-babel): properly exports the babel preset (@arcanis)
  • @vue/cli
    • #4497 feat: add vue outdated command & make vue upgrade interactive (@sodatea)
? Bug Fix
  • @vue/cli
    • #4525 fix: remove the nonexistent test command from generated README (@cexbrayat)
  • @vue/cli-plugin-babel, @vue/cli-plugin-typescript
    • #4533 fix(cli-plugin-babel): properly exports the babel preset (@arcanis)
  • @vue/cli-shared-utils
    • #4512 fix(pluginResolution): support dots in scope names (@ma-jahn)
Committers: 5

4.0.0-rc.0 (2019-08-21)

? New Features
  • @vue/cli-service
? Bug Fix
  • @vue/cli-plugin-eslint, @vue/cli-ui
  • @vue/cli-service
    • #4468 feat: bump default less-loader version (@sodatea)
    • #4429 fix: merge custom externals config correctly, supports array (@sodatea)
  • @vue/cli-plugin-unit-jest, @vue/cli-plugin-unit-mocha
? Documentation
? Internal
  • @vue/cli-ui-addon-webpack, @vue/cli-ui
? Underlying Tools
  • @vue/cli-service
  • @vue/cli-plugin-babel, @vue/cli-plugin-eslint, @vue/cli-plugin-pwa, @vue/cli-plugin-typescript, @vue/cli-service
Committers: 8

4.0.0-beta.3 (2019-08-08)

? New Features
  • @vue/cli
    • #4404 feat: add --next flag to vue upgrade to check for beta versions (@sodatea)
    • #4404 feat: add --next flag to vue upgrade to check for beta versions (@sodatea)
  • @vue/cli-service
    • #4387 feat!: deprecate css.modules in favor of css.requireModuleExtension (@sodatea)
    • #4386 feat: allow configuring scss options separately from sass (@sodatea)
? Breaking Changes
  • @vue/cli-service
    • #4387 feat!: deprecate css.modules in favor of css.requireModuleExtension (@sodatea)
  • @vue/cli-service, @vue/cli-ui
    • #4388 chore!: remove the already-deprecated baseUrl option (@sodatea)
  • @vue/cli-plugin-e2e-cypress
    • #3774 chore: remove support for legacy vue-cli-service e2e command (@sodatea)
? Bug Fix
  • @vue/cli-shared-utils
    • #4405 fix: resolvePluginId should correctly resolve @vue/cli-service (@sodatea)
  • @vue/cli-plugin-typescript, @vue/cli
    • #4374 fix: do not generate empty file when adding ts plugin without router (@cexbrayat)
  • @vue/cli
    • #4377 fix: Make sure afterInvoke hook doesn’t get run from other plugins (@pksunkara)
? Documentation
? Internal
  • @vue/cli-plugin-e2e-cypress, @vue/cli-plugin-e2e-nightwatch, @vue/cli-plugin-eslint, @vue/cli-plugin-pwa, @vue/cli-plugin-typescript, @vue/cli-service-global, @vue/cli-service, @vue/cli-shared-utils, @vue/cli-test-utils, @vue/cli
Committers: 4

4.0.0-beta.2 (2019-07-29)

? New Features
? Bug Fix
  • @vue/cli-service
    • #4363 fix: fix css.loaderOptions.css.modules default values (@sodatea)
    • #4359 fix stats display when chunkFilename contains query string (@flyhope)
  • @vue/cli
    • #4356 fix: vue add should be able to install prerelease versions for official plugins (@sodatea)
? Documentation
  • Other
  • @vue/cli-plugin-babel, @vue/cli-plugin-e2e-cypress, @vue/cli-plugin-e2e-nightwatch, @vue/cli-plugin-eslint, @vue/cli-plugin-pwa, @vue/cli-plugin-router, @vue/cli-plugin-typescript, @vue/cli-plugin-unit-jest, @vue/cli-plugin-unit-mocha, @vue/cli-plugin-vuex
    • #4365 chore: plugins should list @vue/cli-service in peerDependencies (@sodatea)
  • @vue/cli-plugin-e2e-nightwatch
    • #4364 Replacing nightwatch CLI options URL with proper documentation (@aberonni)
? Internal
  • @vue/cli-plugin-babel, @vue/cli-plugin-e2e-cypress, @vue/cli-plugin-e2e-nightwatch, @vue/cli-plugin-eslint, @vue/cli-plugin-pwa, @vue/cli-plugin-router, @vue/cli-plugin-typescript, @vue/cli-plugin-unit-jest, @vue/cli-plugin-unit-mocha, @vue/cli-plugin-vuex
    • #4365 chore: plugins should list @vue/cli-service in peerDependencies (@sodatea)
  • @vue/cli-service, @vue/cli
Committers: 8

4.0.0-beta.1 (2019-07-25)

? New Features
  • @vue/cli
    • #4342 Add --port argument to ‘vue serve’ command (@bokub)
? Bug Fix
  • @vue/cli-service
    • #4345 fix: fix css modules configuration in css-loader v3 (@sodatea)
  • @vue/cli-plugin-typescript
    • #4346 fix: fix typo in typescript generator, convertAllFiles -> convertJsToTs (@sodatea)
  • @vue/cli-plugin-eslint
  • @vue/cli-shared-utils
Committers: 3

4.0.0-beta.0 (2019-07-22)

? New Features
  • @vue/cli-plugin-eslint
    • #4329 feat(eslint-generator): upgrade @vue/eslint-config-prettier to v5.0.0 (@sodatea)
  • @vue/cli-plugin-eslint, @vue/cli
? Breaking Changes
  • @vue/cli-service
    • #4331 chore!: update versions of underlying webpack loaders (@sodatea)
    • #4323 chore!: ensure consistent directory structure for all modes (@sodatea)
    • #4302 chore!: move dev configs into serve command (@sodatea)
? Bug Fix
  • @vue/cli
    • #4332 fix: when executing multiple actions, only check git status once (@sodatea)
    • #4330 fix: require parent template after when condition evaluated as truthy (@sodatea)
    • #4295 fix: fix latest version check when current version is a prerelease (@sodatea)
  • @vue/cli-plugin-eslint
    • #4329 feat(eslint-generator): upgrade @vue/eslint-config-prettier to v5.0.0 (@sodatea)
  • @vue/cli-service
    • #4320 fix: do not introduce extra level of directory when building lib for scoped packages (@MewesK)
  • @vue/cli-test-utils
    • #4224 fix(cli-test-utils): use --no-git when initGit option is false (@fangbinwei)
? Documentation
? Internal
  • @vue/cli-service
? Underlying Tools
Committers: 7

4.0.0-alpha.5 (2019-07-14)

? New Features
  • @vue/cli
    • #4275 feat!: confirm before invoke/add/upgrade if project has uncommitted changes (@sodatea)
? Breaking Changes
  • @vue/cli-service
  • @vue/cli
    • #4275 feat!: confirm before invoke/add/upgrade if project has uncommitted changes (@sodatea)
? Bug Fix
  • @vue/cli-service
? Documentation
? Internal
  • @vue/cli-ui, @vue/cli
Committers: 4

4.0.0-alpha.4 (2019-07-06)

? New Features
  • @vue/cli-plugin-babel, @vue/cli-plugin-e2e-cypress, @vue/cli-plugin-e2e-nightwatch, @vue/cli-plugin-eslint, @vue/cli-plugin-pwa, @vue/cli-plugin-router, @vue/cli-plugin-typescript, @vue/cli-plugin-unit-jest, @vue/cli-plugin-unit-mocha, @vue/cli-plugin-vuex, @vue/cli-shared-utils
    • #4219 feat: allow omitting scope prefix for official plugins on vue add (@sodatea)
? Breaking Changes
  • @vue/cli-plugin-vuex, @vue/cli-service, @vue/cli-ui, @vue/cli
  • @vue/cli-plugin-router, @vue/cli-plugin-typescript, @vue/cli-service, @vue/cli-ui, @vue/cli
? Bug Fix
  • @vue/cli-plugin-eslint
? Documentation
  • Other
  • @vue/babel-preset-app, @vue/cli-plugin-e2e-nightwatch, @vue/cli-plugin-eslint, @vue/cli-service, @vue/cli-ui, @vue/cli
Committers: 4

4.0.0-alpha.3 (2019-07-04)

? Bug Fix
  • @vue/cli-plugin-eslint
    • #4233 fix: use module directory instead of main entry path for eslintPath (@sodatea)
Committers: 1

4.0.0-alpha.2 (2019-07-03)

? New Features
  • @vue/cli-plugin-babel, @vue/cli-plugin-typescript, @vue/cli-shared-utils, @vue/cli-ui, @vue/cli-upgrade, @vue/cli
    • #4090 feat!: redesigns vue upgrade, supports code migration (@sodatea)
  • @vue/cli
    • #4188 feat: add transformScript to GeneratorAPI (@sodatea)
    • #4000 feat: implement version-related APIs for GeneratorAPI (@sodatea)
    • #4168 feat: make injectImports & injectRootOptions work for .vue files (@sodatea)
  • @vue/cli-plugin-typescript
? Breaking Changes
  • @vue/cli-plugin-babel, @vue/cli-plugin-typescript, @vue/cli-shared-utils, @vue/cli-ui, @vue/cli-upgrade, @vue/cli
    • #4090 feat!: redesigns vue upgrade, supports code migration (@sodatea)
? Bug Fix
  • @vue/cli-service
    • #4169 fix: prefer devServer.public as the custom url for browser to open (#4169) (@Devil-Cong)
    • #4150 chore: upgrade default-gateway to 5.0.2 (@zrh122)
    • #4083 fix: display correct address when multiple network adapters present (@sodatea)
    • #4095 fix: fix resolve project local plugin’s file path (@sodatea)
  • @vue/cli
    • #4148 fix: fix config merging during vue invoke in Node.js v12 (@sodatea)
  • @vue/eslint-config-airbnb
? Documentation
? Internal
  • @vue/cli
  • @vue/cli-plugin-eslint, @vue/cli-plugin-typescript, @vue/cli-service
    • #4153 chore: move yorkie from cli-service to plugin-eslint & plugin-typescript (@sodatea)
Committers: 11

4.0.0-alpha.1 (2019-05-25)

? Breaking Changes
  • @vue/cli-plugin-eslint, @vue/cli-service-global, @vue/cli-service, @vue/cli-ui-addon-widgets, @vue/cli
    • #3975 chore!: change default value of lintOnSave option (@sodatea)
  • @vue/cli-service
  • @vue/cli-plugin-typescript

Most of the following new features and bugfixes also applies to v3.8.0

? New Features
? Bug Fix
  • @vue/cli-upgrade
    • #4036 fix: add missing dependencies to @vue/cli-upgrade (@sodatea)
  • @vue/cli-service
    • #4034 fix bundles’ compatibility with workers for those built in development mode (@sodatea)
    • #4025 fix: update the css-loader runtime path for css-loader v2 (@sodatea)
  • @vue/cli-ui
? Internal
  • @vue/cli-service
  • @vue/cli
    • #4003 refactor: replace recast with jscodeshift for injectImportsAndOptions, fixes #3309 (@sodatea)
? Underlying Tools
Committers: 9

4.0.0-alpha.0 (2019-05-01)

? Breaking Changes
  • @vue/cli-service, @vue/cli
    • #3921 generator/preset: default to dart sass for sass option of cssPreprocessor (@sodatea)
  • @vue/cli-service
  • @vue/babel-preset-app, @vue/cli-plugin-babel
  • @vue/cli-plugin-eslint
  • @vue/cli-plugin-eslint, @vue/cli-service-global
  • @vue/cli-plugin-pwa
  • @vue/cli-plugin-e2e-nightwatch
  • @vue/cli-plugin-unit-jest
  • @vue/cli-plugin-unit-mocha
    • #3914 upgrade to mocha 6 and use mochapack instead of mocha-webpack (@sodatea)
Committers: 3

vue-cli

详细文档

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

禅思院

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值