变更日志
小于 1 分钟
该文件包含 vuepress-theme-hope
及其插件的所有显着更改。
2.0.0-beta.183 (2023-02-27)
⚠ BREAKING CHANGES
- search-pro: rename historyCount option to resultHistoryCount option
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
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
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.166 (2023-01-23)
Features
- components: add xigua (8902d5f)
- components: use flowchart.ts, fix #2429 (25019ca)
- enable legacy by default (c829376)
- theme: improve homepage layout (339b94c)
- theme: improve navbarLayout (6a42c4a)
Bug Fixes
- components: fix artplayer (4651b45)
- deps: update dependency @vueuse/core to v9.11.1 (#2684) (98e176c)
- theme: fix not found layout (b7dc23c)
2.0.0-beta.165 (2023-01-19)
Features
- components: make
fa-fw fa-sm
class built-in for font-icon (8618022)
Bug Fixes
- components: fix typos in config (27c6a1d)
2.0.0-beta.164 (2023-01-19)
⚠ BREAKING CHANGES
- theme: left/right options in navbarLayout renamed to start/end and slot name changes as well
Features
- components: add
fontawesome-with-brands
keyword (869de33) - components: update fontawesome assets (9100f28)
- theme: exclude auto catalog page from articles (8b2fd20)
- theme: update default value of $content-width (aa6ebbc)
- theme: update navbarLayout option and slot names (aafa6f8)
Bug Fixes
- components: fix fontawesome for font-icon (88e602e)
- deps: update dependency axios to v1.2.3 (#2685) (3358d2c)
- theme: fix footer layout, close #2687 (c05f113)
2.0.0-beta.163 (2023-01-17)
Bug Fixes
2.0.0-beta.162 (2023-01-16)
Bug Fixes
- feed2: fix package files (5ffe692)
2.0.0-beta.161 (2023-01-16)
Features
- components: tree-shake artplayer (e8c5b1b)
- feed2: improve xsl template (3758cd2)
- sitemap2: improve sitemap template (26cd4dd)
Bug Fixes
- feed2: add missing export (566fb01)
- feed2: fix rss template (2910236)
- theme: fix blog page layout (9bc8a9a)
- theme: fix footer (aeb0bc8)
2.0.0-beta.160 (2023-01-16)
Features
Bug Fixes
2.0.0-beta.159 (2023-01-15)
Features
Bug Fixes
2.0.0-beta.158 (2023-01-14)
Features
Bug Fixes
- comment2: fix waline style (c99c8cf)
- feed2: ensure xml is encoded (5069bc9)
- theme: fix article header (75a1c83)
- theme: fix article list (77d8059)
- theme: fix page padding (680ab50)
- theme: fix print default value (6ff551c)
- theme: fix style (73cda73)
- theme: support excerptLength and excerptSeparator (7faad88)
2.0.0-beta.157 (2023-01-13)
Features
- added german language, as the current "de-AT" language is for German (Austria) (#2666) (21e092a)
- components: add Artplayer component (#2670) (3cdacaa)
- components: add type prop for artplayer (cd6cca3)
- theme: improve layout (b1ca618)
Bug Fixes
- theme: fix darkmode (c0ffa8c)
2.0.0-beta.156 (2023-01-11)
Features
- components: add SiteInfo (#2661) (5412c76)
- shared: rebuild deepMerge as deepAssign (c1d34ab)
- theme: rebuild layout (4f091a4)
Bug Fixes
- theme: fix pure default value (2996958)
2.0.0-beta.155 (2023-01-10)
Features
Bug Fixes
- md-enhance: fix option types (9a8f324)
- theme: fix text color (615e329)
- theme: fix themeData generation and some options (db8a002)
- theme: Improve footer transition (#2651) (91c067c)
2.0.0-beta.154 (2023-01-08)
Bug Fixes
- comment2: fix waline locale config (2277200)
2.0.0-beta.153 (2023-01-08)
⚠ BREAKING CHANGES
- components: rebuild notice options, support notice per path
Features
- comment2: support locale for Waline (7a54ad7)
- components: add compact code for notice breaking changes (69de6be)
- components: rebuild notice options, support notice per path (15ee5cd)
- theme: add plugins check to warn noob users (1d72c77)
- theme: add print button (b26fcf5)
- theme: appearance improvement (7df314c)
- theme: improve homepage appearance (f0fbfec)
Bug Fixes
- md-enhance: fix code demo copy button, close #2647 (818fe70)
- theme: fix highlight lines, close #2646 (ad4ff9a)
- theme: fix print button style (2f77ab9)
Reverts
- theme: revert transition improve (03042fc)
2.0.0-beta.152 (2023-01-06)
Features
Bug Fixes
- remove-pwa: make options optional (3338c68)
- seo2: fix json-ld generation and fix alternate links (11a3223)
- theme: fix homepage icon font-weight (f5e7006)
- theme: fix homepage image icon (0d16588)
- theme: fix notice button color on darkmode (bbdf500)
2.0.0-beta.151 (2023-01-04)
Features
- create: add new command add (8c34064)
- search-pro: improve search button a11y (8629ee5)
- theme: improve home features (f853aa4)
- theme: rebuild home page related components (3f76b8d)
Bug Fixes
- deps: update dependency @types/three to v0.148.0 (#2626) (ba86d46)
- md-enhance: fix nesting container icon issue (33b0e69)
Performance Improvements
- use util functions (2e364a9)
2.0.0-beta.150 (2023-01-03)
Features
Bug Fixes
- theme: fix dev command (b9615c6)
2.0.0-beta.149 (2023-01-02)
Features
- components: style improvements on catalog (b3fd854)
- components: support locales in PDF (7cd5626)
- sass-palette: use default theme variable if possible (1c98543)
Bug Fixes
- add missing fallback css vars (8e379be)
- auto-catalog: fix component (6547aca)
- auto-catalog: fix issues with cjk path (d193982)
- theme: fix component options (60c019b)
2.0.0-beta.148 (2023-01-01)
Features
- auto-catalog: add component and level option (20a1b40)
- components: support locale options for catalog (20622d4)
2.0.0-beta.147 (2022-12-31)
Features
- add auto catalog plugin and Catalog component (#2339) (d651a89)
- components: update icon (edfb097)
- improve code block print style (d4b6b12)
- md-enhance: use
@mdit/plugin-tab
(f86b34a) - pwa2: improve print style (7d2a5f5)
- theme: hide empty icon with no category selected, close #2598 (219e82b)
Bug Fixes
- components: correct icon asset link (ed684b1)
- deps: update dependency axios to v1.2.2 (#2593) (cd3471a)
- fix viteConfig function merging (53b92e6)
- md-enhance: fix
mermaid
option type (#2594) (c5742a2) - md-enhance: fix code tab style, close #2595 (0b0c09b)
2.0.0-beta.146 (2022-12-28)
⚠ BREAKING CHANGES
- md-enhance:
imageLazyload
is renamed toimgLazyload
imageSize
is renamed toimgSize
imageMark
is renamed toimgMark
- components: all pathname will be append with base
Features
- components: all pathname will be append with base (d69e5ed)
- components: split pdfjs files out of repo (aafb111)
- md-enhance: extract plugins and use @mdit/plugin-xxx (6e91afe)
- md-enhance: render tabs in ssr (73900e3)
Bug Fixes
- components: fix vite warning (eb34cea)
- md-enhance: add missing package (a099e37)
- theme: fix article list style (5b0fcf2)
- theme: preserver url params when switching language (75b43a5)
2.0.0-beta.145 (2022-12-26)
Features
Bug Fixes
2.0.0-beta.144 (2022-12-26)
Features
- components: improve font-icon (259a7fe)
- components: rebuild pdf (#2580) (5425ba0)
- components: support string value for number props (8e84095)
- md-enhance: support region in include feature (#2579) (718eaaa)
Bug Fixes
- deps: update dependency three to v0.148.0 (#2573) (cfe992e)
- md-enhance: fix mathjax chtml output and add a11y option, close #2231 (#2566) (e7bebb7)
- md-enhance: fix mathjax type (a3ed068)
- md-enhance: fix playground vue preset ssr (8be7852)
- shared: fix code in table (bcc8c25)
- theme: fix article list padding when hero and project panel is disabled (a62ee0b)
2.0.0-beta.143 (2022-12-14)
⚠ BREAKING CHANGES
- theme: theme alias no longer needs
.js
extension
Features
- theme: remove alias
.js
extension (79ac606)
2.0.0-beta.142 (2022-12-14)
Features
- components: add css variable for notice (cd47d6f)
- md-enhance: cancel figure image scale (a94fcad)
- photo-swipe: support zooming image by pressing enter (3e9693d)
- theme: update sidebar hint, close #2549 (b03177b)
Bug Fixes
- md-enhance: fix cjk character issue with link check, fix #2547 (9d0f8d4)
- theme: correctly hide figcaption in excerpt (39f5be0)
- theme: fix article list excerpt, fix #2544 (6853ad1)
2.0.0-beta.141 (2022-12-11)
⚠ BREAKING CHANGES
- theme: blog homepage shall now use
layout: BlogHome
Features
- blog2: not throw when no key is found (ebe7236)
- theme: improve excerpt style (ded3da9)
- theme: support blog type, close #2450 (#2540) (63a5ebd)
Bug Fixes
- pwa2: fix logger issue. revert perf improve (06b33bd)
- theme: article excerpt shall not be clickable (30778a3)
- theme: fix excerpt option not working (7ec67b2)
- theme: fix home appears in article list (c02523c)
- theme: fix styles on article list, fix #2453 (1b16f5a)
- theme: fix tag list in darkmode (25401e6)
2.0.0-beta.140 (2022-12-10)
Features
Bug Fixes
Performance Improvements
- pwa2: improve generated speed (e13bb52)
2.0.0-beta.139 (2022-12-09)
⚠ BREAKING CHANGES
- blog2: rename customElement to isCustomElement
Features
- blog2: rename customElement to isCustomElement (7241621)
- feed2: improve feed generating (0d2c944)
- shared: add getPageText (a6e0f13)
Bug Fixes
- theme: support frontmatter excerpt (bef9d70)
2.0.0-beta.138 (2022-12-09)
2.0.0-beta.137 (2022-12-09)
Bug Fixes
- search-pro: fix option customFields not effects (#2512) (b8c9973)
- theme: fix blog related issues (c232fa4)
- theme: fix code line number alignment in safari (1efc997)
2.0.0-beta.136 (2022-12-08)
Features
- blog2: support excerpt (#2510) (194dcf3)
- components: add audio player (69cceb7)
- components: rebuild video player (6b8c4c2)
Bug Fixes
2.0.0-beta.135 (2022-12-08)
⚠ BREAKING CHANGES
- theme: plugin.components no longer accepts an array
- components: rebuild component options
Features
- components: rebuild component options (563e257)
- copyright2: add zh-TW support (c55aefe)
- copyright2: rebuild locale (9318ac5)
- shared: export tags (d0b5cd9)
- theme: rebuild excerpt generating (79332d2)
- theme: remove slots in BlogHero and correct docs, fix #2503 (8e2fc14)
- theme: support number value for autoExcerpt (3cac1bf)
- theme: update component settings (c0c7e17)
Bug Fixes
- md-enhance: add compact for old imageTitle option (ed5c4ff)
- theme: fix excerpt generating under edge case (1dedcf3)
- theme: footer padding typo, fix #2420 (4b7fa55)
2.0.0-beta.134 (2022-12-06)
⚠ BREAKING CHANGES
- md-enhance:
imageTitle
option is rebuilt asfigure
option
Features
- md-enhance: add figure option (b42896c)
- theme: hide externalLink icon in print (28cc820)
- theme: improve print style (96f20d7)
- theme: support array functions in sidebarSorter (6f20f13)
Bug Fixes
相关信息
对于发布早于 2.0.0-beta.122
的历史版本,详见 Github 仓库。