Christoph Strobl
cd44432f81
Include & Exclude paths in project aggregation stage.
2 years ago
Christoph Strobl
f42e63d613
Prepare issue branch.
2 years ago
Mark Paluch
af26bb6b31
Polishing.
...
Introduce limit(Limit) method to limit query results applying the Limit domain type.
See #4397
Original pull request: #4398
2 years ago
Christoph Strobl
d78f47f035
Add tests to verify `Limit` is supported.
...
Closes #4397
Original pull request: #4398
2 years ago
Mark Paluch
8cd956e90a
Update CI properties.
...
See #4387
2 years ago
Mark Paluch
49cc6a708d
Upgrade to Maven Wrapper 3.9.3.
...
See #4436
2 years ago
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
3 years ago
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
3 years ago
Mark Paluch
05c38b819f
Retain scroll direction across keyset scroll requests.
...
Closes #4413
3 years ago
Christoph Strobl
c5674d9264
Delombok test source.
...
Closes : #4411
3 years ago
Christoph Strobl
048af85be0
Accept expression as input for filter aggregation operator.
...
Closes #4394
Original pull request: #4395
3 years ago
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
3 years ago
Mark Paluch
5d571005bb
Polishing.
...
Use extended switch syntax.
See #4404
Original pull request: #4412
3 years ago
Christoph Strobl
57688d8642
Polishing.
...
Mark method potentially returning null as such and remove unused imports.
See #4404
Original pull request: #4412
3 years ago
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
3 years ago
Mark Paluch
7e6e029352
Upgrade to Maven Wrapper 3.9.2.
...
See #4410
3 years ago
Mark Paluch
12c4bf6361
Use snapshot and milestone repositories instead of libs-snapshot and libs-milestone.
...
Closes #4401
3 years ago
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
3 years ago
Christoph Strobl
fa63efcb24
Add tests using $slice on dbref field.
...
Closes : #2191
3 years ago
Christoph Strobl
5ffaa79f4e
Fix code snippet in change streams reference documentation.
...
Closes : #4376
3 years ago
Christoph Strobl
f775d485c6
Update docker image build instructions.
...
Closes : #4372
3 years ago
Mark Paluch
370b4145d2
Polishing.
...
Add assertions and missing Override annotations. Avoid recursive self-call on getClassLoader. Extend documentation.
See #1627
Original pull request: #4389
3 years ago
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
3 years ago
Christoph Strobl
5163e544ae
After release cleanups.
...
See #4369
3 years ago
Christoph Strobl
431512a66c
Prepare next development iteration.
...
See #4369
3 years ago
Christoph Strobl
532b460067
Release version 4.1 GA (2023.0.0).
...
See #4369
3 years ago
Christoph Strobl
af846a962a
Prepare 4.1 GA (2023.0.0).
...
See #4369
3 years ago
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
3 years ago
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
3 years ago
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
3 years ago
Oliver Drotbohm
83958ba316
Adapt to ScrollPosition API changes in Spring Data Commons.
...
Fixes #4377 .
Related ticket: #2824 .
3 years ago
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
3 years ago
Tomasz Forys
561c3d4f39
Instanceof casting simplification.
...
Closes : #4265
3 years ago
Christoph Ahlers
7f74794a11
Fix inconsistent strong tag usage in javadoc.
...
Closes : #4177
3 years ago
Thom
238d8c5ed0
Fix link to custom conversion section in reference documentation.
...
Closes : #4287
3 years ago
Christoph Strobl
c096caac7d
Provide context configuration hints for Spring Boot.
...
Closes : #3381
3 years ago
Christoph Strobl
c794acaf61
Cover missing Aggregation Stages in reference documentation.
...
Closes : #3938
3 years ago
Christoph Strobl
339db9d1b8
Add 2023.0 release to compatibility matrix.
...
Closes : #3940
3 years ago
Christoph Strobl
c04fe744cb
Update AggregationExpression javadoc.
...
See: #4370
3 years ago
Greg L. Turnquist
a16558e4a3
After release cleanups.
...
See #4337
3 years ago
Greg L. Turnquist
0675b052c6
Prepare next development iteration.
...
See #4337
3 years ago
Greg L. Turnquist
6b85edfa84
Release version 4.1 RC1 (2023.0.0).
...
See #4337
3 years ago
Greg L. Turnquist
f4ec21792f
Prepare 4.1 RC1 (2023.0.0).
...
See #4337
3 years ago
Mark Paluch
67bd722cfd
Polishing.
...
Extract common code into BulkOperationsSupport. Reorder methods. Add missing verifyComplete to tests.
See #2821
Original pull request: #4342
3 years ago
Christoph Strobl
86dd81f770
Add support for reactive bulk operations.
...
Closes #2821
Original pull request: #4342
3 years ago
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
3 years ago
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
3 years ago
Mark Paluch
a94ea17e0e
Polishing.
...
Reformat code. Remove unused fields, modifiers and documentation artifacts.
See #4088
Original pull request: #4341
3 years ago
Christoph Strobl
3b99fa0fb4
Skip output for `void` methods using declarative Aggregations having `$out` stage.
...
We now set the skipOutput flag if an annotated Aggregation defines an $out stage and when the method is declared to return no result (void / Mono<Void>, kotlin.Unit)
Closes : #4088
Original pull request: #4341
3 years ago
Christoph Strobl
4b0c0274e8
Enable index modification via IndexOperations.
...
Introduce IndexOptions that can be used to alter an existing index via IndexOperations.
See: #4348
3 years ago