Mark Paluch
b134e1916d
Upgrade to MongoDB driver 4.6.0.
...
Closes #4027
4 years ago
Greg L. Turnquist
65b02f92b4
Use updated coordinates for Hibernate Validator.
...
See #4024 .
4 years ago
Greg L. Turnquist
667b71e073
Switch to Micrometer 1.10's tracing APIs.
...
Micrometer Tracing 1.10 has some breaking APIs.
See #4023 .
4 years ago
Mark Paluch
225dbee15f
Simplify dependency version arrangement.
...
We now inherit the version number and repositories from the parent pom.
See #4017
4 years ago
Mark Paluch
c04ceb163b
Polishing.
...
Reformat code.
See #4017
4 years ago
Greg L. Turnquist
711ac343fe
Fix Micrometer-based deployment issues.
...
When deploying to artifactory, a Micrometer-based plugin can't be found.
See #4017 .
4 years ago
Mark Paluch
852a4ecc59
Polishing.
...
Refine default conversions creation.
See #4014
Original pull request: #4015 .
4 years ago
Christoph Strobl
7ab2428c64
Make sure to initialize PropvertyValueConversions in Converter setup.
...
Closes #4014
Original pull request: #4015 .
4 years ago
Oliver Drotbohm
350acf66bc
Adapt to API changes in Spring Data Commons.
...
spring-projects/spring-data-commons#2518 introduced TypeInformation.getTypeDescriptor() which we need to implement in our custom FieldTypeInformation.
4 years ago
Christoph Strobl
ab94a94b2e
Upgrade to MongoDB driver 4.5.1
...
Resolves : #4013
4 years ago
Christoph Strobl
4c77763cd3
Introduce Observability with Micrometer and Micrometer Tracing.
...
See #3942 .
4 years ago
Christoph Strobl
f197953480
Update build triggers.
...
See: #4005
4 years ago
Mark Paluch
44afd4939e
After release cleanups.
...
See #4003
4 years ago
Mark Paluch
575917435e
Prepare next development iteration.
...
See #4003
4 years ago
Mark Paluch
2db55ab0aa
Release version 4.0 M3 (2022.0.0).
...
See #4003
4 years ago
Mark Paluch
79602b7dbe
Prepare 4.0 M3 (2022.0.0).
...
See #4003
4 years ago
Mark Paluch
d5d2371b9e
After release cleanups.
...
See #3937
4 years ago
Mark Paluch
c95e8a5748
Prepare next development iteration.
...
See #3937
4 years ago
Mark Paluch
f0c0a86118
Release version 4.0 M2 (2022.0.0).
...
See #3937
4 years ago
Mark Paluch
3d82e12e6b
Prepare 4.0 M2 (2022.0.0).
...
See #3937
4 years ago
Mark Paluch
8672808222
Polishing.
...
Reformat code. Tweak documentation wording.
See #3596
Original pull request: #3982 .
4 years ago
Christoph Strobl
29fb085d8b
Add support for `PropertyValueConverters`.
...
Closes : #3596
Original pull request: #3982 .
4 years ago
Mark Paluch
15cac49f9c
Polishing.
...
Refine API naming towards merge/property instead of combine/specify. Tweak documentation. Introduce Resolution.ofValue(…) for easier creation.
See #3870
Original pull request: #3986 .
4 years ago
Christoph Strobl
946deac48c
Support generating JsonSchema for Polymorphic fields.
...
This commit introduces MergedJsonSchema and MergedJsonSchemaProperty that can be used to merge properties of multiple objects into one as long as the additions do not conflict with another (eg. due to usage of different types).
To resolve previously mentioned errors it is required to provide a ConflictResolutionFunction.
Closes #3870
Original pull request: #3986 .
4 years ago
Mark Paluch
02229f291c
Polishing.
...
Reformat code.
See #3998
4 years ago
Mark Paluch
1009491920
Create a new conversion context for projection properties.
...
We now create a new conversion context to ensure that we use the correct property type to avoid type retention when mapping complex objects within a projection.
Closes #3998
4 years ago
Mark Paluch
05730ded1b
Fix CI trigger.
...
Use correct Spring Data Commons version as build trigger.
See #3973
4 years ago
Mark Paluch
612845f59c
Polishing.
...
Extract CreateCollectionOptions conversion to EntityOperations to unify collection creation. Adopt tests.
See #3984
Original pull request: #3990 .
4 years ago
Mark Paluch
1f06954952
Polishing.
...
Add missing Override annotations to template API methods.
See #3984
4 years ago
Christoph Strobl
7bcf0322d2
Propagate time series options correctly.
...
This commit fixes an issue when creating a collection via MongoTemplate without passing on type information. In this case potential time series information was lost.
Closes #3984
Original pull request: #3990 .
4 years ago
Mark Paluch
7dd2f350eb
Polishing.
...
Remove duplicate dependency declaration.
See: #3522
4 years ago
Mark Paluch
e433375cac
Polishing.
...
Reorder methods. Add links to Javadoc. Tweak wording.
See: #3522
Original pull request: #3951 .
4 years ago
Christoph Strobl
d16013aa6b
Allow to estimate document count.
...
This commit introduce an option that allows users to opt in on using estimatedDocumentCount instead of countDocuments in case the used filter query is empty.
To still be able to retrieve the exact number of matching documents we also introduced MongoTemplate#exactCount.
Closes : #3522
Original pull request: #3951 .
4 years ago
Christoph Strobl
dab5473740
Modify visibility of methods in TypedJsonSchemaObject.
...
Change visibility to public as it should have been in first place.
Closes : #3989
4 years ago
sangyongchoi
e6fce75dfd
Remove duplicate condition in GeoConverters.
...
Closes : #3981
4 years ago
Mark Paluch
e75f022844
Update CI properties.
...
See #3937
4 years ago
Christoph Strobl
611ece049b
Serialize values for debug output safely in AbstractMongoEventListener.
...
We now make sure that codec configuration will not cause an exception when debug logging is turned on.
Resolves : #3968
Original Pull Request: #3970
4 years ago
Christoph Strobl
be2286edf7
Update copyright year to 2022.
...
See: #3966
4 years ago
Christoph Strobl
b99648672b
Introduce Update annotation.
...
Switch update execution to an annotation based model that allows usage of both the classic update as well as the aggregation pipeline variant. Add the reactive variant of it.
Make sure to allow parameter binding for update expressions and verify method return types.
Update Javadoc and reference documentation.
See: #2107
Original Pull Request: #284
4 years ago
Thomas Darimont
28708ce24e
Add support for modifying documents via repository method.
...
We now support findAndModify operations on derived query methods.
Closes : #2107
Original Pull Request: #284
4 years ago
Christoph Strobl
1c6c703640
Deprecate mapReduce.
...
Closes : #3945
4 years ago
blu10ph
67b1fe5fbc
Avoid obtaining mapped sort multiple times for mapReduce.
...
Apply already mapped sort for map reduce instead of running the source document through the mapping layer again.
Closes : #3960
4 years ago
Christoph Strobl
4f6501f140
Update GeoJson section in reference documentation.
...
Mention the relation of Point/GeoJsonPoint x/y coordinates to longitude/latitude.
Original Pull Request: #3956
4 years ago
sangyongchoi
2a3f746cb6
Update GeoJsonPoint Javadoc.
...
Mention x -> longitude, y -> latitude relation.
Closes : #3956
4 years ago
Mark Paluch
90b8ba7246
Polishing.
...
Extract docker credentials into properties file.
Use tabs for indentation instead of spaces.
See #3949
4 years ago
Oliver Drotbohm
f12648af4c
Adapt to API changes regarding object creation metadata.
4 years ago
Greg L. Turnquist
e812f89b47
Update CI properties.
...
See #3937
4 years ago
Christoph Strobl
f96d700d8d
Favor Base64Utils over bson internal Base64 type.
...
org.bson.internal.Base64 is no longer available in MongoDB driver 4.5.0.
Related to: #3962
4 years ago
Christoph Strobl
32e7f2032d
Upgrade to MongoDB driver 4.5.0
...
Closes : #3962
4 years ago
Mark Paluch
43ac1984ab
Adapt repository to List-based interface variants.
...
Closes #3964
4 years ago