What changed in hexo from 7 to 8

4 releases numbered after v7.3.0 up to and including v8.1.2, stable releases only. v7.3.0 and v8.1.2 are the newest stable releases of 7 and 8 we track; this page follows them as new ones ship.

36 changes across 4 releases

Added 6

v8.1.0

  • Support skipping heading level in TOC

v8.0.0

  • Bind hexo context to helper function callback
  • Add url config validation
  • Add permalink variable `timestamp`
  • Support additional options for Backtick Code Block
  • Enforce stricter extension checks in load_config
Changed 13

v8.1.2

  • Improve externalLink regexp performance
  • Remove node internal api usage in loadPlugin

v8.1.0

  • Fix potential cache miss issues with moize
  • Reduce ObjectAssign overhead
  • Improve archy performance
  • Reduce the number of match calls in metaGenerator
  • Improve escapeAllSwigTags performance

v8.0.0

  • Optimize external link filter for performance
  • Add binary relation index for PostCategory/PostTag for performance
  • Add cache for posts in listArchives
  • Reduce GC overhead in escapeAllSwigTags
  • Skip tag render when there is no swigTags
  • Implement faster text-table
Fixed 14

v8.1.2

  • Fix noopener attribute in external_link (was incorrectly spelled as noopenner)
  • Fix incorrectly ignores single-line code blocks when escaping Swig and HTML comments

v8.1.1

  • Handle comment nesting in code fence and nunjucks

v8.1.0

  • Incorrect TOC anchor generation
  • Missing tags and categories when running hexo s with cache existed
  • Overly strict invalid tag format check in Swig parser
  • Updated post assets not being copied in hot processing when post_asset_folder is enabled
  • Nunjucks and code blocks in HTML comments were incorrectly converted

v8.0.0

  • Change the judgement of whether it has been injected
  • Backtrack when tag is incomplete in escapeAllSwigTags
  • `hexo.locals.get('posts')` now shows all posts
  • Fix parsing error for code blocks in list items
  • Sort the tags in open_graph
  • Escape HTML in title of `code` and `include_code` tags
Removed 2

v8.0.0

  • Drop support for Node.js 16
  • Drop support for Node.js 18
Security 1

v8.1.2

  • Add dependency-review action for vulnerability scanning

Original release notes, newest first

The list above is our reading of these notes; the originals from hexojs are here, one fold per release.

v8.1.2
Fixes
Performances
Refactor
CI/CD
Test
Dependencies
Misc

Full Changelog: https://github.com/hexojs/hexo/compare/v8.1.1...v8.1.2

View originalPermalink

v8.1.1
Fixes
Misc

Full Changelog: https://github.com/hexojs/hexo/compare/v8.1.0...v8.1.1

View originalPermalink

v8.1.0
Performances
Fixes
Refactor
Dependencies

Full Changelog: https://github.com/hexojs/hexo/compare/v8.0.0...v8.1.0

View originalPermalink

v8.0.0
Breaking Changes
New Features
Fixes
Performances
Refactor
Test
Depenrencies
Misc
New Contributors

Full Changelog: https://github.com/hexojs/hexo/compare/v7.3.0...v8.0.0

View originalPermalink