Releases: spring-projects/spring-data-mongodb
Releases · spring-projects/spring-data-mongodb
5.0.0
📗 Links
⭐ New Features
- Deprecate background flag for creating indexes. #5085
- Consider removing
backgroundattribute from@Indexedand@CompoundIndexannotations #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#incshould returnthis#5045- Align AOT and reflective repository behavior #5038
- Remove representation format defaulting for
UUID,BigDecimal, andBigInteger#5037 - Switch
Meta.allowDiskUsefrombooleantoString#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
Metaannotation #4970 - Allow customizing order for AuditingEntityCallback and ValidatingEntityCallback #4968
- Implement
RepositoryFactorySupport.getEntityInformation(RepositoryMetadata)instead of private overload #4967 - Use
LocalVariableNameFactoryto avoid parameter name clashes #4965 - Adopt to AOT changes in Commons #4964
- Provide
MethodContributorMetadata 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
allowDiskUseattribute ofMetaannotation #4667 - Switch
DefaultMessageListenerContainerto auto-startup #4403 - Update default UUID representation to
Standard(BSON binary subtype 4) #3932 - Move
PropertyPathandTypeInformationtypes tocorepackage #3393 - Refine AOT Repositories infrastructure #3267
🐞 Bug Fixes
- Remove parent observation key instead of setting
null#5083 - Reactive observation without parent fails with
NullPointerExceptionduring completion #5082 - Clean up Observation from context after command completion #5067
MongoObservationCommandListenercauses 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
$outsyntax #4986 - Extended
$outsyntax fails when usingAggregation.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
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](https://github.com/spring-projects/spr...
4.5.6
4.4.12
5.0.0-RC2
📗 Links
⭐ New Features
- Deprecate background flag for creating indexes. #5085
- Consider removing
backgroundattribute from@Indexedand@CompoundIndexannotations #5074 - Add support for property placeholder in expireAfter for MongoDB indexes #5049
- Can't (still) use properties in
@Indexed#expireAfter#4980 - Move
PropertyPathandTypeInformationtypes tocorepackage #3393
🐞 Bug Fixes
- Remove parent observation key instead of setting
null#5083 - Reactive observation without parent fails with
NullPointerExceptionduring 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
📗 Links
⭐ New Features
- Refine AOT Repositories infrastructure #3267
🐞 Bug Fixes
- Clean up Observation from context after command completion #5067
MongoObservationCommandListenercauses 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
📗 Links
🐞 Bug Fixes
- Clean up Observation from context after command completion #5067
MongoObservationCommandListenercauses 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
5.0.0-M6
📗 Links
⭐ New Features
- Remove defaulting for UUID and BigInteger/BigDecimal representations #5051
UpdateDefinition#incshould returnthis#5045- Remove representation format defaulting for
UUID,BigDecimal, andBigInteger#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
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.5.4
📗 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!