Skip to content

Releases: theme-next/hexo-theme-next

v7.2.0

01 Jul 14:21
Compare
Choose a tag to compare

💥 Breaking Changes

Remove gitment support (#939)

In NexT _config.yml:

-# Gitment
-# Introduction: https://github.com/imsun/gitment
-gitment:
-  enable: false
-  mint: true # RECOMMEND, A mint on Gitment, to support count, language and proxy_gateway
-  count: true # Show comments count in post meta area
-  lazy: false # Comments lazy loading with a button
-  cleanly: false # Hide 'Powered by ...' on footer, and more
-  language: # Force language, or auto switch by theme
-  github_user: # MUST HAVE, Your Github Username
-  github_repo: # MUST HAVE, The name of the repo you use to store Gitment comments
-  client_id: # MUST HAVE, Github client id for the Gitment
-  client_secret: # EITHER this or proxy_gateway, Github access secret token for the Gitment
-  proxy_gateway: # Address of api proxy, See: https://github.com/aimingoo/intersect
-  redirect_protocol: # Protocol of redirect_uri with force_redirect_protocol when mint enabled

Remove Han support (#912)

In NexT _config.yml:

-# Han Support
-# Dependencies: https://github.com/theme-next/theme-next-han
-han: false
-
-  # Internal version: 3.3.0
-  # See: https://github.com/ethantw/Han
-  # Example:
-  # han: //cdn.jsdelivr.net/npm/han-css@3/dist/han.min.css
-  # han: //cdnjs.cloudflare.com/ajax/libs/Han/3.3.0/han.min.css
-  han:

🌀 External Changes

  • Remove unneeded leancloud-storage in theme.vendors (#927)
  • Make Valine available (#926)
  • Upgrade the internal jQuery to v3.4.1 (#903)

⭐ Features

  • Provide an optional icon option for tags at the bottom of the post (#896)

🛠 Improvements

  • Refactoring post-meta-divider (#937)
  • Remove unnecessary statements in swig templates (#928)
  • Use hyphen instead of en dash (#907)
  • Ignore leancloud visitor from localhost (#916)
  • Fix word spelling (#913)
  • Correct the outdated version number of FontAwesome (#905)
  • Improve page rendering by deferring disqus loading (#891)
  • Make Tabs flexible (#704)
  • Restore the previous selection for copy_button (#890)

🐞 Bug Fixes

  • Refactor post-meta-divider (#937)
  • Fix referer used by LiveRe on non-post pages (#934)
  • Force include source/lib/font-awesome/ (#832)

📖 Documentation

  • Add detailed description about RSS (#895)

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

v7.1.2

01 Jun 05:34
Compare
Choose a tag to compare

🌀 External Changes

  • Change the internal path of quicklink (#883)
  • Upgrade Facebook Graph API to v3.3 (#876)
  • Make symbols_count_time faster (#862)

🐞 Bug Fixes

  • Force HTTPS of google-analytics.swig. Again. (#881)
  • Fix Github gist bug with copy button (#861)

📖 Documentation

  • Expressions and translations in CONTRIBUTING.md (#885)
  • Fix a few typo errors in docs (#864)

For full changes, see the comparison between v7.1.1 and v7.1.2

v7.1.1

01 May 02:30
Compare
Choose a tag to compare

Happy International Workers' Day! \(^_^)/

🛠 Improvements

  • Optimize images (#802)
  • Update ICP url (#827)
  • Fix typo in config comments (#833)

🐞 Bug Fixes

  • CSS bug in Codeblock if string longer than viewport (#803)
  • Option onmoble for sidebar wasn't worked (#808)
  • Fixes with mobile_layout_economy option:
    • List items appeared correctly (#817)
    • Wrong top padding (#828)
    • Alignments for several elements (#849)

🌍 Localization

  • Spanish translation (#801, #806)
  • Improve French translation (#818, #819)
  • Persian translation (#853)

For full changes, see the comparison between v7.1.0 and v7.1.1

v7.1.0

01 Apr 11:19
Compare
Choose a tag to compare

Happy April Fools' Day Guys \(^_^)/

💥 Breaking Changes

Usage of quicklink (#642)

  • Now quicklink will load on demand by default.
  • Add quicklink: true in front matter for those pages or posts you want.
  • Home page and archive page can be controlled through home and archive option.
quicklink:
  enable: true 
- per_page: true
+ home: true # enable or disable quicklink on home page
+ archive: true # enable or disable quicklink on archive page
# Add `quicklink: true` in front matter to enable quicklink on special page or post

Some options look more uniform in _config.yml (#643)

- #github_banner: https://github.com/yourname || Follow me on GitHub
+ github_banner:
+  enable: false
+  permalink: https://github.com/yourname
+  title: Follow me on GitHub

post_meta:
  updated_at:
-    enabled: true
+    enable: true

wechat_subscriber:
-  #enabled: true
+  enable: false

custom_logo:
-  enabled: false
+  enable: false

-cheers_enabled: true
+cheers: true

Usage of back2top button (#657)

sidebar:
-  # Back to top in sidebar.
-  b2t: false
-  # Scroll percent label in b2t button.
-  scrollpercent: false
+back2top:
+  enable: true
+  # Back to top in sidebar.
+  sidebar: false
+  # Scroll percent label in b2t button.
+  scrollpercent: false

🌟 New Features

  • Range of font size and color to tagcloud (#648)
  • New video and warn when use exturl or extlink (#652)
  • Mermaid (#649)
  • Likely share (#678)
  • Chatra and Tidio chats service (#681)
  • safari_rainbow and custom_scrollbar (#686)
  • DisqusJS comment system (#705)

⭐ Features

  • Load quicklink on demand (#637)
  • Force language options to Gitalk comment system (#653)
  • New pdf tag (#659)
  • Amount option to tagcloud (#662)
  • Fancybox for group-picture and post-gallery (#667)
  • English support for Valine comment system (#676)
  • Expand all level option of post TOC (#679)
  • Icon option to sidebar chat button (#688)
  • New text_align option (#682)
  • Dynamic unlimited reward additions and animation option (#695)

🛠 Improvements

  • Fix bootstrap filename (#640)
  • Change the spacing between sidebar elements (#638)
  • Rename loader script for prevent wrong boostrap detection in Wappalyzer (#641)
  • Update CDN url in _config.yml (#664)
  • Remove ua_parser excess library (#671)
  • Make a few documentational edits (#672)
  • Move stylesheets from .swig to .styl files (#680)
  • Remove unnecessary CSS prefix & Update normalize.css (#683)
  • Make site-state-item centered using flex (#700)
  • Refactor Mist & Muse menu bar using flex (#702)
  • Remove qihu_site_verification and move some options to SEO Settings (#706)
  • Make CSS cleaner using tablet-mobile() (#724)
  • Remove redundant styles (#728)
  • Make CSS simpler using macro (#738)
  • Improve canonical path for vision in Google (#748)
  • Merge note.styl and note-modern.styl (#750)
  • Reduce the use of !important for GitHub banner (#744)
  • From now release drafts will maked automatically (#765)
  • Improve console warning for non-supporting (#766)
  • Change comparison for Release Drafter Bot

🐞 Bug Fixes

  • Diff code hightlight problem (#665)
  • Lost tracking_id in google_analytics (#668)
  • For long mathjax equations with short viewport horizontal scrollbar will appear (#669)
  • Colored link for modern notes with exturl (#685)
  • reward button vertical align text (#693)
  • back2top button on mobile, sidebar item margin and sidebar exturl link color (#684)
  • Right margin bug on mobile devices (#709)
  • Typo in Baidu transformation in _config.yml (#714)
  • Sidebar button style on Pisces and Gemini (#735)
  • Mathjax li style issue (#752)
  • Remove no-wrap style from label tag (#763)
  • Breadcrumbs now work with both *.html and index.html pages (#769)

📖 Documentation

  • Add more contributors to contributors list (#639)
  • Make ISSUE and PR template more readable (#644)
  • Add CII badge. (#729)
  • Move some docs from _config.yml to theme-next.org site (#725)
  • Update README.md, remove unused URLs (#727)
  • Add «Reporting Security Bugs» sections. (#730)
  • Change Riot chat link. (#733)
  • Add stevenjoezhang as a contributor (#741)
  • Add «Thanks» section (#739)
  • Add 1v9 as a contributor (#742)
  • Add JiangTJ as a contributor (#743)
  • Update labels and Chinese translation of CONTRIBUTING.md (#747)
  • Add liolok as a contributor (#755)
  • Contributors per line: 6 instead of 7 (#756)
  • Add ivan-nginx as a contributor (#757)
  • Add Improvement Need label (#768)

🌍 Localization

  • New Crowdin translations (#647)
  • New Crowdin translations (#650)

For full changes, see the comparison between 7.0.1 and 7.1.0

v7.0.1

01 Mar 05:27
Compare
Choose a tag to compare

Features

  • Added another code block copy button variant (#631)
  • Added language option to creative_commons (#628)
  • Added quicklink support (#612, #625)
  • Added sidebar auto close when click any blank part (#607)
  • Added localhost filter for google analytics (#618)

Optimizations

  • Refactored code block copy (#632)
  • Optimized the displaying of fancybox, mathjax and schedule (#603)
  • Removed tinysou and duoshuo_share (#565)

Bug Fixes

  • Fixed #594: External links didn't get replaced in index page (#599)
  • Fixed #609: Code block css style error (#610)
  • Fixed #601: Ordered list nested in unordered list became unordered (#602)
  • Fixed #587: Make Markdown table scrollable (#598)
  • Fixed comment count and reward QR (#595)

For full changes, see the comparison between 7.0.0 and 7.0.1

v7.0.0

01 Feb 14:25
Compare
Choose a tag to compare

Features

  • Added comment_count option (#559)

Optimizations

  • Added deployer details configuration (#588)
  • Reorganize #576, using macro (#582)
  • Using Template literals (Template strings) (#557)
  • Code style update (formatting) (#563)

Bug Fixes

  • Revert using template literals in client side scripts. (#590)
  • Make request time of leancloud saved and let concurrent requests pass (#519)
  • Edit Google Analytics reference file address (#580)
  • Fix #573: [Muse & Mist] Footer is not at the bottom of the page (#574)
  • Update Gitment URL to use jsDelivr CDN (#572)
  • Fix #569 (#570)
  • Improve styles of Gitalk & Gitment (#568)
  • Optimize the loading of comment systems (#566)
  • Optimize the style of busuanzi, tag cloud and read more button (#561)

For full changes, see the comparison between 6.7.0 and 7.0.0

v6.7.0

01 Jan 07:59
Compare
Choose a tag to compare

\(^_^)/ Happy New Year!

Breaking Changes

Rename theme.vendors.Han to theme.vendors.han (#512)

Old configuration:

vendors:
...
  # Internal version: 3.3.0
  # See: https://github.com/ethantw/Han
- Han:

New configuration:

vendors:
...
  # Internal version: 3.3.0
  # See: https://github.com/ethantw/Han
  # Example:
  # han: //cdn.jsdelivr.net/npm/han-css@3/dist/han.min.css
  # han: //cdnjs.cloudflare.com/ajax/libs/Han/3.3.0/han.min.css
  han:

Features

  • Fix #553 New Feature: mhchem support (#554)
  • Format code & update CDN URLs & fix #269 (copy_tex for KaTeX) (#543)
  • Add toc max_depth support (#528)
  • Reorganize #274 Custom logo for Gemini & Pisces (#520)
  • Added post_edit option on pages & Maked some refactoring. (#499)

Optimizations

  • Updated site link & small corrections. (#518)
  • Refactored post navigation styles. (#509)
  • Conditional import Han style. (#507)

Bug Fixes

  • Bug fix in scripts/tags/tabs.js (#558)
  • Fixed b2t to work on all schemes (#552)
  • Fix #48 Footer position (#550)
  • Fix #481 Google Calendar (#549)
  • Fix #508 Reward comment position bug (#546)
  • Fix #271 CDN URL for leancloud (#541)
  • Fix localsearch wrong article url (#540)
  • Fix #537 The algolia search pagination's opacity is 0 (#538)
  • Fix #181 and #333 Right margin bug in mobile style (#534)
  • Fix #531, format code in _config.yml (#532)
  • Fix for metadata generation at index (#529)
  • Fix inline code font-size mismatch within headers (#514)
  • Fix #364 Copy code on mobile platform (#489)
  • Fixed Disqus URL. Again. A little bit hard. (#506)
  • Fixed Disqus bug if in permalink exists symbol «'» . (#504)
  • Fixed W3 validator errors. (#501)
  • Added disable_baidu_tranformation option. (#500)
  • Fixed sidebar under Pisces / Gemini schemes for IE 11. (#498)
  • Fix submenu when path name is same (#497)
  • Menu external url (#476)
  • Fix #495, #473 and #231 url_for() misuse (#496)
  • Improve highlighting for Lisps (#493)
  • Define "builtin-name" for Lisp languages (#492)

For full changes, see the comparison between 6.6.0 and 6.7.0

v6.6.0

01 Dec 10:01
Compare
Choose a tag to compare

Breaking Changes

Refactored Creative Commons copyright (#463)

Joined post_copyright and creative_commons options into one.

Old configuration:

-# Creative Commons 4.0 International License.
-# http://creativecommons.org/
-# Available: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | zero
-#creative_commons: by-nc-sa
-#creative_commons:

-# Declare license on posts
-post_copyright:
-  enable: false
-  license: <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" rel="external nofollow" target="_blank">CC BY-NC-SA 4.0</a>

New configuration:

# Creative Commons 4.0 International License.
# https://creativecommons.org/share-your-work/licensing-types-examples/
# Available: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | zero
creative_commons:
  license: by-nc-sa
  sidebar: false
  post: false

Global improvement for ExtURL (#463)

From now no need to use {% exturl %} tag – all external links will be automatically replaced in posts (and in templates) with spanned links if exturl option will be enabled.

Old configuration:

 social_icons:
  enable: true
  icons_only: false
  transition: false
- # Dependencies: exturl: true in Tags Settings section below.
- # To encrypt links above use https://www.base64encode.org
- # Example encoded link: `GitHub: aHR0cHM6Ly9naXRodWIuY29tL3RoZW1lLW5leHQ= || github`
- exturl: false

-# External URL with BASE64 encrypt & decrypt.
-# Usage: {% exturl text url "title" %}
-# Alias: {% extlink text url "title" %}
-exturl: false

New configuration:

# Automatically add external URL with BASE64 encrypt & decrypt.
exturl: false

Reward be more intelligent, related issue #280 (#465)

How to use?

In NexT _config.yml:

# Reward
# If true, reward would be displayed in every article by default.
# And you can show or hide one article specially through add page variable `reward: true/false`.
reward:
  enable: false
  #comment: Donate comment here
  #wechatpay: /images/wechatpay.jpg
  #alipay: /images/alipay.jpg
  #bitcoin: /images/bitcoin.png

Or special config in .md:

---
title: title-name
date: 2018-11-05
...
reward: true/false
---

Features

  • Add gitalk comment system (#464)
  • Add PDFObject and PDF.js support (#466)

Optimizations

  • Format code in _config.yml (#469)
  • Format code & change default CDN for pdfobject (#470)
  • Add enable option for read_more_btn (#446)

Bug Fixes

  • Fix the error when the Chinese is included in the hash (#452)
  • Fix images in an anchor being wrapped as fancybox #399 and #394 (#468)
  • Fix mathjax overflow (#488)

For full changes, see the comparison between 6.5.0 and 6.6.0

v6.5.0

01 Nov 02:25
Compare
Choose a tag to compare

Breaking Changes

Add options for canvas-nest (#441)

Old configuration:

-canvas_nest: false 

New configuration:

canvas_nest:
  enable: false
  onmobile: true # display on mobile or not
  color: '0,0,255' # RGB values, use ',' to separate
  opacity: 0.5 # the opacity of line: 0~1
  zIndex: -1 # z-index property of the background
  count: 99 # the number of lines

Features

  • Feat: Add sina weibo option to social block in sidebar settings (#456)
  • Add beian option at footer for Chinese website owner (#438)
  • Add growingio analytics (#354)
  • Add enable option for read_more_btn (#446)

Bug Fixes

  • Fix bugs turn on the future of google calendar (#407)
  • Delete Bootcss settings and docs (#439)
  • Fixes for b2t & variables refactoring. (#434)
  • Fix for offset option. [2] (#433)
  • Fixed resize filter & affix & back to top for sidebar (#431, #432)

For full changes, see the comparison between 6.4.2 and 6.5.0

v6.4.2

30 Sep 18:59
a54ec63
Compare
Choose a tag to compare

Optimizations

  • Refactored .exturl class & improve variables for a tags. (#422) (#423) (#424)
  • Refactor group-pictures (#403)
  • New Crowdin translations (#405)

Bug Fixes

  • Fixed & Optimized for #426. (#431)
  • Fixed: Break words on PC and Firefox (#429)
  • Fixes for sidebar in Pisces / Gemini schemes. (#418)
  • Update the domain name of the busuanzi (#417)
  • Fix alignments for exturl with mobile_layout_economy option. (#411)
  • Fix disqus lazyload not working in Safari (#406)
  • Fix TOC displayed in Overview (#408)
  • Sidebar affix not work when set display to always [fix added] (#328, 3bd5ab5)

For full changes, see the comparison between 6.4.1 and 6.4.2