Skip to content

v8.0.0-rc.2

Compare
Choose a tag to compare
@stevenjoezhang stevenjoezhang released this 09 May 02:13
· 718 commits to master since this release

πŸ’₯ Breaking Changes

-override: false

menu:
-  home: / || fa fa-home
+  #home: / || fa fa-home
  #about: /about/ || fa fa-user
  #tags: /tags/ || fa fa-tags
  #categories: /categories/ || fa fa-th
-  archives: /archives/ || fa fa-archive
+  #archives: /archives/ || fa fa-archive
  #schedule: /schedule/ || fa fa-calendar
  #sitemap: /sitemap.xml || fa fa-sitemap
  #commonweal: /404/ || fa fa-heartbeat
  • Update options of Valine (6e6fc74)
valine:
-  appid: # Your leancloud application appid
-  appkey: # Your leancloud application appkey
+  appId: # Your leancloud application appid
+  appKey: # Your leancloud application appkey
  ...
-  guest_info: nick,mail,link # Custom comment header
+  meta: # Custom comment header
+    - nick
+    - mail
+    - link
  • Support using highlight.js (9fdaba2)
  • Allow different highlight style for dark mode (03e50d0)
codeblock:
  ...
-  # Available values: normal | night | night eighties | night blue | night bright | solarized | solarized dark | galactic
-  # See: https://github.com/chriskempson/tomorrow-theme
-  highlight_theme: normal
+  # See: https://github.com/highlightjs/highlight.js/tree/master/src/styles
+  theme:
+    light: default
+    dark: dark

🐞 Bug Fixes

  • Fix: bind DOMContentLoaded event on document instead of window (cd5e541)
  • Fix: bind pjax event on document instead of window (75695df)
  • Fix tables text align (00c64cc)

πŸ›  Improvements

  • Use npm to determine the latest version (2de50b4)
  • Optimize reward button style (e61c28d)
  • Remove highlight-container (9527ef6)

πŸŒ€ External Changes

πŸ“– Documentation


For full changes, see the comparison between v8.0.0-rc.1 and v8.0.0-rc.2