Christoph Strobl
38e406867a
Introduce AggregationStage API
...
With the introduction of AggregationStage we move the API closer to the MongoDB terminology removing kognitive overhead.
Also the change allows us to switch back and forth with the default implementations of toDocument and toDocuments which let's us remove the deprecation warnings having dedicated interfaces that indicate what to implement in order to comply with the usage pattern.
3 years ago
Christoph Strobl
5305c9542b
Favor pipelineStages over toDocument in AggregationOperation.
...
This commit makes sure to use available pipeline stages to figure out the operation.
3 years ago
Christoph Strobl
c02968d00a
Prepare issue branch.
3 years ago
Mark Paluch
3ab78fc1ed
Upgrade to Maven Wrapper 3.9.0.
...
See #4297
3 years ago
Christoph Strobl
fa0f026410
After release cleanups.
...
See #4294
3 years ago
Christoph Strobl
9c96a2b2c3
Prepare next development iteration.
...
See #4294
3 years ago
Christoph Strobl
0986210221
Release version 4.1 M2 (2023.0.0).
...
See #4294
3 years ago
Christoph Strobl
7d5372f049
Prepare 4.1 M2 (2023.0.0).
...
See #4294
3 years ago
Christoph Strobl
a5022e9bc4
After release cleanups.
...
See #4235
3 years ago
Christoph Strobl
aff8fbd62a
Prepare next development iteration.
...
See #4235
3 years ago
Christoph Strobl
633fbceb5a
Release version 4.1 M1 (2023.0.0).
...
See #4235
3 years ago
Christoph Strobl
fb9a0d8482
Prepare 4.1 M1 (2023.0.0).
...
See #4235
3 years ago
Christoph Strobl
d73807df1b
Support ReadConcern and ReadPreference via NearQuery.
...
Implement ReadConcernAware and ReadPreferenceAware for NearQuery and make sure those get applied when working with the template API.
Original Pull Request: #4288
3 years ago
Mark Paluch
e56f6ce87f
Polishing.
...
Documentation, refine parameter ordering.
Original Pull Request: #4288
3 years ago
Mark Paluch
c5c6fc107c
Support ReadConcern & ReadPreference via the Query and Aggregation API.
...
Add support for setting the ReadConcern and ReadPreference via the Query and Aggregation API.
Closes : #4277 , #4286
Original Pull Request: #4288
3 years ago
Christoph Strobl
368c644922
Guard tests for $lookup with let & pipeline
...
Add guard to skip tests prior to 5.0 server version.
Related to: #3322
3 years ago
Christoph Strobl
4d050f5021
Polishing.
...
Reuse Let from VariableOperators.
Limit API exposure and favor builders.
Update nullability constraints and assertions.
Update integration tests.
Add unit tests.
Original Pull Request: #4272
3 years ago
sangyongchoi
83923e0e2a
Add support for 'let' and 'pipeline' in $lookup
...
This commit introduces let and pipline to the Lookup aggregation stage.
Closes : #3322
Original Pull Request: #4272
3 years ago
Mark Paluch
25588850dd
Disable flakey test.
...
See #4290
3 years ago
Mark Paluch
55c81f4f54
Adopt to Mockito 5.1 changes.
...
Closes #4290
3 years ago
Christoph Strobl
ac7551e47f
Upgrade to MongoDB driver 4.9.0
...
Closes : #4289
3 years ago
Mark Paluch
6d3043de9a
Update CI properties.
...
See #4235
3 years ago
Mark Paluch
1a94b6e4ee
Upgrade to Maven Wrapper 3.8.7.
...
See #4281
3 years ago
Mark Paluch
33902b5061
Polishing.
...
Move QuerydslPredicateExecutor hints to RepositoryRuntimeHints.
See #4244
Original pull request: #4245
3 years ago
Christoph Strobl
d00db4bd40
Add missing hints for Querydsl integration.
...
This commit adds missing reflection configuration for Querydsl integration. We now also make sure to call the queryMixing getter instead of reading the field via reflection.
Closes #4244
Original pull request: #4245
3 years ago
Christoph Strobl
a5dcbf043a
Update links in reference documentation.
...
We now use the springDocsUrl attribute provided via spring-projects/spring-data-build#1895 to resolve links to framework documentation.
Original Pull Request: #4267
3 years ago
robeatoz
c31203582f
Fix parameter and method name in reference documentation.
...
Closes : #4247
3 years ago
Emre Uygun
f146afecdc
Fix typo in reference documentation.
...
Closes : #4250
3 years ago
Christoph Strobl
324a541a64
Polishing.
...
Original Pull Request: #4255
3 years ago
Michael Krog
6b71d773d7
Fixes return in Javadoc.
...
Closes : #4255
3 years ago
Patouche
10447afe0c
Fix typo in reference documentation.
...
Closes : #4268
3 years ago
soumyaPrakashB
c9dfd60f0f
Add missing Nullable annotation.
...
For one of constructor arguments of the AggregationOptions the Nullable annotation for the cursor argument is missing.
Closes : #4256
3 years ago
Mark Paluch
26a8fafd03
Upgrade to MongoDB driver 4.8.2.
...
Closes #4270
3 years ago
Mark Paluch
00f652a094
Polishing.
...
Add missing package-info.
See #4248
Original pull request: #4249
3 years ago
Christoph Strobl
d050ae5732
Exclude mongodb and data.mongodb namespaces from reflection contribution.
...
In some cases the users domain model may hold references to spring data or MongoDB specific types which should not be included in the reflection configuration as they are part of the static runtime hints configuration.
Closes #4248
Original pull request: #4249
3 years ago
Christoph Strobl
8bcab93588
Avoid multiple mapping iterations.
...
A 2nd pass is no longer needed as the context already does all the work.
Closes : #4043
Original pull request: #4240
3 years ago
Mark Paluch
1839f55055
Polishing.
...
Introduce HintFunction to encapsulate how hints are applied and to remove code duplications.
See #4238
Original pull request: #4243
3 years ago
Christoph Strobl
4220df5bf8
Accept index names as hint for aggregations.
...
Closes #4238
Original pull request: #4243
3 years ago
Christoph Strobl
95c6d1531f
Fix invalid format specifier in debug statement.
...
Closes #4241
Original pull request: #4246
3 years ago
Christoph Strobl
b7ed099e06
Update broken links in reference documentation.
...
Original Pull Request: #4267
3 years ago
Maksymilian Babarowski
7e2e546e55
Update links to Spring Framework reference docs.
...
Closes : #4267
3 years ago
yangwenjie008
7ce2ebe26e
Fix class loader issue with LazyLoadingProxyInterceptor.
...
Restore original behaviour that was unintentionally changed by modifications related to #4148 .
Closes : #4260
Original Pull Request: #4261
3 years ago
Mark Paluch
fbf4d1baa8
Extend license header copyright years to 2023.
...
See #4264
3 years ago
Christoph Strobl
187f260fe4
Upgrade to MongoDB driver 4.8.1
...
Closes : #4251
3 years ago
Mark Paluch
04411075b4
Update CI properties.
...
See #4235
3 years ago
Mark Paluch
459a9c191b
After release cleanups.
...
See #4209
3 years ago
Mark Paluch
137cba8bbb
Prepare next development iteration.
...
See #4209
3 years ago
Mark Paluch
548cbd87b6
Release version 4.0 GA (2022.0.0).
...
See #4209
3 years ago
Mark Paluch
02647ad125
Prepare 4.0 GA (2022.0.0).
...
See #4209
3 years ago
Christoph Strobl
fe549f7254
Add Nullable annotation to parameter of overridden equals method.
...
Closes : #4226
Original pull request: #4277
3 years ago