Hexo 6.0.0 版本發佈

Hexo v6 需要 Node.js 12.13+ 以上版本。請使用 Node.js 12+。

若要升級至 Hexo v6,請在您的 package.json 中更改以下行:

package.json
-  "hexo": "^5.4.1",
+ "hexo": "^6.0.0",

重大變更

安全性

  • 在 list_tag 中預設啟用 HTML 逸出 @tomap #4743

請參閱更多詳細資訊: 公告:關於 CVE-2021-25987

新功能

效能

錯誤修正

重構

文件

相依性

  • 清理 dependabot @tomap #4820
  • chore:將 actions/stale 從 3 更新至 4 @dependabot #4828
  • chore:將 sinon 從 11.1.2 更新至 12.0.1 @dependabot #4810
  • chore:將 eslint 從 7.32.0 更新至 8.0.0 @dependabot #4799
  • chore:將 hexo-log 從 2.0.0 更新至 3.0.0 @dependabot #4794
  • chore:將 husky 從 4.3.8 更新至 7.0.2 @dependabot #4763
  • chore:將 sinon 從 10.0.1 更新至 11.1.2 @dependabot #4747
  • chore:將 mocha 從 8.4.0 更新至 9.1.1 @dependabot #4765
  • chore:將 lint-staged 從 10.5.4 更新至 11.0.0 @dependabot #4697
  • 升級至 GitHub 原生 Dependabot @dependabot-preview #4689
  • chore(deps-dev):將 sinon 從 9.2.4 更新至 10.0.0 @dependabot-preview #4670
  • chore(deps-dev):將 hexo-renderer-marked 從 3.3.0 更新至 4.0.0 @dependabot-preview #4649

新貢獻者

完整變更日誌https://github.com/hexojs/hexo/compare/5.4.0...6.0.0