官方外掛 hexo-util 1.0.0 & hexo-renderer-marked 2.0.0 發佈

我們發佈了官方外掛 hexo-util & hexo-renderer-marked 的新版本。

hexo-util 1.0.0

重大變更

  • 移除 Node 6 的相容性 #61
  • 棄用 hashStream #45,請使用 createSha1Hash()

新功能

  • 從 tagcloud hexo helper 加入 Color 類別 #58
  • 允許 html 標籤 helper 中有空屬性 #36

修復

  • 使用 fs.write 取代 stdout #69
  • 防止 firstLine 被解析為字串 #67
  • 修復公開 API createSha1Hash() 未被導出的問題 #47

重構

hexo-renderer-marked 2.0.0

重大變更

  • 移除 Node 6 的相容性 #98
  • sanitize 選項已被棄用,改為使用功能受限的 sanitizeUrl #102
  • tables 選項已被棄用。啟用 gfm 選項也會啟用 tables #102
  • 關於可能發生的重大變更細節,請參考上游的 更新日誌

新功能

  • 新增停用 headerIds 的選項 #106

重構