Skip to content

5.0.0

Latest

Choose a tag to compare

@mp911de mp911de released this 14 Nov 13:00
· 2 commits to main since this release
5f3468f

📗 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
  • Document usage scope and effects of Meta annotation #4854
  • @Meta annotation not working properly with MongoRepository and custom repositories #4852
  • Update documentation #3384
  • Document placeholder and Ant-style pattern support for @Enable…Repositories #3366
  • Refine version properties for documentation build #2638

🔨 Dependency Upgrades

  • Upgrade to jMolecules 2025.0.0 BOM #5094
  • Upgrade to MongoDB Java Drivers 5.6.1 #5071
  • Upgrade to MongoDB Java Drivers 5.6.0 #5057
  • Upgrade to MongoDB Java Drivers 5.6.0-alpha0 #5055
  • Upgrade to Maven Wrapper 3.9.11 #5021
  • Upgrade to MongoDB driver 5.5.1 #4996
  • Upgrade to Testcontainers 2.0 #2688

❤️ Contributors

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