|
| 1 | +<a name="3.0.0-rc.1"></a> |
| 2 | +# [3.0.0-rc.1](https://github.com/vuejs/vue-cli/compare/v3.0.0-beta.16...v3.0.0-rc.1) (2018-06-13) |
| 3 | + |
| 4 | + |
| 5 | +### Bug Fixes |
| 6 | + |
| 7 | +* asset output relative check ([1195aee](https://github.com/vuejs/vue-cli/commit/1195aee)), closes [#1545](https://github.com/vuejs/vue-cli/issues/1545) |
| 8 | +* check more files for links ([182f3b7](https://github.com/vuejs/vue-cli/commit/182f3b7)) |
| 9 | +* clear children modules from cache ([50027c6](https://github.com/vuejs/vue-cli/commit/50027c6)) |
| 10 | +* fix custom mode NODE_ENV regression ([60de7c4](https://github.com/vuejs/vue-cli/commit/60de7c4)), closes [#1528](https://github.com/vuejs/vue-cli/issues/1528) |
| 11 | +* runtimeCompiler default ([e15fa20](https://github.com/vuejs/vue-cli/commit/e15fa20)) |
| 12 | +* should repsect configureWebpack hooks when resolving app config ([a7564d6](https://github.com/vuejs/vue-cli/commit/a7564d6)) |
| 13 | +* **ui:** dark mode nav button badge counters ([0ba3920](https://github.com/vuejs/vue-cli/commit/0ba3920)) |
| 14 | +* transform es modules syntax for Jest when not using Babel ([65d5d36](https://github.com/vuejs/vue-cli/commit/65d5d36)), closes [#1524](https://github.com/vuejs/vue-cli/issues/1524) |
| 15 | +* **build:** --target app should respect inline entry as well ([323a38c](https://github.com/vuejs/vue-cli/commit/323a38c)), closes [#1533](https://github.com/vuejs/vue-cli/issues/1533) |
| 16 | +* **ui:** bail access denied folders ([5984a0d](https://github.com/vuejs/vue-cli/commit/5984a0d)) |
| 17 | +* **ui:** create: first feature removed if 'use config files' not checked ([b361473](https://github.com/vuejs/vue-cli/commit/b361473)) |
| 18 | +* **ui:** CSS Pre-processors "More info" link leads to 404 ([#1534](https://github.com/vuejs/vue-cli/issues/1534)) ([919bcbb](https://github.com/vuejs/vue-cli/commit/919bcbb)) |
| 19 | +* **ui:** improve task logs performance ([36908a9](https://github.com/vuejs/vue-cli/commit/36908a9)) |
| 20 | +* **ui:** increase terminal output scrollback ([292c35f](https://github.com/vuejs/vue-cli/commit/292c35f)) |
| 21 | +* use devServer.public to build sockjsUrl, if defined. ([#1526](https://github.com/vuejs/vue-cli/issues/1526)) ([f0498f6](https://github.com/vuejs/vue-cli/commit/f0498f6)) |
| 22 | +* **ui:** IPC conflict ([1fcd2d0](https://github.com/vuejs/vue-cli/commit/1fcd2d0)) |
| 23 | +* **ui:** nav button bullet border color ([aee5c93](https://github.com/vuejs/vue-cli/commit/aee5c93)) |
| 24 | +* **ui:** nav button custom image align ([99b030a](https://github.com/vuejs/vue-cli/commit/99b030a)) |
| 25 | +* **ui:** reload plugin api after plugin update ([be3d538](https://github.com/vuejs/vue-cli/commit/be3d538)) |
| 26 | +* **ui:** reset apollo store on reconnect ([caf31a1](https://github.com/vuejs/vue-cli/commit/caf31a1)) |
| 27 | +* **ui:** save db in user home ([6e1f735](https://github.com/vuejs/vue-cli/commit/6e1f735)) |
| 28 | +* **ui:** Suggestions API fixes ([e7e2fb2](https://github.com/vuejs/vue-cli/commit/e7e2fb2)) |
| 29 | +* **ui:** task command too long ([9426f38](https://github.com/vuejs/vue-cli/commit/9426f38)) |
| 30 | +* **unit-mocha:** node externals are unnecessary for testing client code ([460c200](https://github.com/vuejs/vue-cli/commit/460c200)), closes [#1548](https://github.com/vuejs/vue-cli/issues/1548) |
| 31 | + |
| 32 | + |
| 33 | +### Features |
| 34 | + |
| 35 | +* **ui:** api.hasPlugin(id) ([8fae98e](https://github.com/vuejs/vue-cli/commit/8fae98e)) |
| 36 | +* **ui:** config improvements ([#1487](https://github.com/vuejs/vue-cli/issues/1487)) ([dbef5e9](https://github.com/vuejs/vue-cli/commit/dbef5e9)) |
| 37 | +* **ui:** dark mode ([#1512](https://github.com/vuejs/vue-cli/issues/1512)) ([e258f5a](https://github.com/vuejs/vue-cli/commit/e258f5a)) |
| 38 | +* **ui:** devtools suggestion ([0a2ea1f](https://github.com/vuejs/vue-cli/commit/0a2ea1f)) |
| 39 | +* **ui:** git commit message + disable git ([#1541](https://github.com/vuejs/vue-cli/issues/1541)) ([29c1ce5](https://github.com/vuejs/vue-cli/commit/29c1ce5)) |
| 40 | +* apply minimal transpilation when building as web component ([3b2cc6b](https://github.com/vuejs/vue-cli/commit/3b2cc6b)) |
| 41 | +* modern mode ([204d8f0](https://github.com/vuejs/vue-cli/commit/204d8f0)) |
| 42 | +* vue-cli-service build --report/--report-json ([272ef5e](https://github.com/vuejs/vue-cli/commit/272ef5e)) |
| 43 | +* **ui:** jest task ([692d463](https://github.com/vuejs/vue-cli/commit/692d463)) |
| 44 | +* **ui:** new hooks for plugins ([8ba6bcf](https://github.com/vuejs/vue-cli/commit/8ba6bcf)) |
| 45 | +* **ui:** open eslintrc suggestion ([a26669c](https://github.com/vuejs/vue-cli/commit/a26669c)) |
| 46 | +* **ui:** PluginApi: notify ([e35ee25](https://github.com/vuejs/vue-cli/commit/e35ee25)) |
| 47 | +* **ui:** pwa open vue config/manifest suggestions ([e57e749](https://github.com/vuejs/vue-cli/commit/e57e749)) |
| 48 | +* **ui:** status color bullet on tasks with image icon ([9aec563](https://github.com/vuejs/vue-cli/commit/9aec563)) |
| 49 | +* **ui:** suggestion and progress PluginAPI + add vue-router/vuex suggestions ([9b068b1](https://github.com/vuejs/vue-cli/commit/9b068b1)) |
| 50 | + |
| 51 | + |
| 52 | +### BREAKING CHANGES |
| 53 | + |
| 54 | +* **ui:** - The configuration API has changed. |
| 55 | +- The `files` options now accept an object of different config files: |
| 56 | + |
| 57 | +```js |
| 58 | +api.describeConfig({ |
| 59 | + /* ... */ |
| 60 | + // All possible files for this config |
| 61 | + files: { |
| 62 | + // eslintrc.js |
| 63 | + eslint: { |
| 64 | + js: ['.eslintrc.js'], |
| 65 | + json: ['.eslintrc', '.eslintrc.json'], |
| 66 | + // Will read from `package.json` |
| 67 | + package: 'eslintConfig' |
| 68 | + }, |
| 69 | + // vue.config.js |
| 70 | + vue: { |
| 71 | + js: ['vue.config.js'] |
| 72 | + } |
| 73 | + }, |
| 74 | +}) |
| 75 | +``` |
| 76 | + |
| 77 | +- The `onWrite` api has changed: `setData` and `assignData` have now `fileId` as the first argument: |
| 78 | + |
| 79 | +```js |
| 80 | +api.describeConfig({ |
| 81 | + onWrite: async ({ api, prompts }) => { |
| 82 | + const eslintData = {} |
| 83 | + const vueData = {} |
| 84 | + for (const prompt of prompts) { |
| 85 | + // eslintrc |
| 86 | + if (prompt.id.indexOf('vue/') === 0) { |
| 87 | + eslintData[`rules.${prompt.id}`] = await api.getAnswer(prompt.id, JSON.parse) |
| 88 | + } else { |
| 89 | + // vue.config.js |
| 90 | + vueData[prompt.id] = await api.getAnswer(prompt.id) |
| 91 | + } |
| 92 | + } |
| 93 | + api.setData('eslint', eslintData) |
| 94 | + api.setData('vue', vueData) |
| 95 | + } |
| 96 | +}) |
| 97 | +``` |
| 98 | + |
| 99 | +Other changes |
| 100 | + |
| 101 | +- Config tabs (optional): |
| 102 | + |
| 103 | +```js |
| 104 | +api.describeConfig({ |
| 105 | + /* ... */ |
| 106 | + onRead: ({ data, cwd }) => ({ |
| 107 | + tabs: [ |
| 108 | + { |
| 109 | + id: 'tab1', |
| 110 | + label: 'My tab', |
| 111 | + // Optional |
| 112 | + icon: 'application_settings', |
| 113 | + prompts: [ |
| 114 | + // Prompt objects |
| 115 | + ] |
| 116 | + }, |
| 117 | + { |
| 118 | + id: 'tab2', |
| 119 | + label: 'My other tab', |
| 120 | + prompts: [ |
| 121 | + // Prompt objects |
| 122 | + ] |
| 123 | + } |
| 124 | + ] |
| 125 | + }) |
| 126 | +}) |
| 127 | +``` |
| 128 | + |
| 129 | + |
| 130 | + |
1 | 131 | <a name="3.0.0-beta.16"></a>
|
2 | 132 | # [3.0.0-beta.16](https://github.com/vuejs/vue-cli/compare/v3.0.0-beta.15...v3.0.0-beta.16) (2018-06-08)
|
3 | 133 |
|
|
0 commit comments