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
Christoph Strobl
f5378bf825
Upgrade to MongoDB driver 4.7.0
...
Closes : #4124
3 years ago
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
3 years ago
Christoph Strobl
d0a98eb71d
After release cleanups.
...
See #4054
3 years ago
Christoph Strobl
bc95c4d390
Prepare next development iteration.
...
See #4054
3 years ago
Christoph Strobl
d56a4ea77d
Release version 4.0 M5 (2022.0.0).
...
See #4054
3 years ago
Christoph Strobl
5a09626cbf
Prepare 4.0 M5 (2022.0.0).
...
See #4054
3 years ago
John Blum
029291a1dd
Adapt to repackaging of the AOT RuntimeHintsPredicate.
...
Closes #4111 .
3 years ago
Mark Paluch
989a2596cb
Upgrade to MongoDB driver 4.7.0-beta0.
...
Closes #4110
3 years ago
Greg L. Turnquist
f5c520dbc8
Upgrade Micrometer's tracing artifact to micrometer-tracing.
...
Closes #4106 .
3 years ago
Mark Paluch
80c843eb20
Update README.adoc
...
See #4054
3 years ago
Christoph Strobl
9b136537c0
Simplify auditing configuration.
...
Use IsNewAwareAuditingHandler factory method to avoid exposing additional beans.
See: #4022
3 years ago
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
4 years ago
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
4 years ago
Mark Paluch
079c5a95aa
Adopt test to Spring Framework 6 changes.
...
See #4054
4 years ago
Mark Paluch
3f6821f11f
Adopt to Reactor 2022.0.0-M4 changes.
...
Closes #4100
4 years ago
Mark Paluch
1a868ae35e
Avoid duplicate bean registrations in `MappingMongoConverterParser`.
...
We now ensure to not override `ValidatingMongoEventListener` and `LocalValidatorFactoryBean` bean definitions by avoiding duplicate registrations and checking whether a bean with the given name is already registered.
Closes #4087
4 years ago
Mark Paluch
248bcfa177
Polishing.
...
Simplify code.
Original pull request: #4059 .
See #4038
4 years ago
Christoph Strobl
ee076ec02f
Simplify usage of user provided aggregation operations.
...
Introduce Aggregation.stage which allows to use a plain JSON String or any valid Bson representation to be used within an aggregation pipeline stage, without having to implement AggregationOperation directly.
The change allows to make use of driver native builder API for aggregates.
Original pull request: #4059 .
Closes #4038
4 years ago
Mark Paluch
1184d6ee2d
Upgrade to Kotlin 1.7.
...
Adopt to stricter nullability checks.
Closes #4096
4 years ago
Christoph Strobl
062b4e8757
Provide Module Identifier via MongoRepositoryConfigurationExtension
...
Closes : #4092
4 years ago
Christoph Strobl
30a417d810
Retain parameter type when binding parameters in annotated Query/Aggregation.
...
This commit ensures the parameter type is preserved when binding parameters used within the value of the Query or Aggregation annotation
Closes : #4089
4 years ago
Christoph Strobl
1671f960b6
Upgrade to MongoDB driver 4.6.1
...
Closes : #4081
4 years ago
Mark Paluch
d4cce9ac00
Wrap SpEL documentation with admonition.
...
Closes #4085
4 years ago
Mark Paluch
8f9576aa42
Polishing.
...
Reformat asciidoc source.
See #4085
4 years ago