Skip to content

Commit

Permalink
v4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Feb 7, 2020
1 parent d493491 commit 079a451
Show file tree
Hide file tree
Showing 25 changed files with 147 additions and 60 deletions.
87 changes: 87 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,91 @@

## 4.2.0 (2020-02-07)

#### :rocket: New Features
* `@vue/cli-plugin-babel`, `@vue/cli-plugin-eslint`, `@vue/cli-plugin-typescript`, `@vue/cli`
* [#5149](https://github.com/vuejs/vue-cli/pull/5149) feat(GeneratorAPI): allow passing options to `api.extendPackage` ([@sodatea](https://github.com/sodatea))
* `@vue/cli-plugin-unit-jest`, `@vue/cli-plugin-unit-mocha`
* [#5147](https://github.com/vuejs/vue-cli/pull/5147) feat: create projects with @vue/test-utils beta 31 ([@sodatea](https://github.com/sodatea))
* `@vue/cli-ui`, `@vue/cli`
* [#5134](https://github.com/vuejs/vue-cli/pull/5134) feat: lock minor versions when creating projects / adding plugins ([@sodatea](https://github.com/sodatea))
* `@vue/cli-plugin-typescript`, `@vue/cli-ui`
* [#5128](https://github.com/vuejs/vue-cli/pull/5128) feat: upgrade to typescript@~3.7.5 ([@sodatea](https://github.com/sodatea))
* `@vue/cli`
* [#5091](https://github.com/vuejs/vue-cli/pull/5091) feat: `vue upgrade` monorepo support, `--from` option, and a new `vue migrate --from` command ([@sodatea](https://github.com/sodatea))
* [#4828](https://github.com/vuejs/vue-cli/pull/4828) feat: add option merge to command create ([@zyy7259](https://github.com/zyy7259))
* `@vue/cli-service`
* [#4953](https://github.com/vuejs/vue-cli/pull/4953) feat: adds transparent PnP support to Webpack ([@arcanis](https://github.com/arcanis))
* [#2411](https://github.com/vuejs/vue-cli/pull/2411) feat(cli): add stdin flag to serve ([@nullpilot](https://github.com/nullpilot))
* `@vue/babel-preset-app`, `@vue/cli-plugin-e2e-nightwatch`, `@vue/cli-plugin-eslint`, `@vue/cli-plugin-pwa`, `@vue/cli-ui-addon-webpack`, `@vue/cli-ui-addon-widgets`, `@vue/cli-ui`, `@vue/cli`
* [#4933](https://github.com/vuejs/vue-cli/pull/4933) feat: upgrade to eslint 6 ([@sodatea](https://github.com/sodatea))
* `@vue/cli-service`, `@vue/cli-shared-utils`, `@vue/cli`
* [#4827](https://github.com/vuejs/vue-cli/pull/4827) feat: respect existing package.json ([@zyy7259](https://github.com/zyy7259))
* `@vue/babel-preset-app`
* [#4959](https://github.com/vuejs/vue-cli/pull/4959) feat: specify babel runtime version ([@zyy7259](https://github.com/zyy7259))
* `@vue/cli-service-global`
* [#5029](https://github.com/vuejs/vue-cli/pull/5029) feat: don't throw on console/debugger statements for `vue serve` ([@sodatea](https://github.com/sodatea))

#### :bug: Bug Fix
* `@vue/cli-shared-utils`, `@vue/cli`
* [#5150](https://github.com/vuejs/vue-cli/pull/5150) fix: should infer package manager from config if there's no lockfile in the project ([@sodatea](https://github.com/sodatea))
* [#5045](https://github.com/vuejs/vue-cli/pull/5045) refactor: use a plain http request to get package metadata ([@sodatea](https://github.com/sodatea))
* `@vue/cli`
* [#5142](https://github.com/vuejs/vue-cli/pull/5142) fix(cors): fixup #4985, allow same-origin ws requests of any domain ([@sodatea](https://github.com/sodatea))
* [#5062](https://github.com/vuejs/vue-cli/pull/5062) fix `afterInvoke`/`onCreateComplete` callbacks in Migrator ([@sodatea](https://github.com/sodatea))
* [#5038](https://github.com/vuejs/vue-cli/pull/5038) fix: extendPackage object values should be string ([@pksunkara](https://github.com/pksunkara))
* `@vue/cli-ui`, `@vue/cli`
* [#4985](https://github.com/vuejs/vue-cli/pull/4985) fix(CORS): only allow connections from the designated host ([@Akryum](https://github.com/Akryum))
* `@vue/cli-plugin-e2e-cypress`
* [#5108](https://github.com/vuejs/vue-cli/pull/5108) fix(e2e-cypress): make --headless work with --browser chrome ([@LinusBorg](https://github.com/LinusBorg))
* [#4910](https://github.com/vuejs/vue-cli/pull/4910) fix: comment eslint disable in cypress config ([@cexbrayat](https://github.com/cexbrayat))
* `@vue/cli-service`
* [#5113](https://github.com/vuejs/vue-cli/pull/5113) fix: correctly calculate cacheIdentifier from lockfiles ([@sodatea](https://github.com/sodatea))
* `@vue/cli-plugin-pwa`
* [#5089](https://github.com/vuejs/vue-cli/pull/5089) fix: pwa-plugin avoid generating manifest when path is an URL ([@tkint](https://github.com/tkint))
* `@vue/cli-plugin-unit-jest`, `@vue/cli-plugin-unit-mocha`
* [#5028](https://github.com/vuejs/vue-cli/pull/5028) fix applyESLint when eslint plugin is added after unit test plugins ([@sodatea](https://github.com/sodatea))
* `@vue/cli-service`, `@vue/cli-test-utils`
* [#5069](https://github.com/vuejs/vue-cli/pull/5069) Use a single websocket connection for HMR ([@lbogdan](https://github.com/lbogdan))
* `@vue/cli-plugin-e2e-nightwatch`
* [#5016](https://github.com/vuejs/vue-cli/pull/5016) fix(e2e-nightwatch): check for correct flag name ([@LinusBorg](https://github.com/LinusBorg))

#### :memo: Documentation
* [#5019](https://github.com/vuejs/vue-cli/pull/5019) Updated zh-cn translation in cli section ([@mactanxin](https://github.com/mactanxin))

#### :house: Internal
* `@vue/babel-preset-app`, `@vue/cli-plugin-babel`
* [#5133](https://github.com/vuejs/vue-cli/pull/5133) refactor: remove usage of deprecated babel functions, preparing for babel 8 ([@sodatea](https://github.com/sodatea))
* `@vue/cli-service`
* [#5123](https://github.com/vuejs/vue-cli/pull/5123) fix: vue-template-compiler can be optional if @vue/compiler-sfc presents ([@sodatea](https://github.com/sodatea))
* [#5060](https://github.com/vuejs/vue-cli/pull/5060) refactor: use the `title` option in the html template, instead of hard-code the project name ([@sodatea](https://github.com/sodatea))
* `@vue/cli`
* [#5110](https://github.com/vuejs/vue-cli/pull/5110) refactor: use env variables to set registry for package managers ([@sodatea](https://github.com/sodatea))
* `@vue/cli-shared-utils`
* [#5092](https://github.com/vuejs/vue-cli/pull/5092) refactor: use createRequire to load/resolve modules ([@sodatea](https://github.com/sodatea))
* `@vue/cli-plugin-router`, `@vue/cli-plugin-typescript`, `@vue/cli-service`
* [#4991](https://github.com/vuejs/vue-cli/pull/4991) 🎨 style: unified components' naming style ([@taoweicn](https://github.com/taoweicn))

#### Committers: 17
- Alexander Sokolov ([@Alex-Sokolov](https://github.com/Alex-Sokolov))
- Bogdan Luca ([@lbogdan](https://github.com/lbogdan))
- Cédric Exbrayat ([@cexbrayat](https://github.com/cexbrayat))
- Dan Hogan ([@danhogan](https://github.com/danhogan))
- Daniel Bächtold ([@danbaechtold](https://github.com/danbaechtold))
- Eduardo San Martin Morote ([@posva](https://github.com/posva))
- Guillaume Chau ([@Akryum](https://github.com/Akryum))
- Haoqun Jiang ([@sodatea](https://github.com/sodatea))
- Marcel Lindig ([@nullpilot](https://github.com/nullpilot))
- Maël Nison ([@arcanis](https://github.com/arcanis))
- Pavan Kumar Sunkara ([@pksunkara](https://github.com/pksunkara))
- Tao Wei ([@taoweicn](https://github.com/taoweicn))
- Thomas Kint ([@tkint](https://github.com/tkint))
- Thorsten Lünborg ([@LinusBorg](https://github.com/LinusBorg))
- Xin Tan ([@mactanxin](https://github.com/mactanxin))
- Yingya Zhang ([@zyy7259](https://github.com/zyy7259))
- plantainX ([@cheqianxiao](https://github.com/cheqianxiao))



## 4.1.2 (2019-12-28)

#### :bug: Bug Fix
Expand Down
2 changes: 1 addition & 1 deletion docs/core-plugins/pwa.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ file, or the `"vue"` field in `package.json`.

- Default: `'manifest.json'`

The path of app’s manifest.
The path of app’s manifest. If the path is an URL, the plugin won't generate a manifest.json in the dist directory during the build.

- **pwa.manifestOptions**

Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"npmClient": "yarn",
"useWorkspaces": true,
"version": "4.1.2",
"version": "4.2.0",
"packages": [
"packages/@vue/babel-preset-app",
"packages/@vue/cli*",
Expand Down
2 changes: 1 addition & 1 deletion packages/@vue/babel-preset-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/babel-preset-app",
"version": "4.1.2",
"version": "4.2.0",
"description": "babel-preset-app for vue-cli",
"main": "index.js",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/@vue/cli-init/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-init",
"version": "4.1.2",
"version": "4.2.0",
"description": "init addon for vue-cli",
"main": "index.js",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/@vue/cli-overlay/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-overlay",
"version": "4.1.2",
"version": "4.2.0",
"description": "error overlay & dev server middleware for vue-cli",
"main": "dist/client.js",
"files": [
Expand Down
6 changes: 3 additions & 3 deletions packages/@vue/cli-plugin-babel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-plugin-babel",
"version": "4.1.2",
"version": "4.2.0",
"description": "babel plugin for vue-cli",
"main": "index.js",
"repository": {
Expand All @@ -21,8 +21,8 @@
"homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-plugin-babel#readme",
"dependencies": {
"@babel/core": "^7.8.4",
"@vue/babel-preset-app": "^4.1.2",
"@vue/cli-shared-utils": "^4.1.2",
"@vue/babel-preset-app": "^4.2.0",
"@vue/cli-shared-utils": "^4.2.0",
"babel-loader": "^8.0.6",
"cache-loader": "^4.1.0",
"thread-loader": "^2.1.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/@vue/cli-plugin-e2e-cypress/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-plugin-e2e-cypress",
"version": "4.1.2",
"version": "4.2.0",
"description": "e2e-cypress plugin for vue-cli",
"main": "index.js",
"repository": {
Expand All @@ -23,7 +23,7 @@
"access": "public"
},
"dependencies": {
"@vue/cli-shared-utils": "^4.1.2",
"@vue/cli-shared-utils": "^4.2.0",
"cypress": "^3.8.3",
"eslint-plugin-cypress": "^2.8.1"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/@vue/cli-plugin-e2e-nightwatch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-plugin-e2e-nightwatch",
"version": "4.1.2",
"version": "4.2.0",
"description": "e2e-nightwatch plugin for vue-cli",
"main": "index.js",
"repository": {
Expand All @@ -23,7 +23,7 @@
"access": "public"
},
"dependencies": {
"@vue/cli-shared-utils": "^4.1.2",
"@vue/cli-shared-utils": "^4.2.0",
"deepmerge": "^4.2.2",
"nightwatch": "^1.3.4"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/@vue/cli-plugin-eslint/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-plugin-eslint",
"version": "4.1.2",
"version": "4.2.0",
"description": "eslint plugin for vue-cli",
"main": "index.js",
"repository": {
Expand All @@ -23,7 +23,7 @@
"access": "public"
},
"dependencies": {
"@vue/cli-shared-utils": "^4.1.2",
"@vue/cli-shared-utils": "^4.2.0",
"eslint-loader": "^2.1.2",
"globby": "^9.2.0",
"inquirer": "^6.3.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/@vue/cli-plugin-pwa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-plugin-pwa",
"version": "4.1.2",
"version": "4.2.0",
"description": "pwa plugin for vue-cli",
"main": "index.js",
"repository": {
Expand All @@ -23,7 +23,7 @@
"access": "public"
},
"dependencies": {
"@vue/cli-shared-utils": "^4.1.2",
"@vue/cli-shared-utils": "^4.2.0",
"webpack": "^4.0.0",
"workbox-webpack-plugin": "^4.3.1"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/@vue/cli-plugin-router/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-plugin-router",
"version": "4.1.2",
"version": "4.2.0",
"description": "router plugin for vue-cli",
"main": "index.js",
"repository": {
Expand All @@ -23,10 +23,10 @@
"access": "public"
},
"dependencies": {
"@vue/cli-shared-utils": "^4.1.2"
"@vue/cli-shared-utils": "^4.2.0"
},
"devDependencies": {
"@vue/cli-test-utils": "^4.1.2"
"@vue/cli-test-utils": "^4.2.0"
},
"peerDependencies": {
"@vue/cli-service": "^3.0.0 || ^4.0.0-0"
Expand Down
4 changes: 2 additions & 2 deletions packages/@vue/cli-plugin-typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-plugin-typescript",
"version": "4.1.2",
"version": "4.2.0",
"description": "typescript plugin for vue-cli",
"main": "index.js",
"repository": {
Expand All @@ -24,7 +24,7 @@
},
"dependencies": {
"@types/webpack-env": "^1.15.1",
"@vue/cli-shared-utils": "^4.1.2",
"@vue/cli-shared-utils": "^4.2.0",
"cache-loader": "^4.1.0",
"fork-ts-checker-webpack-plugin": "^1.5.1",
"globby": "^9.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/@vue/cli-plugin-unit-jest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-plugin-unit-jest",
"version": "4.1.2",
"version": "4.2.0",
"description": "unit-jest plugin for vue-cli",
"main": "index.js",
"repository": {
Expand All @@ -26,7 +26,7 @@
"@babel/core": "^7.8.4",
"@babel/plugin-transform-modules-commonjs": "^7.8.3",
"@types/jest": "^24.0.19",
"@vue/cli-shared-utils": "^4.1.2",
"@vue/cli-shared-utils": "^4.2.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.9.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/@vue/cli-plugin-unit-mocha/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-plugin-unit-mocha",
"version": "4.1.2",
"version": "4.2.0",
"description": "mocha unit testing plugin for vue-cli",
"main": "index.js",
"repository": {
Expand All @@ -22,7 +22,7 @@
},
"homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-plugin-unit-mocha#readme",
"dependencies": {
"@vue/cli-shared-utils": "^4.1.2",
"@vue/cli-shared-utils": "^4.2.0",
"jsdom": "^15.2.1",
"jsdom-global": "^3.0.2",
"mocha": "^6.2.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/@vue/cli-plugin-vuex/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-plugin-vuex",
"version": "4.1.2",
"version": "4.2.0",
"description": "Vuex plugin for vue-cli",
"main": "index.js",
"repository": {
Expand All @@ -23,7 +23,7 @@
"access": "public"
},
"devDependencies": {
"@vue/cli-test-utils": "^4.1.2"
"@vue/cli-test-utils": "^4.2.0"
},
"peerDependencies": {
"@vue/cli-service": "^3.0.0 || ^4.0.0-0"
Expand Down
10 changes: 5 additions & 5 deletions packages/@vue/cli-service-global/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-service-global",
"version": "4.1.2",
"version": "4.2.0",
"description": "vue-cli-service global addon for vue-cli",
"main": "index.js",
"publishConfig": {
Expand All @@ -22,10 +22,10 @@
},
"homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-service-global#readme",
"dependencies": {
"@vue/babel-preset-app": "^4.1.2",
"@vue/cli-plugin-babel": "^4.1.2",
"@vue/cli-plugin-eslint": "^4.1.2",
"@vue/cli-service": "^4.1.2",
"@vue/babel-preset-app": "^4.2.0",
"@vue/cli-plugin-babel": "^4.2.0",
"@vue/cli-plugin-eslint": "^4.2.0",
"@vue/cli-service": "^4.2.0",
"babel-eslint": "^10.0.3",
"chalk": "^3.0.0",
"core-js": "^3.6.4",
Expand Down
10 changes: 5 additions & 5 deletions packages/@vue/cli-service/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-service",
"version": "4.1.2",
"version": "4.2.0",
"description": "local service for vue-cli projects",
"main": "lib/Service.js",
"typings": "types/index.d.ts",
Expand All @@ -25,10 +25,10 @@
"dependencies": {
"@intervolga/optimize-cssnano-plugin": "^1.0.5",
"@soda/friendly-errors-webpack-plugin": "^1.7.1",
"@vue/cli-overlay": "^4.1.2",
"@vue/cli-plugin-router": "^4.1.2",
"@vue/cli-plugin-vuex": "^4.1.2",
"@vue/cli-shared-utils": "^4.1.2",
"@vue/cli-overlay": "^4.2.0",
"@vue/cli-plugin-router": "^4.2.0",
"@vue/cli-plugin-vuex": "^4.2.0",
"@vue/cli-shared-utils": "^4.2.0",
"@vue/component-compiler-utils": "^3.0.2",
"@vue/preload-webpack-plugin": "^1.1.0",
"@vue/web-component-wrapper": "^1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/@vue/cli-shared-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-shared-utils",
"version": "4.1.2",
"version": "4.2.0",
"description": "shared utilities for vue-cli packages",
"main": "index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/@vue/cli-test-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-test-utils",
"version": "4.1.2",
"version": "4.2.0",
"description": "test utilities for vue-cli packages",
"repository": {
"type": "git",
Expand Down
8 changes: 4 additions & 4 deletions packages/@vue/cli-ui-addon-webpack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/cli-ui-addon-webpack",
"version": "4.1.2",
"version": "4.2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/vue-cli.git",
Expand All @@ -18,9 +18,9 @@
},
"license": "MIT",
"devDependencies": {
"@vue/cli-plugin-babel": "^4.1.2",
"@vue/cli-plugin-eslint": "^4.1.2",
"@vue/cli-service": "^4.1.2",
"@vue/cli-plugin-babel": "^4.2.0",
"@vue/cli-plugin-eslint": "^4.2.0",
"@vue/cli-service": "^4.2.0",
"@vue/eslint-config-standard": "^5.1.0",
"core-js": "^3.6.4",
"eslint": "^6.7.2",
Expand Down
Loading

0 comments on commit 079a451

Please sign in to comment.