新功能
- feat(tag/post_link): 由 @xbc5 在 #4938 中添加,在 post_link 错误时抛出异常
- feat(tag/include_code): 由 @stevenjoezhang 在 #4996 中添加,对
view raw的 url 计算进行增强 - feat(paginator): 由 @renbaoshuo 在 #5001 中添加,允许自定义类名
- feat(helper/toc): 由 @renbaoshuo 在 #5010 中添加,更灵活的类名
- feat(helper/tagcloud): 由 @renbaoshuo 在 #5048 中添加,show_count 选项 (#5047)
- feat(tag/code): 由 @renbaoshuo 在 #5017 中添加,添加
language_attr选项 (hexojs/hexo-util#278) - feat(helper/is): 由 @renbaoshuo 在 #5006 中添加,添加
is_home_first_page()辅助函数
改进
修复
- fix(hexo/index): 由 @stevenjoezhang 在 #4994 中修复,在 Windows 上修复调试日志中
db.json文件路径问题 - fix(tag): 由 @curbengh 在 #5031 中修复,在非格式化错误消息中显示源文件
- 由 @KentarouTakeda 在 #5053 中修复,不要对 og:image 使用 data-uri
重构
- refactor(helper/open_graph): 由 @renbaoshuo 在 #5007 中重构,使用 whatwg url api
- chore(mail_to): 由 @renbaoshuo 在 #5002 中重构,使用原生 URLSearchParams
测试
- test: 由 @stevenjoezhang 在 #5040 中添加,使用 c8 替换 nyc
- chore(test/extend/tag): 由 @renbaoshuo 在 #5003 中添加,异步函数 (#3328)
CI/CD
- chore: 由 @neilnaveen 在 #4947 中添加,设置 GitHub actions 的权限
- chore: 由 @yoshinorin 在 #5044 中添加,删除
release-drafter - chore: 由 @renbaoshuo 在 #5013 中添加,改进 github actions 中的基准测试结果
依赖
- chore(deps): 由 @yoshinorin 在 #5028 中添加,更新 hexo-util 和 warehouse
- chore(deps): 由 @yoshinorin 在 #5054 中添加,将 hexo-log 从 3.0.0 更新到 3.2.0
杂项
- 由 @renbaoshuo 在 #5041 中添加,更新许可证年份
- chore: 由 @yoshinorin 在 #5030 中添加,更新 issue 模板
- chore: 由 @yoshinorin 在 #4967 中添加,更新 .gitignore