v8.1.0
Automattic/harperv8.1.0Oct 26, 2025by yoshinorin
AI Summary
A performance-focused release that includes multiple optimizations to caching, archy, and Swig tag processing, along with fixes for TOC anchors and missing tags/categories.
Key Highlights
- Fixed potential cache miss issues with moize
- Fixed incorrect TOC anchor generation
- Fixed missing tags and categories when running hexo s with cache existed
- Faster archy and escapeAllSwigTags
New Features
- perf: fix potential cache miss issues with moize
- perf: reduce ObjectAssign overhead
- perf: faster archy
- perf: reduce the number of match calls in metaGenerator
- perf: faster escapeAllSwigTags
- fix(perf): Incorrect TOC anchor generation
- fix(regression): missing tags and categories
- fix: nunjucks/code blocks in HTML comments were incorrectly converted
Full Release Notes
## Performances * perf: fix potential cache miss issues with moize by @D-Sketon in https://github.com/hexojs/hexo/pull/5694 * perf: reduce ObjectAssign overhead by @D-Sketon in https://github.com/hexojs/hexo/pull/5698 * perf: faster archy by @D-Sketon in https://github.com/hexojs/hexo/pull/5700 * perf: reduce the number of match calls in metaGenerator by @D-Sketon in https://github.com/hexojs/hexo/pull/5707 * perf: faster `escapeAllSwigTags` by @D-Sketon in https://github.com/hexojs/hexo/pull/5699 ## Fixes * fix/perf: Incorrect TOC anchor generation by @D-Sketon in https://github.com/hexojs/hexo/pull/5696 * fix(regression): missing tags and categories when running `hexo s` with cache existed by @D-Sketon in https://github.com/hexojs/hexo/pull/5697 * fix: fix ts error in test by @D-Sketon in https://github.com/hexojs/hexo/pull/5709 * fix(regression): remove overly strict invalid tag format check in Swig parser by @D-Sketon in https://github.com/hexojs/hexo/pull/5691 * fix(processor/post): updated post assets not being copied in hot processing when `post_asset_folder` is enabled by @yoshinorin in https://github.com/hexojs/hexo/pull/5704 * fix: nunjucks/code blocks in HTML comments were incorrectly converted by @D-Sketon in https://github.com/hexojs/hexo/pull/5616 ## Refactor * refactor(toc): support skipping heading level by @stevenjoezhang in https://github.com/hexojs/hexo/pull/5653 ## Dependencies * chore: bump actions/setup-node from 5 to 6 by @dependabot[bot] in https://github.com/hexojs/hexo/pull/5708 * chore(deps): bump actions/download-artifact from 4 to 5 by @dependabot[bot] in https://github.com/hexojs/hexo/pull/5682 * chore(deps): bump actions/download-artifact from 5 to 6 by @dependabot[bot] in https://github.com/hexojs/hexo/pull/5710 * chore(deps): bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in https://github.com/hexojs/hexo/pull/5711 * chore(deps): bump hexo-util from 3 to 4 by @D-Sketon in https://github.com/hexojs/hexo/pull/5712 **Full Changelog**: https://github.com/hexojs/hexo/compare/v8.0.0...v8.1.0