5.0.0-M4
Pre-release
Pre-release
📗 Links
⭐ New Features
- 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
- Enable auto-startup for
DefaultMessageListenerContainer
#4976 - Allow customizing order for AuditingEntityCallback and ValidatingEntityCallback #4968
- Provide
MethodContributor
Metadata for skipped query methods #4961 - Deprecate
MongoCustomConversions.BigDecimalRepresentation.STRING
#4957 - 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
- Switch
DefaultMessageListenerContainer
to auto-startup #4403
🐞 Bug Fixes
- 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 usingAggregation.out(…).in("dbName")
#4969
📔 Documentation
- Document how to create
MongoTemplate
andMongoTransactionManager
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 exploreCollectionOptions
customization #4979 - Refine
MongoTemplate.createCollection(…)
Javadoc #4978
🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!