移行ガイド
いくつかの組み込みタグが削除されました(例:gist
, youtube
, jsfiddle
, および vimeo
)。既存のブログ記事でこれらのタグを使用している場合は、hexo-tag-embed をインストールすると、Hexo 7.0.0 で引き続き使用できます。
$ npm i hexo-tag-embed |
注意
投稿やページで
gist
,youtube
,jsfiddle
,vimeo
タグを使用していない(または使用しない)場合は、インストールする必要はありません。
破壊的変更
- chore: node14+ を必須とする by @yoshinorin in #5061
- タグ機能の削除。
移行ガイド
セクションを参照してください。- refactor:
gist
タグの削除 by @yoshinorin in #5067 - refactor:
youtube
タグの削除 by @yoshinorin in #5064 - refactor:
jsfiddle
タグの削除 by @yoshinorin in #5066 - refactor:
vimeo
タグの削除 by @yoshinorin in #5065
- refactor:
- 削除された機能
- refactor:
external_link
ブール型の削除 by @yoshinorin in #5063 - refactor:
updated_option
のuse_date_for_updated
オプションの削除 by @yoshinorin in #5062
- refactor:
注目すべき変更点
- TypeScriptへの移行
- refactor: TypeScriptへの移行準備 by @stevenjoezhang in #5094
- refactor: TypeScriptへの移行 by @stevenjoezhang in #5092
新機能
- feat(tags/post_link): スラッグとタイトルの両方を検索 by @stevenjoezhang in #5114
- feat(open_graph): google_plus を削除 by @stevenjoezhang in #5115
- feat(tags/img): img タイトルと alt で引用符をサポート by @stevenjoezhang in #5112
- feat(console-new): パスからデフォルトのタイトルをサポート by @xu-song in #4714
- feat: 投稿でタイトルケースを無効にするオプションを追加 by @renbaoshuo in #5156
バグ修正
- fix(#1099): 設定変更時のhexoサーバーエラー by @D-Sketon in #5055
- fix: コードブロックで exclude_languages が機能しない by @stevenjoezhang in #5088
- プロミス化時に、ストアが disableNunjucks プロパティを保持しない by @tcr in #2670
- fix(post): 投稿以外で before_post_render と after_post_render をスキップ by @stevenjoezhang in #5118
- fix: 特殊文字を含むタイトルで投稿を作成できない by @D-Sketon in #5149
- fix(box): 無効なファイルをチェック by @stevenjoezhang in #5173
パフォーマンス
- perf: 投稿のトラバース回数を削減 by @stevenjoezhang in #5119
リファクタリング
- refactor highlight: ハイライト用の拡張 API を追加 by @stevenjoezhang in #5095
- refactor:
url.resolve
の代わりにWHATWG URL API
を使用 by @yoshinorin in #5136
依存関係
- chore: sinon を 13.0.2 から 14.0.0 に更新 by @dependabot in #4965
- chore: lint-staged を 11.2.6 から 13.0.3 に更新 by @dependabot in #5008
- chore: husky を 7.0.4 から 8.0.1 に更新 by @dependabot in #4966
- chore: hexo-fs を 3.1.0 から 4.0.0 に更新 by @dependabot in #5077
- chore: hexo-renderer-marked を 5.0.0 から 6.0.0 に更新 by @dependabot in #5081
- chore: hexo-front-matter を 3.0.0 から 4.0.0 に更新 by @dependabot in #5087
- chore: abbrev を 1.1.1 から 2.0.0 に更新 by @dependabot in #5093
- chore: hexo-i18n を 1.0.0 から 2.0.0 に更新 by @dependabot in #5099
- chore: hexo-util を 2.7.0 から 3.0.1 に更新 by @dependabot in #5107
- chore: warehouse を 4.0.2 から 5.0.0 に更新 by @dependabot in #5101
- chore(deps):
hexo-log
を3.2.0
から4.0.1
に更新 by @yoshinorin in #5096 - chore: sinon を 14.0.2 から 15.0.0 に更新 by @dependabot in #5121
テスト
- test(benchmark): hexo-many-posts リポジトリを更新 by @SukkaW in #5128
- test(list_route): カバレッジを改善 by @stevenjoezhang in #5097