All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
2.0.0-beta.36 (2022-03-01)
- avoid user content to be used as string params (close #727) (788afda)
- bundler-webpack: allow
configureWebpack
option to return void (#662) (4488cb3) - theme-default: fix title style when no content in custom container (close #648) (#657) (73d297f)
- use function to pass a single default slot in render function (close #716) (4550161)
- cli: watch page dependencies on dev (e6ed487)
- markdown: add aria-hidden for line-numbers (#731) (6f5d132)
2.0.0-beta.35 (2022-01-22)
2.0.0-beta.34 (2022-01-21)
- theme-default: add missing color transitions (0955c9f)
- theme-default: highlight sidebar heading when used as a link (close #628) (1a5f4fb)
- remove debug plugin (f8481eb)
- client: add vue-devtools support (a19d945)
- plugin-docsearch: bump docsearch version to support translations (47a0ef1)
- plugin-external-link-icon: add locales option (#636) (c7f0c43)
- plugin-theme-data: add devtools support (dab437c)
- theme-default: improve sidebar a11y (close #604) (8033b82)
@vuepress/plugin-debug
package has been removed
2.0.0-beta.33 (2022-01-12)
- core: should process page hooks inside createPage (e1cbab5)
- markdown: replace img src correctly when wrapped with other html tags (close #597) (f2f53ef)
- theme-default: bump vueuse to avoid localstorage error (close #589) (#612) (7558681)
- core: allow theme to set default HTML templates (4fb7b55)
- plugin-shiki: bump shiki to 0.10.0 (9d42e56)
- theme-default: imporve dark mode experience (close #387) (c20a1ba)
- theme-default: make all non-global components replaceable (f480bb2)
2.0.0-beta.32 (2021-12-28)
- core: normalize core app structure (6952acf)
- shared: improve types of site base (66943fb)
- core: config
templateSSR
is renamed totemplateBuild
2.0.0-beta.31 (2021-12-24)
- theme-default: code line numbers unaligned in different display scale (close #499) (21accb5)
- theme-default: remove focus-visible outline (close #359) (cfbaa14)
2.0.0-beta.30 (2021-12-23)
- plugin-back-to-top: fix regression when upgrading ts-debounce (close #579) (7a6a45b)
- theme-default: arrows not displaying in page nav (#573) (2d5b084)
- theme-default: do not always wrap logo and hero image with client-only (6b4ee45)
- bundler-webpack: add devServerSetupMiddlewares option (4a042a4)
- bundler-webpack:
beforeDevServer
andafterDevServer
options are removed, usedevServerSetupMiddlewares
instead
2.0.0-beta.29 (2021-12-18)
- extract external link icon to plugin (437b750)
- theme-default: export default locale options (e3ac623)
- config
markdown.links.externalIcon
is removed, use plugin-external-link-icon instead - frontmatter
externalIcon
is removed, useexternalLinkIcon
from plugin-external-link-icon - component
OutboundLink
is removed, useExternalLinkIcon
from plugin-external-link-icon
2.0.0-beta.28 (2021-12-17)
- bundler-vite: flatten the plugins structure to avoid ordering issue (close #535) (b4011ac)
- theme-default: fix kbd color in dark mode (#503) (31bea57)
- theme-default: use browser default locale in last updated date (#462) (3746e66)
- core: replace extendsPageData with extendsPage hook (827a873)
- core: support extendsMarkdownOptions hook (a1fc69b)
- core: support routeMeta in frontmatter (93cdb53)
- theme-default: make the arrows in page nav clickable (#540) (e7b31fd)
- theme-default: support heroImageDark frontmatter (close #526) (#559) (779ddaa)
- vuepress-webpack: add vuepress-webpack package (a2d9c9a)
- vuepress: switch default bundler to vite (e1004df)
- vuepress: switch default bundler from webpack to vite
- core: now
app.markdown
is only available in and afteronInitialized
hook - core: now
extendsPageOptions
hook does not allow a return value any more - core:
extendsPageData
hook should be migrated toextendsPage
hook
2.0.0-beta.27 (2021-10-28)
- shared: treat ftp links as external (close #456) (9894b56)
- theme-default: avoid ssr-mismatch of dark mode logo (close #453) (aaf1152)
- theme-default: fix code overflow-wrap in Safari (close #435) (6e6fe4f)
- theme-default: hero actions spacing on small devices (close #381) (#442) (288927a)
- bundler-vite: compat with vite 2.6 (bad82eb)
- shared: add isLinkFtp util (b8f35c9)
- theme-default: support editLinkPattern frontmatter (close #450) (edecf2d)
2.0.0-beta.26 (2021-09-11)
- client: fix aria-hidden attribute of OutboundLink (close #427) (#432) (0575ba9)
- client: fix wrong attrs selector when loading head tags (close #426) (5654685)
- core: use absolute path when creating pages (close #421) (0a2f7dc)
- theme-default: support navbar and sidebar slot for Layout.vue (a42e431)
- core: now
PageOptions
does not accept relative file path
2.0.0-beta.25 (2021-08-29)
- plugin-git: add HEAD into git shortlog arguments (close #205) (#398) (9be4de1)
- theme-default: improve the style for non-square logo (#386) (ff7c57f)
- bundler-webpack: bump webpack-dev-server to 4.0.0 (6e3fc32)
- client constants should add
VUEPRESS
prefix now
2.0.0-beta.24 (2021-08-14)
- plugin-pwa: compat with workbox-build 6.2.2 (close #361) (f28e4cb)
- theme-default: avoid recursive ref update in code-group (ca8404a)
- theme-default: add
logoDark
locale option (close #283) (991c07a) - theme-default: add css variables for transition (#325) (2b09004)
- theme-default: improve a11y and animation of sidebar button (#365) (c99861e)
- theme-default: store dark mode state in local storage (close #335) (9582b3b)
- client: the previous built-in meta tags should be manually added to custom html template
2.0.0-beta.23 (2021-08-01)
- markdown: encode file path when coverting links (close #306) (920c9ac)
- theme-default: use constant color for inserted token (close #296) (4596028)
- bundler-webpack: bump webpack-dev-server to 4.0.0-rc.0 (816da00)
- core: store page data in page object (close #319) (c7d3710)
- core: support paths without html extension (close #292) (#324) (1d41365)
- markdown: support
code.lineNumbers
to be set to number (close #231) (#276) (a7fbdec) - theme-default: add
toggleDarkMode
locale option (#275) (a685a1b) - theme-default: add missing transitions (066c6e4)
- theme-default: enhance color transitions (#287) (9b96871)
- theme-default: enhance color transitions (#321) (aeaa3ba)
- theme-default: set dark mode color-scheme (#289) (0b3abd3)
- theme-default: support page slot for Layout.vue (a8de0a9)
- core: now
extendsPageData
hook is processed beforeonInitialized
hook
2.0.0-beta.22 (2021-07-11)
- bundler-vite: fallback html requests to index.html (close #265) (665cda3)
- markdown: resolve assets links in html img tags (close #254) (7cbb163)
- plugin-active-header-links: update active header link selector (#259) (adaeed5)
- theme-default: break long links on overflow (close #266) (#273) (eb970c3)
2.0.0-beta.21 (2021-07-03)
- client: avoid duplicate slash after base in withBase util (close #246) (af9ceff)
- markdown: filter permalink symbol in toc (close #251) (5a35806)
- theme-default: fix nav glitch at exactly 719px screen width (#238) (3154fbb)
- theme-default: use default cursor on non-link sidebar items (ca22d4f)
2.0.0-beta.20 (2021-06-26)
- core: invoke extendsPageOptions hook in createPage (76292aa)
- markdown: bump markdown-it-anchor to 8.0.4 (41338f7)
- plugin-pwa: bump mitt to 3.0.0 (8e2eb33)
- theme-default: refine sidebar config (ea7c4bb)
- markdown:
markdown.anchor
has changed, see changelog of markdown-it-anchor 8.0.0 - theme-default:
isGroup
field of sidebar config is removed - core: extendsPageOptions now accept page options as the first argument
2.0.0-beta.19 (2021-06-19)
- bundler-vite: resolve client entry url correctly (close #190) (36babba)
- bundler-webpack: sync types of webpack-dev-server 4 (close #208) (207014b)
- bundler-webpack: support vue-loader options (5a51912)
- theme-default: support activeMatch in navbar config (ab0c6d1)
- theme-default: support disabling dark mode (6517ce1)
2.0.0-beta.18 (2021-06-12)
- plugin-search: disable default form action on Enter key (#189) (81b5b24)
- plugin-toc: exclude h1 header in toc (5e96641)
- theme-default: exclude h1 header in sidebar (280626d)
- theme-default: show outline of toggle-dark-button (bc94de0)
- core: drop support for plugin nesting (f7da97f)
- core: resolve page title from markdown env (09d08a4)
- bundler-vite: make server build lighter (a6ddea5)
- core: a plugin cannot use other plugins anymore
- core: markdown emoji syntax is not supported in frontmatter title
2.0.0-beta.17 (2021-06-04)
- theme-default: avoid long inline code breaking the layout (#180) (ada2e2a)
- theme-default: fix error of sidebar resolving (close #185) (6a96af0)
- theme-default: respect root-level custom container config (close #175) (f2ad5f0)
- core: support multi-level theme inheritance (5df8662)
- theme-default: improve a11y of CodeGroup (#163) (2b76463)
- theme-default: default title of danger container is changed to "DANGER"
2.0.0-beta.16 (2021-05-28)
- plugin-pwa-popup: increase default z-index (67242e8)
- theme-default: increase medium-zoom delay (9c92443)
- bundler-vite: configure postcss by default (6197578)
- plugin-back-to-top: add z-index variable (3d7d4a4)
- plugin-medium-zoom: add more css variables (close #174) (d717800)
- plugin-nprogress: add z-index variable (151e087)
- plugin-pwa-popup: add more css variables (3ae6f72)
2.0.0-beta.15 (2021-05-27)
- markdown: decode assets link to ensure bundler can find the file (#144) (d3e5409)
- theme-default: handle rotate events on iPad (#150) (bbdda60)
- theme-default: show header anchors when being focused (#164) (8de5f0f)
- bundler-webpack: bump webpack-dev-server to 4.0.0-beta.3 (2e86826)
- cli: allow setting default app config (41f9dc6)
- plugin-search: add --search-bg-color variable (6c778a8)
- plugin-search: improve a11y support (#165) (205aafe)
- theme-default: support dark mode (close #29) (680e429)
- theme-default: support full link for github repo (#152) (8a5055b)
- theme-default: support Gitee repo (5cad664)
- theme-default: most sass variables are migrated to css variables
2.0.0-beta.14 (2021-05-12)
- bundler-vite: compat with vite 2.3 changes (close #134) (1370984)
- core: avoid mutating theme layouts array (fe27a57)
- core: allow alias and define hook to return a promise (3b3d289)
2.0.0-beta.13 (2021-05-06)
- bundler-vite: make site base work in vite dev (close #126) (d257e01)
- core: path of page options should have the highest priority (0fc6fd3)
- markdown: ensure ending newline in import code (160df2d)
- markdown: allow omitting start or end of import code lines range (21bba5c)
2.0.0-beta.12 (2021-04-30)
- core: avoid uri encoded filename (4ff7f3b)
- theme-default: align the font of line numbers with code blocks (close #124) (#125) (a3ea87d)
- core: add deps to page object (83c9aae)
- core: make filePath available in markdown env (aa52549)
- markdown: support import code blocks (close #15) (fe20ccc)
- core:
pagePath
prop of<Content>
renamed topageKey
2.0.0-beta.11 (2021-04-28)
- bundler-vite: make the timestamp of client entry consistent (4bbff4c)
- do not register hooks in dev mode for prod-only plugins (d5af139)
- specify optimizeDeps for vite dev (0d77331)
- core: merge page routes to reduce requests in vite dev (fa2a614)
2.0.0-beta.10 (2021-04-27)
- bundler-vite: avoid client code to be optimized or externalized (f8a088d)
- bundler-vite: disable clearScreen in dev by default (e7bfe49)
- cli: do not clean cache and temp on restart (047a52c)
- client: implement ClientOnly correctly (e27872d)
- client: make hydration work properly (close #123) (34a5364)
- core: allow extendsMarkdown to return a promise (a4be2fd)
- bundler-vite: bump vite to 2.2.1 to support cacheDir (d7f685b)
- client: support custom layout (c32866d)
- markdown: support externalIcon in config and frontmatter (#122) (d1389bc)
- plugin-search: add search plugin (close #35) (70bb066)
- theme-default: compat with docsearch and search plugin (cb00182)
- theme-default: support pageClass frontmatter (close #118) (809d575)
- theme-default: support sidebarDepth (b79ba90)
2.0.0-beta.9 (2021-04-21)
- core: allow plugin itself as an item of plugin config array (1fa8903)
- core: ensure trailing slash of page path (close #114) (cbcf166)
- markdown: do not escape extracted headers (close #117) (81b1336)
- plugin-back-to-top: fix back-to-top styles (933643a)
- theme-default: remove font-smothing in code block (41c281e)
- core: move evergreen option to bundler-webpack (58c30c1)
- client: provide client types file (89a32b5)
- core: make frontmatter available in markdown env (f977192)
- plugin-palette: add watchers for palette and style files (0cf1b9b)
- plugin-register-components: add register components plugin (close #112) (6af204d)
- theme-default: add more palette variables for code styles (db8e0f4)
- core:
evergreen
option is moved tobundlerConfig.evergreen
for bundler-webpack
2.0.0-beta.8 (2021-04-11)
- plugin-docsearch: provide default value for locales (close #107) (491eb64)
- plugin-pwa-popup: provide default value for locales (f7cbc15)
- markdown: support internalTag option in links plugin (1872ad9)
- utils: add logger.createError method (0c198d7)
- client API that provided by plugins should be imported from
plugin-foo/lib/client
- core: theme plugins could be overridden by user plugins now
2.0.0-beta.7 (2021-04-09)
- bundler-webpack: always extract css file in build mode (accc484)
- client: install vue-router after clientAppEnhance (close #100) (2f5450f)
- client: make page data hmr work as expected (374ae43)
- theme-default: allow direct img children to be zoomable (close #84) (832bd6f)
- bundler-webpack: bump webpack-dev-server to 4.0.0-beta.2 (dd8c408)
- core: show warning when duplicate plugins are detected (742f581)
- plugin-toc: add toc plugin (0ea1720)
2.0.0-beta.6 (2021-03-26)
- refactor(client): remove extra handling for router base (6205279)
2.0.0-beta.5 (2021-03-26)
- client: ensure page component is loaded before route resolve (598adf3)
- markdown: avoid wrapping highlighted code with multiple pre (f0b3872)
- plugin-prismjs: avoid loading languages multiple times (4af5005)
- theme-default: add active class to sidebar group heading (8dcb945)
- theme-default: allow NavLink in sidebar children (ea50010)
- theme-default: make navlink active in subpath (close #70) (4c865b1)
- theme-default: make nested sidebar groups work (4ada701)
- theme-default: make scrollBehavior work with transition (close #77) (4b8d0cf)
- plugin-shiki: add shiki plugin (66bbcbd)
- improve HMR support (38f0073)
2.0.0-beta.4 (2021-03-20)
- bundler-vite: disable auto resolving vite config file (57967f7)
- markdown: remove default syntax highlighter (4a1abe3)
- markdown: prismjs is no longer the default syntax highlighter
2.0.0-beta.3 (2021-03-17)
- cli: show info of vite related packages (73a66df)
2.0.0-beta.2 (2021-03-14)
- bundler-vite: avoid optimizing client package (5708934)
- bundler-vite: workaround for vitejs/vite#2503 (055b280)
- plugin-nprogress: always optimize nprogress with vite (2aeb2bf)
2.0.0-beta.1 (2021-03-13)
Note: Version bump only for package vuepress-next
2.0.0-beta.0 (2021-03-13)
- plugin-google-analytics: fix types (92aa486)
- vuepress-vite: add vuepress-vite package (03a6583)
- implement vite hmr (525c18d)
- bundler-vite: add vite support ⚡ (7d612c4)
- cli: add defineUserConfig util (c20f7b7)
- client: add defineClientAppEnhance and defineClientAppSetup utils (1520517)
- theme-default: use sass as css pre-processor (7eb1fd8)
- theme-default: the palette system of default theme is migrated to sass
2.0.0-alpha.26 (2021-02-24)
- cli: add theme-data plugin and rename palette plugin (97ce42b)
- bundler-webpack: enable options API by default (e29b6e1)
- plugin-palette: add palette plugin (556a23c)
- plugin-palette: migrate
@vuepress/plugin-palette-stylus
to@vuepress/plugin-palette
2.0.0-alpha.25 (2021-02-20)
- core: remove theme data from site data (187aef3)
- plugin-theme-data: extract theme data injection to a plugin (e971e39)
- core:
themeConfig
is not available in site data any more
2.0.0-alpha.24 (2021-02-13)
- core: change page default date to 0000-00-00 (1ce602e)
- core: remove permalink and pattern from page options (9534989)
- core: add extendsPageOptions hook (19b7e83)
- core: add watchers parameter to onWatched hook (0bcd594)
- core: remove permalink and pattern from page options
- core: change page default date from 1970-01-01 to 0000-00-00
2.0.0-alpha.23 (2021-02-10)
2.0.0-alpha.22 (2021-02-10)
- client: only watch route path to update head (3174f5a)
- plugin-debug: avoid enabling in production mode (close #53) (9612282)
2.0.0-alpha.21 (2021-02-05)
- migrate to google analytics 4 and drop v3 support
2.0.0-alpha.20 (2021-02-04)
- plugin-medium-zoom: always refresh medium-zoom with delay (2495f5d)
- theme-default: fix max width of navbar links wrapper (846e60c)
- theme-default: remove extra rem in styles (close #50) (9b1b852)
- core: create siteData in vuepress app (05b87dd)
- core: make language available in page data (03bb09f)
2.0.0-alpha.19 (2021-01-24)
- cli: add esbuild external (8d285ea)
2.0.0-alpha.18 (2021-01-17)
- client: load existing head tags on mounted (15722c5)
- markdown: load some languages by default to partially avoid prism issue (48c085a)
- theme-default: fix homepage frontmatter type (9cf2d28)
- theme-default: fix sidebar config override (2c2c280)
- theme-default: make sr-only tags unselectable (0f6488e)
- client: make usePageFrontmatter generic (2c5e5c1)
- shared: optimize frontmatter type and support generics (8a7025f)
- theme-default: add code-group custom container (d0a20aa)
- theme-default: add page transition (845cc2c)
- theme-default: allow html in homepage footer (87e0821)
- theme-default: optimize scrollbar style of sidebar (27abb26)
- theme-default: support multiple action buttons in homepage (close #23) (bb44710)
2.0.0-alpha.17 (2021-01-13)
- bundler-webpack: add trailing slash to url (cbe4c7f)
2.0.0-alpha.16 (2021-01-11)
- core: support special characters in filename and permalink (c3e68ef)
- markdown: fix assets relative path handling (close #33) (9a95431)
- cli: show info of vue packages (2d19e84)
2.0.0-alpha.15 (2021-01-04)
- core: fix site locale data type (7898500)
- theme-default: click to close dropdown that opened by tab and click (88d1ae2)
- theme-default: fix font-size of dropdown group title (563156c)
- core: provide app in all plugin hooks (21cc3a6)
- fix(theme-default): remove outline when focused on dropdown button (66d3feb)
2.0.0-alpha.14 (2021-01-03)
- bundler-webpack: remove esbuild minimizer (4b3c00b)
- core: fix page date resolving (de6c5c8)
- plugin-docsearch: fix docsearch style issue (7550587)
- theme-default: assign default locale data (d59f55d)
- theme-default: fix overflow style of code block line-numbers (dd77cf4)
- theme-default: remove outline when focused on dropdown button (77842e3)
- theme-default: set font-size explicitly for h4 to h6 (a6459c0)
- vuepress: add a wrapper for cli bin (close #21) (2708ac3)
2.0.0-alpha.13 (2020-12-23)
- markdown: only prepend prefix to explicit relative image path (8d6a095)
- plugin-git: replace -P with --no-pager for better compatibility (close #16) (f394c78)
2.0.0-alpha.12 (2020-12-19)
- markdown: support v-on shorthand in html inline tags (86a1299)
- theme-default: fix navbar type to allow nested group (9ef46ae)
- markdown: code-block-level config for line-numbers and v-pre (9ac3e4a)
2.0.0-alpha.11 (2020-12-17)
- bundler-webpack: freeze webpack version (95523a2)
2.0.0-alpha.10 (2020-12-17)
- theme-default: fix content headers styles (7ead1f6)
- cli: add info command (1f30993)
2.0.0-alpha.9 (2020-12-16)
- bundler-webpack: freeze version of prerelease packages (50d5fa0)
- cli: prepare pages entry if the page key is changed (4c79839)
- plugin-git: split arguments to get updated time (70e8b5e)
2.0.0-alpha.8 (2020-12-11)
- bundler-webpack: display localhost by default in console (8bf0987)
- cli: remove shorthand of host option (8340797)
2.0.0-alpha.7 (2020-12-09)
2.0.0-alpha.6 (2020-12-09)
- bundler-webpack: migrate to webpack 5 (37dca96)
- client: remove built-in debug component (a5962bb)
- plugin-debug: add debug plugin (ddf0a92)
- shared: add esm build (f8463e7)
- theme-default: use debug plugin (e12b1f3)
2.0.0-alpha.5 (2020-12-03)
- plugin-google-analytics: report site base (31c8cad)
- theme-default: fix code related styles (83d8a6f)
- theme-default: fix the condition of using router-link as nav-link (8141f69)
- markdown: support doc lang highlight (dc91db6)
2.0.0-alpha.4 (2020-12-02)
- bundler-webpack: remove spinner when preparing data (7f3b425)
- cli: keep message format consistent (1de416d)
- core: failed to resolve local theme (4d836e2)
- core: warn if layout directory does not exist (3d2d414)
- cli: allow default export in user config file (b2f86c7)
- cli: allow loading ts files globally (a9d94ac)
- utils: add hasExportDefault util (575a9c5)
2.0.0-alpha.3 (2020-12-01)
- bundler-webpack: check public dir before using copy-plugin (2481802)
- core: avoid runtime warning for empty template (close #10) (bcbf703)
- cli: use esbuild to load ts file (41cfbc5)
2.0.0-alpha.2 (2020-12-01)
- plugin-git: check if git repo is valid (3e9fc83)
- bundler-webpack: use esbuild for compilation and minification (4351f99)