Skip to content

Releases: spring-projects/spring-data-mongodb

4.4.0

15 Nov 13:14
7289148
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Revisit internal caching arrangements. #4818
  • Support @Update annotation on unit-returning suspend functions #4772
  • Align EnableMongoRepositories with changes in data-commons. #4756
  • Add support for value expressions in repository query methods #4677
  • Allow query projection methods .include() and .exclude() to accept Collection #4625
  • Support instantiation of Kotlin class with overridden read-only property #4485
  • Support for MongoDB TimeSeries expireAfterSeconds #4099
  • Type-safe Kotlin update extension [DATAMONGO-2163] #3028

🐞 Bug Fixes

  • ParameterBindingJsonReader doesn't consider regex options #4806
  • NoSuchTransaction in reactive MongoDB client when working with transactions #4804
  • MongoRepository.findAll(Pageable) ignores Sort when using unpaged Pageable #4771
  • Issue referencing or using field value set with SetWindowFieldsOperation shift #4745
  • @Query with sort does not work in Native Image (Unexpected AOP exception) #4744
  • $all on _id leads to Exception if Collection with one element is passed #4736
  • Using records as @Unwrapped auditing objects fails with Cannot set property #4732
  • Aggregation pipeline breaks if $replaceRoot stage is present #4722
  • Aggregation with $unwind and $project causes IllegalArgumentException #4714
  • Converter called multiple times evaluating aggregation operation query methods #4712
  • Null-Values from custom converters are stored in document #4710
  • 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
  • MongoExceptionTranslator hides WriteConflicts [DATAMONGO-2291] #3148

📔 Documentation

  • Document Querydsl annotation processor usage #4811
  • Compatibility matrix inconsistently enumerates versions #4785
  • Bundle Javadoc with Antora documentation site #4754
  • Fix error code reference file #4729

🔨 Dependency Upgrades

  • Upgrade to MongoDB driver 5.2.1 #4830
  • Upgrade to Maven Wrapper 3.9.9 #4825
  • Upgrade to MongoDB driver 5.2.0 #4805
  • 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.6

15 Nov 10:48
7833199
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • NoSuchTransaction in reactive MongoDB client when working with transactions #4804

🔨 Dependency Upgrades

  • Upgrade to Maven Wrapper 3.9.9 #4826

4.2.12

15 Nov 09:24
7760b43
Compare
Choose a tag to compare

📗 Links

🔨 Dependency Upgrades

  • Upgrade to MongoDB driver 4.11.5 #4829
  • Upgrade to Maven Wrapper 3.9.9 #4827

4.4.0-RC1

18 Oct 10:49
53f4f43
Compare
Choose a tag to compare
4.4.0-RC1 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Add support for value expressions in repository query methods #4677

🐞 Bug Fixes

  • ParameterBindingJsonReader doesn't consider regex options #4806
  • Aggregation pipeline breaks if $replaceRoot stage is present #4722

📔 Documentation

  • Document Querydsl annotation processor usage #4811
  • Compatibility matrix inconsistently enumerates versions #4785

🔨 Dependency Upgrades

  • Upgrade to MongoDB driver 5.2.0 #4805

4.3.5

18 Oct 09:39
c0ba209
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • ParameterBindingJsonReader doesn't consider regex options #4806
  • Aggregation pipeline breaks if $replaceRoot stage is present #4722

📔 Documentation

  • Compatibility matrix inconsistently enumerates versions #4785

4.2.11

18 Oct 08:17
35f7a5a
Compare
Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • ParameterBindingJsonReader doesn't consider regex options #4806
  • Aggregation pipeline breaks if $replaceRoot stage is present #4722

4.4.0-M1

13 Sep 10:42
8785890
Compare
Choose a tag to compare
4.4.0-M1 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Support @Update annotation on unit-returning suspend functions #4772
  • Align EnableMongoRepositories with changes in data-commons. #4756
  • Allow query projection methods .include() and .exclude() to accept Collection #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) ignores Sort when using unpaged Pageable #4771
  • Issue referencing or using field value set with SetWindowFieldsOperation shift #4745
  • @Query with sort does not work in Native Image (Unexpected AOP exception) #4744
  • $all on _id leads to Exception if Collection with one element is passed #4736
  • Using records as @Unwrapped auditing objects fails with Cannot set property #4732
  • Aggregation with $unwind and $project causes IllegalArgumentException #4714
  • Converter called multiple times evaluating aggregation operation query methods #4712
  • Null-Values from custom converters are stored in document #4710
  • 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
  • MongoExceptionTranslator hides WriteConflicts [DATAMONGO-2291] #3148

📔 Documentation

  • Bundle Javadoc with Antora documentation site #4754
  • Fix error code reference file #4729

🔨 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

13 Sep 09:40
f5b11e1
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Support @Update annotation on unit-returning suspend functions #4772

🐞 Bug Fixes

  • MongoRepository.findAll(Pageable) ignores Sort when using unpaged Pageable #4771
  • Issue referencing or using field value set with SetWindowFieldsOperation shift #4745
  • $all on _id leads to Exception if Collection with one element is passed #4736
  • Null-Values from custom converters are stored in document #4710

4.2.10

13 Sep 08:53
0b6970c
Compare
Choose a tag to compare

📗 Links

⭐ New Features

  • Support @Update annotation on unit-returning suspend functions #4772

🐞 Bug Fixes

  • MongoRepository.findAll(Pageable) ignores Sort when using unpaged Pageable #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

16 Aug 08:09
fd3e2e2
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 Maven Wrapper 3.9.8 #4765

❤️ Contributors

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