Mryan2005 / mryan2005.github.io

https://mryan2005-github-io.vercel.app
1 stars 0 forks source link

Update dependency hexo to v6 [SECURITY] #59

Closed renovate[bot] closed 5 months ago

renovate[bot] commented 5 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
hexo (source) 3.9.0 -> 6.0.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2021-25987

Hexo versions 0.0.1 to 5.4.0 are vulnerable against stored XSS. The post “body” and “tags” don’t sanitize malicious javascript during web page generation. Local unprivileged attacker can inject arbitrary code.


Release Notes

hexojs/hexo (hexo) ### [`v6.0.0`](https://togithub.com/hexojs/hexo/releases/tag/6.0.0) [Compare Source](https://togithub.com/hexojs/hexo/compare/5.4.2...6.0.0) #### Breaking Changes - Drop Node 10 [@​stevenjoezhang](https://togithub.com/stevenjoezhang) \[[#​4779](https://togithub.com/hexojs/hexo/issues/4779), [#​4691](https://togithub.com/hexojs/hexo/issues/4691)] #### Security - Escape HTML by default in list_tag [@​tomap](https://togithub.com/tomap) \[[#​4743](https://togithub.com/hexojs/hexo/issues/4743)] **Please see more detail:** [Announcement: About CVE-2021-25987](https://togithub.com/hexojs/hexo/issues/4838) #### New features - feat: load hexo plugin in the theme's package.json [@​stevenjoezhang](https://togithub.com/stevenjoezhang) \[[#​4771](https://togithub.com/hexojs/hexo/issues/4771)] - feat(open_graph): different URLs for `og:image` and `twitter:image` [@​KentarouTakeda](https://togithub.com/KentarouTakeda) \[[#​4748](https://togithub.com/hexojs/hexo/issues/4748)] #### Performance - perf(tag/helper): memoize [@​SukkaW](https://togithub.com/SukkaW) \[[#​4789](https://togithub.com/hexojs/hexo/issues/4789)] - perf(external_link): optimize regex [@​SukkaW](https://togithub.com/SukkaW) \[[#​4790](https://togithub.com/hexojs/hexo/issues/4790)] - refactor/perf: use nanocolors [@​SukkaW](https://togithub.com/SukkaW) \[[#​4788](https://togithub.com/hexojs/hexo/issues/4788)] - Switch to picocolors [@​tomap](https://togithub.com/tomap) \[[#​4825](https://togithub.com/hexojs/hexo/issues/4825)] - perf: avoid using delete operator [@​SukkaW](https://togithub.com/SukkaW) \[[#​4711](https://togithub.com/hexojs/hexo/issues/4711)] - perf: overall improvements [@​SukkaW](https://togithub.com/SukkaW) \[[#​4783](https://togithub.com/hexojs/hexo/issues/4783)] - refactor/perf(post): use state machine to escape swig tag [@​SukkaW](https://togithub.com/SukkaW) \[[#​4780](https://togithub.com/hexojs/hexo/issues/4780)] - refactor: refactor pagination - paginatorHelper - pagenasionPartShow [@​CroMarmot](https://togithub.com/CroMarmot) \[[#​4662](https://togithub.com/hexojs/hexo/issues/4662)] #### Fixes - fix(post): escape swig full tag with args [@​stevenjoezhang](https://togithub.com/stevenjoezhang) \[[#​4824](https://togithub.com/hexojs/hexo/issues/4824)] - fix(processor): remove race condition failsafe [@​SukkaW](https://togithub.com/SukkaW) \[[#​4791](https://togithub.com/hexojs/hexo/issues/4791)] - fix([#​4780](https://togithub.com/hexojs/hexo/issues/4780)): curly brackets [@​SukkaW](https://togithub.com/SukkaW) \[[#​4784](https://togithub.com/hexojs/hexo/issues/4784)] - fix([#​4780](https://togithub.com/hexojs/hexo/issues/4780)): empty tag name correction [@​SukkaW](https://togithub.com/SukkaW) \[[#​4786](https://togithub.com/hexojs/hexo/issues/4786)] - Generate draft assets in draft mode [@​darekkay](https://togithub.com/darekkay) \[[#​4563](https://togithub.com/hexojs/hexo/issues/4563)] #### Refactor - refactor: native `Array.flat()` [@​curbengh](https://togithub.com/curbengh) \[[#​4806](https://togithub.com/hexojs/hexo/issues/4806)] #### Docs - doc: add homebrew install [@​chenrui333](https://togithub.com/chenrui333) \[[#​4724](https://togithub.com/hexojs/hexo/issues/4724)] - doc(extend/console): add jsdoc [@​SukkaW](https://togithub.com/SukkaW) \[[#​4500](https://togithub.com/hexojs/hexo/issues/4500)] #### Dependencies - Cleanup dependabot [@​tomap](https://togithub.com/tomap) \[[#​4820](https://togithub.com/hexojs/hexo/issues/4820)] - chore: bump actions/stale from 3 to 4 [@​dependabot](https://togithub.com/dependabot) \[[#​4828](https://togithub.com/hexojs/hexo/issues/4828)] - chore: bump sinon from 11.1.2 to 12.0.1 [@​dependabot](https://togithub.com/dependabot) \[[#​4810](https://togithub.com/hexojs/hexo/issues/4810)] - chore: bump eslint from 7.32.0 to 8.0.0 [@​dependabot](https://togithub.com/dependabot) \[[#​4799](https://togithub.com/hexojs/hexo/issues/4799)] - chore: bump hexo-log from 2.0.0 to 3.0.0 [@​dependabot](https://togithub.com/dependabot) \[[#​4794](https://togithub.com/hexojs/hexo/issues/4794)] - chore: bump husky from 4.3.8 to 7.0.2 [@​dependabot](https://togithub.com/dependabot) \[[#​4763](https://togithub.com/hexojs/hexo/issues/4763)] - chore: bump sinon from 10.0.1 to 11.1.2 [@​dependabot](https://togithub.com/dependabot) \[[#​4747](https://togithub.com/hexojs/hexo/issues/4747)] - chore: bump mocha from 8.4.0 to 9.1.1 [@​dependabot](https://togithub.com/dependabot) \[[#​4765](https://togithub.com/hexojs/hexo/issues/4765)] - chore: bump lint-staged from 10.5.4 to 11.0.0 [@​dependabot](https://togithub.com/dependabot) \[[#​4697](https://togithub.com/hexojs/hexo/issues/4697)] - Upgrade to GitHub-native Dependabot [@​dependabot-preview](https://togithub.com/dependabot-preview) \[[#​4689](https://togithub.com/hexojs/hexo/issues/4689)] - chore(deps-dev): bump sinon from 9.2.4 to 10.0.0 [@​dependabot-preview](https://togithub.com/dependabot-preview) \[[#​4670](https://togithub.com/hexojs/hexo/issues/4670)] - chore(deps-dev): bump hexo-renderer-marked from 3.3.0 to 4.0.0 [@​dependabot-preview](https://togithub.com/dependabot-preview) \[[#​4649](https://togithub.com/hexojs/hexo/issues/4649)] #### New Contributors - [@​CroMarmot](https://togithub.com/CroMarmot) made their first contribution in [https://github.com/hexojs/hexo/pull/4662](https://togithub.com/hexojs/hexo/pull/4662) - [@​darekkay](https://togithub.com/darekkay) made their first contribution in [https://github.com/hexojs/hexo/pull/4563](https://togithub.com/hexojs/hexo/pull/4563) - [@​dependabot](https://togithub.com/dependabot) made their first contribution in [https://github.com/hexojs/hexo/pull/4697](https://togithub.com/hexojs/hexo/pull/4697) - [@​chenrui333](https://togithub.com/chenrui333) made their first contribution in [https://github.com/hexojs/hexo/pull/4724](https://togithub.com/hexojs/hexo/pull/4724) **Full Changelog**: https://github.com/hexojs/hexo/compare/5.4.0...6.0.0 ### [`v5.4.2`](https://togithub.com/hexojs/hexo/releases/tag/5.4.2) [Compare Source](https://togithub.com/hexojs/hexo/compare/5.4.1...5.4.2) #### Fixes - fix([#​4917](https://togithub.com/hexojs/hexo/issues/4917)): downgrade `js-yaml` from `v4.x` to `v3.14.x` by [@​yoshinorin](https://togithub.com/yoshinorin) in [https://github.com/hexojs/hexo/pull/4932](https://togithub.com/hexojs/hexo/pull/4932) **Full Changelog**: https://github.com/hexojs/hexo/compare/5.4.1...5.4.2 ### [`v5.4.1`](https://togithub.com/hexojs/hexo/releases/tag/5.4.1) [Compare Source](https://togithub.com/hexojs/hexo/compare/5.4.0...5.4.1) #### Fixes - Fix js-yaml tags for v4.0.0+ ([#​4869](https://togithub.com/hexojs/hexo/issues/4869)) by [@​marcofranssen](https://togithub.com/marcofranssen) in [https://github.com/hexojs/hexo/pull/4876](https://togithub.com/hexojs/hexo/pull/4876) **Full Changelog**: https://github.com/hexojs/hexo/compare/5.4.0...5.4.1 ### [`v5.4.0`](https://togithub.com/hexojs/hexo/releases/tag/5.4.0) [Compare Source](https://togithub.com/hexojs/hexo/compare/5.3.0...5.4.0) #### New features - feat: handle config.root is not exist [@​jiangtj](https://togithub.com/jiangtj) \[[#​4616](https://togithub.com/hexojs/hexo/issues/4616)] #### Breaking change - fix(excerpt): use span instead of anchor element for better SEO performance [@​stevenjoezhang](https://togithub.com/stevenjoezhang) \[[#​4627](https://togithub.com/hexojs/hexo/issues/4627)] #### Fixes - fix(box): set property awaitWriteFinish for chokidar filewatcher [@​stevenjoezhang](https://togithub.com/stevenjoezhang) \[[#​4633](https://togithub.com/hexojs/hexo/issues/4633)] - fix(codeblock): match whitespace but not newlines [@​stevenjoezhang](https://togithub.com/stevenjoezhang) \[[#​4625](https://togithub.com/hexojs/hexo/issues/4625)] - fix(i18n): page.lang is undefined when using the key `language` in front-matter [@​stevenjoezhang](https://togithub.com/stevenjoezhang) \[[#​4614](https://togithub.com/hexojs/hexo/issues/4614)] #### Misc - github: update actions/setup-node action to v2 [@​stevenjoezhang](https://togithub.com/stevenjoezhang) \[[#​4604](https://togithub.com/hexojs/hexo/issues/4604)] - chore/ci: migrate from probot/stale to GitHub Actions [@​stevenjoezhang](https://togithub.com/stevenjoezhang) \[[#​4598](https://togithub.com/hexojs/hexo/issues/4598)] #### Dependencies - chore(deps): bump js-yaml from 3.14.1 to 4.0.0 [@​dependabot-preview](https://togithub.com/dependabot-preview) \[[#​4607](https://togithub.com/hexojs/hexo/issues/4607)] ### [`v5.3.0`](https://togithub.com/hexojs/hexo/releases/tag/5.3.0) [Compare Source](https://togithub.com/hexojs/hexo/compare/5.2.0...5.3.0) #### New features - expose `escape_html` helper method for string manipulation to templates [@​awwong1](https://togithub.com/awwong1) \[[#​4581](https://togithub.com/hexojs/hexo/issues/4581)] - list_tags: span element & custom class for label [@​noraj](https://togithub.com/noraj) \[[#​4578](https://togithub.com/hexojs/hexo/issues/4578)] #### Fixes - fix(load_plugins): ignore plugin whose name is started with "hexo-theme" [@​stevenjoezhang](https://togithub.com/stevenjoezhang) \[[#​4592](https://togithub.com/hexojs/hexo/issues/4592)] - fix(codeblock): closing code fence may be followed only by spaces [@​stevenjoezhang](https://togithub.com/stevenjoezhang) \[[#​4574](https://togithub.com/hexojs/hexo/issues/4574)] #### Refactor - Replace `process.mainModule` with `require.main` [@​stevenjoezhang](https://togithub.com/stevenjoezhang) \[[#​4583](https://togithub.com/hexojs/hexo/issues/4583)] #### Docs - docs(badge): replace david-dm with more reliable shields.io [@​curbengh](https://togithub.com/curbengh) \[[#​4538](https://togithub.com/hexojs/hexo/issues/4538)] ### [`v5.2.0`](https://togithub.com/hexojs/hexo/releases/tag/5.2.0) [Compare Source](https://togithub.com/hexojs/hexo/compare/5.1.1...5.2.0) #### Changes - perf(external_link): faster regexp [@​SukkaW](https://togithub.com/SukkaW) \[[#​4536](https://togithub.com/hexojs/hexo/issues/4536)] - prioritise `http(s)://` over `//` - feat: support 'disableNunjucks' in front-matter [@​curbengh](https://togithub.com/curbengh) \[[#​4518](https://togithub.com/hexojs/hexo/issues/4518)] - Enable this option to disable [tag plugin](https://hexo.io/docs/tag-plugins) - Setting this option in front-matter will override the same option set by the renderer (e.g. [hexo-renderer-marked](https://togithub.com/hexojs/hexo-renderer-marked)) ```yml --- title: foo date: 2020-01-02 03:04:05 disableNunjucks: true|false --- ``` - fix: avoid escaping front-matter if unnecessary [@​curbengh](https://togithub.com/curbengh) \[[#​4522](https://togithub.com/hexojs/hexo/issues/4522)] - using variable (e.g. `{{ title }}`) with special characters no longer result in double-quote wrap - fix: validate value of [config.url](https://hexo.io/docs/configuration#URL) [@​curbengh](https://togithub.com/curbengh) \[[#​4520](https://togithub.com/hexojs/hexo/issues/4520)] - `config.url` should starts with "http://" or "https://" - fix(router): convert string to buffer in route stream [@​ppoffice](https://togithub.com/ppoffice) \[[#​4517](https://togithub.com/hexojs/hexo/issues/4517)] - fix crash in `hexo generate --bail` - fix(disableNunjucks): query both async and sync versions of renderer [@​curbengh](https://togithub.com/curbengh) \[[#​4498](https://togithub.com/hexojs/hexo/issues/4498)] - [`disableNunjucks`](https://hexo.io/api/renderer#Disable-Nunjucks-tags) option should now works reliably with synchronous renderer - feat(load_plugin): ignore pkg name endswith theme name [@​SukkaW](https://togithub.com/SukkaW) \[[#​4497](https://togithub.com/hexojs/hexo/issues/4497)] - An initial effort to support scoped package #### Housekeeping - chore/ci: move benchmark & profiling to Actions [@​SukkaW](https://togithub.com/SukkaW) \[[#​4525](https://togithub.com/hexojs/hexo/issues/4525)] \[[#​4514](https://togithub.com/hexojs/hexo/issues/4514)] \[[#​4335](https://togithub.com/hexojs/hexo/issues/4335)] - Travis is now completely replaced by Actions (in this repo) - chore: use example.com for example domain [@​YoshinoriN](https://togithub.com/YoshinoriN) \[[#​4512](https://togithub.com/hexojs/hexo/issues/4512)] ### [`v5.1.1`](https://togithub.com/hexojs/hexo/releases/tag/5.1.1) [Compare Source](https://togithub.com/hexojs/hexo/compare/5.1.0...5.1.1) #### Changes - fix(filter/highlight): avoid escaping curly bracket when highlight & prismjs disabled [@​curbengh](https://togithub.com/curbengh) \[[#​4489](https://togithub.com/hexojs/hexo/issues/4489)] - When both highlight.js and prismjs are disabled: ```yml ``` ### \_config.yml highlight: enable: false prismjs enable: false * there was an issue that curly brackets `{ }` are escaped `&#​123; &#​125;` mistakenly in the [backtick_code_block.js](https://togithub.com/hexojs/hexo/blob/5795c1225f602ff0d5848fecf560fd33409cd96f/lib/plugins/filter/before_post_render/backtick_code_block.js) filter. The fix is to avoid running that filter when code highlight is disabled. * Some users disable Hexo's default code highlight as they prefer to their own method. ### [`v5.1.0`](https://togithub.com/hexojs/hexo/releases/tag/5.1.0) [Compare Source](https://togithub.com/hexojs/hexo/compare/5.0.2...5.1.0) #### Features - feat(highlight): parse 'caption' option to prismHighlight [@​curbengh](https://togithub.com/curbengh) \[[#​4476](https://togithub.com/hexojs/hexo/issues/4476)] - `caption` is now available in prismjs: ```yml ``` ### \_config.yml highlight: enable: false prismjs: enable: true * It can be used in triple backtick codeblock:
``` js caption
    console.log('foo')
    ```
