refs: GitHub Release Note: v8.0.0
Breaking Changes
- chore: drop Node.js 16 by @stevenjoezhang in #5592
- chore: drop Node.js 18 by @stevenjoezhang in #5674
New Features
- feat: bind hexo context to helper function callback by @dimaslanjaka in #5555
- feat: add url config validation by @ShaytonXu in #5578
- feat: add permalink variable
timestamp
by @uiolee in #5611 - feat: Support additional options for Backtick Code Block by @D-Sketon in #5625
- feat(load_config): enforce stricter extension checks by @stevenjoezhang in #5591
Fixes
- fix:changed the judgement of whether it has been injected by @mRNA16 in #5573
- fix(escapeAllSwigTags): backtrack when tag is incomplete by @D-Sketon in #5618
- fix:
hexo.locals.get('posts')
doesn’t show all posts by @D-Sketon in #5612 - fix: Parsing error for code blocks in list items by @D-Sketon in #5617
- fix(open_graph): sort the tags by @stevenjoezhang in #5656
- Escape HTML in title of
code
andinclude_code
tags by @tommy351 in #5688
Performances
- perf(external_link): optimize external link filter by @D-Sketon in #5598
- perf(PostCategory/PostTag): add binary relation index for performance by @D-Sketon in #5605
- perf(listArchives): add cache for posts by @D-Sketon in #5624
- perf(escapeAllSwigTags): reducing GC overhead by @D-Sketon in #5620
- perf: skip tag render when there is no swigTags by @D-Sketon in #5650
- perf: faster text-table by @D-Sketon in #5665
- warehouse6
Refactor
- refactor(common): delete unused function
ignoreTmpAndHiddenFile
by @yoshinorin in #5600 - delete scripts
pretest
by @uiolee in #5610 - refactor(moment): remove unused timezone setting by @stevenjoezhang in #5654
Test
- test(box/file): extend the mocha timeout to prevent the async file read test from failing by @yoshinorin in #5601
- test: improve coverage by @D-Sketon in #5638
Depenrencies
- chore(deps-dev): bump @types/node to ^20.16.10 by @uiolee in #5558
- chore(deps): remove resolve by @stevenjoezhang in #5594
- chore(deps): update dependencies by @yoshinorin in #5597
- chore(deps): update
cheerio
from0.22
to1.0.0
by @yoshinorin in #5603 - chore(deps): migrate
husky
from8.x
to9.x
by @yoshinorin in #5602 - chore(deps): update eslint by @stevenjoezhang in #5599
- chore(deps): bump actions/checkout from 4 to 5 by [@dependabot[bot]] in #5684
- chore(deps): bump strip-ansi from 6.0.1 to 7.1.0 by [@dependabot[bot]] in #5218
- chore: bump actions/setup-node from 4 to 5 by [@dependabot[bot]] in #5687
Misc
- chore(lint): apply eslint to test files by @yoshinorin in #5655
New Contributors
- @mRNA16 made their first contribution in #5573
- @ShaytonXu made their first contribution in #5578