Skip to content

Releases: next-theme/hexo-theme-next

v8.1.0

01 Dec 02:08
Compare
Choose a tag to compare

πŸ’₯ Breaking Changes

🌟 New Features

  • New utterances comment system (7e49895)
+# Utterances
+# For more information: https://utteranc.es
+utterances:
+  enable: false
+  repo: # Github repository name
+  # Available values: pathname | url | title | og:title
+  issue_term: pathname
+  # Available values: github-light | github-dark | preferred-color-scheme | github-dark-orange | icy-dark | dark-blue | photon-dark | boxy-light
+  theme: github-light
  • New isso comment system (7a4890f)
+# Isso
+# For more information: https://posativ.org/isso/
+isso: # <data_isso>

⭐ Features

  • Feat: Adds an optional copyright in a post's front-matter which allows users to change whether to show CC License notices under a post (#139)
  • Use PDFObject (29b8636)
  • Use Clipboard.writeText (ab4fd95)

🐞 Bug Fixes

  • Fix .post-sticky-flag margin (b376919)

πŸ›  Improvements

  • Optimize sidebar panel animation (d19109a)
  • Optimize note tag (48a9d13)
  • Feat add hyperlink support to group-pictures (#143)
  • Use window size to determine sidebar display, and unify behaviour for margin and dimmer (#130)
  • Remove extra blank lines (2eabd8d)
  • Optimize Firebase (2dc4983)

πŸŒ€ External Changes

  • Update dependency eslint to v7.14.0 (#135)
  • Update dependency mocha to v8.2.1 (#132)
  • Update actions/labeler action to v3 (#133)

πŸ“– Documentation


For full changes, see the comparison between v8.0.2 and v8.1.0

v8.0.2

01 Nov 02:46
Compare
Choose a tag to compare

🌟 New Features

  • Support preconnect hint for CDN (#122)
+# Preconnect CDN for fonts and plugins.
+# For more information: https://www.w3.org/TR/resource-hints/#preconnect
+preconnect: false

🐞 Bug Fixes

  • Fix scroll position of post-toc (537db5f)
  • Fix follow_me link (5385def)

πŸ›  Improvements

  • Support absolute path for search DB (c1a2073)
  • Optimize video tag (afb052c)
  • New element .sidebar-panel-container (885e0b7)

πŸŒ€ External Changes

  • Update dependency mocha to v8.2.0 (#128)
  • Update dependency eslint to v7.12.1 (#124)
  • Update actions/cache action to v2 (#129)

For full changes, see the comparison between v8.0.1 and v8.0.2

v8.0.1

01 Oct 03:10
Compare
Choose a tag to compare

🌟 New Features

  • Add NProgress (#79)
+# Progress bar in the top during page loading.
+# For more information: https://github.com/rstacruz/nprogress
+nprogress:
+  enable: false
+  spinner: true

vendors:
  ...
+  # NProgress.js
+  nprogress_js:
+  nprogress_css:

⭐ Features

🐞 Bug Fixes

  • Fix post-meta position in scheme Mist (c9cdf1c)
  • Fix site-state-item padding (4b8a17b)
  • Fix: handle invalid config (d51ca0e)
  • Use textContent instead of innerText (52234e5)

πŸ›  Improvements

  • Refactor sidebar-panel using flex layout (d6f344f)
  • Fix serverURLs of Valine (9919fb5)

πŸŒ€ External Changes

  • Update dependency hexo to v5.2.0 (#111)
  • Update dependency husky to v4.3.0 (#107)
  • Update dependency hexo-renderer-marked to v3.3.0 (#105)
  • Update dependency eslint to v7.10.0 (#99)
  • Update _vendors.yml (35d1e68)

For full changes, see the comparison between v8.0.0 and v8.0.1

v8.0.0

31 Aug 16:21
Compare
Choose a tag to compare

⭐ Features

  • Support reprint statement (#89)
  • Refactor vendors (#72)
vendors:
+  # The default CDN provider of third-party plugins.
+  # Available values: local, jsdelivr, unpkg, cdnjs
+  # Dependencies for `plugins: local`: https://github.com/next-theme/plugins
+  plugins: jsdelivr
  • Image thumbnails in archive page (7b91f8e)
  • Rename per_page to every_page (a3dcac5)
math:
-  per_page: true
+  every_page: false

🐞 Bug Fixes

  • Fix pjax scroll restoration (#74)
  • Fix .post-title-link position (#76)
  • Fix darkmode post-gallery image opacity (04ced15)
  • Fix id conflict with markdown headerlink (523e39e)
  • Fix .tabs-comment style (8d57b6d)
  • Fix mermaid background color (376d718)
  • Fix search result position (bc89931)

πŸ›  Improvements

  • Optimize prism: support copy_button (04da779)
  • Refactor layout (f76c0d8)
  • Optimize canonical URL (219adff)
  • Optimize Algolia Search (92bdb32)
  • Refactor Gemini style (19160b8)
  • Separate the styles of different schemes (bdf59f1)
  • Refactor post-footer using flex layout (23d9163)
  • Optimize figcaption style (90d0a5f)
  • Optimize box-shadow of .site-brand-container (402c34e)
  • Optimize the path setting of LiveRe & Valine (5e1b0d0)
  • Update ICP link (#96)
  • Uniform hexadecimal color (#93)

πŸŒ€ External Changes

  • Use @next-theme/eslint-config (a96d112)
  • CDN settings for Firebase (ee5b41f)
  • Update MathJax CDN URL (09f0f7b)
  • Update dependency hexo-renderer-marked to v3.1.0 (#94)
  • Update dependency hexo to v5.1.1 (#85)
  • Update dependency mocha to v8.1.3 (#82)
  • Update dependency eslint to v7.7.0 (#69)
  • Update _vendors.yml (7e8458f)

πŸ“– Documentation

🌍 Localization

  • New Crowdin updates (#91)

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

v8.0.0-rc.5

01 Aug 01:09
Compare
Choose a tag to compare

πŸ’₯ Breaking Changes

  • Replace Velocity.js with Animate.css (#41)

🌟 New Features

  • Unit testing using Mocha and Chai (#59)

⭐ Features

  • Remove console reminder (533fea7)
-# Console reminder if new version released.
-reminder: false
  • Include additional themes for prism (2e4e1bc)
  • Extract hexo-next-three to plugins (31298d0)
-# JavaScript 3D library.
-# Dependencies: https://github.com/next-theme/theme-next-three
-three:
-  enable: false
-  three_waves: false
-  canvas_lines: false
-  canvas_sphere: false

vendors:
  ...
-  # JavaScript 3D library
-  # three: //unpkg.com/three@0/build/three.min.js
-  # three_waves: //cdn.jsdelivr.net/gh/next-theme/theme-next-three@1/three-waves.min.js
-  # canvas_lines: //cdn.jsdelivr.net/gh/next-theme/theme-next-three@1/canvas_lines.min.js
-  # canvas_sphere: //cdn.jsdelivr.net/gh/next-theme/theme-next-three@1/canvas_sphere.min.js
-  three:
-  three_waves:
-  canvas_lines:
-  canvas_sphere:
  • New plugin @next-theme/plugins (cb05848)
  • Support event.description in schedule page (e1beb71)

🐞 Bug Fixes

  • The search button is invisible when search service was enabled but menu was empty (#42)
  • Fix id conflict with markdown headerlink (7f3e4b1)
  • Fix sidebar animation issue (79bb4c9)
  • Fix null value of .search-input selector (dca900a)
  • Disable cache when language_switcher is enabled (5d521ca)
  • Reset animation-fill-mode (582ce74)
  • Use @require instead of @import (33723be)
  • Fix mermaid tag (10b577c)

πŸ›  Improvements

  • Optimize language selector (#52)
  • Update CDN URL (#61)
  • Optimize local search (#64)
  • Rename json to safedump (1905443)
  • Refactor site-nav animation: drop Velocity (659347c)
  • Optimize sidebar-panel animation (1b00414)
  • Use classList.replace (e9addc9)
  • Use Math.hypot & destructure (96406e7)
  • Run lebab (924318a)
  • Update changyan comments (bfa9a75)
  • Refactor next_font helper & NexT.utils.loadComments (e953cbf)
  • Optimize toggle-line (c954bc2)
  • Refactor tags (b6c1aba)
  • Optimize post-gallery style (5883e29)
  • Refactor group-pictures using flex layout (fc68fbe)

πŸŒ€ External Changes

  • Update dependency eslint to v7.5.0 (#43)
  • Update dependency eslint-config-theme-next to v1.2.1 (#53)
  • Update dependency mocha to v8.1.0 (#68)
  • Install husky (78da9ab)

πŸ“– Documentation

  • Update for Hexo 5.0 (#58)
  • New Valine options (#62)
  • Update README.md (b8b3f17)
  • Remove Required Node version (f148857)

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

v8.0.0-rc.4

01 Jul 02:47
Compare
Choose a tag to compare

πŸ’₯ 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

v8.0.0-rc.3

01 Jun 03:33
Compare
Choose a tag to compare

πŸ’₯ Breaking Changes

  • Fix darkmode tag-cloud color (cbcd3f0)
# TagCloud settings for tags page.
tagcloud:
-  # All values below are same as default, change them by yourself.
  min: 12 # Minimum font size in px
  max: 30 # Maximum font size in px
-  start: "#ccc" # Start color (hex, rgba, hsla or color keywords)
-  end: "#111" # End color (hex, rgba, hsla or color keywords)
-  amount: 200 # Amount of tags, change it if you have more than 200 tags
+  amount: 200 # Total amount of tags
+  orderby: name # Order of tags
+  order: 1 # Sort order
valine:
  ...
-  notify: false # Mail notifier
-  verify: false # Verification code

🐞 Bug Fixes

πŸ›  Improvements

πŸŒ€ External Changes

  • Update dependency eslint to v7.1.0 (#11)
  • Update dependency js-yaml to v3.14.0 (#10)

πŸ“– Documentation

🌍 Localization

  • New Crowdin translations (#8)

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

v8.0.0-rc.2

09 May 02:13
Compare
Choose a tag to compare

πŸ’₯ 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

v8.0.0-rc.1

08 May 05:21
Compare
Choose a tag to compare

πŸ’₯ Breaking Changes

🐞 Bug Fixes

πŸ›  Improvements