v7.3.0

hexojs/hexov7.3.0Jul 1, 2024by yoshinorin

AI Summary

A feature release introducing deepMerge for frontMatter, slug as post title option, and TOC item limits, along with performance improvements for post asset handling.

Key Highlights

  • New feature: deepMerge frontMatter of post and scaffold
  • New feature: Option to use slug as title of post
  • New feature: TOC helper supports specifying maximum number of items
  • Performance improvement for post_asset_folder processing

New Features

  • deepMerge frontMatter of post and scaffold
  • Option to use slug as title of post
  • TOC helper maximum number of items option

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