hexojs/hexo (hexo)
### [`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
### [`v6.3.0`](https://togithub.com/hexojs/hexo/releases/tag/6.3.0)
[Compare Source](https://togithub.com/hexojs/hexo/compare/6.2.0...6.3.0)
#### New Features
- feat(tag/post_link): throw on post_link error by [@xbc5](https://togithub.com/xbc5) in [https://github.com/hexojs/hexo/pull/4938](https://togithub.com/hexojs/hexo/pull/4938)
- feat(tag/include_code): robust for url compuation of `view raw` by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/4996](https://togithub.com/hexojs/hexo/pull/4996)
- feat(paginator): allow custom class name by [@renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/hexojs/hexo/pull/5001](https://togithub.com/hexojs/hexo/pull/5001)
- feat(helper/toc): more flexible class name by [@renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/hexojs/hexo/pull/5010](https://togithub.com/hexojs/hexo/pull/5010)
- feat(helper/tagcloud): show_count option ([#5047](https://togithub.com/hexojs/hexo/issues/5047)) by [@renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/hexojs/hexo/pull/5048](https://togithub.com/hexojs/hexo/pull/5048)
- feat(tag/code): add `language_attr` option ([hexojs/hexo-util#278](https://togithub.com/hexojs/hexo-util/issues/278)) by [@renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/hexojs/hexo/pull/5017](https://togithub.com/hexojs/hexo/pull/5017)
- feat(helper/is): add `is_home_first_page()` helper by [@renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/hexojs/hexo/pull/5006](https://togithub.com/hexojs/hexo/pull/5006)
#### Improvements
- let post_link use original post title as title attribute by [@ppwwyyxx](https://togithub.com/ppwwyyxx) in [https://github.com/hexojs/hexo/pull/4973](https://togithub.com/hexojs/hexo/pull/4973)
#### Fixes
- fix(hexo/index): `db.json` file path in debug logging on Windows by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/4994](https://togithub.com/hexojs/hexo/pull/4994)
- fix(tag): show source file in unformatted error message by [@curbengh](https://togithub.com/curbengh) in [https://github.com/hexojs/hexo/pull/5031](https://togithub.com/hexojs/hexo/pull/5031)
- Don't use data-uri for og:image by [@KentarouTakeda](https://togithub.com/KentarouTakeda) in [https://github.com/hexojs/hexo/pull/5053](https://togithub.com/hexojs/hexo/pull/5053)
#### Refactors
- refactor(helper/open_graph): use whatwg url api by [@renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/hexojs/hexo/pull/5007](https://togithub.com/hexojs/hexo/pull/5007)
- chore(mail_to): use native URLSearchParams by [@renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/hexojs/hexo/pull/5002](https://togithub.com/hexojs/hexo/pull/5002)
#### Test
- test: replace nyc with c8 by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/5040](https://togithub.com/hexojs/hexo/pull/5040)
- chore(test/extend/tag): async function ([#3328](https://togithub.com/hexojs/hexo/issues/3328)) by [@renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/hexojs/hexo/pull/5003](https://togithub.com/hexojs/hexo/pull/5003)
#### CI/CD
- chore: Set permissions for GitHub actions by [@neilnaveen](https://togithub.com/neilnaveen) in [https://github.com/hexojs/hexo/pull/4947](https://togithub.com/hexojs/hexo/pull/4947)
- chore: delete `release-drafter` by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5044](https://togithub.com/hexojs/hexo/pull/5044)
- chore: improved benchmark result in github actions by [@renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/hexojs/hexo/pull/5013](https://togithub.com/hexojs/hexo/pull/5013)
#### Dependencies
- chore(deps): bump hexo-util and warehouse by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5028](https://togithub.com/hexojs/hexo/pull/5028)
- chore(deps): bump hexo-log from 3.0.0 to 3.2.0 by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5054](https://togithub.com/hexojs/hexo/pull/5054)
#### Misc
- Update license year by [@renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/hexojs/hexo/pull/5041](https://togithub.com/hexojs/hexo/pull/5041)
- chore: update issue template by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/5030](https://togithub.com/hexojs/hexo/pull/5030)
- chore: update .gitignore by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/4967](https://togithub.com/hexojs/hexo/pull/4967)
#### New Contributors
- [@xbc5](https://togithub.com/xbc5) made their first contribution in [https://github.com/hexojs/hexo/pull/4938](https://togithub.com/hexojs/hexo/pull/4938)
- [@neilnaveen](https://togithub.com/neilnaveen) made their first contribution in [https://github.com/hexojs/hexo/pull/4947](https://togithub.com/hexojs/hexo/pull/4947)
- [@ppwwyyxx](https://togithub.com/ppwwyyxx) made their first contribution in [https://github.com/hexojs/hexo/pull/4973](https://togithub.com/hexojs/hexo/pull/4973)
**Full Changelog**: https://github.com/hexojs/hexo/compare/6.2.0...6.3.0
### [`v6.2.0`](https://togithub.com/hexojs/hexo/releases/tag/6.2.0)
[Compare Source](https://togithub.com/hexojs/hexo/compare/6.1.0...6.2.0)
#### Fixes
- fix([#4917](https://togithub.com/hexojs/hexo/issues/4917)): suppress YAMLException when load js-yaml by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/4927](https://togithub.com/hexojs/hexo/pull/4927)
- This change is workaround for [#4917](https://togithub.com/hexojs/hexo/issues/4917). Please see PR comments.
- chore(deps): bump warehouse from 4.0.0 to 4.0.1 by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/4943](https://togithub.com/hexojs/hexo/pull/4943)
- This change is workaround for [#4922](https://togithub.com/hexojs/hexo/issues/4922). Please see [https://github.com/hexojs/warehouse/pull/123](https://togithub.com/hexojs/warehouse/pull/123)
#### Refactors
- chore: replace deprecated String.prototype.substr() by [@CommanderRoot](https://togithub.com/CommanderRoot) in [https://github.com/hexojs/hexo/pull/4918](https://togithub.com/hexojs/hexo/pull/4918)
#### Dependencies
- chore: bump sinon from 12.0.1 to 13.0.2 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/4944](https://togithub.com/hexojs/hexo/pull/4944)
- chore: bump mocha from 9.2.2 to 10.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/4960](https://togithub.com/hexojs/hexo/pull/4960)
- chore(deps): bump hexo-util from 2.6.0 to 2.6.1 by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/4957](https://togithub.com/hexojs/hexo/pull/4957)
- chore: bump actions/checkout from 2 to 3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/4905](https://togithub.com/hexojs/hexo/pull/4905)
#### Miscs
- chore(bot): delete stale bot by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/4901](https://togithub.com/hexojs/hexo/pull/4901)
- chore(ISSUE_TEMPLATE): delete `Your theme _config.yml` section by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/4931](https://togithub.com/hexojs/hexo/pull/4931)
#### New Contributors
- [@CommanderRoot](https://togithub.com/CommanderRoot) made their first contribution in [https://github.com/hexojs/hexo/pull/4918](https://togithub.com/hexojs/hexo/pull/4918)
**Full Changelog**: https://github.com/hexojs/hexo/compare/6.1.0...6.2.0
### [`v6.1.0`](https://togithub.com/hexojs/hexo/releases/tag/6.1.0)
[Compare Source](https://togithub.com/hexojs/hexo/compare/6.0.0...6.1.0)
#### New Features
- feat(toc): Support unnumbered headings by [@Cerallin](https://togithub.com/Cerallin) in [https://github.com/hexojs/hexo/pull/4871](https://togithub.com/hexojs/hexo/pull/4871)
- Exclude some languages in code highlighting by [@corvofeng](https://togithub.com/corvofeng) in [https://github.com/hexojs/hexo/pull/3865](https://togithub.com/hexojs/hexo/pull/3865)
- Add line threshold option for codeblocks by [@dbelokon](https://togithub.com/dbelokon) in [https://github.com/hexojs/hexo/pull/4821](https://togithub.com/hexojs/hexo/pull/4821)
#### Fixes
- fix([#1490](https://togithub.com/hexojs/hexo/issues/1490)): if `post_asset_folder` is set, restrict renderable files to default file extension by [@kristofzerbe](https://togithub.com/kristofzerbe) in [https://github.com/hexojs/hexo/pull/4781](https://togithub.com/hexojs/hexo/pull/4781)
- chore/fix(benchmark): fix benchmark on node 16+ by [@SukkaW](https://togithub.com/SukkaW) in [https://github.com/hexojs/hexo/pull/4906](https://togithub.com/hexojs/hexo/pull/4906)
- fix: plugin loading conflict with [@vercel/nft](https://togithub.com/vercel/nft) by [@SukkaW](https://togithub.com/SukkaW) in [https://github.com/hexojs/hexo/pull/4863](https://togithub.com/hexojs/hexo/pull/4863)
- Fix js-yaml tags for v4.0.0+ by [@marcofranssen](https://togithub.com/marcofranssen) in [https://github.com/hexojs/hexo/pull/4869](https://togithub.com/hexojs/hexo/pull/4869)
#### Tests
- chore/test: use chai#should by [@SukkaW](https://togithub.com/SukkaW) in [https://github.com/hexojs/hexo/pull/4902](https://togithub.com/hexojs/hexo/pull/4902)
#### Dependencies
- chore: bump eslint-config-hexo from 4.2.0 to 5.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/4861](https://togithub.com/hexojs/hexo/pull/4861)
- chore: bump hexo-front-matter from 2.0.0 to 3.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/4856](https://togithub.com/hexojs/hexo/pull/4856)
- chore: bump 0x from 4.11.0 to 5.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/4846](https://togithub.com/hexojs/hexo/pull/4846)
- chore: bump hexo-util from 2.5.0 to 2.6.0 by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/4908](https://togithub.com/hexojs/hexo/pull/4908)
- chore(deps): update some dependencies minor & patch version by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/4898](https://togithub.com/hexojs/hexo/pull/4898)
- chore: bump hexo-renderer-marked from 4.1.0 to 5.0.0 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/4891](https://togithub.com/hexojs/hexo/pull/4891)
- chore: bump actions/setup-node from 2 to 3 by [@dependabot](https://togithub.com/dependabot) in [https://github.com/hexojs/hexo/pull/4904](https://togithub.com/hexojs/hexo/pull/4904)
#### Misc
- chore: delete question-help ISSUTE_TEMPLATE & add discussion link for question by [@yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/4848](https://togithub.com/hexojs/hexo/pull/4848)
- github(pull_request_template): remove `How to test` section by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/4576](https://togithub.com/hexojs/hexo/pull/4576)
- fix: typo by [@renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/hexojs/hexo/pull/4896](https://togithub.com/hexojs/hexo/pull/4896)
- chore/ci: reply flamegraph URL in pull request by [@stevenjoezhang](https://togithub.com/stevenjoezhang) in [https://github.com/hexojs/hexo/pull/4793](https://togithub.com/hexojs/hexo/pull/4793)
#### New Contributors
- [@kristofzerbe](https://togithub.com/kristofzerbe) made their first contribution in [https://github.com/hexojs/hexo/pull/4781](https://togithub.com/hexojs/hexo/pull/4781)
- [@marcofranssen](https://togithub.com/marcofranssen) made their first contribution in [https://github.com/hexojs/hexo/pull/4869](https://togithub.com/hexojs/hexo/pull/4869)
- [@dbelokon](https://togithub.com/dbelokon) made their first contribution in [https://github.com/hexojs/hexo/pull/4821](https://togithub.com/hexojs/hexo/pull/4821)
- [@renbaoshuo](https://togithub.com/renbaoshuo) made their first contribution in [https://github.com/hexojs/hexo/pull/4896](https://togithub.com/hexojs/hexo/pull/4896)
- [@corvofeng](https://togithub.com/corvofeng) made their first contribution in [https://github.com/hexojs/hexo/pull/3865](https://togithub.com/hexojs/hexo/pull/3865)
- [@Cerallin](https://togithub.com/Cerallin) made their first contribution in [https://github.com/hexojs/hexo/pull/4871](https://togithub.com/hexojs/hexo/pull/4871)
**Full Changelog**: https://github.com/hexojs/hexo/compare/6.0.0...6.1.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 generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^6.0.0
->^7.0.0
Release Notes
hexojs/hexo (hexo)
### [`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 has been generated by Mend Renovate. View repository job log here.