v7.3.0

Automattic/harperv7.3.0Jul 1, 2024by yoshinorin

AI Summary

This release enhances the rendering engine by allowing deep merging of frontMatter and adding options to use slugs as titles. It also improves the performance of post processing and adds configuration limits to the Table of Contents helper.

Key Highlights

  • Deep merge of frontMatter between posts and scaffolds.
  • Option to use the slug as the post title.
  • Performance improvements in post processing when asset folders are enabled.
  • Maximum item limit added to the Table of Contents helper.

New Features

  • Slug as title option
  • Deep merge frontMatter
  • TOC max items limit
  • Improved post processing performance

Full Release Notes

## New Features

* feat(renderScaffold): deepMerge frontMatter of post and scaffold by @uiolee in https://github.com/hexojs/hexo/pull/5472
* feat: add option to use slug as title of post by @uiolee in https://github.com/hexojs/hexo/pull/5470
* feat(helper/toc): specify maximum number of items to output by @KentarouTakeda in https://github.com/hexojs/hexo/pull/5487

## Fixes

* Revert "refactor: backslashes on Windows (#5457)" by @stevenjoezhang in https://github.com/hexojs/hexo/pull/5481

## Performances

* perf(processor/post): improve processing speed when `config.post_asset_folder` is enabled by @yoshinorin in https://github.com/hexojs/hexo/pull/5473

## Test

* Revert "test: add test case for issue #4334" by @D-Sketon in https://github.com/hexojs/hexo/pull/5475

## CI

* ci(comment): fix wrong condition by @uiolee in https://github.com/hexojs/hexo/pull/5471

## Misc

* build: upgrade ecmascript version by @uiolee in https://github.com/hexojs/hexo/pull/5507

## Full Changelog

https://github.com/hexojs/hexo/compare/v7.2.0...v7.3.0