* above codeblock will be rendered as: (class attributes are omitted for brevity) ``` html
caption
console...
``` * you can style the caption by: ``` css pre div.caption { font-size: 0.9em; color: #​888; } pre div.caption a { float: right; } ``` * also available via [`codeblock`](https://hexo.io/docs/tag-plugins#Code-Block) and [`include_code`](https://hexo.io/docs/tag-plugins#Include-Code) tag plugins. - fix: refactor post escape @​SukkaW [#​4472] * fixed issue with prismjs that, in some cases, did not remove hexo's processing tag properly - Remove plugins option in config @​stevenjoezhang [#​4475] ``` yml ### _config.yml plugins: - `plugins` option has been deprecated long ago and it's now completely dropped - plugins should be saved in `scripts/` folder or installed via npm `package.json`. #### Performance - perf(backtick_code): avoid duplicated escaping [@​SukkaW](https://togithub.com/SukkaW) \[[#​4478](https://togithub.com/hexojs/hexo/issues/4478)] ### [`v5.0.2`](https://togithub.com/hexojs/hexo/releases/tag/5.0.2) [Compare Source](https://togithub.com/hexojs/hexo/compare/5.0.1...5.0.2) #### Changes - Revert "perf: avoid running plugins in 'clean' command" \[[#​4386](https://togithub.com/hexojs/hexo/issues/4386)] [@​curbengh](https://togithub.com/curbengh) \[[#​4470](https://togithub.com/hexojs/hexo/issues/4470)] - This fixes error in `hexo clean`. ### [`v5.0.1`](https://togithub.com/hexojs/hexo/releases/tag/5.0.1) [Compare Source](https://togithub.com/hexojs/hexo/compare/5.0.0...5.0.1) #### Changes - fix(helpers): call url_for from hexo-util [@​curbengh](https://togithub.com/curbengh) \[[#​4447](https://togithub.com/hexojs/hexo/issues/4447)] - [helpers](https://hexo.io/docs/helpers) are now accessible from APIs such as [`Injector`](https://hexo.io/api/injector#Example) - perf(external_link): update regexp [@​SukkaW](https://togithub.com/SukkaW) \[[#​4467](https://togithub.com/hexojs/hexo/issues/4467)] - regex of [`external_link`](https://togithub.com/hexojs/hexo/blob/master/lib/plugins/filter/after_render/external_link.js) filter now pre-match external links, instead of solely rely on [`isExternalLink`](https://togithub.com/hexojs/hexo-util#isexternallinkurl-sitehost-exclude) - perf(injector): shorthand optimization [@​SukkaW](https://togithub.com/SukkaW) \[[#​4462](https://togithub.com/hexojs/hexo/issues/4462)] ### [`v5.0.0`](https://togithub.com/hexojs/hexo/releases/tag/5.0.0) [Compare Source](https://togithub.com/hexojs/hexo/compare/4.2.1...5.0.0) #### Breaking change - refactor(external_link): migrate config during load_config [@​SukkaW](https://togithub.com/SukkaW) \[[#​4414](https://togithub.com/hexojs/hexo/issues/4414)] \[[#​4371](https://togithub.com/hexojs/hexo/issues/4371)] - See [Writing](https://hexo.io/docs/configuration#Writing) section for new options (introduced back in v4) ```yml ``` ### \_config.yml external_link: true|false # deprecated ### New option external_link: enable: true|false ```` ``` yml ### _config.yml ### https://hexo.io/docs/configuration#Date-Time-format use_date_for_updated: true # deprecated ### New option updated_option: date ```` - If you check `external_link` for truthy value, since it's now automatically converted to object, it will be always truthy: ```js <% if (config.external_link) { %> ``` - If you wish to maintain backward compatibility with older Hexo versions: ```js <% if ((typeof config.external_link === 'boolean' && config.external_link === true) || (typeof config.external_link === 'object' && config.external_link.enable === true)) { %> ``` - refactor(box): remove Bluebird.asCallback [@​SukkaW](https://togithub.com/SukkaW) \[[#​4379](https://togithub.com/hexojs/hexo/issues/4379)] - Callback syntax for [`Box`](https://hexo.io/api/box) is never documented nor utilized in Hexo's internal. - This is also a reminder that we might drop callbacks from all Hexo API in future. \[[#​3328](https://togithub.com/hexojs/hexo/issues/3328)] - feat: bring up config.[updated_option](https://hexo.io/docs/configuration#Date-Time-format) [@​SukkaW](https://togithub.com/SukkaW) \[[#​4278](https://togithub.com/hexojs/hexo/issues/4278)] - This can be useful for a theme that prefers to display ` Updated: ` only when it's set in the article's front-matter. - feat(open_graph): drop 'keywords' option from front-matter [@​curbengh](https://togithub.com/curbengh) \[[#​4174](https://togithub.com/hexojs/hexo/issues/4174)] - Search engines no longer support `keywords`. - fix([#​3464](https://togithub.com/hexojs/hexo/issues/3464)): override permalink use the front-matter [@​SukkaW](https://togithub.com/SukkaW) \[[#​4359](https://togithub.com/hexojs/hexo/issues/4359)] - User config: ```yml ``` ### \_config.yml permalink: :year/:month/:day/:title/ ```` * Front-matter ``` yml --- title: foo bar permalink: breaking-news/ --- ```` - That post will be available on `http://yourhexo.com/breaking-news/` - A reminder that permalink must have a trailing `.html` or `/` ```yml permalink: :year/:month/:day/:title/ # default ### or permalink: :year/:month/:day/:title.html ``` - Remove lodash from global variable [@​SukkaW](https://togithub.com/SukkaW) \[[#​4266](https://togithub.com/hexojs/hexo/issues/4266)] - Lodash `_` is no longer available on Hexo API. - ```js // Dropped <% const arrayB = _.uniq(arrayA) %> ``` - We encourage the use over native JS API over Lodash, we find [this guide](https://togithub.com/you-dont-need/You-Dont-Need-Lodash-Underscore) to be helpful. - If you prefer to use Lodash, you can always install it and make it available via [`Helper`](https://hexo.io/api/helper) API - chore/ci: drop Node.js 8 and add Node.js 14 [@​SukkaW](https://togithub.com/SukkaW) \[[#​4255](https://togithub.com/hexojs/hexo/issues/4255)] - Node 8 has [reached EOL](https://togithub.com/nodejs/Release) on 31 Dec 2019. - Hexo now requires Node 10+; although Node 10.x is still supported, but it's going to be officially deprecated in less than a year (April 2021), so we recommend Node 12+. - refactor: remove site config from theme config [@​SukkaW](https://togithub.com/SukkaW) \[[#​4145](https://togithub.com/hexojs/hexo/issues/4145)] - Previously `hexo.theme.config` is merged into `hexo.config`, they are now separated to avoid possible conflict in configuration. #### New feature - feat([tag](https://hexo.io/api/tag)): show source of the error & beautify [@​SukkaW](https://togithub.com/SukkaW) \[[#​4420](https://togithub.com/hexojs/hexo/issues/4420)] - feat([post_link](https://hexo.io/docs/tag-plugins#Include-Posts)): better error message when a post could not be located \[[#​4426](https://togithub.com/hexojs/hexo/issues/4426)] - The error message is now clearer when there is an incorrect filename. - skip assets of unpublished posts and delete them if exist [@​DaemondShu](https://togithub.com/DaemondShu) \[[#​3489](https://togithub.com/hexojs/hexo/issues/3489)] - When there is an unpublished post: ```yml --- title: Still a draft.... published: false --- ``` - That post including its assets will not be generated into the `public/` folder. - feat(extend/injector): bring up new extend Injector [@​SukkaW](https://togithub.com/SukkaW) \[[#​4049](https://togithub.com/hexojs/hexo/issues/4049)] - Refer to the API [documentation](https://hexo.io/api/injector) for usage. - feat: add prism highlight support [@​SukkaW](https://togithub.com/SukkaW) \[[#​4119](https://togithub.com/hexojs/hexo/issues/4119)] - Refer to the [documentation](https://hexo.io/docs/syntax-highlight#PrismJS) for usage. - feat([tagcloud](https://hexo.io/docs/helpers#tagcloud)): new option class & level [@​stevenjoezhang](https://togithub.com/stevenjoezhang) \[[#​4370](https://togithub.com/hexojs/hexo/issues/4370)] - Ability to add class name for CSS styling. - feat(config): validate config before processing posts [@​SukkaW](https://togithub.com/SukkaW) \[[#​4381](https://togithub.com/hexojs/hexo/issues/4381)] - feat(post_permalink): add `:second` attribute option for post permalink [@​kkocdko](https://togithub.com/kkocdko) \[[#​4185](https://togithub.com/hexojs/hexo/issues/4185)] - Example: ```yml permalink: :year/:month/:day/:hour/:minute/:second/:title.html ``` - Refer to [Permalinks](https://hexo.io/docs/permalinks) for available attributes. - feat([youtube_tag](https://hexo.io/docs/tag-plugins#YouTube)): add cookie option [@​curbengh](https://togithub.com/curbengh) \[[#​4155](https://togithub.com/hexojs/hexo/issues/4155)] - When disabled, cookie is not set/sent in the youtube video embed. - feat(youtube_tag): support playlist [@​SukkaW](https://togithub.com/SukkaW) \[[#​4139](https://togithub.com/hexojs/hexo/issues/4139)] - Ability to embed a playlist. - feat(load_theme_config): support alternate theme config [@​SukkaW](https://togithub.com/SukkaW) \[[#​4120](https://togithub.com/hexojs/hexo/issues/4120)] - Theme can be configured in a file `_config.[name].yml`, e.g. `_config.landscape.yml` for [hexo-theme-landscape](https://togithub.com/hexojs/hexo-theme-landscape). - Placed the file in the root folder, same as the current `_config.yml`. - Refer to the [documentation](https://hexo.io/docs/configuration#Alternate-Theme-Config) for configuration priority. - feat([feed_tag](https://hexo.io/docs/helpers#feed-tag)): support parsing config.feed [@​curbengh](https://togithub.com/curbengh) \[[#​4029](https://togithub.com/hexojs/hexo/issues/4029)] - Better integration with [hexo-generator-feed](https://togithub.com/hexojs/hexo-generator-feed). - feat(tag): add unregister() method [@​SukkaW](https://togithub.com/SukkaW) \[[#​4046](https://togithub.com/hexojs/hexo/issues/4046)] - This means you can now unregister existing [tag plugins](https://hexo.io/docs/tag-plugins) and replace it with your own with the same name. - feat(filter): add `_after_html_render` filter [@​jiangtj](https://togithub.com/jiangtj) \[[#​4051](https://togithub.com/hexojs/hexo/issues/4051)] - perf(filter): set `after_render:html` as alias of `_after_html_render` [@​curbengh](https://togithub.com/curbengh) \[[#​4073](https://togithub.com/hexojs/hexo/issues/4073)] - Existing `after_render:html` filter plugins automatically benefit from this improvement. - feat(load_config): support theme_dir in node_modules [@​SukkaW](https://togithub.com/SukkaW) \[[#​4112](https://togithub.com/hexojs/hexo/issues/4112)] - fix(list_tags): custom class for each element [@​noraj](https://togithub.com/noraj) \[[#​4059](https://togithub.com/hexojs/hexo/issues/4059)] - Customize the class name for each element `
renovate[bot] commented 5 months ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 6.x releases. But if you manually upgrade to 6.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.