Skip to content

Releases: spring-projects/spring-data-mongodb

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!

  • @ashni-mongodb

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!

4.2.3

16 Feb 12:54
5fe118a
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Make MongoHandlerContext public to leverage contextual information to customize Observations #4622
  • Ensure compatibility with MongoDB Driver 5.x #4578

🐞 Bug Fixes

  • DTO projections read properties twice #4626
  • Nested Interface-based projection fails with ConverterNotFoundException #4609

📔 Documentation

  • Reinstate Compatibility Matrix in reference docs #4623
  • Fix typo in Javadoc #4620

❤️ Contributors

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

4.1.9

16 Feb 07:58
c15b903
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Make MongoHandlerContext public to leverage contextual information to customize Observations #4622

🐞 Bug Fixes

  • DTO projections read properties twice #4626
  • Nested Interface-based projection fails with ConverterNotFoundException #4609

📔 Documentation

  • Fix typo in Javadoc #4620

❤️ Contributors

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

4.2.2

12 Jan 09:54
a975971
Compare
Choose a tag to compare

4.1.8

12 Jan 09:03
7b48cf7
Compare
Choose a tag to compare

4.2.1

15 Dec 13:15
7c017bf
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Query instances with the same limit are not equal anymore #4584
  • 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

📔 Documentation

  • 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 #4590

❤️ Contributors

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

4.1.7

15 Dec 12:18
59a5b28
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Query from method name has map entries in wrong order. #4577
  • NullPointerException thrown for Updates with Maps that contain null values #4567

📔 Documentation

  • Docs for IndexOperations.resetIndexCache() should be removed #4587

🔨 Dependency Upgrades

  • Upgrade to Maven Wrapper 3.9.6 #4591

4.2.0

17 Nov 13:38
bae0d91
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Add support for $percentile aggregation expression #4473
  • Add support for $median aggregation expression #4472
  • Allow field names and map keys with dot (.) #4464
  • Add support for replaceOne operation #4463
  • Add suport for replaceOne operation #4462
  • Support Limit parameter in query methods #4397
  • Allow setting ReadPreference at a Repository and Query level [DATAMONGO-2103] #2971
  • Provide an optional way to convert from BsonUndefined to null [DATAMONGO-1439] #2350
  • Support provided GridFSBucket in GridFsTemplate #1627

🐞 Bug Fixes

  • Repository query projection not working as expected since 3.4.x #4524
  • ReactiveMongoTemplate does not return ChangeStreamEvents with PreImages #4495
  • Correctly read unwrapped properties during constructor creation #4492
  • Unwrapped fields cannot be resolved in the constructor #4491
  • Constructor creation using @DocumentReference SpEL referring to self in fails #4484
  • Class cast exception obtaining Observation context on abortTransaction completion #4481
  • Fix schema generation for encrypted fields that are considered domain entities. #4455
  • Schema creator may miss encryption on entity field. #4454
  • @Field annotation not honoured after $unwind stage in aggregation #4443
  • ClassCastException when reading (decrypting) using @ExplicitEncrypted on custom type instead of simple type #4432
  • Update path not correctly mapped when last segment is multi digit number #4426
  • Keyset positionFunction does not retain directional state #4413
  • InIgnoreCase queries match on substrings #4404
  • Filter doesn't support expression as input #4394
  • Date saved incorrectly with java.time codecs enabled #4390
  • Reduce aggregation operation doesn't allow using Variable.VALUE and Variable.THIS with strict mapping #4070
  • $slice access to @DBRef field throw exception [DATAMONGO-1272] #2191

📔 Documentation

  • findAndReplace does not generate Version when null #4536
  • Migrate documentation to Antora. #4497
  • Incorrect code snippet for change streams documentation #4376
  • Please correct instructions on how to test and build spring-data-mongodb locally #4372
  • LocalDate properties depend on the machine's timezone setting [DATAMONGO-2627] #3482

🔨 Dependency Upgrades

  • Upgrade to MongoDB driver 4.11.1 #4551
  • Upgrade to MongoDB Driver 4.11.0 #4527
  • Upgrade to Maven Wrapper 3.9.5 #4520
  • Upgrade to OpenWebBeans 4.0 #4518
  • Upgrade to Maven Wrapper 3.9.4 #4470
  • Upgrade to MongoDB driver 4.10.2 #4445
  • Upgrade to MongoDB driver 4.10.1 #4441
  • Upgrade mongodb-crypt to 1.8.0 #4440
  • Upgrade to Maven Wrapper 3.9.3 #4436
  • Upgrade to Maven Wrapper 3.9.2 #4410

❤️ Contributors

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

4.1.6

17 Nov 12:41
8455869
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • ReactiveMongoTemplate does not return ChangeStreamEvents with PreImages #4495

📔 Documentation

  • findAndReplace does not generate Version when null #4536