diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b4a31523c..c94c296164 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,46 @@ +## 4.5.0 (2020-07-24) + +#### :rocket: New Features +* `@vue/babel-preset-app`, `@vue/cli-plugin-babel`, `@vue/cli-plugin-eslint`, `@vue/cli-plugin-router`, `@vue/cli-plugin-typescript`, `@vue/cli-plugin-unit-jest`, `@vue/cli-plugin-unit-mocha`, `@vue/cli-plugin-vuex`, `@vue/cli-service`, `@vue/cli-test-utils`, `@vue/cli-ui`, `@vue/cli` + * [#5637](https://github.com/vuejs/vue-cli/pull/5637) feat: allow choosing vue version on creation (and in presets) ([@sodatea](https://github.com/sodatea)) +* `@vue/cli-plugin-typescript` + * [#5688](https://github.com/vuejs/vue-cli/pull/5688) feat: add `skipLibCheck` option in the TS template (defaults to `true`) ([@sodatea](https://github.com/sodatea)) +* `@vue/cli-service`, `@vue/cli-test-utils`, `@vue/cli` + * [#5356](https://github.com/vuejs/vue-cli/pull/5356) feat(cli,cli-service,cli-test-utils): add ts declaration ([@fangbinwei](https://github.com/fangbinwei)) +* `@vue/cli-plugin-typescript`, `@vue/cli-service` + * [#5570](https://github.com/vuejs/vue-cli/pull/5570) feat: detect and compile Vue 3 projects ([@sodatea](https://github.com/sodatea)) +* `@vue/cli-service`, `@vue/cli` + * [#5556](https://github.com/vuejs/vue-cli/pull/5556) feat: support node nightly builds ([@sodatea](https://github.com/sodatea)) + +#### :bug: Bug Fix +* `@vue/cli-service` + * [#5681](https://github.com/vuejs/vue-cli/pull/5681) Fix Kubernetes container detection ([@lbogdan](https://github.com/lbogdan)) +* `@vue/babel-preset-app` + * [#5543](https://github.com/vuejs/vue-cli/pull/5543) fix: better error message for non-existent polyfill names ([@sodatea](https://github.com/sodatea)) + +#### :memo: Documentation +* [#5671](https://github.com/vuejs/vue-cli/pull/5671) docs(zh): change line to lines in plugin-dev.md ([@zhouxinyong](https://github.com/zhouxinyong)) +* [#5668](https://github.com/vuejs/vue-cli/pull/5668) docs(zh): `additionalData` example for sass-loader 9.0 ([@chuzhixin](https://github.com/chuzhixin)) +* [#5408](https://github.com/vuejs/vue-cli/pull/5408) docs: explain pwa head/manifest icons ([@DRBragg](https://github.com/DRBragg)) + +#### :house: Internal +* `@vue/cli-shared-utils` + * [#5700](https://github.com/vuejs/vue-cli/pull/5700) refactor: use console.clear to clear the log ([@imtaotao](https://github.com/imtaotao)) +* `@vue/cli-service`, `@vue/cli` + * [#5629](https://github.com/vuejs/vue-cli/pull/5629) refactor: replace jscodeshift with vue-codemod ([@sodatea](https://github.com/sodatea)) + +#### Committers: 7 +- Arthur ([@imtaotao](https://github.com/imtaotao)) +- Binwei Fang ([@fangbinwei](https://github.com/fangbinwei)) +- Bogdan Luca ([@lbogdan](https://github.com/lbogdan)) +- Drew Bragg ([@DRBragg](https://github.com/DRBragg)) +- Haoqun Jiang ([@sodatea](https://github.com/sodatea)) +- good luck ([@chuzhixin](https://github.com/chuzhixin)) +- vimvinter ([@zhouxinyong](https://github.com/zhouxinyong)) + + + ## 4.4.6 (2020-06-24) #### :bug: Bug Fix diff --git a/docs/core-plugins/pwa.md b/docs/core-plugins/pwa.md index af16fbb17f..4457c4357e 100644 --- a/docs/core-plugins/pwa.md +++ b/docs/core-plugins/pwa.md @@ -83,30 +83,6 @@ file, or the `"vue"` field in `package.json`. - start_url: `'.'` - display: `'standalone'` - theme_color: `pwa.themeColor` - - icons: `[ - { - 'src': './img/icons/android-chrome-192x192.png', - 'sizes': '192x192', - 'type': 'image/png' - }, - { - 'src': './img/icons/android-chrome-512x512.png', - 'sizes': '512x512', - 'type': 'image/png' - }, - { - 'src': './img/icons/android-chrome-maskable-192x192.png', - 'sizes': '192x192', - 'type': 'image/png', - 'purpose': 'maskable' - }, - { - 'src': './img/icons/android-chrome-maskable-512x512.png', - 'sizes': '512x512', - 'type': 'image/png', - 'purpose': 'maskable' - } - ]` - **pwa.manifestCrossorigin** @@ -130,8 +106,6 @@ file, or the `"vue"` field in `package.json`. Change these values to use different paths for your icons. As of v4.3.0, you can use `null` as a value and that icon will not be included. - *NOTE:* These icons are only used to generate the meta tags in the `` of your HTML doc. To change the icon paths for your manifest please use `pwa.manifestOptions.icons` - ### Example Configuration ```js diff --git a/lerna.json b/lerna.json index 6d41cdd968..097655ad0c 100644 --- a/lerna.json +++ b/lerna.json @@ -1,7 +1,7 @@ { "npmClient": "yarn", "useWorkspaces": true, - "version": "4.4.6", + "version": "4.5.0", "packages": [ "packages/@vue/babel-preset-app", "packages/@vue/cli*", diff --git a/packages/@vue/babel-preset-app/package.json b/packages/@vue/babel-preset-app/package.json index 22003ebc1d..bbe2330235 100644 --- a/packages/@vue/babel-preset-app/package.json +++ b/packages/@vue/babel-preset-app/package.json @@ -1,6 +1,6 @@ { "name": "@vue/babel-preset-app", - "version": "4.4.6", + "version": "4.5.0", "description": "babel-preset-app for vue-cli", "main": "index.js", "publishConfig": { diff --git a/packages/@vue/cli-init/package.json b/packages/@vue/cli-init/package.json index 00c851b31c..33c21940d0 100644 --- a/packages/@vue/cli-init/package.json +++ b/packages/@vue/cli-init/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-init", - "version": "4.4.6", + "version": "4.5.0", "description": "init addon for vue-cli", "main": "index.js", "publishConfig": { diff --git a/packages/@vue/cli-overlay/package.json b/packages/@vue/cli-overlay/package.json index 560c7bf4df..07526076e2 100644 --- a/packages/@vue/cli-overlay/package.json +++ b/packages/@vue/cli-overlay/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-overlay", - "version": "4.4.6", + "version": "4.5.0", "description": "error overlay & dev server middleware for vue-cli", "main": "dist/client.js", "files": [ diff --git a/packages/@vue/cli-plugin-babel/package.json b/packages/@vue/cli-plugin-babel/package.json index b871561ffe..30dcf4fd92 100644 --- a/packages/@vue/cli-plugin-babel/package.json +++ b/packages/@vue/cli-plugin-babel/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-babel", - "version": "4.4.6", + "version": "4.5.0", "description": "babel plugin for vue-cli", "main": "index.js", "repository": { @@ -21,8 +21,8 @@ "homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-plugin-babel#readme", "dependencies": { "@babel/core": "^7.9.6", - "@vue/babel-preset-app": "^4.4.6", - "@vue/cli-shared-utils": "^4.4.6", + "@vue/babel-preset-app": "^4.5.0", + "@vue/cli-shared-utils": "^4.5.0", "babel-loader": "^8.1.0", "cache-loader": "^4.1.0", "thread-loader": "^2.1.3", diff --git a/packages/@vue/cli-plugin-e2e-cypress/package.json b/packages/@vue/cli-plugin-e2e-cypress/package.json index 92b4ed536e..ee19acbca1 100644 --- a/packages/@vue/cli-plugin-e2e-cypress/package.json +++ b/packages/@vue/cli-plugin-e2e-cypress/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-e2e-cypress", - "version": "4.4.6", + "version": "4.5.0", "description": "e2e-cypress plugin for vue-cli", "main": "index.js", "repository": { @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@vue/cli-shared-utils": "^4.4.6", + "@vue/cli-shared-utils": "^4.5.0", "cypress": "^3.8.3", "eslint-plugin-cypress": "^2.10.3" }, diff --git a/packages/@vue/cli-plugin-e2e-nightwatch/package.json b/packages/@vue/cli-plugin-e2e-nightwatch/package.json index 158b0d28ac..557d3ae733 100644 --- a/packages/@vue/cli-plugin-e2e-nightwatch/package.json +++ b/packages/@vue/cli-plugin-e2e-nightwatch/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-e2e-nightwatch", - "version": "4.4.6", + "version": "4.5.0", "description": "e2e-nightwatch plugin for vue-cli", "main": "index.js", "repository": { @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@vue/cli-shared-utils": "^4.4.6", + "@vue/cli-shared-utils": "^4.5.0", "deepmerge": "^4.2.2", "nightwatch": "^1.3.5" }, diff --git a/packages/@vue/cli-plugin-eslint/package.json b/packages/@vue/cli-plugin-eslint/package.json index edb0cba15c..d0f61b5e02 100644 --- a/packages/@vue/cli-plugin-eslint/package.json +++ b/packages/@vue/cli-plugin-eslint/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-eslint", - "version": "4.4.6", + "version": "4.5.0", "description": "eslint plugin for vue-cli", "main": "index.js", "repository": { @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@vue/cli-shared-utils": "^4.4.6", + "@vue/cli-shared-utils": "^4.5.0", "eslint-loader": "^2.2.1", "globby": "^9.2.0", "inquirer": "^7.1.0", diff --git a/packages/@vue/cli-plugin-pwa/package.json b/packages/@vue/cli-plugin-pwa/package.json index fa0736e2a1..8a46c656c9 100644 --- a/packages/@vue/cli-plugin-pwa/package.json +++ b/packages/@vue/cli-plugin-pwa/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-pwa", - "version": "4.4.6", + "version": "4.5.0", "description": "pwa plugin for vue-cli", "main": "index.js", "repository": { @@ -23,7 +23,7 @@ "access": "public" }, "dependencies": { - "@vue/cli-shared-utils": "^4.4.6", + "@vue/cli-shared-utils": "^4.5.0", "webpack": "^4.0.0", "workbox-webpack-plugin": "^4.3.1" }, diff --git a/packages/@vue/cli-plugin-router/package.json b/packages/@vue/cli-plugin-router/package.json index 780ae912f9..ec04281749 100644 --- a/packages/@vue/cli-plugin-router/package.json +++ b/packages/@vue/cli-plugin-router/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-router", - "version": "4.4.6", + "version": "4.5.0", "description": "router plugin for vue-cli", "main": "index.js", "repository": { @@ -23,10 +23,10 @@ "access": "public" }, "dependencies": { - "@vue/cli-shared-utils": "^4.4.6" + "@vue/cli-shared-utils": "^4.5.0" }, "devDependencies": { - "@vue/cli-test-utils": "^4.4.6" + "@vue/cli-test-utils": "^4.5.0" }, "peerDependencies": { "@vue/cli-service": "^3.0.0 || ^4.0.0-0" diff --git a/packages/@vue/cli-plugin-typescript/package.json b/packages/@vue/cli-plugin-typescript/package.json index e49250b4d9..ad010a7f36 100644 --- a/packages/@vue/cli-plugin-typescript/package.json +++ b/packages/@vue/cli-plugin-typescript/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-typescript", - "version": "4.4.6", + "version": "4.5.0", "description": "typescript plugin for vue-cli", "main": "index.js", "repository": { @@ -24,7 +24,7 @@ }, "dependencies": { "@types/webpack-env": "^1.15.2", - "@vue/cli-shared-utils": "^4.4.6", + "@vue/cli-shared-utils": "^4.5.0", "cache-loader": "^4.1.0", "fork-ts-checker-webpack-plugin": "^3.1.1", "globby": "^9.2.0", diff --git a/packages/@vue/cli-plugin-unit-jest/package.json b/packages/@vue/cli-plugin-unit-jest/package.json index 4bd0a217dd..ac0971f335 100644 --- a/packages/@vue/cli-plugin-unit-jest/package.json +++ b/packages/@vue/cli-plugin-unit-jest/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-unit-jest", - "version": "4.4.6", + "version": "4.5.0", "description": "unit-jest plugin for vue-cli", "main": "index.js", "repository": { @@ -26,7 +26,7 @@ "@babel/core": "^7.9.6", "@babel/plugin-transform-modules-commonjs": "^7.9.6", "@types/jest": "^24.0.19", - "@vue/cli-shared-utils": "^4.4.6", + "@vue/cli-shared-utils": "^4.5.0", "babel-core": "^7.0.0-bridge.0", "babel-jest": "^24.9.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", diff --git a/packages/@vue/cli-plugin-unit-mocha/package.json b/packages/@vue/cli-plugin-unit-mocha/package.json index d6aad83373..782c055105 100644 --- a/packages/@vue/cli-plugin-unit-mocha/package.json +++ b/packages/@vue/cli-plugin-unit-mocha/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-unit-mocha", - "version": "4.4.6", + "version": "4.5.0", "description": "mocha unit testing plugin for vue-cli", "main": "index.js", "repository": { @@ -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.4.6", + "@vue/cli-shared-utils": "^4.5.0", "jsdom": "^15.2.1", "jsdom-global": "^3.0.2", "mocha": "^6.2.2", diff --git a/packages/@vue/cli-plugin-vuex/package.json b/packages/@vue/cli-plugin-vuex/package.json index 9b0e3dbd01..0966b080c8 100644 --- a/packages/@vue/cli-plugin-vuex/package.json +++ b/packages/@vue/cli-plugin-vuex/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-plugin-vuex", - "version": "4.4.6", + "version": "4.5.0", "description": "Vuex plugin for vue-cli", "main": "index.js", "repository": { @@ -23,7 +23,7 @@ "access": "public" }, "devDependencies": { - "@vue/cli-test-utils": "^4.4.6" + "@vue/cli-test-utils": "^4.5.0" }, "peerDependencies": { "@vue/cli-service": "^3.0.0 || ^4.0.0-0" diff --git a/packages/@vue/cli-service-global/package.json b/packages/@vue/cli-service-global/package.json index 9359bd0096..384c7e53c4 100644 --- a/packages/@vue/cli-service-global/package.json +++ b/packages/@vue/cli-service-global/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-service-global", - "version": "4.4.6", + "version": "4.5.0", "description": "vue-cli-service global addon for vue-cli", "main": "index.js", "publishConfig": { @@ -22,9 +22,9 @@ }, "homepage": "https://github.com/vuejs/vue-cli/tree/dev/packages/@vue/cli-service-global#readme", "dependencies": { - "@vue/cli-plugin-babel": "^4.4.6", - "@vue/cli-plugin-eslint": "^4.4.6", - "@vue/cli-service": "^4.4.6", + "@vue/cli-plugin-babel": "^4.5.0", + "@vue/cli-plugin-eslint": "^4.5.0", + "@vue/cli-service": "^4.5.0", "babel-eslint": "^10.1.0", "chalk": "^3.0.0", "core-js": "^3.6.5", diff --git a/packages/@vue/cli-service/package.json b/packages/@vue/cli-service/package.json index 430cc20969..95618cefe5 100644 --- a/packages/@vue/cli-service/package.json +++ b/packages/@vue/cli-service/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-service", - "version": "4.4.6", + "version": "4.5.0", "description": "local service for vue-cli projects", "main": "lib/Service.js", "typings": "types/index.d.ts", @@ -29,10 +29,10 @@ "@types/minimist": "^1.2.0", "@types/webpack": "^4.0.0", "@types/webpack-dev-server": "^3.11.0", - "@vue/cli-overlay": "^4.4.6", - "@vue/cli-plugin-router": "^4.4.6", - "@vue/cli-plugin-vuex": "^4.4.6", - "@vue/cli-shared-utils": "^4.4.6", + "@vue/cli-overlay": "^4.5.0", + "@vue/cli-plugin-router": "^4.5.0", + "@vue/cli-plugin-vuex": "^4.5.0", + "@vue/cli-shared-utils": "^4.5.0", "@vue/component-compiler-utils": "^3.1.2", "@vue/preload-webpack-plugin": "^1.1.0", "@vue/web-component-wrapper": "^1.2.0", diff --git a/packages/@vue/cli-shared-utils/package.json b/packages/@vue/cli-shared-utils/package.json index ee784d67ec..c07df3be0b 100644 --- a/packages/@vue/cli-shared-utils/package.json +++ b/packages/@vue/cli-shared-utils/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-shared-utils", - "version": "4.4.6", + "version": "4.5.0", "description": "shared utilities for vue-cli packages", "main": "index.js", "repository": { diff --git a/packages/@vue/cli-test-utils/package.json b/packages/@vue/cli-test-utils/package.json index 428aec4f64..bff766302d 100644 --- a/packages/@vue/cli-test-utils/package.json +++ b/packages/@vue/cli-test-utils/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-test-utils", - "version": "4.4.6", + "version": "4.5.0", "description": "test utilities for vue-cli packages", "repository": { "type": "git", diff --git a/packages/@vue/cli-ui-addon-webpack/package.json b/packages/@vue/cli-ui-addon-webpack/package.json index 5315c7ff6e..10a2d12fb9 100644 --- a/packages/@vue/cli-ui-addon-webpack/package.json +++ b/packages/@vue/cli-ui-addon-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-ui-addon-webpack", - "version": "4.4.6", + "version": "4.5.0", "repository": { "type": "git", "url": "git+https://github.com/vuejs/vue-cli.git", @@ -18,9 +18,9 @@ }, "license": "MIT", "devDependencies": { - "@vue/cli-plugin-babel": "^4.4.6", - "@vue/cli-plugin-eslint": "^4.4.6", - "@vue/cli-service": "^4.4.6", + "@vue/cli-plugin-babel": "^4.5.0", + "@vue/cli-plugin-eslint": "^4.5.0", + "@vue/cli-service": "^4.5.0", "@vue/eslint-config-standard": "^5.1.2", "core-js": "^3.6.5", "eslint": "^6.7.2", diff --git a/packages/@vue/cli-ui-addon-widgets/package.json b/packages/@vue/cli-ui-addon-widgets/package.json index 68908c6a2a..f8cb6f1300 100644 --- a/packages/@vue/cli-ui-addon-widgets/package.json +++ b/packages/@vue/cli-ui-addon-widgets/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-ui-addon-widgets", - "version": "4.4.6", + "version": "4.5.0", "repository": { "type": "git", "url": "git+https://github.com/vuejs/vue-cli.git", @@ -18,9 +18,9 @@ }, "license": "MIT", "devDependencies": { - "@vue/cli-plugin-babel": "^4.4.6", - "@vue/cli-plugin-eslint": "^4.4.6", - "@vue/cli-service": "^4.4.6", + "@vue/cli-plugin-babel": "^4.5.0", + "@vue/cli-plugin-eslint": "^4.5.0", + "@vue/cli-service": "^4.5.0", "@vue/eslint-config-standard": "^5.1.2", "core-js": "^3.6.5", "eslint": "^6.7.2", diff --git a/packages/@vue/cli-ui/package.json b/packages/@vue/cli-ui/package.json index 5c410c0063..bb6831ae9b 100644 --- a/packages/@vue/cli-ui/package.json +++ b/packages/@vue/cli-ui/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli-ui", - "version": "4.4.6", + "version": "4.5.0", "repository": { "type": "git", "url": "git+https://github.com/vuejs/vue-cli.git", @@ -35,7 +35,7 @@ ], "dependencies": { "@akryum/winattr": "^3.0.0", - "@vue/cli-shared-utils": "^4.4.6", + "@vue/cli-shared-utils": "^4.5.0", "apollo-server-express": "^2.13.1", "clone": "^2.1.1", "deepmerge": "^4.2.2", @@ -65,10 +65,10 @@ "watch": "^1.0.2" }, "devDependencies": { - "@vue/cli-plugin-babel": "^4.4.6", - "@vue/cli-plugin-e2e-cypress": "^4.4.6", - "@vue/cli-plugin-eslint": "^4.4.6", - "@vue/cli-service": "^4.4.6", + "@vue/cli-plugin-babel": "^4.5.0", + "@vue/cli-plugin-e2e-cypress": "^4.5.0", + "@vue/cli-plugin-eslint": "^4.5.0", + "@vue/cli-service": "^4.5.0", "@vue/eslint-config-standard": "^5.1.2", "@vue/ui": "^0.9.2", "ansi_up": "^3.0.0", diff --git a/packages/@vue/cli/package.json b/packages/@vue/cli/package.json index 2c62a41659..44acb78912 100644 --- a/packages/@vue/cli/package.json +++ b/packages/@vue/cli/package.json @@ -1,6 +1,6 @@ { "name": "@vue/cli", - "version": "4.4.6", + "version": "4.5.0", "description": "Command line interface for rapid Vue.js development", "bin": { "vue": "bin/vue.js" @@ -27,10 +27,10 @@ "dependencies": { "@types/ejs": "^2.7.0", "@types/inquirer": "^6.5.0", - "@vue/cli-shared-utils": "^4.4.6", - "@vue/cli-ui": "^4.4.6", - "@vue/cli-ui-addon-webpack": "^4.4.6", - "@vue/cli-ui-addon-widgets": "^4.4.6", + "@vue/cli-shared-utils": "^4.5.0", + "@vue/cli-ui": "^4.5.0", + "@vue/cli-ui-addon-webpack": "^4.5.0", + "@vue/cli-ui-addon-widgets": "^4.5.0", "boxen": "^4.1.0", "cmd-shim": "^3.0.3", "commander": "^2.20.0", diff --git a/packages/vue-cli-version-marker/package.json b/packages/vue-cli-version-marker/package.json index 42d361df08..dcb90159bc 100644 --- a/packages/vue-cli-version-marker/package.json +++ b/packages/vue-cli-version-marker/package.json @@ -1,11 +1,11 @@ { "name": "vue-cli-version-marker", - "version": "4.4.6", + "version": "4.5.0", "description": "version marker for @vue/cli", "author": "Evan You", "license": "MIT", "main": "package.json", "devDependencies": { - "@vue/cli": "^4.4.6" + "@vue/cli": "^4.5.0" } }