v7.3.0
nats-io/nats-serverv7.3.0Jul 1, 2024by yoshinorin
AI Summary
This release focuses on optimizing processing speed for posts with asset folders enabled and improving the table of contents rendering. It introduces new configuration options for handling post titles and front matter merging in scaffolds.
Key Highlights
- Improved processing speed when `config.post_asset_folder` is enabled
- New option to use slug as title of post
- Updated TOC helper to support a maximum number of output items
- Deep merge functionality for front matter of posts and scaffolds
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 helper/toc
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