@liolok liolok released this Feb 1, 2019 · 4 commits to master since this release

Optimizations

  • Added deployer details configuration (#588)
  • Reorganize #576, using macro (#582)
  • Using Template literals (Template strings) (#557)
  • Fix #271: Add comment_count option (#559)
  • 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

Assets 2

@liolok liolok released this Jan 1, 2019 · 21 commits to master since this release

\(^_^)/ 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

Assets 2

@liolok liolok released this Dec 1, 2018 · 86 commits to master since this release

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

Assets 2

@liolok liolok released this Nov 1, 2018 · 114 commits to master since this release

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

Assets 2

@liolok liolok released this Sep 30, 2018 · 130 commits to master since this release

Improvements

  • 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

Assets 2

@liolok liolok released this Aug 31, 2018 · 152 commits to master since this release

Improvements

  • New Crowdin translations (#386)

Bug Fixes

  • Fix bugs where images other than avatars will also rotate (#396)
  • Fixed firestore use wrong variables problem (#388)
  • Refactor lean-analytics.swig to use REST API to avoid conflicts with valine (#381)
  • Fixed the refer website of Livere comment (#395)

For full changes, see the comparison between 6.4.0 and 6.4.1

Assets 2

@liolok liolok released this Aug 1, 2018 · 159 commits to master since this release

Breaking Changes

Removed HyperComments because for now only paid. =( (#342)

Custom sidebar width & content width for all schemes. (#339)

Old configuration:

-# Manual define the max content width 
-# !!Only available for Gemini Scheme currently 
-# Leave it empty for the default 75% (suggest not less than 1000px) 
-#max_content_width: 1000px 
 
-# Manual define the sidebar width 
-# !!Only available for Gemini Scheme currently 
-# Leave it empty for the default 240 
-sidebar_width: 

New configuration:

sidebar:
  # Manual define the sidebar width. 
  # If commented, will be default for: 
  # Muse | Mist: 320 
  # Pisces | Gemini: 240 
  width: 300 

Features

  • Update valine comment system version. (#345)

Improvements

  • Add Labels Rules guideline (#355)
  • Simplify post-reward.styl (#359)
  • New Crowdin translations (#362)
  • Delete youyan comment (#360)
  • Update UPDATE-FROM-5.1.X.md (#324)
  • Add CDN examples for theme-next-three (#335)

Bug Fixes

  • Refactor add baidu_site_verification in _config.yml (#322)
  • Replaced &mdash; with &ndash; for better visibility. (#368, #341)
  • Fixes indentation for note and tabs tags. (#358)
  • Refactor the share tools within post-widgets (#357)
  • Fix the post date display bug (#302)
  • Fixed NexT package.json path on Windows. (#343)

For full changes, see the comparison between 6.3.0 and 6.4.0

Assets 2

@sli1989 sli1989 released this May 16, 2018 · 184 commits to master since this release

Breaking Changes

Added avatar rounded & opacity & rotated feature (#267)

Old configuration:

 # Sidebar Avatar
-# in theme directory(source/images): /images/avatar.gif
-# in site  directory(source/uploads): /uploads/avatar.gif
-#avatar: /images/avatar.gif

New configuration:

 # Sidebar Avatar
+avatar:
+  # in theme directory(source/images): /images/avatar.gif
+  # in site  directory(source/uploads): /uploads/avatar.gif
+  # You can also use other linking images.
+  url: #/images/avatar.gif
+  # If true, the avatar would be dispalyed in circle. 
+  rounded: false
+  # The value of opacity should be choose from 0 to 1 to set the opacity of the avatar.
+  opacity: 1
+  # If true, the avatar would be rotated with the cursor.
+  rotated: false

Features

  • Added Hexo and NexT environment variables. (#240)
  • Added the support for copy result in code block. (#282)
  • Added the support for automatic equation numbering with Mathjax. (#275)
  • Added custom language support feature. (#253)
  • Allow customized copyright contents (#254) Feature already exists in #253

Improvements

  • Updated translations for core languages. (#239 , #243 , #252 , #285)
  • Updated the Telegram links in README.md. (a99777e)
  • Aligned badges in README.md. (0fec1e6)
  • Updated the badges in README.md. (#250 , d599c4e)
  • Changed the copy-button position to absolute. (#242 )
  • Removed author translated key introduced by Duoshuo. (20ece25)
  • Fixed errors in document for LeanCloud Counter Security Plugin. (#255 )
  • Removed Houndy and JSHint linter files. (e383523)
  • Updated the rss annotation using site's feed link. (d2c74b3)
  • Temporarily changed the node_js to LTS node version. (2eacca2)

Bug Fixes

  • Fixed text font of the Mist scheme on mobile. (#262)
  • Fixed logic bug in Han. (#260)
  • Fixed the incorrect URL decoding of more with scroll_to_more. (#293, 4cacb10)

For full changes, see the comparison between 6.2.0 and 6.3.0

Assets 2

@ivan-nginx ivan-nginx released this Apr 16, 2018 · 228 commits to master since this release

Breaking Changes

Minimal correct support for NexT is Hexo v3.5.0 for now.

It's not actually breaking changes, just after this version highly recommend to use NexT with at least Hexo v3.5.0 or higher for avoid all possible bugs.

Hexo v3.5.0 also provides:

  • Replaced swig by swig-templates to mitigate uglifyjs 2.4 security vulnerability: hexojs/hexo#2949
  • Additional templates support which will be used in next NexT releases.

P.S. You can still use old Hexo versions, but NexT will not guarantee in future releases for correct rendering.

Added footer.powered.version option to display Hexo version in footer. (#214, 8c139be)

Old configuration:

footer:
-  powered: true

New configuration:

footer:
  powered:
    # Hexo link (Powered by Hexo).
    enable: true
    # Version info of Hexo after Hexo link (vX.X.X).
    version: true

Refactored post_meta.updated_at option & replaced updated_diff by another_day option (#223, #228)

Old configuration:

post_meta:
  item_text: true
  created_at: true
- updated_at: false
- # Only show 'updated' if different from 'created'.
- updated_diff: false
- # If true, post's time format will be hexo config's date_format + ' ' + time_format.
- date_time_merge: false

New configuration:

post_meta:
  item_text: true
  created_at: true
  updated_at:
    enabled: true
    # If true, show updated date label only if `updated date` different from 'created date' (post edited in another day than was created).
    # And if post will edited in same day as created, edited time will show in popup title under created time label.
    # If false show anyway, but if post edited in same day, show only edited time.
    another_day: true
  categories: true

Features

Improvements

  • Update guide for creating releases in CONTRIBUTING.MD (#213)
  • Remove unused language files. (1d89f8f)
  • Updated translations for core languages. (#211, #235)

Bug Fixes

  • Increase page loading performance by refactor menu-item-active class. (6f787af)
    Refactored files hierarchy for header components. (#221)
  • Fix for default language if no language in Hexo config defined. (#210)
    Renamed back _en.yml on en.yml and setted default.yml to link it. (adc76b7)
  • Refactored menu items & badges.
    Fixed bug with appear dot in submenu with disabled badges in Pisces/Gemini schemes. (#229)

For full changes, see the comparison between 6.1.0 and 6.2.0

Assets 2

@sli1989 sli1989 released this Apr 1, 2018 · 269 commits to master since this release

Breaking Changes

Refactor footer icon with animation (#195)

Old configuration:

footer:
  # Specify the date when the site was setup.
  # If not defined, current year will be used.
  # since: 2015
   # Icon between year and copyright info.
-  icon: user

New configuration:

footer:
  # Specify the date when the site was setup.
  # If not defined, current year will be used.
  # since: 2015
   # Icon between year and copyright info.
+  icon: 
+    # Icon name in fontawesome, see: https://fontawesome.com/v4.7.0/icons
+    # `heart` is recommended with animation in red (#ff0000).
+    name: user
+    # If you want to animate the icon, set it to true.
+    animated: false
+    # Change the color of icon, using Hex Code.
+    color: "#808080"

Features

  • Added comment count on mobile. (#185)
  • Added caption for comment. (#186)
  • Added border-radius settings of code block and updated its style with a caption. (#194)
    +# Manual define the border radius in codeblock, using a space indent.
    +# Leave it empty for the default 1
    +codeblock:
    +  border_radius: 
    +
  • Added backlog label to exclude labels. (2a841a9)
  • Added English document for LeanCloud Counter Security Plugin. (#174)
  • Added English and Chinese document for contributing.md. (#192)
  • Added English and Chinese document for code-of-couduct.md. (#198)

Improvements

  • Reverted the beta version of LeanCloud Counter Security Plugin. The option leancloud_visitors.security: true by default at present. (d297cf5)
  • Updated English document for LeanCloud Counter Security Plugin. (#175, #177, #204)
  • Updated Chinese document for LeanCloud Counter Security Plugin. (#177, #204)
  • Optimized symbol colon in item text of post meta. (#188)
  • Updated translations for core languages. (c6aaa42, #189)
  • Updated links in README.md. (bd6c789)
  • Updated CDN instructions in Chinese README.md. (ca2554b)

Bug Fixes

  • Fixed a bug in utils.js to prevent the error of i is not defined. (#205)

For full changes, see the comparison between 6.0.6 and 6.1.0

Assets 2