官方外掛 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 tokenizer 方法,由 @yoshinorin#218 中貢獻

相依性

  • chore(deps): 將 marked 從 2.1.3 升級到 3.0.4,由 @dependabot 在 #208 中貢獻
  • chore(deps): 將 marked 從 3.0.8 升級到 4.0.1,由 @dependabot 在 #214 中貢獻
  • chore(deps): 將 jsdom 從 16.7.0 升級到 17.0.0,由 @dependabot 在 #199 中貢獻
  • chore(deps): 將 jsdom 從 17.0.0 升級到 18.0.0,由 @dependabot 在 #212 中貢獻
  • chore(deps): 將 jsdom 從 18.1.1 升級到 19.0.0,由 @dependabot 在 #215 中貢獻
  • chore(deps-dev): 將 eslint 從 7.32.0 升級到 8.0.0,由 @dependabot 在 #211 中貢獻
  • chore(deps-dev): 將 hexo 從 5.4.0 升級到 6.0.0,由 @dependabot 在 #217 中貢獻
  • chore(deps-dev): 將 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

重大變更

  • chore: 移除 node.js 10.x 的支援,由 @yoshinorin#168 中貢獻

效能

  • perf(#57): 避免每次渲染檔案時都建立實例,由 @yoshinorin#135 中貢獻

文件

  • docs: 新增如何將自訂函式加入外掛的範例,由 @curbengh#128 中貢獻
  • docs(slugize): 預設分隔符號為破折號,由 @curbengh#130 中貢獻
  • 將所有文件移到 readme 內,由 @tomap#154 中貢獻

測試

相依性

  • chore(deps): 將 markdown-it 從 11.0.1 升級到 12.0.0,由 @dependabot-preview 在 #133 中貢獻
  • chore(deps): 將 markdown-it-emoji 從 1.4.0 升級到 2.0.0,由 @dependabot-preview 在 #134 中貢獻
  • chore(ci): 從 TravisCI 遷移到 GitHub Actions,由 @yoshinorin#169 中貢獻
  • chore(deps-dev): 將 hexo 從 5.4.0 升級到 6.0.0,由 @dependabot 在 #166 中貢獻
  • chore(deps-dev): 將 mocha 從 8.4.0 升級到 9.1.3,由 @dependabot 在 #158 中貢獻
  • chore(deps-dev): 將 eslint 從 7.32.0 升級到 8.6.0,由 @dependabot 在 #170 中貢獻
  • chore(deps-dev): 將 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