3.0.0-beta.16 (2018-06-08)
babel-preset-app
Bug Fixes
- avoid injecting polyfills when targeting node (586c8aa)
cli
Bug Fixes
- avoid util.promisify when resolving webpack.config.js (89a0e65), closes #1473
- bail when registry ping fails (be5526e), closes #1427
- use fallback module resolve for Node version < 10 (12d51fd), closes #1486
Features
cli-plugin-e2e-cypress
Features
cli-plugin-pwa
Bug Fixes
- pwa plugin should be ignored when target is not app (85e6e5e), closes #1497
cli-plugin-typescript
Features
cli-plugin-unit-jest
Bug Fixes
- should not inject babel-core shim if babel plugin is not used (a91d022), closes #1424
Features
cli-service
Bug Fixes
- fine tune chunk splitting (4db901c), closes #1488
- fix invoke output (d65a251)
- only provide baseUrl fix if baseUrl provided (#1421) (af1151a)
- build: default to development mode in build --watch (#1430) (3193b0d)
- env: preserve existing env vars so load in reverse order. (#1503) (7c1ef24)
- serve: make sockjs url fixed with host (#1476) (2cbe373)
- ui: correct i18n mistake (#1445) (dc07315)
- resolve.symlinks to false so that node_modules exclusion works (5b4df14)
Features
- allow configuring css-loader options via css.loaderOptions.css (7d06f09), closes #1484
- allow configuring postcss-loader via css.loaderOptions.postcss (0ba111e)
- allow using relative baseUrl (dc38211)
- bail when user directly mutate output.publicPath (1732007)
- build: support named exports when building --target lib with js/ts entry (1dc47eb), closes #1436
- cli-service: support --no-clean flag (#1457) (c19bbff), closes #1446
cli-ui
Bug Fixes
Code Refactoring
Features
- ui tweaks & fixes (#1409) (7354525)
- ui: Display cli-service in plugins view (so it can be upgraded) (#1422) (f42632b)
- ui: update all plugin to wanted version button (#1456) (98b6d26)
docs
Bug Fixes
BREAKING CHANGES
- css.localIdentName has been deprecated. Use
css.loaderOptions.css.localIdentName instead.
- e2e-cypress: Cypress has been upgraded to 3.0. See changelog at
https://docs.cypress.io/guides/references/changelog.html
- build: When building a js/ts entry file with --target lib, the
library now exposes a Module with both default and named exports. This means
in the UMD build, the default export now needs to be accessed as
window.yourLib.default
, and in the CommonJS build as
const yourLib = require('yourLib').default
. If you don't have named exports
and want to retain the previous behavior, you can configure webpack to use
output.libraryExport: 'default'
in vue.config.js
. - ui: -
file-icon
for the configurations is removed
- Configuration objects
icon
option changed and is now working differently: you can either use a material icon code or a custom image (see Public static files in the UI Plugin docs). - Task objects have a new
icon
option which works exactly the same - By default, if no icon is provided for either the config or the task, the corresponding vue-cli plugin logo will be used instead (if any).
- jest is upgraded to 23.1.0 with minor breaking changes
but should not affect normal test cases