6.1.0

hexojs/hexo6.1.0Mar 11, 2022by yoshinorin

AI Summary

Adds features for Table of Contents customization and fixes asset folder rendering restrictions.

Key Highlights

  • Support unnumbered headings in TOC.
  • Add line threshold option for code blocks.
  • Fix rendering restrictions for post asset folder.

New Features

  • Support unnumbered headings in TOC
  • Line threshold option for code blocks

Full Release Notes

## New Features

* feat(toc): Support unnumbered headings by @Cerallin in https://github.com/hexojs/hexo/pull/4871
* Exclude some languages in code highlighting by @corvofeng in https://github.com/hexojs/hexo/pull/3865
* Add line threshold option for codeblocks by @dbelokon in https://github.com/hexojs/hexo/pull/4821

## Fixes

* fix(#1490): if `post_asset_folder` is set, restrict renderable files to default file extension by @kristofzerbe in https://github.com/hexojs/hexo/pull/4781
* chore/fix(benchmark): fix benchmark on node 16+ by @SukkaW in https://github.com/hexojs/hexo/pull/4906
* fix: plugin loading conflict with @vercel/nft by @SukkaW in https://github.com/hexojs/hexo/pull/4863
* Fix js-yaml tags for v4.0.0+ by @marcofranssen in https://github.com/hexojs/hexo/pull/4869

## Tests

* chore/test: use chai#should by @SukkaW in https://github.com/hexojs/hexo/pull/4902

## Dependencies

* chore: bump eslint-config-hexo from 4.2.0 to 5.0.0 by @dependabot in https://github.com/hexojs/hexo/pull/4861
* chore: bump hexo-front-matter from 2.0.0 to 3.0.0 by @dependabot in https://github.com/hexojs/hexo/pull/4856
* chore: bump 0x from 4.11.0 to 5.0.0 by @dependabot in https://github.com/hexojs/hexo/pull/4846
* chore: bump hexo-util from 2.5.0 to 2.6.0 by @yoshinorin in https://github.com/hexojs/hexo/pull/4908
* chore(deps): update some dependencies minor & patch version by @yoshinorin in https://github.com/hexojs/hexo/pull/4898
* chore: bump hexo-renderer-marked from 4.1.0 to 5.0.0 by @dependabot in https://github.com/hexojs/hexo/pull/4891
* chore: bump actions/setup-node from 2 to 3 by @dependabot in https://github.com/hexojs/hexo/pull/4904

## Misc

* chore: delete question-help ISSUTE_TEMPLATE & add discussion link for question by @yoshinorin in https://github.com/hexojs/hexo/pull/4848
* github(pull_request_template): remove `How to test` section by @stevenjoezhang in https://github.com/hexojs/hexo/pull/4576
* fix: typo by @renbaoshuo in https://github.com/hexojs/hexo/pull/4896
* chore/ci: reply flamegraph URL in pull request by @stevenjoezhang in https://github.com/hexojs/hexo/pull/4793

## New Contributors

* @kristofzerbe made their first contribution in https://github.com/hexojs/hexo/pull/4781
* @marcofranssen made their first contribution in https://github.com/hexojs/hexo/pull/4869
* @dbelokon made their first contribution in https://github.com/hexojs/hexo/pull/4821
* @renbaoshuo made their first contribution in https://github.com/hexojs/hexo/pull/4896
* @corvofeng made their first contribution in https://github.com/hexojs/hexo/pull/3865
* @Cerallin made their first contribution in https://github.com/hexojs/hexo/pull/4871

**Full Changelog**: https://github.com/hexojs/hexo/compare/6.0.0...6.1.0