Skip to content

Releases: spring-projects/spring-data-mongodb

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!

4.1.11

12 Apr 07:35
89b9474
Compare
Choose a tag to compare

📗 Links

⭐ New Features

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

❤️ Contributors

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

4.3.0-M2

15 Mar 10:10
74856ce
Compare
Choose a tag to compare
4.3.0-M2 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Declarative way for setting MongoDB transaction options #1628

🐞 Bug Fixes

  • Criteria.regex converted to String for @Field(targetType = FieldType.STRING) property #4649
  • AggregationOptions.maxTime ignored for MongoTemplate.aggregateStream() #4644

📔 Documentation

  • Update mongo-encryption.adoc #4638

❤️ Contributors

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

4.2.4

15 Mar 09:20
b8b93bc
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Criteria.regex converted to String for @Field(targetType = FieldType.STRING) property #4649
  • AggregationOptions.maxTime ignored for MongoTemplate.aggregateStream() #4644

📔 Documentation

  • Update mongo-encryption.adoc #4638

❤️ Contributors

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

4.1.10

15 Mar 08:29
f02a910
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Criteria.regex converted to String for @Field(targetType = FieldType.STRING) property #4649
  • AggregationOptions.maxTime ignored for MongoTemplate.aggregateStream() #4644

📔 Documentation

  • Update mongo-encryption.adoc #4638

❤️ Contributors

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

4.3.0-M1

16 Feb 13:41
9bc9b59
Compare
Choose a tag to compare
4.3.0-M1 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Add support for Value Expressions #4635
  • Add support for ValueExpression #4634
  • Make MongoHandlerContext public to leverage contextual information to customize Observations #4622
  • Allow custom MongoHandlerObservationConvention usage #4607
  • Ensure compatibility with MongoDB Driver 5.x #4578
  • Customize observation spans #4321

🐞 Bug Fixes

  • DTO projections read properties twice #4626
  • 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

  • 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 Maven Wrapper 3.9.6 #4592

❤️ Contributors

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