📗 Links
⭐ New Features
- Support for BulkWrite into multiple collections #5169
- Accept TypedPropertyPath for Update and Criteria Query paths #5148
- Support
IsEmptyandIsNotEmptykeywords in derived queries #5147 - Add Kotlin extension for
findAndModifywithout options parameter #5130 - Add Kotlin extension for
findAndModifywithout options parameter #5128 - Support showExpandedEvents in change streams #5112
- Add support for Bulk Write into multiple collections #5087
- Deprecate Observability API #5079
- Add support to emit expanded change stream events #5069
- Migrate to JSpecify annotations for nullability constraints #4874
- Repository query keyword IS_EMPTY not supported #4606
- Add
@Transientproperties toPersistentEntityand use value defaulting for transient constructor properties #2985
🐞 Bug Fixes
- AOT-generated repository implementation ignores query method return type, always uses repository domain type #5179
- AOT-generated repository implementation ignores query method return type, always uses repository domain type #5178
- ScrollUtils must not modify source query when creating scroll filter. #5160
UnsupportedOperationExceptionwhen scrolling through all entities #5159- Move id check to after conversion event publication in reactive flow #5156
- Reactive save
BeforeConvertcallback not invoked before ID validation for non-versioned entities #5155 - Retain type for bitwise update #5153
- BitwiseOperatorBuilder should have int overloads to avoid implicit type conversion #5146
- Allow single-element contains for derived AOT queries #5124
- AOT Repository query for
...In(String)produces invalid$in#5123 - Fix Map projection for aggregations #5117
MongoTemplate.aggregate(…, Map.class)considersMapan entity projection #5115- Use explicitly configured
MongoOperationsfor AOT fragment bootstrap #5108 - Generated
repositoryFragmentsFunctionignoresMongoTemplatebean reference name #5107
📔 Documentation
- Add missing exclusion of legacy MongoDB v3 driver to Gradle build script snippet #5196
- Fix small typos in documentation #5186
- Update compatibility matrix documentation #5138
- Update Driver Compatibility Matrix #5136
- Documentation about optimistic locking could be more precise #5126
- Aggregation framework
rangeandsplitoperators improperly formatted in documentation #5104 - Polish: fix grammar in mongo-encryption.adoc #5026
- Misleading links in repositories reference documentation overview #3463
- Refine Antora-build #2797
- Add Readme templates #2758
🔨 Dependency Upgrades
- Upgrade to Maven Wrapper 3.9.16 #5198
- Upgrade to Mongodb driver 5.8.0 #5197
- Upgrade to MongoDB Java Driver 5.7.0-beta1 #5170
- Upgrade to MongoDB driver 5.6.3 #5157
- Upgrade to Mongodb driver 5.7.0 #5118
- Upgrade to MongoDB driver 5.6.2 #5114
❤️ Contributors
We'd like to thank all the contributors who worked on this release!