Releases: spring-projects/spring-data-mongodb
Releases · spring-projects/spring-data-mongodb
4.4.0-M1
📗 Links
⭐ New Features
- Support
@Updateannotation on unit-returning suspend functions #4772 - Align EnableMongoRepositories with changes in data-commons. #4756
- Allow query projection methods
.include()and.exclude()to acceptCollection#4625 - Support instantiation of Kotlin class with overridden read-only property #4485
- Type-safe Kotlin update extension [DATAMONGO-2163] #3028
🐞 Bug Fixes
MongoRepository.findAll(Pageable)ignoresSortwhen using unpagedPageable#4771- Issue referencing or using field value set with SetWindowFieldsOperation shift #4745
@Querywith sort does not work in Native Image (Unexpected AOP exception) #4744$allon_idleads to Exception if Collection with one element is passed #4736- Using records as
@Unwrappedauditing objects fails withCannot set property#4732 - Aggregation with
$unwindand$projectcausesIllegalArgumentException#4714 - Converter called multiple times evaluating aggregation operation query methods #4712
- Null-Values from custom converters are stored in document #4710
SpringDataMongodbQueryandSpringDataMongodbSerializerapply mapping twice #4709- Id conversion handling in
QueryMapper.getMappedValue(…)doesn't consider nesting #4707 Criteria.regexis converted toStringwhen applying to ID fields #4674- MongoExceptionTranslator hides WriteConflicts [DATAMONGO-2291] #3148
📔 Documentation
🔨 Dependency Upgrades
- Upgrade to MongoDB driver 5.1.4 #4780
- Upgrade to MongoDB driver 5.1.3 #4767
- Upgrade to Maven Wrapper 3.9.8 #4766
- Upgrade to MongoDB 5.1.2 driver. #4741
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.3.4
📗 Links
⭐ New Features
- Support
@Updateannotation on unit-returning suspend functions #4772
🐞 Bug Fixes
MongoRepository.findAll(Pageable)ignoresSortwhen using unpagedPageable#4771- Issue referencing or using field value set with SetWindowFieldsOperation shift #4745
$allon_idleads to Exception if Collection with one element is passed #4736- Null-Values from custom converters are stored in document #4710
4.2.10
📗 Links
⭐ New Features
- Support
@Updateannotation on unit-returning suspend functions #4772
🐞 Bug Fixes
MongoRepository.findAll(Pageable)ignoresSortwhen using unpagedPageable#4771- Issue referencing or using field value set with SetWindowFieldsOperation shift #4745
- Null-Values from custom converters are stored in document #4710
🔨 Dependency Upgrades
- Upgrade to MongoDB driver 4.11.4 #4779
4.3.3
📗 Links
🐞 Bug Fixes
- Default
@Query(sort)not applied for repository queries using keyset pagination #4758 @Querywith sort does not work in Native Image (Unexpected AOP exception) #4744
📔 Documentation
- Bundle Javadoc with Antora documentation site #4754
🔨 Dependency Upgrades
- Upgrade to Maven Wrapper 3.9.8 #4765
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.2.9
📗 Links
🐞 Bug Fixes
- Default
@Query(sort)not applied for repository queries using keyset pagination #4758 @Querywith sort does not work in Native Image (Unexpected AOP exception) #4744
📔 Documentation
- Bundle Javadoc with Antora documentation site #4754
🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.3.2
4.2.8
4.3.1
📗 Links
🐞 Bug Fixes
- Aggregation with
$unwindand$projectcausesIllegalArgumentException#4714 - Converter called multiple times evaluating aggregation operation query methods #4712
SpringDataMongodbQueryandSpringDataMongodbSerializerapply mapping twice #4709- Id conversion handling in
QueryMapper.getMappedValue(…)doesn't consider nesting #4707 Criteria.regexis converted toStringwhen applying to ID fields #4674
4.2.7
📗 Links
🐞 Bug Fixes
- Aggregation with
$unwindand$projectcausesIllegalArgumentException#4714 - Converter called multiple times evaluating aggregation operation query methods #4712
SpringDataMongodbQueryandSpringDataMongodbSerializerapply mapping twice #4709Criteria.regexis converted toStringwhen applying to ID fields #4674
4.3.0
📗 Links
⭐ New Features
- Add a debug information for sort fields when using findByQuery #4686
- Align OffsetScrolling to zero-based indexes #4673
- Aggregation
allowDiskUseshould not befalseby default #4664 - Add support for ValueExpression #4634
- Make
MongoHandlerContextpublic to leverage contextual information to customizeObservations #4622 - Ensure compatibility with MongoDB Driver 5.x #4578
- Customize observation spans #4321
- Declarative way for setting MongoDB transaction options #1628
🐞 Bug Fixes
MongoTemplate.indexOps(collectionName, type)ignores collectionName when type is notnull#4698- Aggregation criteria match mapping fails with
NullPointerException#4687 - Incorrect Lock used in DefaultMessageListenerContainer #4665
Criteria.regexconverted toStringfor@Field(targetType = FieldType.STRING)property #4649AggregationOptions.maxTimeignored forMongoTemplate.aggregateStream()#4644- DTO projections read properties twice #4626
- Shard key not honored in ReferenceLookupDelegate when DocumentReference resolves to a empty collection #4612
- Nested Interface-based projection fails with
ConverterNotFoundException#4609 - Query instances with the same limit are not equal anymore #4584
- Adopt
MongoParametersandMongoParameterto reflect the actual parameter type when using generics #4579 - Query from method name has map entries in wrong order. #4577
- NullPointerException thrown for Updates with Maps that contain null values #4567
- Fixed the URL for the Spring Data Commons documentation #4563
QueryMapperwith annotations and does not properly appliesPropertyValueConverter#4510- String to ObjectId mapping error when using query method #4490
📔 Documentation
- Doc improvements #4694
- Update mongo-encryption.adoc #4638
- Reinstate Compatibility Matrix in reference docs #4623
- Fix typo in Javadoc #4620
- Docs for IndexOperations.resetIndexCache() should be removed #4587
- Reference docs of Mapping Configuration overflows Java/XML config snippets #4575
- Behavior breaking change deserializing property with null value #4571
🔨 Dependency Upgrades
- Upgrade to MongoDB 5.0.1 driver #4680
- Upgrade to MongoDB 5.0 driver #4663
- Upgrade to Maven Wrapper 3.9.6 #4592
❤️ Contributors
We'd like to thank all the contributors who worked on this release!