Releases: spring-projects/spring-data-mongodb
Releases · spring-projects/spring-data-mongodb
5.0.0-M5
📗 Links
⭐ New Features
- Align AOT and reflective repository behavior #5038
- Switch
Meta.allowDiskUsefrombooleantoString#5035 - Switch to Standard UUID representation #5034
- Fix AOT vs reflective behavior failures in
AotPersonRepositoryIntegrationTests#5027 - Redesign
allowDiskUseattribute ofMetaannotation #4667 - Update default UUID representation to
Standard(BSON binary subtype 4) #3932
🐞 Bug Fixes
- Unwrap LazyLoadingProxy before checking isNew #5033
- DuplicateKeyException on save lazy loaded references #5031
- Provide fallback for Observation KeyValues #5020
📔 Documentation
- Fix mapping-index-management.adoc examples #5039
- Minor markdown bold syntax fix in the mongo encryption doc #5030
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.5.3
4.4.9
📗 Links
🐞 Bug Fixes
- Provide fallback for Observation KeyValues #5020
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
5.0.0-M4
📗 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
MethodContributorMetadata 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
DefaultMessageListenerContainerto 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
$outsyntax #4986 - Extended
$outsyntax fails when usingAggregation.out(…).in("dbName")#4969
📔 Documentation
- Document how to create
MongoTemplateandMongoTransactionManagerfor 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#createIndexis incorrect #5010 - Update Readme #4998
- Update documentation of encrypted field configuration #4991
- Refine
createCollection(…)documentation and exploreCollectionOptionscustomization #4979 - Refine
MongoTemplate.createCollection(…)Javadoc #4978
🔨 Dependency Upgrades
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.5.2
📗 Links
📔 Documentation
- Document how to create
MongoTemplateandMongoTransactionManagerfor 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#createIndexis incorrect #5010
🔨 Dependency Upgrades
- Upgrade to Maven Wrapper 3.9.11 #5022
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.4.8
📗 Links
📔 Documentation
- Document how to create
MongoTemplateandMongoTransactionManagerfor default transaction participation #5019 - SimpleMongoClientDatabaseFactory does not close MongoClient when it's not registered as a Spring Bean #5012
🔨 Dependency Upgrades
- Upgrade to Maven Wrapper 3.9.11 #5023
4.5.1
📗 Links
⭐ New Features
- 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
🐞 Bug Fixes
- 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
$outsyntax #4986 - Extended
$outsyntax fails when usingAggregation.out(…).in("dbName")#4969
📔 Documentation
- Update documentation of encrypted field configuration #4991
- Refine
createCollection(…)documentation and exploreCollectionOptionscustomization #4979 - Refine
MongoTemplate.createCollection(…)Javadoc #4978
🔨 Dependency Upgrades
- Upgrade to MongoDB driver 5.5.1 #4996
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.4.7
4.3.13
📗 Links
🐞 Bug Fixes
5.0.0-M3
📗 Links
⭐ New Features
- Implement
RepositoryFactorySupport.getEntityInformation(RepositoryMetadata)instead of private overload #4967 - Use
LocalVariableNameFactoryto avoid parameter name clashes #4965 - Explore Search Results #4960
- Remove JMX support #4940
- Add support for MongoDB AOT Repositories #4939
- SortArray does not support sorting simple array types (integer/string) #4929
- Migrate to JSpecify annotations for nullability constraints #4874
- Adopt to deprecation removals in Commons #4837
- Add support for VectorSearch Aggregation Stage #4706
- Queryable Encryption Support #4185
🐞 Bug Fixes
- Inconsistent
_idStorage Type BetweensaveandsaveAllfor@MongoId String id#4944 - AddFieldsOperationBuilder.addFieldWithValueOf should treat String value as Field reference #4933
📔 Documentation
🔨 Dependency Upgrades
- Upgrade to MongoDB driver 5.5.0 #4962
❤️ Contributors
We'd like to thank all the contributors who worked on this release!