NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Maven Central
Maven Central, #1420 by repository stars
MongoDB support for Spring Data
Latest stable
5.1.2
Last release 1 months ago
22 Oct 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
305 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
Spring Data MongoDB 5.2.0 Reference documentation
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Spring Data MongoDB 5.2.0 Reference documentation
CursorReadingTask.getState() #5203Subscription.isActive() blocks while change stream cursor long-polls #5201We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 5.2.0 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 5.1.2 Reference documentation
CursorReadingTask.getState() #5203Subscription.isActive() blocks while change stream cursor long-polls #5201We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 5.1.1 Reference documentation
We'd like to thank all the contributors who worked on this release!
Deprecate Observability API #5079
IsEmpty and IsNotEmpty keywords in derived queries #5147findAndModify without options parameter #5130findAndModify without options parameter #5128@Transient properties to PersistentEntity and use value defaulting for transient constructor properties #2985UnsupportedOperationException when scrolling through all entities #5159BeforeConvert callback not invoked before ID validation for non-versioned entities #5155...In(String) produces invalid $in #5123MongoTemplate.aggregate(…, Map.class) considers Map an entity projection #5115MongoOperations for AOT fragment bootstrap #5108repositoryFragmentsFunction ignores MongoTemplate bean reference name #5107range and split operators improperly formatted in documentation #5104We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 5.1.0 Reference documentation
We'd like to thank all the contributors who worked on this release!
Deprecate Observability API #5079
IsEmpty and IsNotEmpty keywords in derived queries #5147@Transient properties to PersistentEntity and use value defaulting for transient constructor properties #2985We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 5.1 Reference documentation
findAndModify without options parameter #5130findAndModify without options parameter #5128UnsupportedOperationException when scrolling through all entities #5159BeforeConvert callback not invoked before ID validation for non-versioned entities #5155...In(String) produces invalid $in #5123MongoTemplate.aggregate(…, Map.class) considers Map an entity projection #5115MongoOperations for AOT fragment bootstrap #5108repositoryFragmentsFunction ignores MongoTemplate bean reference name #5107range and split operators improperly formatted in documentation #5104We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 5.0.8 Reference documentation
CursorReadingTask.getState() #5203Subscription.isActive() blocks while change stream cursor long-polls #5201We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 5.0.7 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 5.0.6 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 5.0.0 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 5.0.0 Reference documentation
Spring Data MongoDB 5.0 Reference documentation
UnsupportedOperationException when scrolling through all entities #5159BeforeConvert callback not invoked before ID validation for non-versioned entities #5155Spring Data MongoDB 5.0 Reference documentation
findAndModify without options parameter #5130findAndModify without options parameter #5128...In(String) produces invalid $in #5123We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 5.0 Reference documentation
MongoTemplate.aggregate(…, Map.class) considers Map an entity projection #5115MongoOperations for AOT fragment bootstrap #5108repositoryFragmentsFunction ignores MongoTemplate bean reference name #5107range and split operators improperly formatted in documentation #5104We'd like to thank all the contributors who worked on this release!
Deprecate background flag for creating indexes. #5085
background attribute from @Indexed and @CompoundIndex annotations #5074UpdateDefinition#inc should return this #5045UUID, BigDecimal, and BigInteger #5037Meta.allowDiskUse from boolean to String #5035AotPersonRepositoryIntegrationTests #5027CollectionOptions #4992CollectionOptions #4988@Indexed#expireAfter #4980DefaultMessageListenerContainer #4976Meta annotation #4970RepositoryFactorySupport.getEntityInformation(RepositoryMetadata) instead of private overload #4967LocalVariableNameFactory to avoid parameter name clashes #4965MethodContributor Metadata for skipped query methods #4961MongoCustomConversions.BigDecimalRepresentation.STRING #4957QueryResultConverter #4949MongoCustomConversions.BigDecimalRepresentation.STRING #4920allowDiskUse attribute of Meta annotation #4667DefaultMessageListenerContainer to auto-startup #4403Standard (BSON binary subtype 4) #3932PropertyPath and TypeInformation types to core package #3393null #5083NullPointerException during completion #5082MongoObservationCommandListener causes memory leak #5064JsonParseException #5018$out syntax #4986$out syntax fails when using Aggregation.out(…).in("dbName") #4969MongoTemplate and MongoTransactionManager for default transaction participation #5019IndexOperations#createIndex is incorrect #5010createCollection(…) documentation and explore CollectionOptions customization #4979MongoTemplate.createCollection(…) Javadoc #4978@Meta annotation not working properly with MongoRepository and custom repositories #4852@Enable…Repositories #3366We'd like to thank all the contributors who worked on this release!
Deprecate background flag for creating indexes. #5085
background attribute from @Indexed and @CompoundIndex annotations #5074@Indexed#expireAfter #4980PropertyPath and TypeInformation types to core package #3393null #5083NullPointerException during completion #5082We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 5.0 Reference documentation
MongoObservationCommandListener causes memory leak #5064@Enable…Repositories #3366Spring Data MongoDB 5.0 Reference documentation
UpdateDefinition#inc should return this #5045UUID, BigDecimal, and BigInteger #5037We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 5.0 Reference documentation
Meta.allowDiskUse from boolean to String #5035AotPersonRepositoryIntegrationTests #5027allowDiskUse attribute of Meta annotation #4667Standard (BSON binary subtype 4) #3932We'd like to thank all the contributors who worked on this release!
Deprecate MongoCustomConversions.BigDecimalRepresentation.STRING #4957
CollectionOptions #4992CollectionOptions #4988DefaultMessageListenerContainer #4976MethodContributor Metadata for skipped query methods #4961MongoCustomConversions.BigDecimalRepresentation.STRING #4957MongoCustomConversions.BigDecimalRepresentation.STRING #4920DefaultMessageListenerContainer to auto-startup #4403JsonParseException #5018$out syntax #4986$out syntax fails when using Aggregation.out(…).in("dbName") #4969MongoTemplate and MongoTransactionManager for default transaction participation #5019IndexOperations#createIndex is incorrect #5010createCollection(…) documentation and explore CollectionOptions customization #4979MongoTemplate.createCollection(…) Javadoc #4978We'd like to thank all the contributors who worked on this release!
Adopt to deprecation removals in Commons #4837
RepositoryFactorySupport.getEntityInformation(RepositoryMetadata) instead of private overload #4967LocalVariableNameFactory to avoid parameter name clashes #4965_id Storage Type Between save and saveAll for @MongoId String id #4944We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 5.0 Reference documentation
_id Storage Type Between save and saveAll for @MongoId String id #4944We'd like to thank all the contributors who worked on this release!
Adopt to deprecation removals in Commons #4837
We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 4.5.13 Reference documentation
Spring Data MongoDB 4.5.12 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 4.5.0 Reference documentation
Spring Data MongoDB 4.5.0 Reference documentation
Spring Data MongoDB 4.5 Reference documentation
UnsupportedOperationException when scrolling through all entities #5159BeforeConvert callback not invoked before ID validation for non-versioned entities #5155Spring Data MongoDB 4.5 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 4.5 Reference documentation
MongoTemplate.aggregate(…, Map.class) considers Map an entity projection #5115range and split operators improperly formatted in documentation #5104We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 4.5 Reference documentation
Spring Data MongoDB 4.5 Reference documentation
MongoObservationCommandListener causes memory leak #5064@Enable…Repositories #3366Spring Data MongoDB 4.5 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 4.5 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 4.5 Reference documentation
MongoTemplate and MongoTransactionManager for default transaction participation #5019IndexOperations#createIndex is incorrect #5010We'd like to thank all the contributors who worked on this release!
Deprecate extended $out syntax #4986
CollectionOptions #4992CollectionOptions #4988$out syntax #4986$out syntax fails when using Aggregation.out(…).in("dbName") #4969createCollection(…) documentation and explore CollectionOptions customization #4979MongoTemplate.createCollection(…) Javadoc #4978We'd like to thank all the contributors who worked on this release!
Adopt to deprecated QueryMethod constructor #4941
QueryMethod constructor #4941BulkOperations #4911ValidatingEntityCallback and deprecate ValidatingMongoEventListener #4901findBy(…) using predicate that returns a Slice #4889_id Storage Type Between save and saveAll for @MongoId String id #4944@Version is present in the entity #4918@Indexed(expireAfter) expression result in 0 seconds #4844@DocumentReference documentation about self._id references #4925We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 4.4 Reference documentation
Spring Data MongoDB 4.4 Reference documentation
Spring Data MongoDB 4.4 Reference documentation
Spring Data MongoDB 4.4 Reference documentation
Spring Data MongoDB 4.4 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 4.4 Reference documentation
MongoTemplate and MongoTransactionManager for default transaction participation #5019Deprecate extended $out syntax #4986
$out syntax #4986$out syntax fails when using Aggregation.out(…).in("dbName") #4969We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 4.4 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 4.4 Reference documentation
_id Storage Type Between save and saveAll for @MongoId String id #4944@DocumentReference documentation about self._id references #4925We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 4.4 Reference documentation
Spring Data MongoDB 4.4 Reference documentation
Spring Data MongoDB 4.4 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 4.4 Reference documentation
Spring Data MongoDB 4.4 Reference documentation
@Update annotation on unit-returning suspend functions #4772.include() and .exclude() to accept Collection #4625ParameterBindingJsonReader doesn't consider regex options #4806NoSuchTransaction in reactive MongoDB client when working with transactions #4804MongoRepository.findAll(Pageable) ignores Sort when using unpaged Pageable #4771@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@Unwrapped auditing objects fails with Cannot set property #4732$replaceRoot stage is present #4722$unwind and $project causes IllegalArgumentException #4714SpringDataMongodbQuery and SpringDataMongodbSerializer apply mapping twice #4709QueryMapper.getMappedValue(…) doesn't consider nesting #4707Criteria.regex is converted to String when applying to ID fields #4674We'd like to thank all the contributors who worked on this release!
Deprecate extended $out syntax #4986
Spring Data MongoDB 4.3 Reference documentation
We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 4.3 Reference documentation
_id Storage Type Between save and saveAll for @MongoId String id #4944@DocumentReference documentation about self._id references #4925We'd like to thank all the contributors who worked on this release!
Spring Data MongoDB 4.3 Reference documentation
@Version is present in the entity #4918Spring Data MongoDB 4.3 Reference documentation
Spring Data MongoDB 4.3 Reference documentation
One column per quarter.