|
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 [themeEntry](https://vuepress.vuejs.org/miscellaneous/glossary.html#themeentry): |
| 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 = {
|
|
103 | 103 | * **$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))
|
104 | 104 | <br>This is a regression issue of leverage webpack-dev-server at [#1195](https://github.com/vuejs/vuepress/issues/1195).
|
105 | 105 |
|
106 |
| -* **$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)) |
| 106 | +* **$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)) |
107 | 107 |
|
108 | 108 |
|
109 | 109 | ### Features
|
|
129 | 129 | ### Features
|
130 | 130 |
|
131 | 131 | * **$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))
|
132 |
| - - 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). |
| 132 | + - 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). |
133 | 133 | - Remove `enhanceDevServer`.
|
134 | 134 | - Publish [vuepress-plugin-export](https://github.com/ulivz/vuepress-plugin-export).
|
135 | 135 | * **$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))
|
|
139 | 139 |
|
140 | 140 | * **$core:** - Plugin option `enhanceDevServer` was removed.
|
141 | 141 | - **For 0.x users**, there is no any effect since we didn't expose API to modify it.
|
142 |
| - - **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. |
| 142 | + - **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. |
143 | 143 |
|
144 | 144 | <a name="1.0.0-alpha.32"></a>
|
145 | 145 | # [1.0.0-alpha.32](https://github.com/vuejs/vuepress/compare/v1.0.0-alpha.31...v1.0.0-alpha.32) (2019-01-15)
|
|
225 | 225 |
|
226 | 226 | * **$core:** pass generated page paths to `generated` hook ([#925](https://github.com/vuejs/vuepress/issues/925)) ([5ee2b2b](https://github.com/vuejs/vuepress/commit/5ee2b2b))
|
227 | 227 | * **$core:** `extendCli` Plugin Option API ([#1069](https://github.com/vuejs/vuepress/issues/1069)) ([e963731](https://github.com/vuejs/vuepress/commit/e963731))
|
228 |
| - - See [docs](https://vuepress.vuejs.org/plugin/option-api.html#extendcli). |
| 228 | + - See [docs](https://v1.vuepress.vuejs.org/plugin/option-api.html#extendcli). |
229 | 229 | * **$plugin-search:** searchable paths with test RegExp ([#1032](https://github.com/vuejs/vuepress/issues/1032)) ([d6bddf1](https://github.com/vuejs/vuepress/commit/d6bddf1))
|
230 | 230 |
|
231 | 231 |
|
|
621 | 621 | ### Features
|
622 | 622 |
|
623 | 623 | - **Plugin API**
|
624 |
| - - [Documentation](https://vuepress.vuejs.org/plugin/) |
| 624 | + - [Documentation](https://v1.vuepress.vuejs.org/plugin/) |
625 | 625 | - Multiple official plugins
|
626 | 626 | - [@vuepress/plugin-active-header-links](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-active-header-links)
|
627 | 627 | - [@vuepress/plugin-back-to-top](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/plugin-back-to-top) (Thanks to @ycmjason )
|
|
636 | 636 |
|
637 | 637 | - **Refined Theme API**
|
638 | 638 | - 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.
|
639 |
| - - [Documentation](https://vuepress.vuejs.org/theme/) |
| 639 | + - [Documentation](https://v1.vuepress.vuejs.org/theme/) |
640 | 640 |
|
641 | 641 | - **Permalinks**
|
642 | 642 | - From now on, VuePress supports custom routing in addition to the default file-level-based routing.
|
643 |
| - - [Documentation](https://vuepress.vuejs.org/guide/permalinks.html) |
| 643 | + - [Documentation](https://v1.vuepress.vuejs.org/guide/permalinks.html) |
644 | 644 |
|
645 | 645 | - **Markdown slots**
|
646 |
| - - [Documentation](https://vuepress.vuejs.org/guide/markdown-slot.html) |
| 646 | + - [Documentation](https://v1.vuepress.vuejs.org/guide/markdown-slot.html) |
647 | 647 |
|
648 | 648 | - **Free to add new pages**
|
649 | 649 | - You can add new pages with content (i.e. pointing to markdown files) or no content (i.e. common routes).
|
650 |
| - - [Documentation](https://vuepress.vuejs.org/plugin/option-api.html#additionalpages) |
| 650 | + - [Documentation](https://v1.vuepress.vuejs.org/plugin/option-api.html#additionalpages) |
651 | 651 |
|
652 | 652 | - **Custom temp path**
|
653 | 653 | - 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.
|
|
799 | 799 | * **$core:**: version data layer ([0c5b752](https://github.com/vuejs/vuepress/commit/0c5b752))
|
800 | 800 | * **$default-theme:** new file-level API: `style.styl`. ([2f53f2f](https://github.com/vuejs/vuepress/commit/2f53f2f))
|
801 | 801 | 1. Fixed overriding css variable doesn't work at `0.11.0` (close: [#639](https://github.com/vuejs/vuepress/issues/639))
|
802 |
| - 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. |
| 802 | + 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. |
803 | 803 |
|
804 | 804 |
|
805 | 805 | <a name="0.11.0"></a>
|
|
0 commit comments