Change Log
All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.
Bug Fixes
Features
Features
Features
- plugin-markdown-hint: add inline rendering support for title (#274) (7ea981f)
Bug Fixes
- create-vuepress: add missing peer, close #272 (94f1071)
Bug Fixes
- plugin-comment: fix rollup config (7ba0244)
Bug Fixes
- plugin-comment: add missing style import for Waline (f976a5c)
- plugin-markdown-math: improve font-size in katex (4add5f1)
- plugin-markdown-math: prevent scrollbar with mathjax (c73b86f)
- plugin-pwa: fix config file (4295c5d)
- plugin-redirect: respect config option from command line (790731a)
- plugin-rtl: add missing client entry (da8be48)
- plugin-rtl: fix client imports (39b43f1)
Features
- helper: improve header anchor normalize (ef2c444)
- helper: sync mergeViteConfig with vite (6e17c80)
- plugin-copyright: provide composables (a9b6e98)
- plugin-feed: add app as second argument in getter (08dbf87)
- plugin-markdown-hint: improve hint container outlook (#264) (340fff5)
- plugin-markdown-math: add macros option for katex by default, close #261 (c5568ca)
- plugin-markdown-tab: provide client entry (a1ed50b)
- plugin-pwa: improve style tree shaking (aed3060)
- plugin-pwa: prevent defining variables (ec0d8d0)
- plugin-redirect: reduce runtime size (#268) (1adfab9)
- plugin-rtl: provide composables (3d0e4a1)
- use rollup to bundle files (#267) (164252d)
Features
- plugin-redirect: add remember my choice, close #253 (#259) (8805d9c)
- plugin-sass-palette: remove variables staring with underscore in generator (f329800)
Note: Version bump only for package @vuepress/ecosystem
Bug Fixes
- plugin-markdown-math: incorrect import css path (#256) (4e61424)
Features
- plugin-prismjs: improve highlight color generation (492cd27)
Bug Fixes
- plugin-revealjs: fix embed mode and keyboard events (5d98506)
Bug Fixes
- plugin-comment: avoid resolving issues in pnpm (2e319fe)
- theme-default: fix hero action button color (12a8d5d)
Features
- add plugin-markdown-tab (#250) (49ea97c)
- add plugin-revealjs (#251) (253b959)
- plugin-docsearch: improve search box appearance (5282d3b)
- plugin-markdown-hint: toggle all details block open before print (4cb99de)
- plugin-redirect: appear target language first (4ca960a)
Bug Fixes
- apply code font color, close #248 (7cc5746)
- plugin-markdown-math: correct client config file path (b7ab87b)
- plugin-shiki: correctly fallback code font color, close #248 (65f048a)
- theme-default: fix invalid component (ea29e2d)
Features
- helper: add LoadingIcon and useDarkmode (06584ba)
- helper: improve normalize (5c7a902)
- plugin-comment: import LoadingIcon from helper (4476698)
- theme-default: improve palette (36db48e)
Bug Fixes
- fix style injection in highlighter (45074ab)
- helper: fix grey text color (f804b9b)
- helper: fix table style normalize (7bf684d)
- helper: improve code text contrast (bbddb62)
- plugin-prismjs: fix color converting (7215129)
- theme-default: fix build template color (4a22f47)
Features
- plugin-markdown-hint: add injectStyles option (0e833ee)
- plugin-markdown-hint: rebuild styles (3b08611)
- theme-default: improve badge appearance (37b13ad)
- theme-default: improve page nav hover color (b067739)
Bug Fixes
- fix css variables (07bdc57)
- theme-default: improve control colors (89d95d2)
- use modern api by default for vite bundler (7c2e8e9)
Features
- add disable option for highlighter line-number option and unify words (158f7ca)
- add support
collapsed-lines
for code highlighters (#246) (c0f70e4)
- improve default normalize with guideline (f239706)
Bug Fixes
- create-vuepress: bump deps (8e22450)
- fix code and table color normalize, close #243 (bbd69e0)
- plugin-catalog: fix catalog style (8411b00)
- plugin-sass-palette: remove dark-selector config (bce3404)
- theme-default: fix darkmode text color (a469300)
- theme-default: fix types of navbar link (#242) (f98101d)
Features
- improve palette defaults (76a28d5)
- make sass optional and support sass-embedded (#231) (cce614b)
- plugin-docsearch: make palette built-in (0e8e50e)
- plugin-git: add
transformContributors
options (d431dc4)
- plugin-markdown-image: remove lightmodeSelector and darkmodeSelector (16dfaa2)
Bug Fixes
- copy-code: ignoreSelector dose not work (#233) (df7f5b9)
Features
Bug Fixes
Features
- plugin-cache: add support for disable cache in CI env (#220) (b36bf40)
Bug Fixes
- fix lineNumbers style not working (61e8df9)
- plugin-shiki: refine css variables and allow overriding default code block color (201db1d)
Bug Fixes
- highlighter-helper: fix code block style (4db9133)
- plugin-docsearch: fix base issue (7e56412)
- plugin-prismjs: fix scss variable (f9dcfcf)
- plugin-prismjs: unify word highlight option name (6b48402)
- theme-default: fix code highlight color (c9a5fc2)
- theme-default: hide mixed-decls warnings for vite (37211b2)
Features
- add cache plugin (#209) (7e04cee)
- helper: improve body normalize (adfa670)
- helper: improve normalize with motion reduce (29058bc)
- make styles built-in for highlighter plugins (#217) (25e1ea2)
Bug Fixes
- theme-default: disable sass deprecations for webpack (28e1110)
- theme-default: fix incorrect 404 page layout, close #207 (#213) (c7c9a72)
- theme-default: fix incorrect code notation diff layout, close #212 (#214) (983ad4a)
Features
- create-vuepress: use @inquirer/prompts (984b53a)
- plugin-shiki: rename
getHighlighter
to createHighlighter
(#208) (bb739df)
- plugin-shiki: improve logging when language is not available (#215) (b84ce08)
Note: Version bump only for package @vuepress/ecosystem
Bug Fixes
- theme-default: fix transition for
<kbd>
, <hr>
and <blockquote>
, close #203 (#205) (69a07dc)
- theme-default: fix alias with vite (ba09b87)
- theme-default: fix sidebar selector (0a29075)
Features
- add support for highlight whitespace (#204) (b91d04e)
- add support for word highlight (#201) (6f37277)
- create-vuepress: use optional peers to ensure version is up-to-date (e8da8b8)
- theme-default: improve sidebar headers (#196) (c39e4e4)
Bug Fixes
- theme-default: fix client config file import (e5dcba2)
Features
- theme-default: improve prev/next links config and auto detection (#195) (e50f8ca)
Bug Fixes
Features
- extract lineNumbers plugin to @vuepress/highlighter-helper (#193) (969a744)
- helper: add
getHeaders()
(#189) (421fece)
- plugin-comment: export use apis (6ac961f)
- plugin-photo-swipe: support download and fullscreen option, close #185 (#192) (ce49954)
Bug Fixes
- plugin-copy-code: copy button render incorrectly in Safari (#165) (6008e9c)
- theme-default: code block line number misalignment in Safari (#164) (16f9024)
- theme-default: fix arrow style (bb0025c)
- theme-default: fix h2 border color (7833fb0)
- theme-default: fix language dropdown, close #160 (199c266)
- theme-default: fix normalize style import (d0c626a)
- theme-default: fix shiki code block style (b20360a)
Features
- add
:line-numbers=number
supports (#161) (a0a7288)
- add
shiki
/prismjs
class names to differentiate highlight plugins (#181) (0ef4c98)
- helper: add normalize.css (#158) (47b9007)
- helper: normalize tab-size in pre (4867254)
- plugin-catalog: improve catalog heading (97354a2)
- plugin-prismjs: add
prismjs
classname to <pre>
(#167) (2ac6c53)
- plugin-shiki: add langAlias option (#178) (f11014a)
- plugin-shiki: export bundled languages and their names and improve performance (#163) (812f7e7)
- plugin-shiki: move
<pre>
style
attr to preWrapper
(#166) (3942641)
- theme-default: support prefix in navbar and sidebar (#173) (991a161)
- move the
<pre>
extra attribute to preWrapper
(#162) (d0bc473)
Bug Fixes
Bug Fixes
- plugin-markdown-math: fix mathjax custom element (11557f1)
- theme-default: fix externalLinkIcon, close #153 (82136e8)
- theme-default: fix scss module with webpack (4cd3c3c)
Features
- improve types (#149) (ac8c497)
- migrate the
codePlugin
from @vuepress/markdown
to plugin-shiki
and plugin-prismjs
(#137) (49f96cf)
- plugin-copy-code: add
ignoreSelector
and transform
options (#155) (1cc1d97)
- support vuepress2 rc12 (#156) (6a5b916)
Bug Fixes
- vp-update: fix yarn berry registry command (4298469)
Features
Bug Fixes
- plugin-notice: wrap notice with ClientOnly (8a54cb7)
- plugin-redirect: fix redirect modal (d75645c)
Bug Fixes
- plugin-redirect: fix direct modal, close #105 (1c29a82)
Features
- plugin-watermark: optimize watermark redraw when switching pages (#117) (080fa20)
Bug Fixes
- plugin-feed: fix filter default value (85faf13)
- plugin-watermark: fix option reactivity (5d3cdf1)
Features
Bug Fixes
Bug Fixes
- plugin-blog: correct page path, close #107 (5143ed5)
- plugin-comment: fix Waline Pageview (4ff7a6c)
- plugin-redirect: fix scrollLock, close #105 (238e222)
Bug Fixes
- plugin-append-date: fix peer (7cc9865)
- plugin-comment: ensure comment is not externalize in ssr, close #99 (d0a0f25)
- plugin-comment: fix typo in webpack comment (7ade07d)
Features
- plugin-back-to-top: support safari, close #102 (5f0b85c)
- plugin-docsearch: support client config (76f7952)
Bug Fixes
- helper: fix import path (d7ece9f)
- plugin-comment: revert pageview chunk (238fd6f)
- theme-default: fix PageNav relative url (966525e)
Features
- theme-default: improve page meta outlook (8ee423c)
Bug Fixes
- plugin-baidu-analytics: fix client-side error (#96) (7f1b5e1)
- plugin-git: add the --follow parameter to the git log command (#98) (bbe3222)
- theme-default: remove event listener correctly (03e67c1)
Features
- plugin-git: do not pass unneeded data to client (520a3b6)
Bug Fixes
- create-vuepress: fix template link (cb3225f)
Features
- plugin-seo: use excerpt content as description if present (0aa59c8)
- plugin-shiki: add transformers option, close #92 (4cfaace)
- theme-default: support alt + ←→ to navigate and rebuild page nav (424f888)
Bug Fixes
- plugin-pwa: remove vuepress-shared (94659a7)
Features
Bug Fixes
- plugin-pwa: only set viewpoint in pwa, close #84 (e84d023)
- plugin-seo: improve twitter (995c83f)
- theme-default: fix language dropdown, close #85 (45e8e4d)
Bug Fixes
- plugin-redirect: fix css variable name, close #79 (176c0e8)
- plugin-seo: only generate description when page has content (63471d3)
Bug Fixes
- plugin-photo-swipe: support frontmatter (28f29ba)
Features
- helper: add wait utils (75a409a)
- plugin-links-check: add links check plugin (082a953)
Bug Fixes
- plugin-pwa: fix style files (7edadbf)
Bug Fixes
- plugin-copy-code: update default css var (503b6fd)
- theme-default: fix link active status, close #37 (506e28c)
- vp-update: fix getRegistry (3dda81f)
- plugin-blog: use original ref (3651a7f)
BREAKING CHANGES
- plugin-pwa: rebuild plugin
- plugin-pwa-popup: removed
Bug Fixes
- plugin-blog: fix hotReload, close #62 (204cf8f)
- plugin-blog: override existing page at startup (a006959)
Features
- plugin-baidu-analytics: add plugin-baidu-analytics (#70) (0d5810e)
Bug Fixes
- plugin-photo-swipe: fix styles (69374ae)
Bug Fixes
- plugin-theme-data: fix compatibility with vuepress/client (8f01436)
Features
- create-vuepress: use plugin-blog in blog template (#64) (a25014e)
- plugin-copy-code: expose composable api (#67) (fced29c)
- plugin-photo-swipe: add photo-swipe plugin (#69) (58a9855)
- plugin-shiki: use shiki v1 (#68) (2e4343c)
- theme-default: apply styles to photo-swipe plugin (5d1fd63)
Bug Fixes
- plugin-active-header-links: fix hash update (0ee8078)
- plugin-docsearch: hide search while print (8b35bed)
Features
- plugin-redirect: add style variables (152bfa0)
- plugin-redirect: improve autoLocale homepage (0d63fb4)
Bug Fixes
- plugin-redirect: fix locale config (ecf5650)
- plugin-remove-pwa: fix plugin name (a76a639)
- plugin-search: fix hot reload (637db2c)
- theme-default: fix back to top style (10c2847)
Features
- compatible with visual routes (#57) (f1281be)
- plugin-blog: add plugin-blog (#61) (30779e3)
- plugin-catalog: add catalog plugin (#60) (18ad620)
- plugin-copyright: make plugin options optional (64bb166)
Reverts
Bug Fixes
- helper: fix getPageExcerpt in edge case (8004b12)
Features
- plugin-back-to-top: rebuild plugin (#55) (1900257)
Features
- plugin-redirect: add redirect plugin (#53) (44fba50)
- plugin-remove-pwa: add remove pwa plugin (#54) (58b7e32)
Bug Fixes
- helper: ensure rootNodes (afc6f9d)
- plugin-reading-time: remove noExternal declare (36a2abe)
- plugin-rtl: correct plugin name (4b1ca32)
- plugin-sitemap: fix output logger (7389d32)
Features
- helper: add bun support (ebedb81)
- plugin-copyright: add copyright plugin (#52) (f5e4a18)
- plugin-reading-time: add reading-time plugin (#50) (3fce9e4)
- plugin-rtl: add rtl plugin (#49) (4a50404)
- vp-update: add vp-update package (#51) (c0f94d6)
Features
- helper: add hasGlobalComponent (#46) (2472fce)
- helper: export slash related functions (4268fdc)
- helper: improve getDate utils (efb5b2e)
- helper: improve vite optimizeDeps (8973871)
- plugin-copy-code: add copy-code plugin (#47) (8402530)
- plugin-sitemap: rename excludeUrls to excludePaths (#45) (247c792)
BREAKING CHANGES
- plugin-sitemap:
excludeUrls
is renamed to excludePaths
Bug Fixes
- helper: improve types of useLocaleConfig (0fcc7f6)
- plugin-seo: fix logger name and remove debug logger (a692d7a)
Features
Features
- helper: add shared export (da50bcf)
Bug Fixes
- create-vuepress: sync output folder with docs (#29) (e7887aa)
- helper: add missing export (049da22)
- helper: add missing exports (2dc8ea5)
Features
- helper: add date helper (20e5e46)
- helper: add getPageText (#39) (d666d1b)
- helper: add helper package (#33) (fadf122)
- helper: add logger utils (#35) (a92c710)
- plugin-feed: add feed plugin (#41) (b0b2aa4)
- plugin-seo: add seo plugin (#42) (8a999c5)
- plugin-sitemap: add sitemap plugin (#37) (267f388)
- theme-default: heading-sidebar (#30) (0ac591d)
- theme-default: image alt option and set aria hidden on title if same as image alt (close #20) (#23) (dc8042e)
Features
- create-vuepress: update packages version (68d5005)
2.0.0-rc.1 (2024-01-26)
Bug Fixes
- theme-default: avoid calling hooks in computed (6d78f5d)
- theme-default: code group accessibility (#10) (aae5916)
- theme-default: fix navbar brand logo a11y (close #20) (8e6e57e)
- theme-default: fix new anchor style (046ea1c)
Features
- bump to vp2rc1 and declare vuepress as peer (af4f00b)
- create-vuepress: add create-helper (close #1) (#15) (531a7e8)
- plugin-shiki: bump to shikiji v0.10 (e24c1cb)
- plugin-shiki: migrate to esm-based shikiji (close #12) (#13) (df11c04)
- theme-default: make use of data-title attr for code blocks (close #18) (fbf5e32)
- theme-default: sync anchor permalink function updates for better a11y (93e6a04)
BREAKING CHANGES
- plugin-shiki: now
langs
option is required, you need to set the languages list explicitly
Co-authored-by: meteorlxy meteor.lxy@foxmail.com