NexT

Theme for Hexo

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

Detailed changes for NexT v7.0.1

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

Detailed changes for NexT v7.0.0

From this year we will start to development NexT v7. And NexT v6 will not be cutted-out for now. Instead of this, we will continue maintenance for version 6 with simultaneous development of version 7.

Versions Difference

What changes planned in that versions? Good question, here they are:

  • Development (v7) mean → all bugfixes, optimizations and features will be added in this version.
  • Maintenance (v6) mean → all bugfixes and optimizations (partially) only will be added in this version.

As we can see, v6 will be more stable version, unlike of v7. If someone want more stability with less features, recommended to use v6 without any fear about no maintenance for this version in the future.

Objectives of Version 7

There are several globally targets for NexT v7 changes planned:

  • Replace all Nested Strings by Template Literals. This bring to code more readable (example: #557)
  • Cut out all possible 3rd-party libraries for provide minimum weight and maximum generation speed
  • Targets, described in NexT v7.x Roadmap.

Branching Models

All last year there are no problem with branching model management. All was simple:

  1. We had master branch, which at the same time was development and production branch.
  2. Changes created in separate temporarily branches were merged into master branch via pull request's.
  3. Once per month we made tag releases from current master branch.

It was when NexT development came with single version. For now, we must support multiple versions: v6.x and v7.x, what bring some complicated as for maintainers and for users too.

Last several days I thinking a lot about this and it seems the right way was successfully founded. And before understand my decision, let's see on all articles I finded.

  1. A successful Git branching modelhttps://nvie.com/posts/a-successful-git-branching-model/
    image
  2. Cactus modelhttps://barro.github.io/2016/02/a-succesful-git-branching-model-considered-harmful/
    image
  3. OneFlow modelhttps://www.endoflineblog.com/oneflow-a-git-branching-model-and-workflow
    image
  4. A stable mainline branching modelhttp://www.bitsnbites.eu/a-stable-mainline-branching-model-for-git/
    image
    image

So, lets comment this models:

  1. A little bit complicated for development. master branch keep only releases versions, but we already have tags once per month. And I read some negative responses about this branching model.
  2. Only one thing let me get to doubt: rebased branches. Yes, on local branches anyone can do what he's want, but we talking about remote branches, how we will working with them. This model is good, but need some changes to use it.
  3. Again: rebase + merge --no--ff – only with a little difference with allow to minimize merged commits history. Anyway, history will not linear.
  4. So, this is similar to our model, with except – releases created not only under the tags, but under branches too. As I understand, branches serve for temporary maintenance multiple software versions. And this model exactly what we need! With some changes, of course...
Read more »

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

Detailed changes for NexT v6.7.0

0%