Skip to content

Releases: theme-next/hexo-theme-next

v7.8.0

01 Apr 01:21
Compare
Choose a tag to compare

πŸ’₯ Breaking Changes

  • Multilingual switch button support (#1391)
    +# Show multilingual switcher in footer.
    +language_switcher: false
  • Remove safari_rainbow option in _config.yml
    -# Hide sticky headers and color the menu bar on Safari (iOS / macOS).
    -safari_rainbow: false

⭐ Features

  • Simplify footer.powered settings (#1432)
    footer:
    ...
    -  powered:
    -    # Hexo link (Powered by Hexo).
    -    enable: true
    -    # Version info of Hexo after Hexo link (vX.X.X).
    -    version: true
    -
    -  theme:
    -    # Theme & scheme info link (Theme - NexT.scheme).
    -    enable: true
    -    # Version info of NexT after scheme info (vX.X.X).
    -    version: true
    +  # Powered by Hexo & NexT
    +  powered: true
  • New leancloud_visitors option server_url (#1426)
    leancloud_visitors:
    -  betterPerformance: false
    +  # Required for apps from CN region
    +  server_url: # <your server url>
  • Remove seo option in _config.yml (#1414)

🐞 Bug Fixes

  • Escaping html in search results (#1418)

πŸ›  Improvements

  • Animation for search-popup (#1427)
  • Fix dark styles of buttons (#1409)
  • Drop PDFObject (#1400)
  • Optimize the loading of exturl (#1394)

πŸŒ€ External Changes

πŸ“– Documentation

  • Updated recommended CDN URL in _config.yml (#1398)

🌍 Localization

  • New Crowdin translations (#1413)
  • New Crowdin translations (#1074)
  • Arabic translation (#1401)

For full changes, see the comparison between v7.7.2 and v7.8.0

v7.7.2

01 Mar 04:14
Compare
Choose a tag to compare

🌟 New Features

  • Native Dark Mode support (#1386)
+darkmode: true

⭐ Features

  • Support MathJax v3.0 (#1314)
  • Add next_config helper (#1346)

🐞 Bug Fixes

  • Remove box-shadow of .sidebar when back2top.sidebar is true (#1380)
  • Fix config.search.path is null (#1374)

πŸ›  Improvements

  • Redirect amscd for mathjax3 (#1379)
  • Optimize the position of search icon on mobile (#1387)
  • Style back-to-top button to make sidebar more comfortable (#1367)

πŸŒ€ External Changes

  • [comments] gitalk.swig: fix syntax bug and remove redundant lines introducing access_token (#1369)

πŸ“– Documentation

  • PayPal now supports pay-by-QRCode (#1364)

For full changes, see the comparison between v7.7.1 and v7.7.2

v7.7.1

01 Feb 10:13
Compare
Choose a tag to compare

🌟 New Features

  • Follow me through various channels (#1360)
# Subscribe through Telegram Channel, Twitter, etc.
# Usage: `Key: permalink || icon` (Font Awesome)
follow_me:
  #Twitter: https://twitter.com/username || twitter
  #Telegram: https://t.me/channel_name || telegram
  #WeChat: /images/wechat_channel.jpg || wechat
  #RSS: /atom.xml || rss

🐞 Bug Fixes

  • Fix valine & disqus meta for #1305 (#1351)
  • Fix conflict between animation of sub-menu icons and pjax (#1349)

πŸ›  Improvements

  • Make the reading progress smoother (#1322)

🌍 Localization

  • New Crowdin translations (#1072)
  • Improve french translation (#1358)

For full changes, see the comparison between v7.7.0 and v7.7.1

v7.7.0

01 Jan 06:23
Compare
Choose a tag to compare

πŸ’₯ Breaking Changes

Make lazyload & PJAX available for all comment systems (#1152)

# Multiple Comment System Support
comments:
  # Available values: tabs | buttons
  style: tabs
  # Choose a comment system to be displayed by default.
  # Available values: changyan | disqus | disqusjs | gitalk | livere | valine
  active:
  # Setting `true` means remembering the comment system selected by the visitor.
  storage: true
+  # Lazyload all comment systems.
+  lazyload: false
  # Modify texts or order for any navs, here are some examples.
  nav:
    #disqus:
    #  text: Load Disqus
    #  order: -1
    #gitalk:
    #  order: -2
# Disqus
disqus:
  enable: false
  shortname:
  count: true
-  lazyload: false
  #post_meta_order: 0

🐞 Bug Fixes

  • Fix Gitalk distractionFreeMode invalid bug (#1326)

πŸ›  Improvements

  • Use IntersectionObserver to lazyload comments (#1305)
  • Drop cheerio (#1299)

For full changes, see the comparison between v7.6.0 and v7.7.0

v7.6.0

01 Dec 09:30
Compare
Choose a tag to compare

πŸ’₯ Breaking Changes

Remove rss button (#1291)

-# hexo-generator-feed required for rss support. Leave rss as blank to use site's feed link.
-# Set rss to false to disable feed link. Set rss to specific value if you have burned your feed already.
-rss:
...
# Social Links
# Usage: `Key: permalink || icon`
# Key is the link label showing to end users.
# Value before `||` delimiter is the target permalink, value after `||` delimiter is the name of Font Awesome icon.
social:
...
-  #VK Group: https://vk.com/yourname || vk
...
+  #RSS: /atom.xml || rss

Remove cheers and auto_excerpt (#1284)

-# Automatically excerpt (Not recommend).
-# Use <!-- more --> in the post to control excerpt accurately.
-auto_excerpt:
-  enable: false
-  length: 150
...
-# Enable "cheers" for archive page.
-cheers: true

Drop NodeJs 8 support & Require NodeJs >= 10 (#1269)

Refactor front-matter: make it has the same key as the configuration file (#1211)

In post front-matter:

toc:
  enable: true
  number: false
  max_depth: 3
reward_settings:
  enable: true
  comment: Donate comment here.
quicklink:
  enable: true
  delay: true
  timeout: 3000
  priority: true
  ignores:

# Some deprecated
-  toc_max_depth: 4
-  toc_number: true
-  reward: true
-  quicklink: true

In theme's _config.yml:

quicklink:
  # Home page and archive page can be controlled through home and archive options below.
-  home: true
-  archive: true
+  # This configuration item is independent of `enable`.
+  home: false
+  archive: false

⭐ Features

  • Set inject default extname from file's extname (#1281)
  • Adjust copy-button style (#1277)
  • Remove include-raw tag (#1268)

🐞 Bug Fixes

  • Allow decoding post link (#1247)

πŸ›  Improvements

  • Make author image optional (#1263)
  • Update CDN URLs (#1252)

🌍 Localization

  • New Crowdin translations (#1073)
  • New Crowdin translations (#1151)

For full changes, see the comparison between v7.5.0 and v7.6.0

v7.5.0

01 Nov 11:23
@1v9 1v9
6c6e36b
Compare
Choose a tag to compare

⭐ Features

  • Extract some features to plugins (#1232)
    -# Automatically scroll page to section which is under <!-- more --> mark.
    -scroll_to_more: true
  • Migrate to Nunjucks (#1215, #1218, #1220, #1226)
  • Delete query strings (#963)

πŸ›  Improvements

  • Replace lodash with native API (#1230)
  • Refactor sub-menu (#1219)
  • New canonical tag helper (#1143)
  • Code style update (#732)

πŸͺ² Bug Fixes

  • Fix known issues (#1213)

πŸ“– Documentation

  • Update Contributors part in README (#1222)

For full changes, see the comparison between v7.4.2 and v7.5.0

v7.4.2

20 Oct 02:15
@1v9 1v9
193ca45
Compare
Choose a tag to compare

🌟 New Features

  • Add Google Analytics Pageview (#1198)

⭐ Features

  • Make font-size customized only when theme.font.enable is true (#1058)
  • Point to different website based on the scheme (#1202)
  • New Valine options (#1193)
  • Improve the style of site-nav (#1180)

πŸ›  Improvements

  • Code style update (#1197, #1205)
  • Replace id with class name (#1209)
  • Add lang attribute to article tag when specified in front matter (#1199)
  • Fix compatibility issues with [email protected] (#1175)
  • Optimize the loading of three.js (#1140)

πŸ“– Documentation

  • New README for NexT (#1155)

For full changes, see the comparison between v7.4.1 and v7.4.2

v7.4.1

01 Oct 05:18
Compare
Choose a tag to compare

⭐ Features

  • New highlight themes (#1177)

πŸ›  Improvements

  • Add container for busuanzi counter widget (#1154)
  • Use nunjucks-compatible syntax & operator (#1068)
  • Revert #42, #87 (#976)

🐞 Bug Fixes

  • Fix several style issues (#1190)
  • Fix Velocity motion issues (#1185)
  • Fix fancybox & medium-zoom for hexo asset_img tag (#1166)
  • Fix katex uri (#1149)

For full changes, see the comparison between v7.4.0 and v7.4.1

v7.4.0

31 Aug 17:27
Compare
Choose a tag to compare

πŸ’₯ Breaking Changes

Add order for theme_inject (#1136)

Redesigned the sequential configuration of the multi-comment system, which was originally introduced in #1048 of New Features section below.

Click to see configuration's changes

# Multiple Comment System Support
comments:
  # Available values: tabs | buttons
  style: tabs
  # Choose a comment system to be displayed by default.
  # Available values: changyan | disqus | disqusjs | facebook_comments_plugin | gitalk | livere | valine | vkontakte
  active:
  # Setting `true` means remembering the comment system selected by the visitor.
  storage: true
  # Modify texts or order for any navs, here are some examples.
  nav:
-    #disqus: disqus
-    #facebook_comments_plugin: <i class="fa fa-facebook-official" aria-hidden="true"></i> facebook
-    #gitalk: Load Gitalk
+    #disqus:
+    #  text: Load Disqus
+    #  order: -1
+    #facebook_comments_plugin:
+    #  text: <i class="fa fa-facebook-official" aria-hidden="true"></i> facebook
+    #gitalk:

Extract all share systems to plugins (#1104)

See the diff (mostly deletion) of _config.yml

Now share systems come with plugin hexo-next-share.

Latest docs can be found at Post Widgets and Statistics and Analytics.

Refactor vendors (#1081)

Click to see configuration's changes

math:
-  engine: mathjax
-  #engine: katex
  mathjax:
-    cdn: //cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS-MML_HTMLorMML
-    #cdn: //cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML
+    enable: false
-    #mhchem: //cdn.jsdelivr.net/npm/mathjax-mhchem@3
-    #mhchem: //cdnjs.cloudflare.com/ajax/libs/mathjax-mhchem/3.3.0
+    mhchem: false
  katex:
-    cdn: //cdn.jsdelivr.net/npm/katex@0/dist/katex.min.css
-    #cdn: //cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css
+    enable: false
-    copy_tex:
-      enable: false
-      copy_tex_js: //cdn.jsdelivr.net/npm/katex@0/dist/contrib/copy-tex.min.js
-      copy_tex_css: //cdn.jsdelivr.net/npm/katex@0/dist/contrib/copy-tex.min.css
+    copy_tex: false

pdf:
-  pdfobject:
-    cdn: //cdn.jsdelivr.net/npm/pdfobject@2/pdfobject.min.js
-    #cdn: //cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js

mermaid:
-  cdn: //cdn.jsdelivr.net/npm/mermaid@8/dist/mermaid.min.js
-  #cdn: //cdnjs.cloudflare.com/ajax/libs/mermaid/8.0.0/mermaid.min.js

vendors:
+  mathjax:
+  mhchem:
+  katex:
+  copy_tex_js:
+  copy_tex_css:
+  pdfobject:
+  mermaid:

Remove full-image tag (#1053)

🌟 New Features

⭐ Features

  • Expand beian options for users in mainland China (#1121)
  • Add color option for bookmark (#1112)
  • Extract bookmark / save_scroll to plugins (#1106)
  • Refactor reading-progress (#1100)
  • Remove post type quote & picture (#1099)
  • Show year devision in category or tag page (#1061)

πŸ›  Improvements

  • Refactor sidebar motion (#1128)
  • Reimplement Bootstrap Affix (#1130)
  • Make CSS selectors and dimensional calculations more robust (#1124)
  • Refactor links-of-blogroll-item (#1119)
  • Make sidebar toc & PJAX loading faster (#1113)
  • New helper next-vendors (#1105)
  • Add next_inject helper (#1098)
  • Add next_js helper (#1096)
  • Refactor auto excerpt (#1080)
  • Fix several bugs reported in v7.3 (#1060)
  • Optimize the loading of exturl (#1076)
  • Optimize the rendering of post (#1075)
  • Improve the style of firebase analytics and post-meta (#1056)
  • Need more cache 2 (#1051)
  • Refactor custom pages (#1045)
  • Reorganize the structure of generateBefore (#1043)
  • Obey Stylint rules (#1037)
  • Arrow function expression (#1003)
  • Refactor lint / tests / bower (#1041)

🐞 Bug Fixes

  • IntersectionObserver about TOC (#1125)
  • Fix PJAX refresh bugs when search / fancybox enabled (#1111)
  • Fix space after comment count (#1101)
  • Use insertAdjacentHTML instead of appendChild (#1102)
  • Fix leancloud counter bug (#1093)
  • Strange bug with symlinked next dir (#1062)
  • Fix issues caused by PJAX (#1057)
  • Fix codeblock diff highlight bug (#1047)
  • Refactor inject style path (#1044)
  • Fix bugs caused by this and optimize the loading of cheerio (#1042)
  • Fix affix bug (#1039)

🌍 Localization

  • New Crowdin translations (#1117)
  • Removed comments_count (#1079)

For full changes, see the comparison between v7.3.0 and v7.4.0

v7.3.0

31 Jul 19:19
Compare
Choose a tag to compare

πŸ’₯ Breaking Changes

Use em instead of px as the font size unit (#1006)

font:
...
  # Font options:
  # `external: true` will load this font family from `host` above.
  # `family: Times New Roman`. Without any quotes.
-  # `size: x.x`. Use `px` as unit. Default: 16
+  # `size: x.x`. Use `em` as unit. Default: 1 (16px)

Remove fastclick support (#995)

-# Polyfill to remove click delays on browsers with touch UIs.
-# Dependencies: https://github.com/theme-next/theme-next-fastclick
-fastclick: false
...
vendors:
...
-  # Internal version: 1.0.6
-  # See: https://github.com/ftlabs/fastclick
-  # Example:
-  # fastclick: //cdn.jsdelivr.net/npm/fastclick@1/lib/fastclick.min.js
-  # fastclick: //cdnjs.cloudflare.com/ajax/libs/fastclick/1.0.6/fastclick.min.js
-  fastclick:

Remove baidushare support (#967)

-# Baidu Share (does not support https).
-baidushare:
-  #type: button
-  #type: slide

Refactor several components in _config.yml (#965)

Remove two options for simplicity

avatar:
...
-  # The value of opacity should be choose from 0 to 1 to set the opacity of the avatar.
-  opacity: 1
...
codeblock:
-  # Manual define the border radius in codeblock, leave it blank for the default value: 1
-  border_radius:

Refactor two options

-custom_logo:
-  enable: false
-  image: #/uploads/custom-logo.jpg
+custom_logo: #/uploads/custom-logo.jpg
...
-# Code Highlight theme
-# Available values: normal | night | night eighties | night blue | night bright
-# https://github.com/chriskempson/tomorrow-theme
-highlight_theme: normal
codeblock:
+  # Code Highlight theme
+  # Available values: normal | night | night eighties | night blue | night bright
+  # See: https://github.com/chriskempson/tomorrow-theme
+  highlight_theme: normal

Refactor option and parameters for page loading progress bar

-pace: false
-# Themes list:
-# pace-theme-big-counter | pace-theme-bounce | pace-theme-barber-shop | pace-theme-center-atom
-# pace-theme-center-circle | pace-theme-center-radar | pace-theme-center-simple | pace-theme-corner-indicator
-# pace-theme-fill-left | pace-theme-flash | pace-theme-loading-bar | pace-theme-mac-osx | pace-theme-minimal
-pace_theme: pace-theme-minimal
+pace:
+  enable: false
+  # Themes list:
+  # big-counter | bounce | barber-shop | center-atom | center-circle | center-radar | center-simple
+  # corner-indicator | fill-left | flat-top | flash | loading-bar | mac-osx | material | minimal
+  theme: minimal

Refactor sidebar-dimmer (#964)

sidebar:
...
-  # Click any blank part of the page to close sidebar (only for Muse | Mist).
-  dimmer: false

Make sidebar position optional for all schemes (#952)

sidebar:
-  # Sidebar Position, available values: left | right (only for Pisces | Gemini).
+  # Sidebar Position.
  position: left
  #position: right

πŸŒ€ External Changes

  • Configure JSHint (#1035)
  • Update reading_progress vendor version number (#946)

🌟 New Features

  • Console reminder if new version released (#1002)
  • Add medium-zoom support (#987)
  • Add new tag caniuse (#984)
  • Add new filter type theme_inject (#868)

⭐ Features

  • Drop IE support (#1023)
  • Refactor search services (#1012)
  • Disable selection for highlight meta (#977)
  • New copy_button style: mac (#968)

πŸ›  Improvements

  • Revert using one line macro (#1033)
  • Use HTML5 syntax instead of XHTML (#1032)
  • Reduce unnecessary blank lines in templates (#1030)
  • Refactor share & analytics (#1022)
  • Obey ESLint rules (#1019)
  • Refactor search services (#1012)
  • Optimize stylesheet (#1013)
  • Refactor comments using theme_inject (#998)
  • Refactor Muse menu on mobile (#1014)
  • Make external google font better (#1011)
  • Remove unnecessary files after hexo generate (#991)
  • Remove all hardcoded font sizes (#1005)
  • Optimize the loading of next-boot.js and some 3rd-party plugins (#990)
  • Refactor layout (#985)
  • Cache sidebar site-overview (#971)
  • Update devDependencies (#966)
  • Allow delayed loading of three.js (#935)
  • Repalce pseudo-classes with pseudo-elements (#953)
  • Rebuild ALL-CONTRIBUTORS-LIST in README.md (#944)
  • Group Pictures layout (#931)
  • Group Pictures calculation (#929)

🐞 Bug Fixes

  • Fix a bug when theme.font has empty family value (#1015)
  • Fix site title's external font family bug (#1007)
  • Fix list rendering problem when the list item contains mathjax formula (#1004)
  • Make lazyload working again (#957)
  • Load velocity only if motion is enabled (#951)

πŸ“– Documentation

  • Update docs in _config.yml (#1034)
  • Update docs (#1001)
  • Create page settings part in _config.yml (#997)
  • Update docs (#978)
  • Create Awesome list (#947)
  • Update docs in _config.yml (#959)

🌍 Localization

  • New Crowdin translations (#940)

For full changes, see the comparison between v7.2.0 and v7.3.0