v7.3.0

amirivojdan/shekarv7.3.0Jul 1, 2024by yoshinorin

AI Summary

This release introduces enhancements to the rendering process, including deep merging of front matter and the ability to use post slugs as titles. It also includes performance optimizations for post processing and enhancements to the Table of Contents (TOC) helper.

Key Highlights

  • Deep merge front matter between posts and scaffolds
  • New option to use post slug as title
  • Performance improvement for post asset folder processing
  • TOC helper now supports a maximum item limit

New Features

  • Deep merge frontMatter of post and scaffold
  • Add option to use slug as title of post
  • Specify maximum number of items to output in TOC helper

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