Skip to content

Releases: spring-projects/spring-data-mongodb

4.2.9

16 Aug 07:01
7e69a6b
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Default @Query(sort) not applied for repository queries using keyset pagination #4758
  • @Query with sort does not work in Native Image (Unexpected AOP exception) #4744

📔 Documentation

  • Bundle Javadoc with Antora documentation site #4754

🔨 Dependency Upgrades

  • Upgrade to MongoDB driver 4.11.3 #4768
  • Upgrade to Maven Wrapper 3.9.8 #4764

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

4.3.2

12 Jul 17:12
1d674bc
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Using records as @Unwrapped auditing objects fails with Cannot set property #4732

📔 Documentation

  • Fix error code reference file #4729

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

4.2.8

12 Jul 11:36
604ee3b
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Using records as @Unwrapped auditing objects fails with Cannot set property #4732

📔 Documentation

  • Fix error code reference file #4729

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

4.3.1

14 Jun 08:48
9a4d7e5
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Aggregation with $unwind and $project causes IllegalArgumentException #4714
  • Converter called multiple times evaluating aggregation operation query methods #4712
  • SpringDataMongodbQuery and SpringDataMongodbSerializer apply mapping twice #4709
  • Id conversion handling in QueryMapper.getMappedValue(…) doesn't consider nesting #4707
  • Criteria.regex is converted to String when applying to ID fields #4674

4.2.7

14 Jun 08:06
04ba69a
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Aggregation with $unwind and $project causes IllegalArgumentException #4714
  • Converter called multiple times evaluating aggregation operation query methods #4712
  • SpringDataMongodbQuery and SpringDataMongodbSerializer apply mapping twice #4709
  • Criteria.regex is converted to String when applying to ID fields #4674

4.3.0

17 May 10:07
286404d
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Add a debug information for sort fields when using findByQuery #4686
  • Align OffsetScrolling to zero-based indexes #4673
  • Aggregation allowDiskUse should not be false by default #4664
  • Add support for ValueExpression #4634
  • Make MongoHandlerContext public to leverage contextual information to customize Observations #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 not null #4698
  • Aggregation criteria match mapping fails with NullPointerException #4687
  • Incorrect Lock used in DefaultMessageListenerContainer #4665
  • Criteria.regex converted to String for @Field(targetType = FieldType.STRING) property #4649
  • AggregationOptions.maxTime ignored for MongoTemplate.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 MongoParameters and MongoParameter to 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
  • QueryMapper with annotations and does not properly applies PropertyValueConverter #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!

4.2.6

17 May 09:24
1c4243c
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • MongoTemplate.indexOps(collectionName, type) ignores collectionName when type is not null #4698
  • Aggregation criteria match mapping fails with NullPointerException #4687

📔 Documentation

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

4.1.12

17 May 08:44
13336a4
Compare
Choose a tag to compare

4.3.0-RC1

12 Apr 08:53
aeba0e7
Compare
Choose a tag to compare
4.3.0-RC1 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Add a debug information for sort fields when using findByQuery #4686
  • Align OffsetScrolling to zero-based indexes #4673
  • Aggregation allowDiskUse should not be false by default #4664

🐞 Bug Fixes

  • Incorrect Lock used in DefaultMessageListenerContainer #4665
  • Shard key not honored in ReferenceLookupDelegate when DocumentReference resolves to a empty collection #4612

🔨 Dependency Upgrades

  • Upgrade to MongoDB 5.0.1 driver #4680
  • Upgrade to MongoDB 5.0 driver #4663

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

4.2.5

12 Apr 08:17
b8eb49d
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Add a debug information for sort fields when using findByQuery #4686

🐞 Bug Fixes

  • Incorrect Lock used in DefaultMessageListenerContainer #4665
  • Shard key not honored in ReferenceLookupDelegate when DocumentReference resolves to a empty collection #4612

🔨 Dependency Upgrades

  • Upgrade to MongoDB 4.11.2 driver #4681

❤️ Contributors

We'd like to thank all the contributors who worked on this release!