Skip to content

v8.0.0-rc.4

Compare
Choose a tag to compare
@github-actions github-actions released this 01 Jul 02:47
· 652 commits to master since this release

πŸ’₯ Breaking Changes

  • Add prism highlight support (#23)
codeblock:
  ...
+  # See: https://github.com/PrismJS/prism/tree/master/themes
+  prism:
+    light: prism
+    dark: prism-dark

vendors:
  ...
+  # Prism
+  # prism: //cdn.jsdelivr.net/npm/prismjs@1/prism.min.js
+  # prism: //cdnjs.cloudflare.com/ajax/libs/prism/1.20.0/prism.min.js
+  prism:
  • Refactor layout (#31)

🌟 New Features

  • Add noscript-warning (6159874)
  • Refactor next_js to support jsdelivr & unpkg (ae21b8b)
vendors:
-  # Internal path prefix.
-  _internal: lib
+  # Available values: local, jsdelivr, unpkg
+  internal: local

⭐ Features

  • Optimize copy-btn: always provide feedback (c7ea1ab)
codeblock:
  copy_button:
-    # Show text copy result.
-    show_result: false
  • Remove sidebar.onmobile option (5d2f92e)
sidebar:
-  # Enable sidebar on narrow view (only for Muse | Mist).
-  onmobile: false

🐞 Bug Fixes

  • Some minor fixes (5f6271d)
  • Fix invalid selector (b0d92b7)
  • Fix footer & pagination size (413e975)
  • Fix the missing url_for (52111f7)
  • Fix code highlight when copycode disabled (3e8b35a)
  • Some minor fixes (b01a4ed)
  • Fix link-grid overflow & darkmode note color (44ba30e)
  • Fix Pisces sidebar width (b2ae986)
  • Fix compatibility issue with iOS 10-12 (6e60221)

πŸ›  Improvements

  • Optimize the behavior of post_meta when use_date_for_updated is enabled (241fe98)
  • Optimize pagination style (420095b)
  • Optimize darkmode code color (f055e38)
  • Optimize darkmode kbd color (6d5d471)
  • Optimize the style of custom-logo and sidebar-inner (d194052)
  • Optimize the style of label tag (8e080e7)
  • Optimize darkmode medium-zoom style (e57bf45)
  • Refactor sidebar motion (45d6e04)
  • Optimize algolia-pagination style (701f628)
  • Optimize header-anchor style (6bd195a)
  • Optimize logo-line animation (b34b8e5)
  • Optimize back-to-top style (b8e2ce8)
  • Optimize sidebar-dimmer & search-popup animation (8a5643b)
  • Optimize Gemini & highlight style (e01a204)
  • Optimize post-reward style (3535527)
  • Optimize blockquote-center & post-tags style (0259b95)
  • Optimize sidebar-panel animation (327d8bf)
  • Optimize header animation (5b72a1d)

πŸŒ€ External Changes

  • Update dependency eslint to v7.3.1 (#21)
  • Update dependency eslint-config-theme-next to v1.2.0 (#32)
  • Update CDN URL (b9a822c)
  • Update pjax version (ee3be0a)

πŸ“– Documentation

🌍 Localization

  • New Crowdin translations (#22)

For full changes, see the comparison between v8.0.0-rc.3 and v8.0.0-rc.4