hexojs/hexo (hexo)
### [`v7.3.0`](https://togithub.com/hexojs/hexo/releases/tag/v7.3.0)
[Compare Source](https://togithub.com/hexojs/hexo/compare/v7.2.0...v7.3.0)
#### New Features
- feat(renderScaffold): deepMerge frontMatter of post and scaffold by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5472](https://togithub.com/hexojs/hexo/pull/5472)
- feat: add option to use slug as title of post by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5470](https://togithub.com/hexojs/hexo/pull/5470)
- feat(helper/toc): specify maximum number of items to output by [@KentarouTakeda](https://togithub.com/KentarouTakeda) in [https://github.com/hexojs/hexo/pull/5487](https://togithub.com/hexojs/hexo/pull/5487)
#### Fixes
- Revert "refactor: backslashes on Windows ([#5457](https://togithub.com/hexojs/hexo/issues/5457))" by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5481](https://togithub.com/hexojs/hexo/pull/5481)
#### Performances
- perf(processor/post): improve processing speed when `config.post_asset_folder` is enabled by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5473](https://togithub.com/hexojs/hexo/pull/5473)
#### Test
- Revert "test: add test case for issue [#4334](https://togithub.com/hexojs/hexo/issues/4334)" by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5475](https://togithub.com/hexojs/hexo/pull/5475)
#### CI
- ci(comment): fix wrong condition by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5471](https://togithub.com/hexojs/hexo/pull/5471)
#### Misc
- build: upgrade ecmascript version by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5507](https://togithub.com/hexojs/hexo/pull/5507)
#### Full Changelog
### [`v7.2.0`](https://togithub.com/hexojs/hexo/releases/tag/v7.2.0)
[Compare Source](https://togithub.com/hexojs/hexo/compare/v7.1.1...v7.2.0)
#### New Features
- feat(highlight): add an option to switch stripIndent by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5427](https://togithub.com/hexojs/hexo/pull/5427)
#### Improved type definitions
- refactor: refactor types by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5398](https://togithub.com/hexojs/hexo/pull/5398)
- chore: make callback on exit optional by [@dimaslanjaka](https://togithub.com/dimaslanjaka) in [https://github.com/hexojs/hexo/pull/5421](https://togithub.com/hexojs/hexo/pull/5421)
- refactor: migrate typescript by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5417](https://togithub.com/hexojs/hexo/pull/5417)
- refactor: migrate typescript by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5430](https://togithub.com/hexojs/hexo/pull/5430)
#### Fixes
- Fix typos by [@mobeicanyue](https://togithub.com/mobeicanyue) in [https://github.com/hexojs/hexo/pull/5426](https://togithub.com/hexojs/hexo/pull/5426)
- fix: post_link behaviour when using subdir by [@leafbird](https://togithub.com/leafbird) in [https://github.com/hexojs/hexo/pull/5419](https://togithub.com/hexojs/hexo/pull/5419)
- fix(tag): use url_for by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5385](https://togithub.com/hexojs/hexo/pull/5385)
- fix(tag/include_code): prevent path traversal by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5251](https://togithub.com/hexojs/hexo/pull/5251)
- revert(categories,tags): revert behavior of locals.tags and locals.categories by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5388](https://togithub.com/hexojs/hexo/pull/5388)
#### Refactor
- refactor: backslashes on Windows by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5457](https://togithub.com/hexojs/hexo/pull/5457)
#### Test
- test: add test case for issue [#4334](https://togithub.com/hexojs/hexo/issues/4334) by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5465](https://togithub.com/hexojs/hexo/pull/5465)
#### CI/CD
- ci: suppress comment err and reduce benchmark running by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5454](https://togithub.com/hexojs/hexo/pull/5454)
#### Docs
- docs(README): Update Sponsors images by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5410](https://togithub.com/hexojs/hexo/pull/5410)
#### Dependencies
- chore(deps): bump hexo-fs from ^4.1.1 to ^4.1.3 by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5463](https://togithub.com/hexojs/hexo/pull/5463)
- chore(deps-dev): Limited `@types/node` version by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5411](https://togithub.com/hexojs/hexo/pull/5411)
#### New Contributors
- [@mobeicanyue](https://togithub.com/mobeicanyue) made their first contribution in [https://github.com/hexojs/hexo/pull/5426](https://togithub.com/hexojs/hexo/pull/5426)
- [@leafbird](https://togithub.com/leafbird) made their first contribution in [https://github.com/hexojs/hexo/pull/5419](https://togithub.com/hexojs/hexo/pull/5419)
**Full Changelog**: https://github.com/hexojs/hexo/compare/v7.1.1...v7.2.0
### [`v7.1.1`](https://togithub.com/hexojs/hexo/releases/tag/v7.1.1)
[Compare Source](https://togithub.com/hexojs/hexo/compare/v7.1.0...v7.1.1)
#### Fixes
- fix(escapeTags): escape tag which includes line break by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5402](https://togithub.com/hexojs/hexo/pull/5402)
#### Misc
- chore: use `prepublishOnly` instead of `prepublish` and run `npm install` in `prepublishOnly` script by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5399](https://togithub.com/hexojs/hexo/pull/5399)
**Full Changelog**: https://github.com/hexojs/hexo/compare/v7.1.0...v7.1.1
### [`v7.1.0`](https://togithub.com/hexojs/hexo/releases/tag/v7.1.0)
[Compare Source](https://togithub.com/hexojs/hexo/compare/v7.0.0...v7.1.0)
#### Notable Changes
- chore(Hexo): add event emitter descriptor by [@dimaslanjaka](https://togithub.com/dimaslanjaka) in [https://github.com/hexojs/hexo/pull/5302](https://togithub.com/hexojs/hexo/pull/5302)
- refactor: refactor types by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5344](https://togithub.com/hexojs/hexo/pull/5344)
#### New Features
- Added URL hash support for post_link tag by [@iliayatsenko](https://togithub.com/iliayatsenko) in [https://github.com/hexojs/hexo/pull/5356](https://togithub.com/hexojs/hexo/pull/5356)
#### Fixes
- fix(types): cast from `number` to `string` explicitly by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5342](https://togithub.com/hexojs/hexo/pull/5342)
- fix: permalink should be overwritten when post_asset_folder is true by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5254](https://togithub.com/hexojs/hexo/pull/5254)
- fix(escapeAllSwigTags): check tag completeness by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5395](https://togithub.com/hexojs/hexo/pull/5395)
#### CI/CD
- ci(commenter): use workflows_run event to comment flamegraph by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5384](https://togithub.com/hexojs/hexo/pull/5384)
- ci(benchmark): add PR permissions for comment by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5334](https://togithub.com/hexojs/hexo/pull/5334)
#### Dependencies
- chore: bump typescript from 4.9.5 to 5.3.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5358](https://togithub.com/hexojs/hexo/pull/5358)
- chore(deps-dev): remove [@ts/eslint-plugin](https://togithub.com/ts/eslint-plugin), parser by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5290](https://togithub.com/hexojs/hexo/pull/5290)
- chore: bump c8 from 8.0.1 to 9.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5391](https://togithub.com/hexojs/hexo/pull/5391)
- chore(dev-deps): bump sinon from 15.2.0 to 17.0.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5343](https://togithub.com/hexojs/hexo/pull/5343)
- chore(dev-deps): bump lint-staged from 14.0.1 to 15.2.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5373](https://togithub.com/hexojs/hexo/pull/5373)
#### New Contributors
- [@iliayatsenko](https://togithub.com/iliayatsenko) made their first contribution in [https://github.com/hexojs/hexo/pull/5356](https://togithub.com/hexojs/hexo/pull/5356)
**Full Changelog**: https://github.com/hexojs/hexo/compare/v7.0.0...v7.1.0
### [`v7.0.0`](https://togithub.com/hexojs/hexo/releases/tag/v7.0.0)
[Compare Source](https://togithub.com/hexojs/hexo/compare/6.3.0...v7.0.0)
#### Migration Guide
##### built-in tags
> **WARNING**
> Some of the built-in tags have been dropped (`gist`, `youtube`, `jsfiddle`, and `vimeo`). If you use those tags in your existing blog posts, you can install [hexo-tag-embed](https://togithub.com/hexojs/hexo-tag-embed) to continue using them with Hexo `v7.0.0`.
> **Note**
> No need to install it if you are not using (or will not use) `gist`, `youtube`, `jsfiddle`, `vimeo` tags in your post or page.
```sh
$ npm i hexo-tag-embed
```
##### Syntax highlighting
> **WARNING**
> Syntax highlighting is refactored and controlled by the following settings. See [Syntax Highlighting](https://hexo.io/docs/syntax-highlight#Configuration) for more details.
```yaml
syntax_highlighter: highlight.js # highlight.js | prismjs |
```
#### Breaking Changes
- chore: require node14+ by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5061](https://togithub.com/hexojs/hexo/pull/5061)
- Dropped tag features. Please see `Migration Guid` section.
- refactor: drop `gist` tag by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5067](https://togithub.com/hexojs/hexo/pull/5067)
- refactor: drop `youtube` tag by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5064](https://togithub.com/hexojs/hexo/pull/5064)
- refactor: drop `jsfiddle` tag by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5066](https://togithub.com/hexojs/hexo/pull/5066)
- refactor: drop `vimeo` tag by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5065](https://togithub.com/hexojs/hexo/pull/5065)
- Dropped features
- refactor: drop `external_link` boolean type by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5063](https://togithub.com/hexojs/hexo/pull/5063)
- refactor: drop `use_date_for_updated` option for `updated_option` by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5062](https://togithub.com/hexojs/hexo/pull/5062)
- feat(post): remove front-matter property `link` ([#5253](https://togithub.com/hexojs/hexo/issues/5253)) by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5253](https://togithub.com/hexojs/hexo/pull/5253)
- revert: Access data files from source folder ([#1969](https://togithub.com/hexojs/hexo/issues/1969)) ([#5325](https://togithub.com/hexojs/hexo/issues/5325)) by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5325](https://togithub.com/hexojs/hexo/pull/5325)
- refactor highlight: add extend api for highlight by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5095](https://togithub.com/hexojs/hexo/pull/5095)
#### Notable Changes
- Migrate TypeSctipt
- refactor: prepare for migration to typescript by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5094](https://togithub.com/hexojs/hexo/pull/5094)
- refactor: migrate typescript by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5092](https://togithub.com/hexojs/hexo/pull/5092)
- Refactor types by [@Pcrab](https://togithub.com/Pcrab) in [https://github.com/hexojs/hexo/pull/5178](https://togithub.com/hexojs/hexo/pull/5178)
#### New Features
- feat(tags/post_link): search for both slug and title by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5114](https://togithub.com/hexojs/hexo/pull/5114)
- feat(open_graph): drop google_plus by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5115](https://togithub.com/hexojs/hexo/pull/5115)
- feat(tags/img): support quotes in img title and alt by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5112](https://togithub.com/hexojs/hexo/pull/5112)
- feat(console-new): support default title from path by [@xu-song](https://togithub.com/xu-song) in [https://github.com/hexojs/hexo/pull/4714](https://togithub.com/hexojs/hexo/pull/4714)
- feat: add an option to disable titlecase in post by [@renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/hexojs/hexo/pull/5156](https://togithub.com/hexojs/hexo/pull/5156)
- feat: add exclude_languages feature to prismjs by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5182](https://togithub.com/hexojs/hexo/pull/5182)
- feat(tags/post_link): use slug when title is empty by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5220](https://togithub.com/hexojs/hexo/pull/5220)
- feat: add url_for and full_url_for tag plugins by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5198](https://togithub.com/hexojs/hexo/pull/5198)
- feat: allow top-level await in plugins or scripts by [@Pcrab](https://togithub.com/Pcrab) in [https://github.com/hexojs/hexo/pull/5228](https://togithub.com/hexojs/hexo/pull/5228)
- feat: define global variable hexo ([#5242](https://togithub.com/hexojs/hexo/issues/5242)) by [@dimaslanjaka](https://togithub.com/dimaslanjaka) in [https://github.com/hexojs/hexo/pull/5242](https://togithub.com/hexojs/hexo/pull/5242)
#### Fixes
- fix([#1099](https://togithub.com/hexojs/hexo/issues/1099)): hexo server error when changing the config by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5055](https://togithub.com/hexojs/hexo/pull/5055)
- fix: exclude_languages does not work in code blocks by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5088](https://togithub.com/hexojs/hexo/pull/5088)
- When promisifying, store does not preserve disableNunjucks property by [@tcr](https://togithub.com/tcr) in [https://github.com/hexojs/hexo/pull/2670](https://togithub.com/hexojs/hexo/pull/2670)
- fix(post): skip before_post_render and after_post_render on non-posts by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5118](https://togithub.com/hexojs/hexo/pull/5118)
- fix: Failed to create post with special character title by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5149](https://togithub.com/hexojs/hexo/pull/5149)
- fix(box): check for invalid file by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5173](https://togithub.com/hexojs/hexo/pull/5173)
- fix(backtick_code): handle empty code block by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5206](https://togithub.com/hexojs/hexo/pull/5206)
- fix(moize): helper function not working fine with relative_url by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5217](https://togithub.com/hexojs/hexo/pull/5217)
- fix(post): skip_render not working in post_asset_folder ([#5258](https://togithub.com/hexojs/hexo/issues/5258)) by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5258](https://togithub.com/hexojs/hexo/pull/5258)
- Revert "fix(backtick_code): handle empty code blocks ([#5206](https://togithub.com/hexojs/hexo/issues/5206))" ([#5257](https://togithub.com/hexojs/hexo/issues/5257)) by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5257](https://togithub.com/hexojs/hexo/pull/5257)
- fix(post-asset): strip extensions better on permalink ([#5153](https://togithub.com/hexojs/hexo/issues/5153)) by [@KagamigawaMeguri](https://togithub.com/KagamigawaMeguri) in [https://github.com/hexojs/hexo/pull/5153](https://togithub.com/hexojs/hexo/pull/5153)
- Reverted in: Revert "fix(post-asset): strip extensions better on permalink ([#5153](https://togithub.com/hexojs/hexo/issues/5153))" ([#5308](https://togithub.com/hexojs/hexo/issues/5308)) by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5308](https://togithub.com/hexojs/hexo/pull/5308)
#### Performance
- perf: reduce the number of traversals through posts by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5119](https://togithub.com/hexojs/hexo/pull/5119)
- perf(post): cache tags getter ([#5145](https://togithub.com/hexojs/hexo/issues/5145)) by [@SukkaW](https://togithub.com/SukkaW) in [https://github.com/hexojs/hexo/pull/5145](https://togithub.com/hexojs/hexo/pull/5145)
#### Refactor
- refactor: use the `WHATWG URL API` instead of `url.resolve` by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5136](https://togithub.com/hexojs/hexo/pull/5136)
#### CI/CD
- ci: reduce the running of ci ([#5282](https://togithub.com/hexojs/hexo/issues/5282)) by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5282](https://togithub.com/hexojs/hexo/pull/5282)
- ci: reduce the running of ci ([#5291](https://togithub.com/hexojs/hexo/issues/5291)) by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5291](https://togithub.com/hexojs/hexo/pull/5291)
#### Dependencies
- chore: bump sinon from 13.0.2 to 14.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/4965](https://togithub.com/hexojs/hexo/pull/4965)
- chore: bump lint-staged from 11.2.6 to 13.0.3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5008](https://togithub.com/hexojs/hexo/pull/5008)
- chore: bump husky from 7.0.4 to 8.0.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/4966](https://togithub.com/hexojs/hexo/pull/4966)
- chore: bump hexo-fs from 3.1.0 to 4.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5077](https://togithub.com/hexojs/hexo/pull/5077)
- chore: bump hexo-renderer-marked from 5.0.0 to 6.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5081](https://togithub.com/hexojs/hexo/pull/5081)
- chore: bump hexo-front-matter from 3.0.0 to 4.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5087](https://togithub.com/hexojs/hexo/pull/5087)
- chore: bump abbrev from 1.1.1 to 2.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5093](https://togithub.com/hexojs/hexo/pull/5093)
- chore: bump hexo-i18n from 1.0.0 to 2.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5099](https://togithub.com/hexojs/hexo/pull/5099)
- chore: bump hexo-util from 2.7.0 to 3.0.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5107](https://togithub.com/hexojs/hexo/pull/5107)
- chore: bump warehouse from 4.0.2 to 5.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5101](https://togithub.com/hexojs/hexo/pull/5101)
- chore(deps): update `hexo-log` from `3.2.0` to `4.0.1` by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5096](https://togithub.com/hexojs/hexo/pull/5096)
- chore: bump sinon from 14.0.2 to 15.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5121](https://togithub.com/hexojs/hexo/pull/5121)
- chore: change dependencies version by [@Pcrab](https://togithub.com/Pcrab) in [https://github.com/hexojs/hexo/pull/5202](https://togithub.com/hexojs/hexo/pull/5202)
- chore: bump c8 from 7.14.0 to 8.0.0 ([#5227](https://togithub.com/hexojs/hexo/issues/5227)) by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5227](https://togithub.com/hexojs/hexo/pull/5227)
#### Test
- test(benchmark): update hexo-many-posts repo by [@SukkaW](https://togithub.com/SukkaW) in [https://github.com/hexojs/hexo/pull/5128](https://togithub.com/hexojs/hexo/pull/5128)
- test(list_route): improve coverage by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5097](https://togithub.com/hexojs/hexo/pull/5097)
- test: improve coverage by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5221](https://togithub.com/hexojs/hexo/pull/5221)
- test: improve coverage by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5223](https://togithub.com/hexojs/hexo/pull/5223)
#### Misc
- fix typo ([#5245](https://togithub.com/hexojs/hexo/issues/5245)) by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5245](https://togithub.com/hexojs/hexo/pull/5245)
- chore(github): delete `other` issue template ([#5248](https://togithub.com/hexojs/hexo/issues/5248)) by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5248](https://togithub.com/hexojs/hexo/pull/5248)
- chore(lint-staged): remove `git-exec-and-restage` ([#5281](https://togithub.com/hexojs/hexo/issues/5281)) by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5281](https://togithub.com/hexojs/hexo/pull/5281)
- chore(github): use github issue form ([#5319](https://togithub.com/hexojs/hexo/issues/5319)) by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5319](https://togithub.com/hexojs/hexo/pull/5319)
#### New Contributors
- [@D-Sketon](https://togithub.com/D-Sketon) made their first contribution in [https://github.com/hexojs/hexo/pull/5055](https://togithub.com/hexojs/hexo/pull/5055)
- [@xu-song](https://togithub.com/xu-song) made their first contribution in [https://github.com/hexojs/hexo/pull/4714](https://togithub.com/hexojs/hexo/pull/4714)
- [@tcr](https://togithub.com/tcr) made their first contribution in [https://github.com/hexojs/hexo/pull/2670](https://togithub.com/hexojs/hexo/pull/2670)
- [@Pcrab](https://togithub.com/Pcrab) made their first contribution in [https://github.com/hexojs/hexo/pull/5178](https://togithub.com/hexojs/hexo/pull/5178)
- [@KagamigawaMeguri](https://togithub.com/KagamigawaMeguri) made their first contribution in [https://github.com/hexojs/hexo/pull/5153](https://togithub.com/hexojs/hexo/pull/5153)
- [@dimaslanjaka](https://togithub.com/dimaslanjaka) made their first contribution in [https://github.com/hexojs/hexo/pull/5242](https://togithub.com/hexojs/hexo/pull/5242)
- [@uiolee](https://togithub.com/uiolee) made their first contribution in [https://github.com/hexojs/hexo/pull/5281](https://togithub.com/hexojs/hexo/pull/5281)
#### Full Changelog
***
### Appendix: Changes between v7.0.0(RC2) and v7.0.0
#### Breaking Changes
- revert: Access data files from source folder ([#1969](https://togithub.com/hexojs/hexo/issues/1969)) ([#5325](https://togithub.com/hexojs/hexo/issues/5325)) by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5325](https://togithub.com/hexojs/hexo/pull/5325)
- feat(post): remove front-matter property `link` ([#5253](https://togithub.com/hexojs/hexo/issues/5253)) by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5253](https://togithub.com/hexojs/hexo/pull/5253)
#### New Feature
- feat: define global variable hexo ([#5242](https://togithub.com/hexojs/hexo/issues/5242)) by [@dimaslanjaka](https://togithub.com/dimaslanjaka) in [https://github.com/hexojs/hexo/pull/5242](https://togithub.com/hexojs/hexo/pull/5242)
#### Performance
- perf(post): cache tags getter ([#5145](https://togithub.com/hexojs/hexo/issues/5145)) by [@SukkaW](https://togithub.com/SukkaW) in [https://github.com/hexojs/hexo/pull/5145](https://togithub.com/hexojs/hexo/pull/5145)
#### Fixes
- fix(post): skip_render not working in post_asset_folder ([#5258](https://togithub.com/hexojs/hexo/issues/5258)) by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5258](https://togithub.com/hexojs/hexo/pull/5258)
- Revert "fix(backtick_code): handle empty code blocks ([#5206](https://togithub.com/hexojs/hexo/issues/5206))" ([#5257](https://togithub.com/hexojs/hexo/issues/5257)) by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5257](https://togithub.com/hexojs/hexo/pull/5257)
- fix(post-asset): strip extensions better on permalink ([#5153](https://togithub.com/hexojs/hexo/issues/5153)) by [@KagamigawaMeguri](https://togithub.com/KagamigawaMeguri) in [https://github.com/hexojs/hexo/pull/5153](https://togithub.com/hexojs/hexo/pull/5153)
- Reverted in: Revert "fix(post-asset): strip extensions better on permalink ([#5153](https://togithub.com/hexojs/hexo/issues/5153))" ([#5308](https://togithub.com/hexojs/hexo/issues/5308)) by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5308](https://togithub.com/hexojs/hexo/pull/5308)
#### CI/CD
- ci: reduce the running of ci ([#5282](https://togithub.com/hexojs/hexo/issues/5282)) by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5282](https://togithub.com/hexojs/hexo/pull/5282)
- ci: reduce the running of ci ([#5291](https://togithub.com/hexojs/hexo/issues/5291)) by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5291](https://togithub.com/hexojs/hexo/pull/5291)
#### Dependencies
- chore: bump c8 from 7.14.0 to 8.0.0 ([#5227](https://togithub.com/hexojs/hexo/issues/5227)) by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5227](https://togithub.com/hexojs/hexo/pull/5227)
#### Misc
- fix typo ([#5245](https://togithub.com/hexojs/hexo/issues/5245)) by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5245](https://togithub.com/hexojs/hexo/pull/5245)
- chore(github): delete `other` issue template ([#5248](https://togithub.com/hexojs/hexo/issues/5248)) by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5248](https://togithub.com/hexojs/hexo/pull/5248)
- chore(lint-staged): remove `git-exec-and-restage` ([#5281](https://togithub.com/hexojs/hexo/issues/5281)) by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5281](https://togithub.com/hexojs/hexo/pull/5281)
- chore(github): use github issue form ([#5319](https://togithub.com/hexojs/hexo/issues/5319)) by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5319](https://togithub.com/hexojs/hexo/pull/5319)
#### Full Changelog
https://github.com/hexojs/hexo/compare/v7.0.0-rc2...v7.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.
This PR contains the following updates:
6.3.0
->7.3.0
Release Notes
hexojs/hexo (hexo)
### [`v7.3.0`](https://togithub.com/hexojs/hexo/releases/tag/v7.3.0) [Compare Source](https://togithub.com/hexojs/hexo/compare/v7.2.0...v7.3.0) #### New Features - feat(renderScaffold): deepMerge frontMatter of post and scaffold by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5472](https://togithub.com/hexojs/hexo/pull/5472) - feat: add option to use slug as title of post by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5470](https://togithub.com/hexojs/hexo/pull/5470) - feat(helper/toc): specify maximum number of items to output by [@KentarouTakeda](https://togithub.com/KentarouTakeda) in [https://github.com/hexojs/hexo/pull/5487](https://togithub.com/hexojs/hexo/pull/5487) #### Fixes - Revert "refactor: backslashes on Windows ([#5457](https://togithub.com/hexojs/hexo/issues/5457))" by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5481](https://togithub.com/hexojs/hexo/pull/5481) #### Performances - perf(processor/post): improve processing speed when `config.post_asset_folder` is enabled by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5473](https://togithub.com/hexojs/hexo/pull/5473) #### Test - Revert "test: add test case for issue [#4334](https://togithub.com/hexojs/hexo/issues/4334)" by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5475](https://togithub.com/hexojs/hexo/pull/5475) #### CI - ci(comment): fix wrong condition by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5471](https://togithub.com/hexojs/hexo/pull/5471) #### Misc - build: upgrade ecmascript version by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5507](https://togithub.com/hexojs/hexo/pull/5507) #### Full Changelog ### [`v7.2.0`](https://togithub.com/hexojs/hexo/releases/tag/v7.2.0) [Compare Source](https://togithub.com/hexojs/hexo/compare/v7.1.1...v7.2.0) #### New Features - feat(highlight): add an option to switch stripIndent by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5427](https://togithub.com/hexojs/hexo/pull/5427) #### Improved type definitions - refactor: refactor types by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5398](https://togithub.com/hexojs/hexo/pull/5398) - chore: make callback on exit optional by [@dimaslanjaka](https://togithub.com/dimaslanjaka) in [https://github.com/hexojs/hexo/pull/5421](https://togithub.com/hexojs/hexo/pull/5421) - refactor: migrate typescript by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5417](https://togithub.com/hexojs/hexo/pull/5417) - refactor: migrate typescript by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5430](https://togithub.com/hexojs/hexo/pull/5430) #### Fixes - Fix typos by [@mobeicanyue](https://togithub.com/mobeicanyue) in [https://github.com/hexojs/hexo/pull/5426](https://togithub.com/hexojs/hexo/pull/5426) - fix: post_link behaviour when using subdir by [@leafbird](https://togithub.com/leafbird) in [https://github.com/hexojs/hexo/pull/5419](https://togithub.com/hexojs/hexo/pull/5419) - fix(tag): use url_for by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5385](https://togithub.com/hexojs/hexo/pull/5385) - fix(tag/include_code): prevent path traversal by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5251](https://togithub.com/hexojs/hexo/pull/5251) - revert(categories,tags): revert behavior of locals.tags and locals.categories by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5388](https://togithub.com/hexojs/hexo/pull/5388) #### Refactor - refactor: backslashes on Windows by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5457](https://togithub.com/hexojs/hexo/pull/5457) #### Test - test: add test case for issue [#4334](https://togithub.com/hexojs/hexo/issues/4334) by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5465](https://togithub.com/hexojs/hexo/pull/5465) #### CI/CD - ci: suppress comment err and reduce benchmark running by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5454](https://togithub.com/hexojs/hexo/pull/5454) #### Docs - docs(README): Update Sponsors images by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5410](https://togithub.com/hexojs/hexo/pull/5410) #### Dependencies - chore(deps): bump hexo-fs from ^4.1.1 to ^4.1.3 by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5463](https://togithub.com/hexojs/hexo/pull/5463) - chore(deps-dev): Limited `@types/node` version by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5411](https://togithub.com/hexojs/hexo/pull/5411) #### New Contributors - [@mobeicanyue](https://togithub.com/mobeicanyue) made their first contribution in [https://github.com/hexojs/hexo/pull/5426](https://togithub.com/hexojs/hexo/pull/5426) - [@leafbird](https://togithub.com/leafbird) made their first contribution in [https://github.com/hexojs/hexo/pull/5419](https://togithub.com/hexojs/hexo/pull/5419) **Full Changelog**: https://github.com/hexojs/hexo/compare/v7.1.1...v7.2.0 ### [`v7.1.1`](https://togithub.com/hexojs/hexo/releases/tag/v7.1.1) [Compare Source](https://togithub.com/hexojs/hexo/compare/v7.1.0...v7.1.1) #### Fixes - fix(escapeTags): escape tag which includes line break by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5402](https://togithub.com/hexojs/hexo/pull/5402) #### Misc - chore: use `prepublishOnly` instead of `prepublish` and run `npm install` in `prepublishOnly` script by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5399](https://togithub.com/hexojs/hexo/pull/5399) **Full Changelog**: https://github.com/hexojs/hexo/compare/v7.1.0...v7.1.1 ### [`v7.1.0`](https://togithub.com/hexojs/hexo/releases/tag/v7.1.0) [Compare Source](https://togithub.com/hexojs/hexo/compare/v7.0.0...v7.1.0) #### Notable Changes - chore(Hexo): add event emitter descriptor by [@dimaslanjaka](https://togithub.com/dimaslanjaka) in [https://github.com/hexojs/hexo/pull/5302](https://togithub.com/hexojs/hexo/pull/5302) - refactor: refactor types by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5344](https://togithub.com/hexojs/hexo/pull/5344) #### New Features - Added URL hash support for post_link tag by [@iliayatsenko](https://togithub.com/iliayatsenko) in [https://github.com/hexojs/hexo/pull/5356](https://togithub.com/hexojs/hexo/pull/5356) #### Fixes - fix(types): cast from `number` to `string` explicitly by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5342](https://togithub.com/hexojs/hexo/pull/5342) - fix: permalink should be overwritten when post_asset_folder is true by [@D-Sketon](https://togithub.com/D-Sketon) in [https://github.com/hexojs/hexo/pull/5254](https://togithub.com/hexojs/hexo/pull/5254) - fix(escapeAllSwigTags): check tag completeness by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5395](https://togithub.com/hexojs/hexo/pull/5395) #### CI/CD - ci(commenter): use workflows_run event to comment flamegraph by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5384](https://togithub.com/hexojs/hexo/pull/5384) - ci(benchmark): add PR permissions for comment by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5334](https://togithub.com/hexojs/hexo/pull/5334) #### Dependencies - chore: bump typescript from 4.9.5 to 5.3.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5358](https://togithub.com/hexojs/hexo/pull/5358) - chore(deps-dev): remove [@ts/eslint-plugin](https://togithub.com/ts/eslint-plugin), parser by [@uiolee](https://togithub.com/uiolee) in [https://github.com/hexojs/hexo/pull/5290](https://togithub.com/hexojs/hexo/pull/5290) - chore: bump c8 from 8.0.1 to 9.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5391](https://togithub.com/hexojs/hexo/pull/5391) - chore(dev-deps): bump sinon from 15.2.0 to 17.0.1 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5343](https://togithub.com/hexojs/hexo/pull/5343) - chore(dev-deps): bump lint-staged from 14.0.1 to 15.2.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/5373](https://togithub.com/hexojs/hexo/pull/5373) #### New Contributors - [@iliayatsenko](https://togithub.com/iliayatsenko) made their first contribution in [https://github.com/hexojs/hexo/pull/5356](https://togithub.com/hexojs/hexo/pull/5356) **Full Changelog**: https://github.com/hexojs/hexo/compare/v7.0.0...v7.1.0 ### [`v7.0.0`](https://togithub.com/hexojs/hexo/releases/tag/v7.0.0) [Compare Source](https://togithub.com/hexojs/hexo/compare/6.3.0...v7.0.0) #### Migration Guide ##### built-in tags > **WARNING** > Some of the built-in tags have been dropped (`gist`, `youtube`, `jsfiddle`, and `vimeo`). If you use those tags in your existing blog posts, you can install [hexo-tag-embed](https://togithub.com/hexojs/hexo-tag-embed) to continue using them with Hexo `v7.0.0`. > **Note** > No need to install it if you are not using (or will not use) `gist`, `youtube`, `jsfiddle`, `vimeo` tags in your post or page. ```sh $ npm i hexo-tag-embed ``` ##### Syntax highlighting > **WARNING** > Syntax highlighting is refactored and controlled by the following settings. See [Syntax Highlighting](https://hexo.io/docs/syntax-highlight#Configuration) for more details. ```yaml syntax_highlighter: highlight.js # highlight.js | prismjs |Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.