Download Latest Version 4.5.13 source code.zip (3.6 MB)
Email in envelope

Get an email when there's a new version of Spring Data MongoDB

Home / 5.1.0
Name Modified Size InfoDownloads / Week
Parent folder
5.1.0 source code.tar.gz 2026-06-09 2.2 MB
5.1.0 source code.zip 2026-06-09 3.8 MB
README.md 2026-06-09 6.2 kB
Totals: 3 Items   6.0 MB 0

:star: New Features

  • Support for BulkWrite into multiple collections #5169
  • Accept TypedPropertyPath for Update and Criteria Query paths #5148
  • Support IsEmpty and IsNotEmpty keywords in derived queries #5147
  • Add Kotlin extension for findAndModify without options parameter #5130
  • Add Kotlin extension for findAndModify without options parameter #5128
  • Support showExpandedEvents in change streams #5112
  • Add support for Bulk Write into multiple collections #5087
  • Deprecate Observability API #5079
  • Add support to emit expanded change stream events #5069
  • Migrate to JSpecify annotations for nullability constraints #4874
  • Repository query keyword IS_EMPTY not supported #4606
  • Add @Transient properties to PersistentEntity and use value defaulting for transient constructor properties #2985

:lady_beetle: Bug Fixes

  • AOT-generated repository implementation ignores query method return type, always uses repository domain type #5179
  • AOT-generated repository implementation ignores query method return type, always uses repository domain type #5178
  • ScrollUtils must not modify source query when creating scroll filter. #5160
  • UnsupportedOperationException when scrolling through all entities #5159
  • Move id check to after conversion event publication in reactive flow #5156
  • Reactive save BeforeConvert callback not invoked before ID validation for non-versioned entities #5155
  • Retain type for bitwise update #5153
  • BitwiseOperatorBuilder should have int overloads to avoid implicit type conversion #5146
  • Allow single-element contains for derived AOT queries #5124
  • AOT Repository query for ...In(String) produces invalid $in #5123
  • Fix Map projection for aggregations #5117
  • MongoTemplate.aggregate(…, Map.class) considers Map an entity projection #5115
  • Use explicitly configured MongoOperations for AOT fragment bootstrap #5108
  • Generated repositoryFragmentsFunction ignores MongoTemplate bean reference name #5107

:notebook_with_decorative_cover: Documentation

  • Add missing exclusion of legacy MongoDB v3 driver to Gradle build script snippet #5196
  • Fix small typos in documentation #5186
  • Update compatibility matrix documentation #5138
  • Update Driver Compatibility Matrix #5136
  • Documentation about optimistic locking could be more precise #5126
  • Aggregation framework range and split operators improperly formatted in documentation #5104
  • Polish: fix grammar in mongo-encryption.adoc #5026
  • Misleading links in repositories reference documentation overview #3463
  • Refine Antora-build #2797
  • Add Readme templates #2758

:hammer: Dependency Upgrades

  • Upgrade to Maven Wrapper 3.9.16 #5198
  • Upgrade to Mongodb driver 5.8.0 #5197
  • Upgrade to MongoDB Java Driver 5.7.0-beta1 #5170
  • Upgrade to MongoDB driver 5.6.3 #5157
  • Upgrade to Mongodb driver 5.7.0 #5118
  • Upgrade to MongoDB driver 5.6.2 #5114

:heart: Contributors

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

  • @nillpoe
  • @gavvvr
  • @whizyrel
  • @andrelmv
  • @roy0424
  • @backend-choijunhyeong
  • @MonkeyMix
  • @infoShare
Source: README.md, updated 2026-06-09