要件

Spring Data MongoDB 5.x バイナリには、JDK レベル 17 以降および Spring Framework 7.0.3 以降が必要です。

互換性マトリックス

Spring Data のサポートタイムラインの詳細については、OSS サポートを参照してください。
MongoDB サーバーサポートポリシーについては、MongoDB Software Lifecycle Schedule (英語) を参照してください。

The following compatibility matrix summarizes Spring Data versions and their required minimum MongoDB client version. Database versions show server generations that pass the Spring Data test suite, older server versions might have difficulties dealing with new/changed commands. You may use newer server versions unless your application uses functionality that is affected by changes in the MongoDB server. See also the official MongoDB driver compatibility matrix (英語) for driver- and server version compatibility.

Spring Data リリーストレイン Spring Data MongoDB 最小ドライバーバージョン Tested Database Versions

2025.1

5.0.x

5.6.x

6.x to 8.x

2025.0

4.5.x

5.5.x

6.x to 8.x

2024.1

4.4.x

5.2.x

4.4.x to 8.x

2024.0

4.3.x

4.11.x & 5.x

4.4.x to 7.x

2023.1

4.2.x

4.9.x

4.4.x to 7.x

MongoDB 4.4 の関連する変更

  • $text 条件が存在しない場合、フィールドリストにテキスト検索スコアプロパティを含めることはできません。$text オペレーター (英語) も参照

  • Map Reduce を実行する場合、Sort は空のドキュメントであってはなりません。

MongoDB 4.2 の関連する変更