NexT

Theme for Hexo

💥 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

Detailed changes for NexT v8.0.0-rc.5

💥 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
  • Refactor motion (b39ba18)

🐞 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

  • Update README.md (073ddc0)
  • Update docs in _config.yml (ee7d13e)
  • Update docs (3aa2a21)
  • Update ISSUE_TEMPLATE (40e32d1)
  • Update README.md (7d25c16)

🌍 Localization

  • New Crowdin translations (#22)

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

Detailed changes for NexT v8.0.0-rc.4

💥 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
  • Update Valine CDN URL (390058e)
valine:
...
- notify: false # Mail notifier
- verify: false # Verification code

🐞 Bug Fixes

  • Some minor fixes (bf3666f)
  • Fix darkmode pagination & badge style (721e5b9)
  • Fix figcaption text overflow (4be820a)
  • Fix pandoc rendering error (17502da)
  • Fix json filter (4013450)
  • Decode TOC link (0d2b3af)

🛠 Improvements

  • Optimize copy-btn & post-edit icon (73dff7c)
  • Run lebab (74fa9ec)
  • Optimize link-grid (ade4f44)

🌀 External Changes

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

📖 Documentation

  • Update docs for i18n (36808b9)

🌍 Localization

  • New Crowdin translations (#8)

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

Detailed changes for NexT v8.0.0-rc.3

💥 Breaking Changes

  • Allow empty menu items (a527bfd)
-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

  • Remove canvas_nest (632768c)

📖 Documentation

  • Update README (1fd2923)
  • Update docs (3dcd359)

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

Detailed changes for NexT v8.0.0-rc.2

0%