Releases: spring-projects/spring-data-mongodb
Releases · spring-projects/spring-data-mongodb
4.1.10
📗 Links
🐞 Bug Fixes
Criteria.regex
converted toString
for@Field(targetType = FieldType.STRING)
property #4649AggregationOptions.maxTime
ignored forMongoTemplate.aggregateStream()
#4644
📔 Documentation
- Update mongo-encryption.adoc #4638
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
- @ashni-mongodb
4.3.0-M1
📗 Links
⭐ New Features
- Add support for Value Expressions #4635
- Add support for ValueExpression #4634
- Make
MongoHandlerContext
public to leverage contextual information to customizeObservation
s #4622 - Allow custom MongoHandlerObservationConvention usage #4607
- Ensure compatibility with MongoDB Driver 5.x #4578
- Customize observation spans #4321
🐞 Bug Fixes
- DTO projections read properties twice #4626
- Nested Interface-based projection fails with
ConverterNotFoundException
#4609 - Query instances with the same limit are not equal anymore #4584
- Adopt
MongoParameters
andMongoParameter
to reflect the actual parameter type when using generics #4579 - Query from method name has map entries in wrong order. #4577
- NullPointerException thrown for Updates with Maps that contain null values #4567
- Fixed the URL for the Spring Data Commons documentation #4563
QueryMapper
with annotations and does not properly appliesPropertyValueConverter
#4510- String to ObjectId mapping error when using query method #4490
📔 Documentation
- Reinstate Compatibility Matrix in reference docs #4623
- Fix typo in Javadoc #4620
- Docs for IndexOperations.resetIndexCache() should be removed #4587
- Reference docs of Mapping Configuration overflows Java/XML config snippets #4575
- Behavior breaking change deserializing property with null value #4571
🔨 Dependency Upgrades
- Upgrade to Maven Wrapper 3.9.6 #4592
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.2.3
📗 Links
⭐ New Features
- Make
MongoHandlerContext
public to leverage contextual information to customizeObservation
s #4622 - Ensure compatibility with MongoDB Driver 5.x #4578
🐞 Bug Fixes
- DTO projections read properties twice #4626
- Nested Interface-based projection fails with
ConverterNotFoundException
#4609
📔 Documentation
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.1.9
📗 Links
⭐ New Features
- Make
MongoHandlerContext
public to leverage contextual information to customizeObservation
s #4622
🐞 Bug Fixes
- DTO projections read properties twice #4626
- Nested Interface-based projection fails with
ConverterNotFoundException
#4609
📔 Documentation
- Fix typo in Javadoc #4620
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.2.2
4.1.8
4.2.1
📗 Links
🐞 Bug Fixes
- Query instances with the same limit are not equal anymore #4584
- Query from method name has map entries in wrong order. #4577
- NullPointerException thrown for Updates with Maps that contain null values #4567
- Fixed the URL for the Spring Data Commons documentation #4563
📔 Documentation
- Docs for IndexOperations.resetIndexCache() should be removed #4587
- Reference docs of Mapping Configuration overflows Java/XML config snippets #4575
- Behavior breaking change deserializing property with null value #4571
🔨 Dependency Upgrades
- Upgrade to Maven Wrapper 3.9.6 #4590
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.1.7
📗 Links
🐞 Bug Fixes
- Query from method name has map entries in wrong order. #4577
- NullPointerException thrown for Updates with Maps that contain null values #4567
📔 Documentation
- Docs for IndexOperations.resetIndexCache() should be removed #4587
🔨 Dependency Upgrades
- Upgrade to Maven Wrapper 3.9.6 #4591
4.2.0
📗 Links
⭐ New Features
- Add support for $percentile aggregation expression #4473
- Add support for $median aggregation expression #4472
- Allow field names and map keys with dot (
.
) #4464 - Add support for replaceOne operation #4463
- Add suport for replaceOne operation #4462
- Support
Limit
parameter in query methods #4397 - Allow setting ReadPreference at a Repository and Query level [DATAMONGO-2103] #2971
- Provide an optional way to convert from BsonUndefined to null [DATAMONGO-1439] #2350
- Support provided
GridFSBucket
inGridFsTemplate
#1627
🐞 Bug Fixes
- Repository query projection not working as expected since 3.4.x #4524
ReactiveMongoTemplate
does not returnChangeStreamEvents
with PreImages #4495- Correctly read unwrapped properties during constructor creation #4492
- Unwrapped fields cannot be resolved in the constructor #4491
- Constructor creation using
@DocumentReference
SpEL referring toself
in fails #4484 - Class cast exception obtaining
Observation
context onabortTransaction
completion #4481 - Fix schema generation for encrypted fields that are considered domain entities. #4455
- Schema creator may miss encryption on entity field. #4454
@Field
annotation not honoured after $unwind stage in aggregation #4443- ClassCastException when reading (decrypting) using
@ExplicitEncrypted
on custom type instead of simple type #4432 - Update path not correctly mapped when last segment is multi digit number #4426
- Keyset
positionFunction
does not retain directional state #4413 InIgnoreCase
queries match on substrings #4404- Filter doesn't support expression as input #4394
- Date saved incorrectly with java.time codecs enabled #4390
- Reduce aggregation operation doesn't allow using
Variable.VALUE
andVariable.THIS
with strict mapping #4070 - $slice access to
@DBRef
field throw exception [DATAMONGO-1272] #2191
📔 Documentation
- findAndReplace does not generate Version when null #4536
- Migrate documentation to Antora. #4497
- Incorrect code snippet for change streams documentation #4376
- Please correct instructions on how to test and build spring-data-mongodb locally #4372
- LocalDate properties depend on the machine's timezone setting [DATAMONGO-2627] #3482
🔨 Dependency Upgrades
- Upgrade to MongoDB driver 4.11.1 #4551
- Upgrade to MongoDB Driver 4.11.0 #4527
- Upgrade to Maven Wrapper 3.9.5 #4520
- Upgrade to OpenWebBeans 4.0 #4518
- Upgrade to Maven Wrapper 3.9.4 #4470
- Upgrade to MongoDB driver 4.10.2 #4445
- Upgrade to MongoDB driver 4.10.1 #4441
- Upgrade mongodb-crypt to 1.8.0 #4440
- Upgrade to Maven Wrapper 3.9.3 #4436
- Upgrade to Maven Wrapper 3.9.2 #4410
❤️ Contributors
We'd like to thank all the contributors who worked on this release!