Christoph Strobl
a8f08bab86
Fix encryption of java.time types.
...
This commit makes sure to convert java.time types into their BsonValue representation before encrypting.
See #4432
Original pull request: #4439
2023-07-10 10:48:29 +02:00
Christoph Strobl
19211a0f8e
Fix decryption when client is using AutoEncryptionSettings#isBypassAutoEncryption().
...
This commit makes sure to convert already decrypted entries returned by the driver in case the client is configured with encryption settings.
Closes #4432
Original pull request: #4439
2023-07-10 10:48:28 +02:00
Christoph Strobl
9e0c24435c
Upgrade mongodb-crypt to 1.8.0
...
Closes : #4440
2023-07-07 11:40:06 +02:00
Christoph Strobl
19b1e713b2
Upgrade to MongoDB driver 4.10.1
...
Closes : #4441
2023-07-07 11:39:42 +02:00
Mark Paluch
af26bb6b31
Polishing.
...
Introduce limit(Limit) method to limit query results applying the Limit domain type.
See #4397
Original pull request: #4398
2023-07-05 12:02:04 +02:00
Christoph Strobl
d78f47f035
Add tests to verify Limit is supported.
...
Closes #4397
Original pull request: #4398
2023-07-05 12:01:44 +02:00
Mark Paluch
8cd956e90a
Update CI properties.
...
See #4387
2023-07-03 09:50:16 +02:00
Mark Paluch
49cc6a708d
Upgrade to Maven Wrapper 3.9.3.
...
See #4436
2023-07-03 09:49:43 +02:00
Christoph Strobl
0bf472a29b
Polishing.
...
Update tests to make use of ValueSource.
Replace regex based path inspection with segment by segment analysis.
Original Pull Request: #4427
2023-06-28 13:25:08 +02:00
lijixue
2de00cdb2f
Fix QueryMapper property path resolution for nested paths containing numeric values.
...
Prior to this fix a path that contains numeric values used as position parameters would have been stripped in a way that left out the last digit. This could lead to wrong path resolution if the incorrectly constructed property name accidentally matched an existing one.
Closes : #4426
Original Pull Request: #4427
2023-06-28 13:25:08 +02:00
Mark Paluch
05c38b819f
Retain scroll direction across keyset scroll requests.
...
Closes #4413
2023-06-15 15:09:44 +02:00
Christoph Strobl
c5674d9264
Delombok test source.
...
Closes : #4411
2023-06-14 15:20:07 +02:00
Christoph Strobl
048af85be0
Accept expression as input for filter aggregation operator.
...
Closes #4394
Original pull request: #4395
2023-06-14 14:19:30 +02:00
Christoph Strobl
110877eb04
Fix converter registration when using driver native time codec.
...
This commit prevents converters from being used as writing converter causing asymmetric write/read operations.
Closes #4390
Original pull request: #4392
2023-06-14 11:04:10 +02:00
Mark Paluch
5d571005bb
Polishing.
...
Use extended switch syntax.
See #4404
Original pull request: #4412
2023-06-14 10:00:15 +02:00
Christoph Strobl
57688d8642
Polishing.
...
Mark method potentially returning null as such and remove unused imports.
See #4404
Original pull request: #4412
2023-06-14 10:00:15 +02:00
Christoph Strobl
d6227e52f9
Use exact matching for IN clause with ignore case.
...
Prior to this change the generated pattern would have matched more entries than it should have. The behavior is now aligned to its counterpart not using the IgnoreCase flag.
Closes #4404
Original pull request: #4412
2023-06-14 10:00:15 +02:00
Mark Paluch
7e6e029352
Upgrade to Maven Wrapper 3.9.2.
...
See #4410
2023-06-13 08:54:58 +02:00
Mark Paluch
12c4bf6361
Use snapshot and milestone repositories instead of libs-snapshot and libs-milestone.
...
Closes #4401
2023-06-06 09:47:04 +02:00
Christoph Strobl
98795cb33e
Convert BsonUndefined to null value.
...
Register a reading converter that returns null when attempting to read a value of type BsonUndefined.
Prior to this change users faced a ConverterNotFoundException when source documents contained BsonUndefined.
Resolves : #2350
2023-06-01 09:24:29 +02:00
Christoph Strobl
fa63efcb24
Add tests using $slice on dbref field.
...
Closes : #2191
2023-05-31 16:11:40 +02:00
Christoph Strobl
5ffaa79f4e
Fix code snippet in change streams reference documentation.
...
Closes : #4376
2023-05-30 13:01:57 +02:00
Christoph Strobl
f775d485c6
Update docker image build instructions.
...
Closes : #4372
2023-05-30 13:01:57 +02:00
Mark Paluch
370b4145d2
Polishing.
...
Add assertions and missing Override annotations. Avoid recursive self-call on getClassLoader. Extend documentation.
See #1627
Original pull request: #4389
2023-05-26 14:48:08 +02:00
Christoph Strobl
4b78ef6523
Extend GridFsTemplate and its reactive variant to accept a provided GridFSBucket instance.
...
Allow to pass in a GridFSBucket from outside to avoid recreating instances on every method call.
Closes #1627
Original pull request:# 4389
2023-05-26 14:48:08 +02:00
Christoph Strobl
5163e544ae
After release cleanups.
...
See #4369
2023-05-12 14:18:53 +02:00
Christoph Strobl
431512a66c
Prepare next development iteration.
...
See #4369
2023-05-12 14:18:51 +02:00
Christoph Strobl
532b460067
Release version 4.1 GA (2023.0.0).
...
See #4369
4.1.0
2023-05-12 14:14:38 +02:00
Christoph Strobl
af846a962a
Prepare 4.1 GA (2023.0.0).
...
See #4369
2023-05-12 14:14:05 +02:00
Mark Paluch
776dadeac8
Polishing.
...
Introduce has…() and getRequired…() methods for comment and max time limit to remove code duplications.
See #4374
Original pull request: #4378
2023-05-11 10:13:56 +02:00
Christoph Strobl
629dfc187e
Fix missing query options when calling MongoOperations#count.
...
This commit makes sure to forward maxTimeMsec and comment options from the query to the CountOptions.
Closes : #4374
Original pull request: #4378
2023-05-10 15:19:17 +02:00
Christoph Strobl
289438b1e4
Fix regression in value to String mapping.
...
Previous versions allow arbitrary values to be mapped to an string property by calling the ObjectToString converter. This behaviour got lost and is not reestablished.
Closes #4371
Original pull request #4373
2023-05-10 14:52:53 +02:00
Oliver Drotbohm
83958ba316
Adapt to ScrollPosition API changes in Spring Data Commons.
...
Fixes #4377 .
Related ticket: #2824 .
2023-04-27 19:42:27 +02:00
Christoph Strobl
3a99d4c29a
Fix broken links in observability section of reference documentation.
...
Add back micrometer-docs-generator plugin in version 1.0.1.
Fixes : #4236
2023-04-24 13:04:38 +02:00
Tomasz Forys
561c3d4f39
Instanceof casting simplification.
...
Closes : #4265
2023-04-24 09:57:40 +02:00
Christoph Ahlers
7f74794a11
Fix inconsistent strong tag usage in javadoc.
...
Closes : #4177
2023-04-20 15:04:25 +02:00
Thom
238d8c5ed0
Fix link to custom conversion section in reference documentation.
...
Closes : #4287
2023-04-20 15:04:15 +02:00
Christoph Strobl
c096caac7d
Provide context configuration hints for Spring Boot.
...
Closes : #3381
2023-04-20 15:04:04 +02:00
Christoph Strobl
c794acaf61
Cover missing Aggregation Stages in reference documentation.
...
Closes : #3938
2023-04-20 15:01:49 +02:00
Christoph Strobl
339db9d1b8
Add 2023.0 release to compatibility matrix.
...
Closes : #3940
2023-04-20 15:01:39 +02:00
Christoph Strobl
c04fe744cb
Update AggregationExpression javadoc.
...
See: #4370
2023-04-20 15:01:32 +02:00
Greg L. Turnquist
a16558e4a3
After release cleanups.
...
See #4337
2023-04-14 12:00:02 -05:00
Greg L. Turnquist
0675b052c6
Prepare next development iteration.
...
See #4337
2023-04-14 11:59:56 -05:00
Greg L. Turnquist
6b85edfa84
Release version 4.1 RC1 (2023.0.0).
...
See #4337
4.1.0-RC1
2023-04-14 11:53:59 -05:00
Greg L. Turnquist
f4ec21792f
Prepare 4.1 RC1 (2023.0.0).
...
See #4337
2023-04-14 11:53:21 -05:00
Mark Paluch
67bd722cfd
Polishing.
...
Extract common code into BulkOperationsSupport. Reorder methods. Add missing verifyComplete to tests.
See #2821
Original pull request: #4342
2023-04-14 14:51:20 +02:00
Christoph Strobl
86dd81f770
Add support for reactive bulk operations.
...
Closes #2821
Original pull request: #4342
2023-04-14 14:51:19 +02:00
Mark Paluch
2f146dd142
Polishing.
...
Refine updateOne/updateMulti signatures to accept UpdateDefinition in the generic signature. Use pattern variables and records where applicable. Resolve code duplicates.
See #3872
Original pull request: #4344
2023-04-14 09:34:54 +02:00
Christoph Strobl
0ba857aa22
Add support for AggregationUpdate to BulkOperations.
...
We now accept `UpdateDefinition` in `BulkOperations` to support custom update definitions and aggregation updates.
Closes #3872
Original pull request: #4344
2023-04-14 09:34:54 +02:00
Mark Paluch
a94ea17e0e
Polishing.
...
Reformat code. Remove unused fields, modifiers and documentation artifacts.
See #4088
Original pull request: #4341
2023-04-14 08:58:42 +02:00