v7.3.0

rowboatlabs/rowboatv7.3.0Jul 1, 2024by yoshinorin

AI Summary

Added frontMatter merging, slug-as-title option, TOC item limits, and performance improvements for assets, alongside an ESM upgrade.

Key Highlights

  • Deep merge frontMatter of posts and scaffolds
  • Added option to use slug as post title
  • TOC helper now supports specifying maximum output items
  • Performance improvements for post asset folder processing
  • ECMAScript version upgraded in build

Breaking Changes

  • Reverted Windows backslash fix (PR #5457)

New Features

  • FrontMatter merging
  • Slug title option
  • TOC limits
  • Asset performance
  • ESM upgrade

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