变更日志
该文件包含 vuepress-theme-hope
及其插件的所有显着更改。
2.0.0-beta.216 (2023-05-27)
Features
- search-pro: add reset button (9e94c58)
- search-pro: avoid refreshing in devServer (56177d4)
- search-pro: optimize results (ac94239)
- search-pro: support
indexOptions
andindexLocaleOptions
(48f71d1) - theme: add
navTitle
option (c2ba200) - theme: improve feature panel style (2d07b6a)
- theme: optimize dropdown and page nav style (3c7c2e3)
- theme: update class with vp prefix (5e6422b)
- theme: update common class with vp prefix (9a29777)
Bug Fixes
- deps: update dependency @types/three to v0.152.1 (#3163) (455857e)
- deps: update dependency hls.js to v1.4.4 (#3164) (ef0c9f9)
- search-pro: fix anchor issue (f07cf4f)
Performance Improvements
- search-pro: slim index size (f73e9b8)
2.0.0-beta.215 (2023-05-25)
Features
Bug Fixes
- search-pro: fix runtime worker (01db9b1)
2.0.0-beta.214 (2023-05-25)
Bug Fixes
- search-pro: fix packing (a7b1b79)
2.0.0-beta.213 (2023-05-25)
Features
- auto-catalog: show empty hint if needed (6801112)
- md-enhance: use mermaid@10.2, improve title support (f026b56)
- search-pro: add createSearchWorker (44159ea)
- search-pro: improve fuzzy search (512bce9)
- search-pro: set delay default to 150 (a874d93)
- search-pro: support defineSearchConfig (b7b54be)
- search-pro: use minisearch to boost search speed (d88abb1)
2.0.0-beta.212 (2023-05-22)
Features
- comment2: add commentID support in frontmatter, close #3133 (3936315)
- md-enhance: add card container, close #3121 (2ceba34)
- md-enhance: add isActive and value for title slots (b3888a7)
- md-enhance: support markdown syntax in tab title (f681fd4)
- md-enhance: support math block, close #3143 (efb77dc)
Bug Fixes
- comment2: fix artalk, close #3141 (a9e57ea)
- deps: update dependency inquirer to v9.2.5 (#3116) (2c652aa)
- md-enhance: fix mermaid preview, close #3142 (1f1baaa)
2.0.0-beta.211 (2023-05-15)
Features
- auto-catalog: add compact code (14c5185)
Bug Fixes
- auto-catalog: fix deps (1efd698)
- components: fix backToTop button on safari (80b1503)
- components: fix BackToTop, close #3132 (f9b31e0)
- deps: update dependency hls.js to v1.4.3 (#3127) (d9cb0b3)
- md-enhance: fix card logo (b593e6a)
- theme: fix page cover (1e89768)
Performance Improvements
- components: optimize import (b501134)
2.0.0-beta.210 (2023-05-11)
Features
- auto-catalog: improve icon support (b88e98c)
2.0.0-beta.209 (2023-05-10)
⚠ BREAKING CHANGES
- theme: you only need to set $theme-colors in config style file for theme color
Features
- md-enhance: improve preview style, close #3079 (566a554)
- md-enhance: mark flowchart as deprecated (e59dbdb)
- search-pro: add
ctrl + /
hotkey (2d6a680) - search-pro: support code block index, close #3080 (12d7956)
- theme: rebuild theme color (d0da5f7)
- theme: remove mobileBreakPoint and pcBreakPoint (506cd9b)
Bug Fixes
- components: remove logger (a20b417)
- md-enhance: fix pie preset (42bcba1)
- theme: improve locales, close #3117 (e4f5fcb)
2.0.0-beta.208 (2023-05-05)
⚠ BREAKING CHANGES
- md-enhance: you should use client config file to customize libs
- lightgallery: to set options for lightgallery, you should use
defineLightGalleryConfig
- photo-swipe: You should now use
definePhotoSwipeConfig
to set advanced options for photoswipe
Features
- comment2: support client config (95ec836)
- comment2: update
SUPPORTED_LANGUAGES
in Giscus (#3099) (52149f5) - lightgallery: move lightgallery option to client (fa09c76)
- md-enhance: add preview and download button, close #3079 (d4b9850)
- md-enhance: move mermaid, reveal and @vue/repl config to client (f6ff7ea)
- photo-swipe: move photoswipe option to client (5daadc4)
- theme: update font size on pc (7d78ad8)
Bug Fixes
- components: fix backToTop progress (f9df359)
- deps: update dependency @types/three to v0.152.0 (#3085) (382019b)
- feed2: fix image style (5caf600)
- md-enhance: fix reveal code block style (6f07b16)
- redirect: normalize path for user config (9750c05)
Performance Improvements
- lightgallery: optimize tree shaking (6e0bb29)
2.0.0-beta.207 (2023-05-01)
⚠ BREAKING CHANGES
- md-enhance: licksCheck now supports
ignore
to ignore some links
Features
- components: use artplayer v5 (3bb68e5)
- md-enhance: rename linkCheck to linksCheck, close #3094 (573c319)
Bug Fixes
- deps: update dependency @vueuse/core to v10.1.0 (#3057) (061a264)
- md-enhance: use router-link to open internal path (cad42fe)
- theme: add workaround for pagination, close #3077 (a7dadf6)
- theme: ensure correct index and order is extracted (f16d644)
- theme: fix bing wallpaper link (859ca87)
- theme: fix blog layout (9e297c2)
- theme: fix sidebar check, close #3073 (94721a9)
- theme: fix sidebar group title, close #3058 (732b81d)
Performance Improvements
- use shadowRef if possible (8efd185)
2.0.0-beta.206 (2023-04-22)
Bug Fixes
Performance Improvements
- md-enhance: stop using eval (99ea82b)
2.0.0-beta.205 (2023-04-19)
Features
- md-enhance: expose
myChart
for echarts (0b24ae0) - shared: improve type guard (2348a53)
- theme: add presets (ac0d6dd)
- theme: add transition for TOC active marker (#3039) (b462659)
Bug Fixes
2.0.0-beta.204 (2023-04-18)
⚠ BREAKING CHANGES
components: backToTop option changes into an object
A progress bar is added to the backToTop button, so now it has 2 configuration options.
feed2: rename
customElements
topreservedElements
which is the actual behaviorThe original option name could be confusing, as we are just preserving them.
Features
- components: add progress for backtotop (79d682d)
- feed2: correct option name (8002ab3)
- reading-time2: add composables, close #3035 (2439b9c)
- shared: preserve math tags in excerpt (d17c4af)
- theme: add
heroBg
andheroInfo
slot for BlogHero (f314ff0) - theme: improve sidebar, close #3019 (122bcb5)
- theme: support color and size for HopeIcon (7cb0d65)
Bug Fixes
- theme: fix sidebar group with external link (bb64bd1)
- theme: support heroImageDark and improve slots (a0afc72)
2.0.0-beta.203 (2023-04-12)
⚠ BREAKING CHANGES
theme: customizations now need extra config
{ custom: true }
nowWe are using bundled version by default as it has higher performance, so you now needs extra config to let theme use alias.
Features
- md-enhance: add card option (d06e46b)
- theme: improve feature panel when only 1 or 2 feature (4856ec4)
- theme: support globalComponent in navbarLayout (04f3a2d)
- theme: support page cover, close #3011 (8d4448f)
- theme: use performance version by default (92fc85e)
Bug Fixes
2.0.0-beta.202 (2023-04-10)
Features
- md-enhance: improve deprecate include logger (672093f)
- md-enhance: improve katex error msg (eb538ad)
- photo-swipe: add indicator and support zoom (6951c27)
- photo-swipe: add scrollToClose option (a792e5e)
- theme: add
title
,cover
,info
andexcerpt
slot for article (9a137c1) - theme: improve a11y (6d13051)
- theme: support cover in article item (03e5963)
Bug Fixes
- auto-catalog: do not generate root homepage as catalog if root locale not exists (e5c9752)
- blog2: do not force generate root locale (665332e)
- components: fix iconify icon issue, close #3006 (b6cc535)
- components: fix Notice key (79b49a0)
- deps: update dependency axios to v1.3.5 (#3001) (a31f99d)
- deps: update dependency mermaid to v10.1.0 (#3002) (bd3d056)
- redirect: fix issue with base (92dfdda)
- redirect: fix language modal, close #3007 (24e70ec)
- redirect: improve behavior when hostname is not set (0dc4951)
- theme: fix text clip in hero info (b93d912)
2.0.0-beta.201 (2023-04-04)
Features
Bug Fixes
- components: fix BiliBili component (140105f)
- md-enhance: use bundled mermaid to avoid pnpm issue with vite, close #2986 (7272bac)
- redirect: ensure file not exist when generating redirect files (f08e98c)
- redirect: improve modal appearance (44c6f62)
2.0.0-beta.200 (2023-03-29)
⚠ BREAKING CHANGES
Drop Node14 support
The project can actually run on Node.js 14 for now, but we update to pnpm@v8 in ci, which requires Node.js >= 16.
Since Node14 will be EOL in 2023-04-30, you must migrate your environment to Node.js 18 (or 16) ASAP.
md-enhance: use
<!-- @include: xxx -->
to include filesThe syntax is consistent with the official VitePress, but how we find the syntax is different.
Features
2.0.0-beta.199 (2023-03-26)
Features
Bug Fixes
2.0.0-beta.198 (2023-03-25)
Features
Bug Fixes
- md-enhance: fix demo compact (7285d19)
- md-enhance: improve figure print style (db985e0)
- theme: fix code block in print mode (fba37da)
- theme: fix extraLocales, fix #2941 (7315f22)
- theme: fix repoIcon name (8f71e75)
- theme: fix sidebar link with empty string (5982795)
Performance Improvements
- remove dayjs in client (88b1722)
2.0.0-beta.197 (2023-03-21)
Features
- theme: support extraLocales option (e9f2615)
Bug Fixes
- theme: improve theme data (6bddfc9)
Performance Improvements
- use empty string for symbol if possible (7b8ecf7)
2.0.0-beta.196 (2023-03-20)
⚠ BREAKING CHANGES
redirect: rename
locale
toautoLocale
We are adding
switchLocale
option to redirect plugin, so we need to renamelocale
toautoLocale
to avoid confusion.
Features
- components: compact with new BiliBili player (15f930b)
- redirect: rename
locale
toautoLocale
(968bb6a)
Bug Fixes
- comment2: fix comment option types (1cb3ee6)
- comment2: fix delay options (7a6e913)
- theme: fix headerDepth check (924ba7f)
- theme: fix sidebar font-size (7938e79)
- theme: fix timeline date appearance (#2929) (2637e04)
- theme: tweaks on check (2eb51a0)
2.0.0-beta.195 (2023-03-20)
Features
Bug Fixes
2.0.0-beta.194 (2023-03-19)
Features
- reading-time2: improve word count (a1f11ae)
- redirect: add locale support, close #2920 (#2922) (180c858)
- theme: check headerDepth, close #2900 (0a73353)
Bug Fixes
- auto-catalog: fix issue when homepage is missing (2865679)
- create: theme mail address example (#2908) (3c30592)
- deps: update dependency execa to v7.1.1 (#2903) (97f322e)
- deps: update dependency hls.js to v1.3.5 (#2912) (29f2729)
- theme: fix import (22e6f69)
2.0.0-beta.193 (2023-03-12)
Features
- md-enhance: rebuild styles (d123879)
Bug Fixes
- theme: fix imports (1049fff)
2.0.0-beta.192 (2023-03-11)
Features
- theme: improve performance mode (45514be)
2.0.0-beta.190 (2023-03-07)
Features
- auto-catalog: refine props and update docs (e0e43f5)
Bug Fixes
- search-pro: correctly extract header text (7c37393)
- search-pro: fix key hint in macOS (912658b)
- search-pro: fix search icon on ios, close #2879 (2f2b6e4)
- search-pro: improve cancel button (818912f)
- theme: fix auto hide navbar (817cb74)
- theme: fix fade-slide-y with perf mode (7ff1407)
- theme: fix perf (2c92783)
2.0.0-beta.189 (2023-03-05)
Bug Fixes
2.0.0-beta.188 (2023-03-05)
Features
Bug Fixes
- search-pro: fix searchIndex, close #2873 (59ed994)
- shared: fix createRequire (#2870) (ee8b930)
- theme: fix sidebar display on tablet (d25259d)
2.0.0-beta.187 (2023-03-04)
Features
Bug Fixes
- create: try not thrown on windows dist root (7ac7bf8)
- deps: update dependency mermaid to v10.0.2 (#2866) (a425be2)
- md-enhance: fix arrows with nesting details (2f1743b)
- search-pro: fix scroll issue, close #2859 (e0cea97)
- theme: fix sidebar with non-unicode characters, close #2857 (aa7ad44)
2.0.0-beta.186 (2023-03-02)
Bug Fixes
- theme: fix createRequire, close #2847 (e8dc4ff)
- theme: fix dropdown link (29204b5)
- theme: fix kdb and table bgcolor (491845c)
2.0.0-beta.185 (2023-02-28)
Features
- search-pro: improve worker, close #2841 (ef06dff)
- theme: add locales for print button, close #2838 (089e7e2)
Bug Fixes
- search-pro: fix #2840 (cf4706f)
- theme: fix blog issue (403ae77)
- theme: fix favicon. close #2839 (e0301d2)
- theme: fix structure sidebar with special characters (16cb3b7)
2.0.0-beta.184 (2023-02-27)
Features
- improve korean locale (#2835) (43a53f2)
- shared: add checkVersion (5520a12)
- theme: improve check (3e8f1c8)
Bug Fixes
- md-enhance: fix mermaid not working with pnpm (21e6bfe)
- theme: revert "fix(theme) fix slots name" (f143669)
- theme: fix plugin check (a7910fd)
- theme: improve structure sidebar generation (f23085c)
2.0.0-beta.183 (2023-02-27)
⚠ BREAKING CHANGES
search-pro: rename
historyCount
option toresultHistoryCount
optionWe are adding
queryHistoryCount
option to redirect plugin, so we need to renamehistoryCount
to avoid confusion.
Features
Bug Fixes
- search-pro: correctly auto-focus input, close #2830 (1d2aed3)
- shared: ensure getDate won't throw with invalid input (4a136fd)
- theme: fix homepage button (701aa7b)
- theme: fix slots name (96e0102)
2.0.0-beta.182 (2023-02-26)
Features
Bug Fixes
- feed2: fix rss template (0c57549)
- md-enhance: correctly get language from code fence, close #2825 (2bc7387)
- theme: fix structure sidebar link, close #2821 (e5325a5)
2.0.0-beta.181 (2023-02-23)
Features
- theme: update hero-info title (b414cf1)
Bug Fixes
- feed2: fix legacy support (fbbe80c)
- photo-swipe: dynamically loads image (ab923cc)
- theme: fix docsearch button on mobile (d203a36)
- theme: improve dropdown group (3540a5e)
2.0.0-beta.180 (2023-02-22)
Bug Fixes
- components: fix iconify icon style (3b854ad)
- search-pro: fix modal style (efc8687)
- theme: fix option js docs (abd4157)
2.0.0-beta.179 (2023-02-21)
Features
- md-enhance: use mermaid@v10 (3d95f10)
- search-pro: use worker to perform search (#2818) (1fcae96)
- theme: lock body scroll while sidebar is open, close #2816 (fcd9671)
Bug Fixes
2.0.0-beta.178 (2023-02-20)
⚠ BREAKING CHANGES
md-enhance: remove showCode option in vue playground, update layout default value
Users are having issues at first render, so we make some tweaks here.
closed 2811
Features
- md-enhance: remove some customization with vue playground (916792a)
Bug Fixes
- fix color issue (1549e51)
Performance Improvements
2.0.0-beta.177 (2023-02-19)
Features
- theme: add before and after slot for toc (74d2f0c)
Bug Fixes
- components: fix notice match (e339db5)
- theme: fix color palette (d58f777)
- theme: support permalink in structured sidebar, close #2800 (#2806) (1973fde)
2.0.0-beta.176 (2023-02-17)
Features
- add no-view attr support (772c5d1)
- add no-view to img (d5b0725)
- md-enhance: add obsidianImgSize option (d0c2512)
- search-pro: improve style (29c69d8)
- theme: improve dropdown link (7f17033)
- theme: improve scrollbar style (2038f22)
Bug Fixes
2.0.0-beta.175 (2023-02-16)
Features
- auto-catalog: add icon slot (bade3f9)
- auto-catalog: add index option (6612d19)
- components: add iconify support, close #2785 (#2786) (addb627)
- components: add share component (#2783) (e08cc34)
- search-pro: add key hints on desktop (0921f50)
- shared: add openPopupWindow (8481435)
- shared: add popup (6132635)
- theme: Add Hungarian language support (#2772) (4ac9a36)
- theme: add social media icon (ae95e35)
- theme: improve sidebar on desktop (e042d13)
- theme: support shiki (#2769) (eb2530b)
Bug Fixes
- auto-catalog: ensure title (566793d)
- deps: update dependency axios to v1.3.3 (#2779) (ee21a9e)
- shared: fix popup (b925455)
- theme: add missing style import (3117f6e)
- theme: fix
$content-class
(928d394) - theme: improve password modal (cf9cc49)
- theme: limit list height in InfoList, close #2771 (bbf11b6)
2.0.0-beta.174 (2023-02-11)
Features
- comment2: apply fallback demo in development (79ee6b7)
- components: add Replit component (#2764) (9b72fb6)
- improve print style (7bc27b0)
- theme: improve pageview detect (c486f95)
Bug Fixes
2.0.0-beta.173 (2023-02-08)
Features
- create: add update command in template (5f8ed1d)
- md-enhance: hide tab on print mode (78abb60)
- sass-palette: improve variable injecting (2014142)
Bug Fixes
- shared: a workaround for vuepress/vuepress#1252 (84f55cf)
- shared: fix packageManager (044598b)
- theme: add pl locale, fix #2751 (6d2e95c)
- theme: exclude blog pages from sidebar and catalog (a668e06)
- theme: fix copyright legacy (78b3cf2)
2.0.0-beta.172 (2023-02-04)
Features
- comment2: add Artalk support (94a1488)
- comment2: mark Waline async (8849137)
- seo2: add seo option in frontmatter (7a0ed6e)
- theme: improve homepage (831c6f8)
- theme: improve mobile appearance (8a3f975)
Bug Fixes
- comment2: fix artalk (6122c25)
- deps: update dependency hls.js to v1.3.2 (#2731) (8fcd842)
- fix async mounted scope (d7eaaf4)
- theme: fix timeline dot position (#2729) (6f54a0d)
- theme: fix timeline transition (331c251)
Performance Improvements
2.0.0-beta.171 (2023-01-31)
Bug Fixes
2.0.0-beta.170 (2023-01-29)
⚠ BREAKING CHANGES
Catalog component is now inside auto-catalog plugin with name AutoCatalog
Most people want that catalog pages can be auto generated, and this is beyond a coponent, so we extract it into a plugin.
Features
- catalog component is now inside auto-catalog plugin (760c686)
Bug Fixes
- create: fix zh blog template (ae89ecc)
- deps: update dependency axios to v1.2.6 (#2708) (a356113)
- fix path in windows, close #2718 (90d3a8d)
- theme: fix blog legacy logger (25be101)
- theme: fix project home padding (0ff661a)
- theme: fix text color with no bg on blog hero (281573d)
- theme: improve blog homepage (cc3d4bc)
2.0.0-beta.169 (2023-01-28)
Features
- theme: hide fullscreen button on print mode (cf39b6d)
Bug Fixes
- md-enhance: fix legacy mode for md-enhance (953ecae)
- theme: ensure nothing is rendered in ssr, fix #2716 (c1f2291)
- theme: fix article order (29a6839)
- theme: fix catalog issue (2af65a8)
- theme: fix deprecate msg (c6bbf2b)
- theme: fix legacy homepage check (c38b06c)
- theme: fix sidebar z-index (55d5424)
- theme: fix typos in meta inject (7a8337c)
- theme: improve homepage (136f3cc)
2.0.0-beta.168 (2023-01-25)
Features
- components: update stackblitz component (737eb71)
Bug Fixes
- improve rtl layout (933c473)
- theme: fix catalog order (fc6c9a6)
- theme: fix footer padding in rtl (9dd5dd4)
- theme: fix footer z-index on desktop (29e612a)
- theme: fix homepage width (7be8584)
- theme: fix legacy compact for copyright (1cbcdd8)
- theme: fix sidebar root structure support with legacy (beabe53)
2.0.0-beta.167 (2023-01-24)
Features
Bug Fixes
- deps: update dependency axios to v1.2.4 (#2704) (d10adc3)
- theme: fix dropped logger (cfe7381)
- theme: hide line-numbers on print mode (0b39671)
- theme: improve legacy logger (cb449e4)
更多
相关信息
对于发布早于 2.0.0-beta.142
的历史版本,详见 Github 仓库。