Skip to content

Releases: spring-projects/spring-data-mongodb

5.0.0

14 Nov 13:00
5f3468f

Choose a tag to compare

📗 Links

⭐ New Features

  • Deprecate background flag for creating indexes. #5085
  • Consider removing background attribute from @Indexed and @CompoundIndex annotations #5074
  • Add UNSPECIFIED to BigDecimalRepresentation #5054
  • Remove defaulting for UUID and BigInteger/BigDecimal representations #5051
  • Add support for property placeholder in expireAfter for MongoDB indexes #5049
  • UpdateDefinition#inc should return this #5045
  • Align AOT and reflective repository behavior #5038
  • Remove representation format defaulting for UUID, BigDecimal, and BigInteger #5037
  • Switch Meta.allowDiskUse from boolean to String #5035
  • Switch to Standard UUID representation #5034
  • Fix AOT vs reflective behavior failures in AotPersonRepositoryIntegrationTests #5027
  • Enable AOT repositories by default #5017
  • Add support for expressions in AOT-generated query methods #5006
  • Add support for AOT-generated geospatial/vector search queries, expression parameter bindings, and regular expressions #5005
  • Add support for geospatial AOT-generated query methods #5004
  • Enable $out aggregation to push to time series collection #4995
  • Always include Collection tag in MongoDB observations #4994
  • Add support for non-queryable encrypted fields in CollectionOptions #4992
  • Support for Non-Queryable Encrypted Fields in CollectionOptions #4988
  • Enable $out aggregation to push to time series collection #4985
  • Enable AOT repositories by default #4983
  • Can't (still) use properties in @Indexed#expireAfter #4980
  • Enable auto-startup for DefaultMessageListenerContainer #4976
  • Add AOT support for dynamic projections, streaming/scroll queries and Meta annotation #4970
  • Allow customizing order for AuditingEntityCallback and ValidatingEntityCallback #4968
  • Implement RepositoryFactorySupport.getEntityInformation(RepositoryMetadata) instead of private overload #4967
  • Use LocalVariableNameFactory to avoid parameter name clashes #4965
  • Adopt to AOT changes in Commons #4964
  • Provide MethodContributor Metadata for skipped query methods #4961
  • Explore Search Results #4960
  • Deprecate MongoCustomConversions.BigDecimalRepresentation.STRING #4957
  • Add support for fluent QueryResultConverter #4949
  • Remove JMX support #4940
  • Add support for MongoDB AOT Repositories #4939
  • Deprecate MongoCustomConversions.BigDecimalRepresentation.STRING #4920
  • Allow configuring the order of built-in EntityCallbacks #4914
  • Migrate to JSpecify annotations for nullability constraints #4874
  • Adopt to deprecation removals in Commons #4837
  • Redesign allowDiskUse attribute of Meta annotation #4667
  • Switch DefaultMessageListenerContainer to auto-startup #4403
  • Update default UUID representation to Standard (BSON binary subtype 4) #3932
  • Move PropertyPath and TypeInformation types to core package #3393
  • Refine AOT Repositories infrastructure #3267

🐞 Bug Fixes

  • Remove parent observation key instead of setting null #5083
  • Reactive observation without parent fails with NullPointerException during completion #5082
  • Clean up Observation from context after command completion #5067
  • MongoObservationCommandListener causes memory leak #5064
  • Fix BucketOperationSupport _id field exposure #5047
  • BucketOperation doesn't expose _id field, causing IllegalArgumentException in subsequent operations #5046
  • Default behavior for BigDecimal changed and broke custom converters #5036
  • Unwrap LazyLoadingProxy before checking isNew #5033
  • DuplicateKeyException on save lazy loaded references #5031
  • Provide fallback for Observation KeyValues #5020
  • AOT Repositories Aggregation pipeline parsing fails with JsonParseException #5018
  • Fix missing precision value when creating encryption settings #4993
  • Unable to Create Encrypted Collection with Floating Point Range (precision, min, max not respected) #4989
  • Deprecate extended $out syntax #4986
  • Extended $out syntax fails when using Aggregation.out(…).in("dbName") #4969

