Hexo 7.0.0 Released

GitHub Release Note: v7.0.0

Migration Guide

Some of the built-in tags have been dropped (gist, youtube, jsfiddle, and vimeo). If you use those tags in your existing blog posts, you can install hexo-tag-embed to continue using them with Hexo v7.0.0.

No need to install it if you are not using (or will not use) gist, youtube, jsfiddle, vimeo tags in your post or page.

$ npm i hexo-tag-embed

Syntax highlighting is refactored and controlled by the following settings. See Syntax Highlighting for more details.

syntax_highlighter: highlight.js # highlight.js | prismjs | <empty>

Breaking Changes

Notable Changes

New Features

Fixes

  • fix(#1099): hexo server error when changing the config by @D-Sketon in #5055
  • fix: exclude_languages does not work in code blocks by @stevenjoezhang in #5088
  • When promisifying, store does not preserve disableNunjucks property by @tcr in #2670
  • fix(post): skip before_post_render and after_post_render on non-posts by @stevenjoezhang in #5118
  • fix: Failed to create post with special character title by @D-Sketon in #5149
  • fix(box): check for invalid file by @stevenjoezhang in #5173
  • fix(backtick_code): handle empty code block by @stevenjoezhang in #5206
  • fix(moize): helper function not working fine with relative_url by @D-Sketon in #5217
  • fix(post): skip_render not working in post_asset_folder (#5258) by @D-Sketon in #5258
  • Revert “fix(backtick_code): handle empty code blocks (#5206)” (#5257) by @stevenjoezhang in #5257
  • fix(post-asset): strip extensions better on permalink (#5153) by @KagamigawaMeguri in #5153
    • Reverted in: Revert “fix(post-asset): strip extensions better on permalink (#5153)” (#5308) by @stevenjoezhang in #5308

Performance

Refactor

  • refactor: use the WHATWG URL API instead of url.resolve by @yoshinorin in #5136

CI/CD

Dependencies

  • chore: bump sinon from 13.0.2 to 14.0.0 by @dependabot in #4965
  • chore: bump lint-staged from 11.2.6 to 13.0.3 by @dependabot in #5008
  • chore: bump husky from 7.0.4 to 8.0.1 by @dependabot in #4966
  • chore: bump hexo-fs from 3.1.0 to 4.0.0 by @dependabot in #5077
  • chore: bump hexo-renderer-marked from 5.0.0 to 6.0.0 by @dependabot in #5081
  • chore: bump hexo-front-matter from 3.0.0 to 4.0.0 by @dependabot in #5087
  • chore: bump abbrev from 1.1.1 to 2.0.0 by @dependabot in #5093
  • chore: bump hexo-i18n from 1.0.0 to 2.0.0 by @dependabot in #5099
  • chore: bump hexo-util from 2.7.0 to 3.0.1 by @dependabot in #5107
  • chore: bump warehouse from 4.0.2 to 5.0.0 by @dependabot in #5101
  • chore(deps): update hexo-log from 3.2.0 to 4.0.1 by @yoshinorin in #5096
  • chore: bump sinon from 14.0.2 to 15.0.0 by @dependabot in #5121
  • chore: change dependencies version by @Pcrab in #5202
  • chore: bump c8 from 7.14.0 to 8.0.0 (#5227) by @dependabot in #5227

Test

Misc

New Contributors

Full Changelog

6.3.0…v7.0.0