Christoph Strobl
d715414683
Switch to micrometer 1.10 snapshots.
...
Follow signature changes.
See: #4191
See: spring-projects/spring-data-build#1810
2022-10-06 15:44:51 +02:00
Christoph Strobl
f2c2451b7d
Add hint how to use $search aggregation operator to reference documentation.
...
Closes : #4183
2022-10-06 13:56:57 +02:00
Christoph Strobl
5b8d0d08ee
Update reactive transaction sample in reference documentation.
...
Closes : #4190
2022-10-06 13:03:56 +02:00
Christoph Ahlers
18186f26e2
Remove unused imports.
...
Closes : #4178
2022-10-06 10:21:50 +02:00
Christoph Ahlers
10acc14c14
Fix javadoc parameter names.
...
Closes : #4179
2022-10-04 12:31:34 +02:00
Wan Bachtiar
87effb9013
Fix typo in reference documentation.
...
Closes : #4180
2022-10-04 12:24:23 +02:00
Mark Paluch
19819680f9
Adopt to SLF4J 2.0 upgrade.
...
Exclude transitive Micrometer Test dependencies that ship outdated SLF4J implementations.
Closes #4189
2022-09-30 13:38:52 +02:00
Mark Paluch
2d2f67cc93
Prefer Java configuration over XML.
...
Closes #4186
2022-09-28 15:29:10 +02:00
Seungwoo Jo
e9818fe11a
Fix documentation typo in BasicQuery.
...
Closes #4169
Original pull request: #4170 .
2022-09-21 11:15:12 +02:00
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
2022-09-21 10:51:00 +02:00
Mark Paluch
68ab74a5bf
Polishing.
...
Reformat code.
See #4004
Original pull request: #4006 .
2022-09-21 10:48:22 +02:00
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 .
2022-09-21 10:48:22 +02:00
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
2022-09-21 10:48:21 +02:00
Spring Builds
d7fc605f7b
After release cleanups.
...
See #4117
2022-09-19 14:39:07 +00:00
Spring Builds
3b805b9e03
Prepare next development iteration.
...
See #4117
2022-09-19 14:38:55 +00:00
Spring Builds
91cca3f2c4
Release version 4.0 M6 (2022.0.0).
...
See #4117
4.0.0-M6
2022-09-19 14:15:22 +00:00
Spring Builds
2de6384d0f
Prepare 4.0 M6 (2022.0.0).
...
See #4117
2022-09-19 14:12:56 +00:00
Christoph Strobl
ab1c0ff7b8
Apply conversion on document reference lookup using nested property.
...
Closes #4033
Original pull request: #4044 .
2022-09-19 09:57:24 +02:00
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 .
2022-09-19 09:47:18 +02:00
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 .
2022-09-19 08:54:26 +02:00
Christoph Strobl
fadca10f62
Support @DocumentReference via Querydsl.
...
Closes #4037
Original pull request: #4069 .
2022-09-16 15:57:30 +02:00
Mark Paluch
40320136f3
Polishing.
...
See #4061
Original pull request: #4062 .
2022-09-16 14:52:00 +02:00
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 .
2022-09-16 14:51:54 +02:00
Christoph Strobl
09b2afa79d
Initialize lists with size where possible.
...
Closes #3941
Original pull request: #3974 .
2022-09-16 14:45:34 +02:00
Mark Paluch
96b564eb9a
Polishing.
...
Reformat code.
See #4167 .
Original pull request: #4168 .
2022-09-16 14:40:34 +02:00
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 .
2022-09-16 14:40:27 +02:00
Mark Paluch
6937bb519b
Polishing.
...
Move off more deprecated API.
See #4164
Original pull request: #4165 .
2022-09-16 11:11:17 +02:00
Christoph Strobl
6e4d463053
Move off deprecated API.
...
Closes #4164
Original pull request: #4165 .
2022-09-16 11:11:12 +02:00
Mark Paluch
a9d2050806
Polishing.
...
Fix generics. Add warning suppressions for nullability checks.
See: #4104
Original pull request: #4156 .
2022-09-14 14:06:44 +02:00
Christoph Strobl
6676389062
Fix GeoJson polygon conversion for polygons with inner ring.
...
Closes : #4104
Original pull request: #4156 .
2022-09-14 14:06:35 +02:00
Mark Paluch
81f85b8cca
Polishing.
...
Tweak Javadoc, make ViewOptions.collation final.
See: #2594
Original pull request: #4142 .
2022-09-14 11:31:14 +02:00
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 .
2022-09-14 11:30:24 +02:00
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
2022-09-14 08:14:06 +02:00
Mark Paluch
44a1123034
Adopt to changed Mockk artifact name.
...
Closes #4161
2022-09-12 14:08:14 +02:00
Mark Paluch
e487c08b0c
Polishing.
...
Reformat pom.xml
See #4161
2022-09-12 10:18:38 +02:00
Mark Paluch
a002d30aa9
Polishing.
...
Reformat pom.xml
See #4161
2022-09-12 10:17:58 +02:00
Tommy Ludwig
36ddd26edc
Adapt to SampleTestRunner refactor.
...
See: micrometer-metrics/tracing#57
Closes : #4159
2022-09-09 19:13:57 +02:00
Tommy Ludwig
6197655e98
Adapt to ObservationConvention location change
...
See: micrometer-metrics/micrometer#3387
Closes : #4158
2022-09-09 19:06:28 +02:00
Christoph Strobl
929faea88b
Add snapshot plugin repository for micrometer docs.
...
See: #4151 .
2022-09-07 14:51:57 +02:00
Greg L. Turnquist
1fe1c13531
Upgrade to Micrometer 1.10.0-SNAPSHOT.
...
Closes #4151 .
2022-09-07 12:17:16 +02:00
Kirill Gavrilov
838ddb5d26
Align signature of Kotlin extension functions to match Java API.
...
Closes : #4153
Original Pull Request: #4154
Related issues: #2602 #3187
2022-09-07 09:48:48 +02:00
Christoph Strobl
33c7f0980f
Remove usage SynthesizedAnnotation.
...
Closes : #4155
2022-09-07 08:54:41 +02:00
Mark Paluch
4bbc443a0e
Polishing.
...
Refine assertions.
See #4132
Original pull request: #4147 .
2022-08-25 15:45:29 +02:00
Christoph Strobl
655dbc9783
Favor relaxed type mapping over strict one for aggregateStream.
...
Align aggregation context usage of aggregate and aggregate stream methods.
Closes #4132
Original pull request: #4147 .
2022-08-25 15:45:13 +02:00
Christoph Strobl
0d752fd6e6
Introduce dedicated Collation annotation.
...
The Collation annotation mainly serves as a meta annotation that allows common access to retrieving collation values for annotated queries, aggregations, etc.
Original Pull Request: #4131
2022-08-25 09:03:43 +02:00
Christoph Strobl
8aabf2fa5e
Polishing.
...
Resolve collation from template expression & update issue references + Javadoc.
Original Pull Request: #4131
2022-08-25 09:00:51 +02:00
Stefan Tirea
ff9d338bd7
Add collation for an index via @CompoundIndex and @Index annotations.
...
Closes #3002 , closes #4130
Original Pull Request: #4131
2022-08-25 09:00:17 +02:00
Mark Paluch
2a4ee12363
Document BulkOperations limitations.
...
Closes #4082
2022-08-23 15:39:59 +02:00
Christoph Strobl
a66438fc20
Resolve cglib proxies during AOT processing.
...
We now make sure to run the enhancer during AOT which allows the infrastructure to pick up the generated type.
Along the lines we removed the no longer supported asserts for class proxies and followed changes in FW6.
Closes : #4148
2022-08-23 11:48:23 +02:00
Mark Paluch
0ccc037b8e
Polishing.
...
Introduce JUnit extension to declare tests that dirty or provide their state.
See #3817
Original pull request: #3987 .
2022-08-23 10:00:16 +02:00