官方插件 hexo-renderer-marked 5.0.0 和 hexo-renderer-markdown-it 6.0.0 发布

hexo-renderer-marked 5.0.0

重大变更

  • 支持 node >=12,由 @tomap#201 中提交
  • 默认启用 prependRoot,由 @tomap#203 中提交

重构

  • 重构:调用父类 URL 标记器方法,由 @yoshinorin#218 中提交

依赖

  • 依赖更新:将 marked 从 2.1.3 升级至 3.0.4,由 @dependabot 在 #208 中提交
  • 依赖更新:将 marked 从 3.0.8 升级至 4.0.1,由 @dependabot 在 #214 中提交
  • 依赖更新:将 jsdom 从 16.7.0 升级至 17.0.0,由 @dependabot 在 #199 中提交
  • 依赖更新:将 jsdom 从 17.0.0 升级至 18.0.0,由 @dependabot 在 #212 中提交
  • 依赖更新:将 jsdom 从 18.1.1 升级至 19.0.0,由 @dependabot 在 #215 中提交
  • 依赖更新:将 eslint 从 7.32.0 升级至 8.0.0,由 @dependabot 在 #211 中提交
  • 依赖更新:将 hexo 从 5.4.0 升级至 6.0.0,由 @dependabot 在 #217 中提交
  • 依赖更新:将 eslint-config-hexo 从 4.2.0 升级至 5.0.0,由 @dependabot 在 #129 中提交

文档

  • 解释使用该插件的安全风险,由 @tomap#210 中提交

完整变更日志: https://github.com/hexojs/hexo-renderer-marked/compare/v4.1.0...5.0.0


hexo-renderer-markdown-it 6.0.0

重大变更

性能

  • 性能优化(#57):避免每次渲染文件时创建实例,由 @yoshinorin#135 中提交

文档

  • 文档:添加将自定义函数添加到插件的示例,由 @curbengh#128 中提交
  • 文档(slugize):默认分隔符为连字符,由 @curbengh#130 中提交
  • 将所有文档移至 readme 中,由 @tomap#154 中提交

测试

  • 测试(插件):自定义选项,由 @curbengh#127 中提交
  • 测试:'langPrefix' 选项,由 @curbengh#129 中提交

依赖

  • 依赖更新:将 markdown-it 从 11.0.1 升级至 12.0.0,由 @dependabot-preview 在 #133 中提交
  • 依赖更新:将 markdown-it-emoji 从 1.4.0 升级至 2.0.0,由 @dependabot-preview 在 #134 中提交
  • 依赖更新:将 CI 迁移至 GitHub Actions,由 @yoshinorin#169 中提交
  • 依赖更新:将 hexo 从 5.4.0 升级至 6.0.0,由 @dependabot 在 #166 中提交
  • 依赖更新:将 mocha 从 8.4.0 升级至 9.1.3,由 @dependabot 在 #158 中提交
  • 依赖更新:将 eslint 从 7.32.0 升级至 8.6.0,由 @dependabot 在 #170 中提交
  • 依赖更新:将 eslint-config-hexo 从 4.2.0 升级至 5.0.0,由 @dependabot 在 #172 中提交

其他

  • 清理测试,由 @curbengh#132 中提交
  • 升级至 GitHub 原生 Dependabot,由 @dependabot-preview 在 #145 中提交

新贡献者

  • @tomap# 中贡献了他们的第一个代码

完整变更日志: https://github.com/hexojs/hexo-renderer-markdown-it/compare/5.0.0...6.0.0