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
Christoph Strobl
00792192c3
Close clients created during tests.
...
See #3817
Original pull request: #3987 .
2022-08-23 09:54:29 +02:00
Christoph Strobl
e064b505c9
Prevent sync client from being created in reactive test config.
...
Closes #3817
Original pull request: #3987 .
2022-08-23 09:53:58 +02:00
Christoph Strobl
7df2bdf8ff
Upgrade to MongoDB driver 4.7.1
...
Closes : #4144
2022-08-22 07:59:57 +02:00
Mark Paluch
2f9fc1618e
Use mongosh instead of mongo CLI.
...
Switch from the deprecated command to its replacement.
See #4138
2022-08-17 12:56:26 +02:00
Mark Paluch
9e2aecf4ae
Polishing.
...
Fix required Java version.
See #4140
2022-08-17 10:58:13 +02:00
Mark Paluch
c32c4beb59
Remove new & noteworthy section in favor of our release notes.
...
The release notes now outline new and noteworthy changes.
Closes #4140
2022-08-17 10:51:01 +02:00
Mark Paluch
d48f3ec535
Polishing.
...
Use && syntax to catch commands that exit with non-success exit codes.
See #4139
2022-08-17 10:44:11 +02:00
Mark Paluch
5f16aecd13
Assert compatibility with MongoDB 6.0.
...
Closes #4138
2022-08-17 10:42:57 +02:00
Mark Paluch
5fc49b1649
Polishing.
...
Encapsulate nested object lookup. Refine method signatures and tweak Javadoc.
See #4098
Original pull request: #4133 .
2022-08-05 15:59:31 +02:00
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 .
2022-08-05 15:59:04 +02:00
Christoph Strobl
234783f442
Allow referencing the $id field of dbrefs within an aggregation pipeline.
...
Closes : #4123
Original pull request: #4125 .
2022-08-05 14:19:29 +02:00
Sojin
3429350964
Fix AKNOWLEDGED typo in reference documentation.
...
Two typos found have been updated
Closes #4135
2022-08-05 14:07:54 +02:00
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
2022-07-20 16:07:01 +02:00
Christoph Strobl
f5378bf825
Upgrade to MongoDB driver 4.7.0
...
Closes : #4124
2022-07-20 08:13:53 +02:00
Mark Paluch
21057c3d17
Fix DTO projection instantiation.
...
We now correctly instantiate DTO projection classes by using the actual constructor argument type. Previously, we did not update the conversion context to fetch the correct type but used the type of the DTO projection class instead of the constructor argument.
Closes #4120
2022-07-19 11:17:40 +02:00
Christoph Strobl
d0a98eb71d
After release cleanups.
...
See #4054
2022-07-15 15:30:53 +02:00
Christoph Strobl
bc95c4d390
Prepare next development iteration.
...
See #4054
2022-07-15 15:30:45 +02:00
Christoph Strobl
d56a4ea77d
Release version 4.0 M5 (2022.0.0).
...
See #4054
2022-07-15 15:18:29 +02:00
Christoph Strobl
5a09626cbf
Prepare 4.0 M5 (2022.0.0).
...
See #4054
2022-07-15 15:17:56 +02:00
John Blum
029291a1dd
Adapt to repackaging of the AOT RuntimeHintsPredicate.
...
Closes #4111 .
2022-07-12 18:05:46 -07:00
Mark Paluch
989a2596cb
Upgrade to MongoDB driver 4.7.0-beta0.
...
Closes #4110
2022-07-12 15:40:36 +02:00
Greg L. Turnquist
f5c520dbc8
Upgrade Micrometer's tracing artifact to micrometer-tracing.
...
Closes #4106 .
2022-07-11 08:24:41 -05:00
Mark Paluch
80c843eb20
Update README.adoc
...
See #4054
2022-07-11 15:06:12 +02:00
Christoph Strobl
9b136537c0
Simplify auditing configuration.
...
Use IsNewAwareAuditingHandler factory method to avoid exposing additional beans.
See: #4022
2022-07-08 08:57:34 +02:00
Mark Paluch
d334c5a44c
Polishing.
...
Adopt to Framework changes.
Simplify auditing bean registration.
Remove ImportRuntimeHints in EnableMongoAuditing.
Refine ManagedTypes bean definitions.
Consistently use mongo as bean name prefix. Depend on store-specific ManagedTypes.
Rewrite ReactiveMongoAuditingRegistrar to avoid inner beans.
Reduce AOT processor visibility. Cleanup imports. Improve type naming. Update Javadoc.
Original Pull Request: #4093
2022-07-05 09:55:41 +02:00
Christoph Strobl
cfd55be95b
Add AOT repository support
...
We now use the AOT infrastructure of Spring Framework 6 and data commons to provide AOT support building the foundation for native image compilation.
Additionally we register hints for GraalVM native image.
See: #4022
Original Pull Request: #4093
2022-07-05 09:55:10 +02:00
Mark Paluch
079c5a95aa
Adopt test to Spring Framework 6 changes.
...
See #4054
2022-07-05 07:38:35 +02:00