📔 Documentation

  • Documentation Updates #5080
  • Update Documentation #5078
  • Fix mapping-index-management.adoc examples #5039
  • Minor markdown bold syntax fix in the mongo encryption doc #5030
  • Document how to create MongoTemplate and MongoTransactionManager for default transaction participation #5019
  • Clarify manual vs. derived QE setup and add example project link #5016
  • Update javadoc & switch method defaulting #5015
  • SimpleMongoClientDatabaseFactory does not close MongoClient when it's not registered as a Spring Bean #5012
  • The Javadoc for IndexOperations#createIndex is incorrect #5010
  • Update Readme #4998
  • Update documentation of encrypted field configuration #4991
  • Refine createCollection(…) documentation and explore CollectionOptions customization #4979
  • Refine MongoTemplate.createCollection(…) Javadoc [#4978](https://github.com/spring-projects/spr...
Read more

4.5.6

14 Nov 10:33
d747afa

Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Remove parent observation key instead of setting null #5083
  • Reactive observation without parent fails with NullPointerException during completion #5082

📔 Documentation

  • Document usage scope and effects of Meta annotation #4854
  • @Meta annotation not working properly with MongoRepository and custom repositories #4852

4.4.12

14 Nov 09:56
ab76cfa

Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Remove parent observation key instead of setting null #5083
  • Reactive observation without parent fails with NullPointerException during completion #5082

📔 Documentation

  • Document usage scope and effects of Meta annotation #4854
  • @Meta annotation not working properly with MongoRepository and custom repositories #4852

5.0.0-RC2

31 Oct 10:14
492d0fe

Choose a tag to compare

5.0.0-RC2 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Deprecate background flag for creating indexes. #5085
  • Consider removing background attribute from @Indexed and @CompoundIndex annotations #5074
  • Add support for property placeholder in expireAfter for MongoDB indexes #5049
  • Can't (still) use properties in @Indexed#expireAfter #4980
  • Move PropertyPath and TypeInformation types to core package #3393

🐞 Bug Fixes

  • Remove parent observation key instead of setting null #5083
  • Reactive observation without parent fails with NullPointerException during completion #5082

🔨 Dependency Upgrades

  • Upgrade to Testcontainers 2.0 #2688

❤️ Contributors

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

5.0.0-RC1

17 Oct 10:41
754a236

Choose a tag to compare

5.0.0-RC1 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Refine AOT Repositories infrastructure #3267

🐞 Bug Fixes

  • Clean up Observation from context after command completion #5067
  • MongoObservationCommandListener causes memory leak #5064

📔 Documentation

  • Document placeholder and Ant-style pattern support for @Enable…Repositories #3366

🔨 Dependency Upgrades

  • Upgrade to MongoDB Java Drivers 5.6.1 #5071

4.5.5

17 Oct 09:39
bf28a88

Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Clean up Observation from context after command completion #5067
  • MongoObservationCommandListener causes memory leak #5064

📔 Documentation

  • Document placeholder and Ant-style pattern support for @Enable…Repositories #3366

🔨 Dependency Upgrades

  • Upgrade to MongoDB Java Drivers 5.5.2 #5070

4.4.11

17 Oct 08:31
135dcf4

Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Clean up Observation from context after command completion #5067
  • MongoObservationCommandListener causes memory leak #5064

📔 Documentation

  • Document placeholder and Ant-style pattern support for @Enable…Repositories #3366

5.0.0-M6

12 Sep 10:47
85cd4e7

Choose a tag to compare

5.0.0-M6 Pre-release
Pre-release

📗 Links

⭐ New Features

  • Remove defaulting for UUID and BigInteger/BigDecimal representations #5051
  • UpdateDefinition#inc should return this #5045
  • Remove representation format defaulting for UUID, BigDecimal, and BigInteger #5037

🐞 Bug Fixes

  • Fix BucketOperationSupport _id field exposure #5047
  • BucketOperation doesn't expose _id field, causing IllegalArgumentException in subsequent operations #5046
  • Default behavior for BigDecimal changed and broke custom converters #5036

🔨 Dependency Upgrades

  • Upgrade to MongoDB Java Drivers 5.6.0 #5057
  • Upgrade to MongoDB Java Drivers 5.6.0-alpha0 #5055

❤️ Contributors

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

4.5.4

12 Sep 09:45
107648a

Choose a tag to compare

📗 Links

🐞 Bug Fixes

  • Fix BucketOperationSupport _id field exposure #5047
  • BucketOperation doesn't expose _id field, causing IllegalArgumentException in subsequent operations #5046
  • Default behavior for BigDecimal changed and broke custom converters #5036

❤️ Contributors

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

4.4.10

12 Sep 08:57
df98f98

Choose a tag to compare