Releases: spring-projects/spring-data-mongodb
Releases · spring-projects/spring-data-mongodb
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!
4.1.6
4.0.12
3.4.18
4.2.0-RC1
📗 Links
⭐ New Features
- Add support for $median aggregation expression #4472
- Allow field names and map keys with dot (
.
) #4464 - Allow setting ReadPreference at a Repository and Query level [DATAMONGO-2103] #2971
🐞 Bug Fixes
- Repository query projection not working as expected since 3.4.x #4524
🔨 Dependency Upgrades
- Upgrade to MongoDB Driver 4.11.0 #4527
- Upgrade to Maven Wrapper 3.9.5 #4520
- Upgrade to OpenWebBeans 4.0 #4518
❤️ Contributors
We'd like to thank all the contributors who worked on this release!
4.1.5
4.0.11
3.4.17
4.2.0-M3
📗 Links
⭐ New Features
- Add support for $percentile aggregation expression #4473
- Add support for replaceOne operation #4463
- Add suport for replaceOne operation #4462
🐞 Bug Fixes
- 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
📔 Documentation
- Migrate documentation to Antora. #4497
❤️ Contributors
We'd like to thank all the contributors who worked on this release!