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
Christoph Strobl
33c7f0980f
Remove usage SynthesizedAnnotation.
...
Closes : #4155
3 years ago
Mark Paluch
4bbc443a0e
Polishing.
...
Refine assertions.
See #4132
Original pull request: #4147 .
3 years ago
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 .
3 years ago
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
3 years ago
Christoph Strobl
8aabf2fa5e
Polishing.
...
Resolve collation from template expression & update issue references + Javadoc.
Original Pull Request: #4131
3 years ago
Stefan Tirea
ff9d338bd7
Add collation for an index via @CompoundIndex and @Index annotations.
...
Closes #3002 , closes #4130
Original Pull Request: #4131
3 years ago
Mark Paluch
2a4ee12363
Document `BulkOperations` limitations.
...
Closes #4082
3 years ago
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
3 years ago
Mark Paluch
0ccc037b8e
Polishing.
...
Introduce JUnit extension to declare tests that dirty or provide their state.
See #3817
Original pull request: #3987 .
3 years ago
Christoph Strobl
00792192c3
Close clients created during tests.
...
See #3817
Original pull request: #3987 .
3 years ago
Christoph Strobl
e064b505c9
Prevent sync client from being created in reactive test config.
...
Closes #3817
Original pull request: #3987 .
3 years ago
Christoph Strobl
7df2bdf8ff
Upgrade to MongoDB driver 4.7.1
...
Closes : #4144
3 years ago
Mark Paluch
2f9fc1618e
Use mongosh instead of mongo CLI.
...
Switch from the deprecated command to its replacement.
See #4138
3 years ago
Mark Paluch
9e2aecf4ae
Polishing.
...
Fix required Java version.
See #4140
3 years ago
Mark Paluch
c32c4beb59
Remove new & noteworthy section in favor of our release notes.
...
The release notes now outline new and noteworthy changes.
Closes #4140
3 years ago
Mark Paluch
d48f3ec535
Polishing.
...
Use && syntax to catch commands that exit with non-success exit codes.
See #4139
3 years ago
Mark Paluch
5f16aecd13
Assert compatibility with MongoDB 6.0.
...
Closes #4138
3 years ago
Mark Paluch
5fc49b1649
Polishing.
...
Encapsulate nested object lookup. Refine method signatures and tweak Javadoc.
See #4098
Original pull request: #4133 .
3 years ago
Christoph Strobl
1e7dc7ce66
Fix non-association mapping when id value matches already resolved instance of same type.
...
This commit ensures to fully resolve non association values from the given source document instead of trying attempt a by id lookup in already resolved instances.
Closes : #4098
Original pull request: #4133 .
3 years ago
Christoph Strobl
234783f442
Allow referencing the $id field of dbrefs within an aggregation pipeline.
...
Closes : #4123
Original pull request: #4125 .
3 years ago
Sojin
3429350964
Fix `AKNOWLEDGED` typo in reference documentation.
...
Two typos found have been updated
Closes #4135
3 years ago
Mark Paluch
d130984bdc
Allow disabling entity lifecycle events.
...
We now support disabling lifecycle events through the Template API to reduce the framework overhead when events are not needed.
Closes #4107
3 years ago