There are no hard breaking changes between 5.1.x and 6.0.x versions. It’s change major version to 6 because:
- Main repositorie was rebased from iissnan’s profile to theme-next organization.
- Most libraries under the
next/source/libdirectory was moved out to external repositories under NexT organization. - 3rd-party plugin
hexo-wordcountwas replaced byhexo-symbols-count-timebecausehexo-symbols-count-timeno have any external nodejs dependencies, no have language filter which causes better performance on speed at site generation.
So, NexT suggest to update from version 5 to version 6 in this way:
- You don’t touch old
nextdir and just do some copies of NexT files:
1.1.config.ymlornext.yml(if you used data-files).
1.2. Custom CSS styles what placed innext/source/css/_custom/*andnext/source/css/_variables/*directories.
1.3. Custom layout styles what placed innext/layout/_custom/*.
1.4. Any another possible custom additions which can be finded by compare tools between repositories. - Clone new v6.x repositorie to any another directory instead of
next. For example, innext-reloadeddirectory:git clone https://github.com/theme-next/hexo-theme-next themes/next-reloaded. So, you don’t touch your old NexT 5.1.x directory and can work with newnext-reloadeddir. - Go to Hexo main config and set theme parameter:
theme: next-reloaded. So, yournext-reloadeddirectory must loading with your generation. If you may see any bugs or you simply not like this version, in anytime you can switch for 5.1.x version back.
And how to enable 3rd-party libraries see here.