Releases: next-theme/hexo-theme-next
Releases Β· next-theme/hexo-theme-next
v8.2.0
π₯ Breaking Changes
-# Swiftype Search API Key
-swiftype_key:
- Remove baidu_push and disable_baidu_transformation (d65b03c)
-# Disable Baidu transformation on mobile devices.
-disable_baidu_transformation: false
-# Enable baidu push so that the blog will push the url to baidu automatically which is very helpful for SEO.
-baidu_push: false
- Remove cnzz (1dd1c71)
-# CNZZ count
-cnzz_siteid:
π New Features
- Support Cloudflare Web Analytics (12a7328)
+# Cloudflare Web Analytics
+# See: https://www.cloudflare.com/web-analytics/
+cloudflare_analytics:
β Features
- New option mathjax.tags (ff3b957)
math:
...
mathjax:
enable: false
+ # Available values: none | ams | all
+ tags: none
π Bug Fixes
- Fix not loading disqusjs (#150)
π Improvements
- Code style update (20002f2)
- Fix redundant values in shorthand properties (37ac8da)
- Remove the style of span.exturl (8b3cd82)
- Refactor getQueryParameters (e627bcb)
- Fix illegal character in query (d3dc791)
- Set
role="button"
(b99c7cb) - Simplify the
.comments
element (d6f7c51)
π External Changes
- Migrate from probot/stale to GitHub Actions (68fb198)
- Update dependency eslint to v7.16.0 (#152)
- Update dependency husky to v4.3.6 (#155)
- Update dependency js-yaml to v3.14.1 (#156)
- Update dependency @next-theme/eslint-config to v0.0.2 (#159)
- Update actions/setup-node action to v2 (#161)
- Update dependency hexo to v5.3.0 (#163)
- Bump peaceiris/actions-label-commenter to 1.9.0 (#165)
π Documentation
π Localization
- New Crowdin updates (#160)
For full changes, see the comparison between v8.1.0 and v8.2.0
v8.1.0
π₯ 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
π 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
π 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
π 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
- Support cdnjs (96c68a9)
π Bug Fixes
- Fix post-meta position in scheme Mist (c9cdf1c)
- Fix site-state-item padding (4b8a17b)
- Fix: handle invalid config (d51ca0e)
- Use
textContent
instead ofinnerText
(52234e5)
π Improvements
π 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
β Features
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
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
π₯ 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
-# 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:
π 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
π₯ 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
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
whenuse_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
v8.0.0-rc.3
π₯ 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
π External Changes
π 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
v8.0.0-rc.2
π₯ 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
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
For full changes, see the comparison between v8.0.0-rc.1 and v8.0.0-rc.2
v8.0.0-rc.1
π₯ Breaking Changes
- Migrate to Font-Awesome 5 (theme-next/hexo-theme-next#1438)
- Change the extension of the template files from
swig
tonjk
π Bug Fixes
- Fix exturl title (theme-next/hexo-theme-next@d9c6d8b)
π Improvements
- Optimize dark mode blockquote style (theme-next/hexo-theme-next@b0bd2dd)
- Optimize main-menu & sidebar-nav style (theme-next/hexo-theme-next@ca19a9d)