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
> **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
```
#### 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)
#### 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 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)
- 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 generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
6.3.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 > **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 ``` #### 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) #### 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 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) - 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.0Configuration
π 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.
This change isβ