Christoph Strobl
db4a1be5cb
Update after review
2023-07-25 10:30:13 +02:00
Christoph Strobl
2e336a12e9
Refine locking.
2023-07-21 13:37:36 +02:00
Christoph Strobl
3e517e9c84
Prepare issue branch.
2023-07-21 13:37:36 +02:00
Julia Lee
e1986373fd
Polishing.
...
Remove duplicate test configuration.
Original Pull Request: #4447
2023-07-17 10:20:59 +02:00
Julia Lee
5407456973
Fix test setup so that temporal conversions use symmetric timezone setting.
...
Closes : #4446
Original Pull Request: #4447
2023-07-17 10:12:02 +02:00
Mark Paluch
31f0aa348d
After release cleanups.
...
See #4387
2023-07-14 14:57:12 +02:00
Mark Paluch
28abf1c15b
Prepare next development iteration.
...
See #4387
2023-07-14 14:57:10 +02:00
Mark Paluch
2deede7513
Release version 4.2 M1 (2023.1.0).
...
See #4387
4.2.0-M1
2023-07-14 14:53:18 +02:00
Mark Paluch
5a48825439
Prepare 4.2 M1 (2023.1.0).
...
See #4387
2023-07-14 14:52:12 +02:00
Mark Paluch
f4a3e293e8
Upgrade to MongoDB driver 4.10.2.
...
Closes #4445
2023-07-11 15:46:37 +02:00
Mark Paluch
f0697db32b
Polishing.
...
Reformat code, replace known unsupported constructor with UnsupportedOperationException.
See #4432
Original pull request: #4439
2023-07-10 10:48:29 +02:00
Christoph Strobl
2cc5e427bc
Delegate Bson conversion to MongoDB Codec.
...
Instead of reimplementing conversion we now try to delegate to the native MongoDB codec infrastructure using a custom writer that will only capture values without actually pushing values to an output stream.
See #4432
Original pull request: #4439
2023-07-10 10:48:29 +02:00
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