|
23 | 23 |
|
24 | 24 | * **$core:** support global layout (close: [#1226](https://github.com/vuejs/vuepress/issues/1226)) ([c91f55a](https://github.com/vuejs/vuepress/commit/c91f55a))
|
25 | 25 |
|
26 |
| - From now on, users have the ability to use a custom global layout component via [siteConfig](https://vuepress.vuejs.org/miscellaneous/glossary.html#siteconfig) or [themeEntryFile](https://vuepress.vuejs.org/miscellaneous/glossary.html#themeentryfile): |
| 26 | + From now on, users have the ability to use a custom global layout component via [siteConfig](https://v1.vuepress.vuejs.org/miscellaneous/glossary.html#siteconfig) or [themeEntryFile](https://v1.vuepress.vuejs.org/miscellaneous/glossary.html#themeentryfile): |
27 | 27 |
|
28 | 28 | ```js
|
29 | 29 | module.exports = {
|
|
130 | 130 | * **$core:** Cannot load assets when `base` is not '/' (close: [#1238](https://github.com/vuejs/vuepress/issues/1238))([#1239](https://github.com/vuejs/vuepress/issues/1239)) ([8a234bb](https://github.com/vuejs/vuepress/commit/8a234bb))
|
131 | 131 | <br>This is a regression issue of leverage webpack-dev-server at [#1195](https://github.com/vuejs/vuepress/issues/1195).
|
132 | 132 |
|
133 |
| -* **$markdown:** Remove colon as separator for [Import Code Snippets](https://vuepress.vuejs.org/guide/markdown.html#import-code-snippets) (close: [#1151](https://github.com/vuejs/vuepress/issues/1151)) ([#1236](https://github.com/vuejs/vuepress/issues/1236)) ([099d346](https://github.com/vuejs/vuepress/commit/099d346)) |
| 133 | +* **$markdown:** Remove colon as separator for [Import Code Snippets](https://v1.vuepress.vuejs.org/guide/markdown.html#import-code-snippets) (close: [#1151](https://github.com/vuejs/vuepress/issues/1151)) ([#1236](https://github.com/vuejs/vuepress/issues/1236)) ([099d346](https://github.com/vuejs/vuepress/commit/099d346)) |
134 | 134 |
|
135 | 135 |
|
136 | 136 | ### Features
|
|
156 | 156 | ### Features
|
157 | 157 |
|
158 | 158 | * **$core:** Leverage `webpack-dev-server` and sunset `webpack-serve` ([#1195](https://github.com/vuejs/vuepress/issues/1195)) ([81e3ef6](https://github.com/vuejs/vuepress/commit/81e3ef6))
|
159 |
| - - Add new plugin option api [beforeDevServer](https://vuepress.vuejs.org/plugin/option-api.html#beforedevserver) and [afterDevServer](https://vuepress.vuejs.org/plugin/option-api.html#afterdevserver). |
| 159 | + - Add new plugin option api [beforeDevServer](https://v1.vuepress.vuejs.org/plugin/option-api.html#beforedevserver) and [afterDevServer](https://v1.vuepress.vuejs.org/plugin/option-api.html#afterdevserver). |
160 | 160 | - Remove `enhanceDevServer`.
|
161 | 161 | - Publish [vuepress-plugin-export](https://github.com/ulivz/vuepress-plugin-export).
|
162 | 162 | * **$core:** Allow a theme package using a sub directory (close [#1204](https://github.com/vuejs/vuepress/issues/1204)) ([#1206](https://github.com/vuejs/vuepress/issues/1206)) ([febe3a7](https://github.com/vuejs/vuepress/commit/febe3a7))
|
|
166 | 166 |
|
167 | 167 | * **$core:** - Plugin option `enhanceDevServer` was removed.
|
168 | 168 | - **For 0.x users**, there is no any effect since we didn't expose API to modify it.
|
169 |
| - - **For 1.x users whose version of VuePress is lower than 1.0.0-alpha.33**, you should use [`beforeDevServer`](https://vuepress.vuejs.org/plugin/option-api.html#beforedevserver)(i.e. [before](https://webpack.js.org/configuration/dev-server/#devserver-before) in `webpack-dev-server`) to replace `enhanceDevServer`, you can also use [`afterDevServer`](https://vuepress.vuejs.org/plugin/option-api.html#afterdevserver)(i.e. [after](https://webpack.js.org/configuration/dev-server/#devserver-after) in `webpack-dev-server`) to execute custom middleware after all other middleware internally within the server. |
| 169 | + - **For 1.x users whose version of VuePress is lower than 1.0.0-alpha.33**, you should use [`beforeDevServer`](https://v1.vuepress.vuejs.org/plugin/option-api.html#beforedevserver)(i.e. [before](https://webpack.js.org/configuration/dev-server/#devserver-before) in `webpack-dev-server`) to replace `enhanceDevServer`, you can also use [`afterDevServer`](https://v1.vuepress.vuejs.org/plugin/option-api.html#afterdevserver)(i.e. [after](https://webpack.js.org/configuration/dev-server/#devserver-after) in `webpack-dev-server`) to execute custom middleware after all other middleware internally within the server. |
170 | 170 |
|
171 | 171 | <a name="1.0.0-alpha.32"></a>
|
172 | 172 | # [1.0.0-alpha.32](https://github.com/vuejs/vuepress/compare/v1.0.0-alpha.31...v1.0.0-alpha.32) (2019-01-15)
|
|
252 | 252 |
|
253 | 253 | * **$core:** pass generated page paths to `generated` hook ([#925](https://github.com/vuejs/vuepress/issues/925)) ([5ee2b2b](https://github.com/vuejs/vuepress/commit/5ee2b2b))
|
254 | 254 | * **$core:** `extendCli` Plugin Option API ([#1069](https://github.com/vuejs/vuepress/issues/1069)) ([e963731](https://github.com/vuejs/vuepress/commit/e963731))
|
255 |
| - - See [docs](https://vuepress.vuejs.org/plugin/option-api.html#extendcli). |
| 255 | + - See [docs](https://v1.vuepress.vuejs.org/plugin/option-api.html#extendcli). |
256 | 256 | * **$plugin-search:** searchable paths with test RegExp ([#1032](https://github.com/vuejs/vuepress/issues/1032)) ([d6bddf1](https://github.com/vuejs/vuepress/commit/d6bddf1))
|
257 | 257 |
|
258 | 258 |
|
|
648 | 648 | ### Features
|
649 | 649 |
|
650 | 650 | - **Plugin API**
|
651 |
| - - [Documentation](https://vuepress.vuejs.org/plugin/) |
| 651 | + - [Documentation](https://v1.vuepress.vuejs.org/plugin/) |
652 | 652 | - Multiple official plugins
|
653 | 653 | - [@vuepress/plugin-active-header-links](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-active-header-links)
|
654 | 654 | - [@vuepress/plugin-back-to-top](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/plugin-back-to-top) (Thanks to @ycmjason )
|
|
663 | 663 |
|
664 | 664 | - **Refined Theme API**
|
665 | 665 | - From now on, the theme will no longer use Layout.vue as the entry point, but you can have your own configuration. For example, a theme can have some built-in plugins.
|
666 |
| - - [Documentation](https://vuepress.vuejs.org/theme/) |
| 666 | + - [Documentation](https://v1.vuepress.vuejs.org/theme/) |
667 | 667 |
|
668 | 668 | - **Permalinks**
|
669 | 669 | - From now on, VuePress supports custom routing in addition to the default file-level-based routing.
|
670 |
| - - [Documentation](https://vuepress.vuejs.org/guide/permalinks.html) |
| 670 | + - [Documentation](https://v1.vuepress.vuejs.org/guide/permalinks.html) |
671 | 671 |
|
672 | 672 | - **Markdown slots**
|
673 |
| - - [Documentation](https://vuepress.vuejs.org/guide/markdown-slot.html) |
| 673 | + - [Documentation](https://v1.vuepress.vuejs.org/guide/markdown-slot.html) |
674 | 674 |
|
675 | 675 | - **Free to add new pages**
|
676 | 676 | - You can add new pages with content (i.e. pointing to markdown files) or no content (i.e. common routes).
|
677 |
| - - [Documentation](https://vuepress.vuejs.org/plugin/option-api.html#additionalpages) |
| 677 | + - [Documentation](https://v1.vuepress.vuejs.org/plugin/option-api.html#additionalpages) |
678 | 678 |
|
679 | 679 | - **Custom temp path**
|
680 | 680 | - The running of VuePress actually depends on some temporary files generated during the build time. Before that, its default location is in `node_modules`, but now you can start configuring it, but don't forget to add it to gitignore.
|
|
826 | 826 | * **$core:**: version data layer ([0c5b752](https://github.com/vuejs/vuepress/commit/0c5b752))
|
827 | 827 | * **$default-theme:** new file-level API: `style.styl`. ([2f53f2f](https://github.com/vuejs/vuepress/commit/2f53f2f))
|
828 | 828 | 1. Fixed overriding css variable doesn't work at `0.11.0` (close: [#639](https://github.com/vuejs/vuepress/issues/639))
|
829 |
| - 2. Split `override.styl` into two APIs: `override.styl` and `style.styl`, the former will focus on ONLY the stylus constants override, while the latter will focus on styles override or custom styles. See also: https://vuepress.vuejs.org/default-theme-config/#simple-css-override. |
| 829 | + 2. Split `override.styl` into two APIs: `override.styl` and `style.styl`, the former will focus on ONLY the stylus constants override, while the latter will focus on styles override or custom styles. See also: https://v1.vuepress.vuejs.org/default-theme-config/#simple-css-override. |
830 | 830 |
|
831 | 831 |
|
832 | 832 | <a name="0.11.0"></a>
|
|
0 commit comments