Christoph Strobl
052cfdfd45
Add support for $bottom aggregation operator.
...
Closes #4139
Original pull request: #4182 .
3 years ago
Christoph Strobl
b31c21bb91
Upgrade to MongoDB driver 4.8.0-beta0.
...
Closes : #4200
3 years ago
Christoph Strobl
5b6e5ca568
Update tests.
...
Original Pull Request: #4196
3 years ago
gongxuanzhang
1a9136c0c1
Fix json schema type name for boolean.
...
Was boolean should have been bool.
Closes : #4196
3 years ago
Mark Paluch
59753bb55a
Adapt to changed AOT packages in Spring Data Commons.
...
Closes #4199
3 years ago
Christoph Strobl
8d963fc5da
Add option to configure change stream behaviour at collection creation time.
...
Introduce CollectionChangeStreamOptions which allows to define the changeStreamPreAndPostImages of the createCollection command.
Original Pull Request: #4193
3 years ago
Christoph Strobl
c1de745014
Polishing.
...
Update javadoc, format imports and add issue references.
Original Pull Request: #4193
3 years ago
myroslav.kosinskyi
aa35aaeb70
Add fullDocumentBeforeChange support for change streams.
...
Closes : #4187
Original Pull Request: #4193
3 years ago
Mark Paluch
a5725806f5
Remove references to `ClassTypeInformation` from `TypeInformation`.
...
Closes #4195
3 years ago
Christoph Strobl
d715414683
Switch to micrometer 1.10 snapshots.
...
Follow signature changes.
See: #4191
See: spring-projects/spring-data-build#1810
3 years ago
Christoph Strobl
f2c2451b7d
Add hint how to use $search aggregation operator to reference documentation.
...
Closes : #4183
3 years ago
Christoph Strobl
5b8d0d08ee
Update reactive transaction sample in reference documentation.
...
Closes : #4190
3 years ago
Christoph Ahlers
18186f26e2
Remove unused imports.
...
Closes : #4178
3 years ago
Christoph Ahlers
10acc14c14
Fix javadoc parameter names.
...
Closes : #4179
3 years ago
Wan Bachtiar
87effb9013
Fix typo in reference documentation.
...
Closes : #4180
3 years ago
Mark Paluch
19819680f9
Adopt to SLF4J 2.0 upgrade.
...
Exclude transitive Micrometer Test dependencies that ship outdated SLF4J implementations.
Closes #4189
3 years ago
Mark Paluch
2d2f67cc93
Prefer Java configuration over XML.
...
Closes #4186
3 years ago
Seungwoo Jo
e9818fe11a
Fix documentation typo in `BasicQuery`.
...
Closes #4169
Original pull request: #4170 .
3 years ago
Christoph Strobl
a63db5586c
Add missing aggregation system variables.
...
Move inner class SystemVariable to upper level and add missing values (NOW, CLUSTER_TIME, DECEND, PRUNE, KEEP & SEARCH_META)
Original pull request: #4176 .
Closes #4145
3 years ago
Mark Paluch
68ab74a5bf
Polishing.
...
Reformat code.
See #4004
Original pull request: #4006 .
3 years ago
Christoph Strobl
de33734118
Polishing
...
Update Javadoc to mention unit of measure for min/maxDistance depending on usage of geoJson.
Also remove unused imports from tests
See #4004
Original pull request: #4006 .
3 years ago
Christoph Strobl
c272c7317e
Fix rewrite near & nearSphere count queries using geoJson to geoWithin.
...
$near and $nearSphere queries are not supported via countDocuments and the used aggregation match stage and need to be rewritten to $geoWithin. The existing logic did not cover usage of geoJson types, which is fixed now. In case of nearSphere it is also required to convert the $maxDistance argument (given in meters for geoJson) to radians which is used by $geoWithin $centerSphere.
Closes #4004
Original pull request: #4006 .
Related to #2925
3 years ago
Spring Builds
d7fc605f7b
After release cleanups.
...
See #4117
3 years ago
Spring Builds
3b805b9e03
Prepare next development iteration.
...
See #4117
3 years ago
Spring Builds
91cca3f2c4
Release version 4.0 M6 (2022.0.0).
...
See #4117
3 years ago
Spring Builds
2de6384d0f
Prepare 4.0 M6 (2022.0.0).
...
See #4117
3 years ago
Christoph Strobl
ab1c0ff7b8
Apply conversion on document reference lookup using nested property.
...
Closes #4033
Original pull request: #4044 .
3 years ago
Christoph Strobl
ae2846c5bf
Generate and convert id on insert if explicitly defined.
...
We now make sure to provide an id value that matches the desired target type when no id is set, and the property defines an explicit conversion target.
Previously a new ObjectId would have been generated which leads to type inconsistencies when querying for _id.
Closes #4026
Original pull request: #4057 .
3 years ago
Christoph Strobl
e88c9cf791
Fix issue with reference conversion in updates.
...
We now make sure to convert references in update operations targeting collection like fields when using eg. the push modifier.
Closes #4041
Original pull request: #4045 .
3 years ago
Christoph Strobl
fadca10f62
Support `@DocumentReference` via Querydsl.
...
Closes #4037
Original pull request: #4069 .
3 years ago
Mark Paluch
40320136f3
Polishing.
...
See #4061
Original pull request: #4062 .
3 years ago
Christoph Strobl
bc575de3b0
Improve exception message when deriving collection name from type.
...
We now provide a better worded exception message when trying to derive the collection name for a type that is not considered a user types (such as org.bson.Document).
Update the Javadoc to hint to the error.
Closes #4061
Original pull request: #4062 .
3 years ago
Christoph Strobl
09b2afa79d
Initialize lists with size where possible.
...
Closes #3941
Original pull request: #3974 .
3 years ago
Mark Paluch
96b564eb9a
Polishing.
...
Reformat code.
See #4167 .
Original pull request: #4168 .
3 years ago
Christoph Strobl
38390d3475
Fix usage of change stream option startAfter.
...
We now make sure to apply the token to startAfter method of the driver. Before this change it had been incorrectly applied to resumeAfter.
Closes #4167 .
Original pull request: #4168 .
3 years ago
Mark Paluch
6937bb519b
Polishing.
...
Move off more deprecated API.
See #4164
Original pull request: #4165 .
3 years ago
Christoph Strobl
6e4d463053
Move off deprecated API.
...
Closes #4164
Original pull request: #4165 .
3 years ago
Mark Paluch
a9d2050806
Polishing.
...
Fix generics. Add warning suppressions for nullability checks.
See: #4104
Original pull request: #4156 .
3 years ago
Christoph Strobl
6676389062
Fix GeoJson polygon conversion for polygons with inner ring.
...
Closes : #4104
Original pull request: #4156 .
3 years ago
Mark Paluch
81f85b8cca
Polishing.
...
Tweak Javadoc, make ViewOptions.collation final.
See: #2594
Original pull request: #4142 .
3 years ago
Christoph Strobl
77f318bd77
Add support to create views via reactive/template API.
...
This commit introduces support to create MongoDB Views directly via the Reactive-/MongoOperations API.
Closes : #2594
Original pull request: #4142 .
3 years ago
Brian Clozel
7c7e70418f
Replace deprecated StreamUtils API
...
As of spring-projects/spring-framework#29125,
`StreamUtils..emptyInput()` is deprecated in favor of
`InputStream.nullInputStream()` from the JDK.
Closes : #4160
3 years ago
Mark Paluch
44a1123034
Adopt to changed Mockk artifact name.
...
Closes #4161
3 years ago
Mark Paluch
e487c08b0c
Polishing.
...
Reformat pom.xml
See #4161
3 years ago
Mark Paluch
a002d30aa9
Polishing.
...
Reformat pom.xml
See #4161
3 years ago
Tommy Ludwig
36ddd26edc
Adapt to SampleTestRunner refactor.
...
See: micrometer-metrics/tracing#57
Closes : #4159
3 years ago
Tommy Ludwig
6197655e98
Adapt to ObservationConvention location change
...
See: micrometer-metrics/micrometer#3387
Closes : #4158
3 years ago
Christoph Strobl
929faea88b
Add snapshot plugin repository for micrometer docs.
...
See: #4151 .
3 years ago
Greg L. Turnquist
1fe1c13531
Upgrade to Micrometer 1.10.0-SNAPSHOT.
...
Closes #4151 .
3 years ago
Kirill Gavrilov
838ddb5d26
Align signature of Kotlin extension functions to match Java API.
...
Closes : #4153
Original Pull Request: #4154
Related issues: #2602 #3187
3 years ago