mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-23 04:58:56 -05:00
35 KiB
35 KiB
3.0.0-beta.10 (2018-05-11)
Bug Fixes
- build: fix --dest flag regression (fd9d255), closes #1193
- serve: fix non-GET requests match error w/ multi-proxy config (c4c4bff), closes #1210
- tslint: don't change working directory (#1225) (8dbe262)
- typescript: add node_modules/** to tslint default excludes (#1200) (a6e47ce), closes #1194
- typescript: separate tsx shim (51c8090), closes #1198
- css imports from js (1b5bdde)
- ensure dynamic publicPath is set early in lib/wc mode (c3d246f), closes #1253
- improve error message when entry is missing w/ --target lib (8b4a112), closes #1051
- pwa plugin compat with webpack 4 (6d1716e)
- respect chunk name in all build targets (66bab8c), closes #1251
Code Refactoring
- adjust mode loading order (d595ada), closes #959
- rename test commands (69ebd80), closes #876 #878
- require Node 8 (6b865db)
Features
- default preset save to no (ab90d50), closes #1212
- expose env variables as root level in index.html template (4c5784d)
- new option "preserveWhitespace" (ea83441)
- relex transpile includes + new transpileDependencies option (da4d0b2)
- babel: better Babel polyfill defaults (4e7d57f)
- cli: allow local .json files for presets (#1201) (9766db1), closes #1068
- serve: support entry in
vue-cli-service serve(05f9f3a), closes #974 - typescript: support lang="tsx" in vue files (718ba3c), closes #1219
- remove DLL option (6d4e51d)
- support { prompts: true } for preset plugins (3dd38da), closes #952
- upgrade to vue-loader 15 (f5c0f58)
- upgrade to webpack 4 (2dcdedd)
Reverts
- feat: new option "preserveWhitespace"" (a8af883)
BREAKING CHANGES
css.modulesoption has been removed. To import css files (or any other supported pre-processor files) as CSS Modules, append the request with a?moduleresourceQuery.- Upgrade wepback 4, all webpack option modifications must be webpcak 4 compatible. Drop support for webpack plugins that do not work with v4 or above.
- dll option has been removed.
- the "vueLoader" option has been removed. To modify vue-loader
options, use chainWebpack then
config.module.rule(vue).use(vue-loader).tap(). vue-loader has been upgraded to v15 and expects different options from v14. - To include a dependency for Babel transpilation, tapping babel-loader and adding .include() will no longer work. Use the new transpileDependencies option instead.
cli-plugin-unit-jestandcli-plugin-unit-mochanow register "test:unit" command and script instead of "test";cli-plugin-e2e-cypressnow register "test:e2e" with optional--headlessflag instead of "e2e" and "e2e:open";cli-plugin-e2e-nightwatchnow register "test:e2e" instead of "e2e".- PluginAPI.setMode() has been removed. Instead, for a plugin to
sepcify the default mode for a registered command, the plugins should expose
module.exports.defaultModesin the form of{ [commandName]: mode }. - @vue/cli-service and all plugins now require Node version 8+.
3.0.0-beta.9 (2018-04-28)
Bug Fixes
3.0.0-beta.8 (2018-04-27)
Bug Fixes
- --target lib/wc should overwrite user entry/output (92e136a), closes #1072
- add name to chunk file output (#1173) (1fc9593)
- allow user to define testMatch in package.json (#1069) (cac18f2), closes #1067
- avoid emoji length problem in update log (close #835) (fb7ccb6)
- css.extract options handling (8e72943), closes #1061
- deep merge objects when extending package.json via plugins (#1070) (6af7bbe), closes #1053
- include test -> tests for eslint-loader (3d29458)
- pass all parameters to onProxyReq in proxy configuration (#1083) (65ee2fa)
- build: copy plugin should be loaded in all cases (87892a5), closes #1073
- build-wc: honor custom component name for single file wc builds (#1182) (2b236e0), closes #1146
- cli: fix invoke glob node_modules ignore pattern (#1004) (708cde9)
- cli-service: should not add a leading slash to baseUrl when it is absolute (#1172) (abb82ab), closes #1084
- eslint: fix --no-fix flag when linting with typescript plugin (#1115) (83171e4)
- serve: don't set header origin if using an agent (#1179) (79bc088)
- typescript: fix invalid tsconfig.json (#1036) (c49eeb7)
- typescript,babel: tests path for babel and typescript plugins (#1058) (b285b0b)
- validate project name (#1039) (78ed155), closes #1024
- vue invoke should delete renamed/removed files (#1049) (c648301)
- unit-jest: handle static asset imports (#1180) (be3bede)
Features
- babel: expose loose option (7a125d4)
- cli: skip git if already in a git repo, add --skipGit option (23480ae), closes #967
- e2e-nightwatch: allow using custom config via --config flag (#1016) (e4d67d6)
- inspect: add a -v/--verbose flag to inspect command to output full functions (#1175) (6ca86aa), closes #1157
- allow specifying proxy when creating project (b1512be), closes #1009
- support custom initial commit message (#1116) (11ccf64)
- warn when user modifies output.path directly (81d29ab)
- plugin-api: allow non-semver versioned dependencies (#1184) (0f76b8e), closes #1177
- pwa: Make injected meta tags configurable and change defaults (#961) (36f954b)
- typescript: improve tsx support (#1168) (3aa3743)
3.0.0-beta.7 (2018-04-25)
Bug Fixes
- allow user to define onProxyReq (#955) (179033d)
- invoke: issue #1037 invoke binary files (#1038) (e65110f)
- babel legacy decorator (#1163) (fb013da)
- pin babel version (fix #1162) (dbc3f10)
Features
- allow vue add to work with plugins without a generator (#1032) (11956ac)
- use
esnexttargets for downleveling and modules. (#966) (ba5a375)
3.0.0-beta.6 (2018-03-06)
Bug Fixes
- do not exit with 1 on lint warnings (fix #872) (b162cab)
- fix @vue/cli-service initial version (08add21)
- fix babel preset jsx dependency (2eb1ef9)
- fix cases where error fails to display (dee7809)
- fix devServer proxy when using object syntax (fix #945) (114e085)
- use dynamic publicPath for web component bundles (fix #949) (f744040)
3.0.0-beta.5 (2018-03-05)
Bug Fixes
- resolve template extend source from the template location (fix #943) (89f5cc3)
- temporarily disable babel plugins that are not compatible with babel 7 yet (389ea86)
Features
- allow specifying plugin versions in presets (bdce865)
3.0.0-beta.4 (2018-03-05)
Bug Fixes
- fix pwa + ts + lint (close #937) (b878767)
- mock process for 3rd party libs (close #934) (a2ac6be)
- pwa: set cacheid in GenerateSW mode only (#939) (43971d8), closes #891
- test: e2e w/ typescript (#933) (b728624)
- use same Puppeteer like in main package.json (#942) (11192cf)
Features
- add
vue addcommand (#936) (896aec5) - allow specifying additional configs in preset (2b9a750)
- Generator now supports template inheritance (1869aa2)
- generatorAPI.exitLog (#935) (0f2ee80)
- initialize project with corresponding CSS pre-processor (close #930) (811d056)
- read existing files during plugin invocation (close #873) (de60d9f)
- support using remote preset (close #884) (2d89c51)
3.0.0-beta.3 (2018-03-03)
Bug Fixes
- dev-server: dev server behind NAT network (#868) (bbc931c), closes #828
- e2e: end to end test(s) folder (#923) (852d26c)
- tsconfig.json: typo in includes (#917) (6adc0b5)
- tslint.json: linting of test(s) folder (#924) (549ff7f)
- externalize vue-server-renderer + support dynamic import in mocha tests (fe9aed8)
- fix baseUrl normalization (close #900) (89982df)
- fix options for css optimize plugin (close #918) (7681106)
- include root config files in lint (close #913) (c40a88d)
- respect --dest when copying static assets (close #909) (57ce32a)
- respect dotfiles in public dir (fix #880) (59ac4f4)
Features
- css modules: Add CSS Module localIdentName option to vue config (#915) (31cdc86)
- support creating project in current directory (#916) (6ae1569), closes #896
- support dynamic import in jest tests (close #922) (09ed0b1)
3.0.0-beta.2 (2018-02-28)
Bug Fixes
- cypress: upgrade cypress and properly set base url (#879) (46358eb)
- do not swallow vue.config.js errors (14a2dc7), closes #874 #866
- enable html doctype by default for pug (e15a930), closes #894
- fix friendly-error plugin name typo (#882) (73ad2f8)
- nightwatch helper compat with airbnb linter (f4d1841), closes #870
- ts generator & airbnb import/extensions rule compatibility (88726a3), closes #871