📗 Links
⭐ New Features
- Adopt to deprecated
QueryMethod
constructor #4941 - SortArray does not support sorting simple array types (integer/string) #4929
- Add Kotlin extension to accept Kotlin's Pair in
BulkOperations
#4911 - Introduce
ValidatingEntityCallback
and deprecateValidatingMongoEventListener
#4901 - Add support for
findBy(…)
using predicate that returns aSlice
#4889 - $slice does not support AggregationExpression for offset and itemCount #4857
- Improve reactive Repository save operation flow #4838
- Trim BindableMongoExpression input to better support text blocks #4821
- Allow query sort parameter for updateFirst method on MongoDB Server 8.0 #4797
- Add support for VectorSearch Aggregation Stage #4706
- Queryable Encryption Support #4185
- Allow users to opt into storing BigInteger as Decimal128 [DATAMONGO-2590] #3444
🐞 Bug Fixes
- Inconsistent
_id
Storage Type Betweensave
andsaveAll
for@MongoId String id
#4944 - MongoClientVersion uses a non-reliable way to fetch db driver version. #4937
- AddFieldsOperationBuilder.addFieldWithValueOf should treat String value as Field reference #4933
- Update using $inc does not work if
@Version
is present in the entity #4918 - Improper identifier property detection on reading entity with annotated identifier property #4877
- Worst Logger for #mongoTemplate.find #4860
- Creating IndexOptions using expireAfter method sets wrong options #4851
- Criteria with is and another filter for the same field creates invalid query doucment #4850
- TTL index creation/verification fails when
@Indexed(expireAfter)
expression result in0
seconds #4844 - NPE when projecting to an interface using String-based Aggregation Repository Query Methods #4839
📔 Documentation
- Clarify QueryDSL usage in reference documentation #4951
- Update mongo-encryption.adoc #4947
- Fix typo in javadoc of MongoOperations.stream #4942
- Refine
@DocumentReference
documentation aboutself._id
references #4925 - Refine Querydsl documentation #4894
- Document Querydsl annotation processor usage #4811
🔨 Dependency Upgrades
- Upgrade to MongoDB driver 5.5.0 #4962
- Upgrade to MongoDB driver 5.4.0 #4930
- Upgrade to MongoDB driver 5.3.1 #4883
- Upgrade to MongoDB driver 5.3.0-beta0 #4871
❤️ Contributors
We'd like to thank all the contributors who worked on this release!