Skip to content

Releases: spring-projects/spring-data-mongodb

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

4.0.12

17 Nov 10:00
971e411
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • ReactiveMongoTemplate does not return ChangeStreamEvents with PreImages #4495

3.4.18

17 Nov 09:25
205004b
Compare
Choose a tag to compare

4.2.0-RC1

13 Oct 15:52
Compare
Choose a tag to compare
4.2.0-RC1 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Add support for $median aggregation expression #4472
  • Allow field names and map keys with dot (.) #4464
  • Allow setting ReadPreference at a Repository and Query level [DATAMONGO-2103] #2971

🐞 Bug Fixes

  • Repository query projection not working as expected since 3.4.x #4524

🔨 Dependency Upgrades

  • Upgrade to MongoDB Driver 4.11.0 #4527
  • Upgrade to Maven Wrapper 3.9.5 #4520
  • Upgrade to OpenWebBeans 4.0 #4518

❤️ Contributors

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

4.1.5

13 Oct 15:09
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Repository query projection not working as expected since 3.4.x #4524

🔨 Dependency Upgrades

  • Upgrade to Maven Wrapper 3.9.5 #4521

4.0.11

13 Oct 09:44
5492fa6
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Repository query projection not working as expected since 3.4.x #4524

🔨 Dependency Upgrades

  • Upgrade to Maven Wrapper 3.9.5 #4522

3.4.17

13 Oct 08:54
5ca50b8
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Repository query projection not working as expected since 3.4.x #4524

🔨 Dependency Upgrades

  • Upgrade to Maven Wrapper 3.9.5 #4523

4.2.0-M3

15 Sep 12:48
a5cc27a
Compare
Choose a tag to compare
4.2.0-M3 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Add support for $percentile aggregation expression #4473
  • Add support for replaceOne operation #4463
  • Add suport for replaceOne operation #4462

🐞 Bug Fixes

  • 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

📔 Documentation

  • Migrate documentation to Antora. #4497

❤️ Contributors

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