Skip to content

Latest commit

 

History

History
583 lines (367 loc) · 39.2 KB

CHANGELOG.md

File metadata and controls

583 lines (367 loc) · 39.2 KB

3.0.0-beta.11 (2018-05-21)

Bug Fixes

  • css sourceMap in production (#1270) (2d09a4c)
  • css: css-loader importLoaders should account for vue-loader's injected (853662c), closes #1267
  • fix babel.config.js compat in vue-jest (48d7e00)
  • fix transpileDependencies by always using babel.config.js (1279b3e)
  • eslint: ensure all config values are contained in config file (83f5f4f), closes #1006 #1313
  • fix ts/tsx rule separation (41a56f1), closes #1315
  • handle failed git commit (a1ccde8), closes #1306
  • rename test-utils shallow to shallowMount (#1269) (5c54df7)
  • stringifyJS should be used in all call sites (07ac887)
  • typo in vue-loader compilerOptions (#1263) (b2b277a)

Features

  • build: add 'watch' option (#1332) (6ea17c9)
  • cli-service: add assetsDir option to specify assets root directory (#1322) (9638d90), closes #1311
  • eslint: add --max-warnings and --max-errors for cli-plugin-eslint (#1289) (ab877a2), closes #1268
  • eslint: enable caching (ff0f97b)
  • eslint: pass cli arguments to linter (#1258) (9ac2642), closes #1255
  • inspect: add --rule and --plugin options for inspect command (82349ba)
  • inspect: add --rules and --plugins options for inspect command (fd1c0d5)
  • support <style lang="postcss"> (#1259) (1037b9c)
  • inspect: improve vue inspect output with webpack-chain hints (f6bfb63), closes #881
  • allow disabling serve progress via devServer.progress (da38747), closes #1284
  • allow router/vuex to be late added via vue add (2a195f0), closes #1202 #1204
  • ask for whether to use taobao registry when getting versions (#1273) (8fbbd35)
  • GeneratorAPI: addImports & addRootOptions (8b32f4a)
  • make it possible to opt-out of Babel (d75ea99), closes #1199
  • support webp (763cf7a), closes #1321
  • temporarily fix source map by patching babel (453597a)

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

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.modules option has been removed. To import css files (or any other supported pre-processor files) as CSS Modules, append the request with a ?module resourceQuery.
  • 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-jest and cli-plugin-unit-mocha now register "test:unit" command and script instead of "test"; cli-plugin-e2e-cypress now register "test:e2e" with optional --headless flag instead of "e2e" and "e2e:open"; cli-plugin-e2e-nightwatch now 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.defaultModes in 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

Features

  • allow vue add to work with plugins without a generator (#1032) (11956ac)
  • use esnext targets 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

Features

  • add vue add command (#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

Code Refactoring

  • change default test directory name to "tests" (64b4515), closes #877

Features

  • add ability to use environment variables in vue.config.js (#867) (92ddd09)
  • add default content (#856) (a489803), closes #854
  • cli-plugin-pwa: Upgrade workbox-webpack-plugin to 3.0.0-beta.1 (#897) (6d7985a)
  • output help information on unknown CLI commands (#857) (cd23858), closes #849
  • preserveWhitespace: false (1864cef)

BREAKING CHANGES

  • all tests are now located in "tests" instead of "test"
  • preserveWhitespace now defaults to false in vue-loader options.

3.0.0-beta.1 (2018-02-16)

Bug Fixes

  • babel preset: allow setting useBuiltIns to be false. (#843) (a9ac1a9)
  • also include import rule in eslint plugin (e8f036b)
  • eslint + airbnb compat with TypeScript (d391e47)
  • fix core-js import for global service (3a5d125), closes #837
  • fix eslint-loader for TypeScript (9f5d0b9)

3.0.0-alpha.13 (2018-02-13)

Bug Fixes

3.0.0-alpha.12 (2018-02-12)

Bug Fixes

  • fix usage with https proxy by switching from axios to request (#829) (e8aa688), closes #785
  • make extension test for font files case-insensitive (#830) (d7cfa00)
  • only enable TSLint when tslint.json exists (76d7f77)

Features

  • allow e2e plugins to sepcify which mode the server should start in (8f8fe6d), closes #814
  • expose useBuiltIns options in @vue/babel-preset-app (8e0661e), closes #812
  • lintOnSave no longer causes compilation to fail (9040df8), closes #817
  • use eslint-plugin-cypress (9410442), closes #815
  • use more descriptive classNames for CSS modules (fd13106), closes #813

3.0.0-alpha.11 (2018-02-09)

Bug Fixes

  • eslint config should be root (ea74da1)
  • eslint: load node env by default (fix #806) (c2e3228)
  • respect user configured output path (b5564af), closes #809

3.0.0-alpha.10 (2018-02-08)

Bug Fixes

  • fix pwa info link (close #801) (a0004ea)
  • vue-class-component and vue-property-decorators should be dependencies (c26559d)

Features

  • include eslint:recommended in prettier config (e261718)
  • support using ESLint to lint TypeScript (dd04add)

3.0.0-alpha.9 (2018-02-06)

Bug Fixes

  • unit-mocha: fix test glob to avoid running e2e tests (172e8eb), closes #790
  • handle vue invoke config merging for existing files (46166fb), closes #788
  • object returned from api.configureWebpack should be merged (920d8fa)
  • only support taobao check and inline registry when using npm (67df3eb), closes #789

Features

  • Use the Workbox webpack plugin in pwa template (#769) (9095483)

3.0.0-alpha.8 (2018-02-04)

Bug Fixes

  • fix eslint errors when using airbnb + cypress (313533d)
  • fix jest test match (2c61d23), closes #771
  • fix overwrite prompt (7871c5c)
  • include version marker in workspace (d3d040a), closes #772
  • inspect: correct usage of resolve (#773) (0f9a44a)
  • move plugin data extraction into GeneratorAPI (4f2f6f0)
  • shim global for node modules (691cfa2), closes #774

Features

  • build --target wc-async (50fdd9b)
  • polish build output (dc29e88)
  • update default component content (59f5913)

3.0.0-alpha.7 (2018-02-02)

Bug Fixes

  • ensure vue init works when installed with npm (6ce8565)

Features

  • check and show newer version on create (3df1289)
  • support prompts when invoking plugins (c1142e2)

3.0.0-alpha.6 (2018-02-02)

Bug Fixes

  • --target for global build (4fb4e35)
  • allow console during dev (5ad8fae)
  • avoid deepmerge on project config (7d590d8)
  • compatible with safari 10 (#755) (199c754)
  • do not extract vue.config.js in tests (7874b0e)
  • ensure loaders exist (fcfb099)
  • fix --force flag (6661ac2)
  • fix project creation when path contains spaces (fix #742) (5be05f3)
  • fix version check (e5ef34d)
  • move linkBin into @vue/cli since it requires node 8 (120d5c5)
  • TS 2.7 compat (c7e28fd)
  • typescript caching problems (a80cf18)
  • typescript: explicitly include global types (31c1261), closes #762

Features

  • build --target lib/wc (faadadf)
  • build --target web-component (WIP) (6db7735)
  • complete --target wc & multi-wc + tests (9a07eeb)
  • improve build lib/web-component (1c4943b)
  • improve inspect output (fd87394)
  • inject styles under shadow root in web component mode (98afd07)
  • make env variables available in HTML template (b626ef1)
  • parallel mode (b8f2487)
  • vue build --target multi-wc [pattern] (0f59c03)
  • vue inspect that proxies to vue-cli-service (4c00cfa)

Reverts

  • feat: load config w/ cosmiconfig (702b539)

3.0.0-alpha.5 (2018-01-29)

Bug Fixes

  • cache-loader doesnt seem to work well with ts-loader (63c8f65)
  • jest should only run files in given directory (4a7fd64), closes #740

Features

  • allow saving multiple presets (f372f55)
  • load config w/ cosmiconfig (5288122)
  • support config in dedicated files (01edb46)

3.0.0-alpha.4 (2018-01-26)

Bug Fixes

  • pin joi to 12.x for node version compat (3bd447a)
  • skip postcss-loader if no postcss config is present (1142339)
  • temp pinning vue-jest to github branch (2d6a0d9)

Features

  • move babel-preset and eslint-plugin as deps of plugins (c2583e4)

3.0.0-alpha.3 (2018-01-26)

Bug Fixes

  • clone options before mutating (7471f94)
  • typescript: fix tsconfig.json (235676f)
  • typescript: include @types/node instead of shimming process (f9c8849)
  • ensure cache-loader apply to both babel and ts (5f76980)
  • fix sync script for generators (134ac58)
  • force babel-core version when using ts + babel (d7c6af7)
  • more global resolve fixes + better error message for missing loaders (367b78b)
  • more global service resolve fixes (76dda73)
  • packageManager flag (0c9ecd5)
  • resolve for global service (8f0b52f)

Features

  • use cache-loader for ts (4680544)

3.0.0-alpha.2 (2018-01-25)

Bug Fixes

  • avoid dotfiles not being published to npm (2e3fe07)
  • do not update dep if latest tag is older then specified (b913047)
  • use babel-loader@8 (c769110)

3.0.0-alpha.1 (2018-01-25)

Bug Fixes

  • avoid scrolling when picking features (d57208d)
  • bump root deps as well (f52ff70)
  • ensure paths + make html optional (2c1ad14)
  • typo {mdoule => module} (#721) (4765cc6)

Features