sangyongchoi
e6fce75dfd
Remove duplicate condition in GeoConverters.
...
Closes : #3981
2022-03-03 13:29:24 +01:00
Mark Paluch
e75f022844
Update CI properties.
...
See #3937
2022-02-23 14:33:13 -06:00
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
2022-02-18 10:15:28 +01:00
Christoph Strobl
be2286edf7
Update copyright year to 2022.
...
See: #3966
2022-02-17 10:49:44 +01:00
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
2022-02-17 10:31:46 +01:00
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
2022-02-17 10:29:37 +01:00
Christoph Strobl
1c6c703640
Deprecate mapReduce.
...
Closes : #3945
2022-02-16 14:45:01 +01:00
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
2022-02-16 14:42:57 +01:00
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
2022-02-16 14:42:19 +01:00
sangyongchoi
2a3f746cb6
Update GeoJsonPoint Javadoc.
...
Mention x -> longitude, y -> latitude relation.
Closes : #3956
2022-02-16 14:41:33 +01:00
Mark Paluch
90b8ba7246
Polishing.
...
Extract docker credentials into properties file.
Use tabs for indentation instead of spaces.
See #3949
2022-02-16 13:36:39 +01:00
Oliver Drotbohm
f12648af4c
Adapt to API changes regarding object creation metadata.
2022-02-15 17:37:58 +01:00
Greg L. Turnquist
e812f89b47
Update CI properties.
...
See #3937
2022-02-15 09:00:21 -06:00
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
2022-02-14 11:09:26 +01:00
Christoph Strobl
32e7f2032d
Upgrade to MongoDB driver 4.5.0
...
Closes : #3962
2022-02-14 11:09:14 +01:00
Mark Paluch
43ac1984ab
Adapt repository to List-based interface variants.
...
Closes #3964
2022-02-14 11:07:27 +01:00
Greg L. Turnquist
28f262309c
Use Harbor Proxy for containers.
...
Leverage internal infrastructure for pulling Docker container images. Reduces pressure on Docker Hub and reduces risk of hitting rate limits.
See #3954 .
Related https://github.com/spring-projects/spring-data-build/issues/1630 .
2022-02-07 10:59:50 -06:00
Mark Paluch
eefe6b3b21
Update CI properties.
...
See #3937
2022-02-07 09:32:15 +01:00
Mark Paluch
d0f2ca9efc
Polishing.
...
Refine build script.
See #3949
2022-02-04 08:49:49 +01:00
Mark Paluch
e6c8ee037a
Polishing.
...
Extract docker credentials into properties file.
Use tabs for indentation instead of spaces.
See #3949
2022-02-04 08:46:05 +01:00
Christoph Strobl
e63013deac
Remove previously deprecated API.
...
This commit removes and moves off deprecated API.
Additionally some blocks got deprecated due to changes in MongoDB server API.
Resolves : #3952
2022-02-03 16:44:03 +01:00
Mark Paluch
2367379b6d
Use Java 8 Stream as return type for Template operations returning a stream.
...
We now use Stream instead of CloseableIterator for easier stream creation.
Closes : #3944
Original Pull Request: #3946
2022-02-03 08:30:27 +01:00
Mark Paluch
a1c483f2e1
After release cleanups.
...
See #3927
2022-02-03 08:08:50 +01:00
Mark Paluch
64b8b500ae
Prepare next development iteration.
...
See #3927
2022-02-03 08:08:50 +01:00
Mark Paluch
2d15e37bc7
Release version 4.0 M1 (2022.0.0).
...
See #3927
2022-02-03 08:08:50 +01:00
Mark Paluch
54655b88c0
Prepare 4.0 M1 (2022.0.0).
...
See #3927
2022-02-03 08:08:49 +01:00
Jens Schauder
cd395e3324
Remove Eclipse Non-Javadoc comments.
...
Closes #3924
2022-02-03 08:08:00 +01:00
Mark Paluch
33bdbbe851
Polishing.
2022-02-03 08:08:00 +01:00
Christoph Strobl
9f1448df44
Drop support for RxJava 1 and 2.
...
Closes : #3839
2022-02-03 08:08:00 +01:00
Christoph Strobl
e3a4bada63
Move to Jakarta EE9
...
Closes : #3830
2022-02-03 08:08:00 +01:00
Christoph Strobl
dcdf3a2365
Prepare Spring Data MongoDB 4.x branch.
...
Upgrade to data-commons 3.0 and Java 17 (still source level 16 due to asm).
Remove support for threeten, joda-time.
Transition to PersistentEntitiesFactoryBean from data-commons.
Update build to MongoDB 4.4 and 5 with Java17. Remove Java8 setup.
Fix javadoc tooling error on cdi 1 vs. 2 version mix.
Disabled internal package cycle analysis as this requires transition to ArchUnit.
2022-02-03 08:07:59 +01:00
Mihail Cornescu
423e10b7bc
Add IgnoreCase to repository queries documentation.
...
Update reference documentaion and add missing IgnoreCase keyword.
Closes : #3916
Original Pull Request: #3950
2022-02-02 13:13:10 +01:00
Greg L. Turnquist
f62feac421
Externalize build properties.
...
By reading a properties file from an external location, it is possible to inject a consistent set of properties from Spring Data Build. This also supports repeatable builds.
Closes #3949 .
2022-01-31 16:33:45 -06:00
Christoph Strobl
bcbefa9264
Support aggregation operators $first and $last via expression method reference.
...
This commit registers the first(...) and last(...) methods for transformation via SpEL.
Also update reference and java documentation and add issue reference to tests.
Original Pull Request: #3866
2022-01-24 09:22:33 +01:00
Divya Srivastava
a2243536b2
Add support for $first & $last aggregation operators.
...
Closes : #3694
Original Pull Request: #3866
2022-01-24 09:22:27 +01:00
Christoph Strobl
a36e292158
Update aggregation StringOperators documentation.
...
Update reference and java documentation.
Add issue reference to tests.
Align method names and format code.
Original Pull Request: #3861
2022-01-21 10:42:19 +01:00
Divya Srivastava
494c22b192
Add support for $replaceOne & $replaceAll aggregation operators.
...
Closes : #3695
Original Pull Request: #3861
2022-01-21 10:40:54 +01:00
Christoph Strobl
030f12023c
Support aggregation operators $acos and $acosh via expression method reference.
...
This commit registers the acos(...) and acosh(...) methods for transformation via SpEL.
Original Pull Request: #3858
2022-01-20 16:18:23 +01:00
Christoph Strobl
31f640a398
Polishing.
...
Update java doc and add issue references to tests.
Original Pull Request: #3858
2022-01-20 16:18:10 +01:00
Divya Srivastava
54f098a906
Add support for $acos & $acosh aggregation operators.
...
Resolves : #3707
Original Pull Request: #3858
2022-01-20 16:17:55 +01:00
Christoph Strobl
885d05965b
Revert query modification in json parsing tests.
...
Add tests and move json string treatment into the ParameterBindingDocumentCodec.
Finally add issue references and format code.
Original Pull Request: #3907
2022-01-20 14:49:39 +01:00
rolag-it
a8a0fb5dba
Fix expression defining entire query in annotated repository methods.
...
This fix enables defining an entire JSON-based query in Query and Aggregate annotations using a single parameter or SpEL Expression.
Resolves : #3871
Original Pull Request: #3907
2022-01-20 13:43:32 +01:00
Christoph Strobl
67edae8602
After release cleanups.
...
See #3936
2022-01-18 09:21:33 +01:00
Christoph Strobl
249e7746d5
Prepare next development iteration.
...
See #3936
2022-01-18 09:21:29 +01:00
Christoph Strobl
6a979088b5
Release version 3.4 M2 (2021.2.0).
...
See #3936
2022-01-18 09:09:36 +01:00
Christoph Strobl
fca629c117
Prepare 3.4 M2 (2021.2.0).
...
See #3936
2022-01-18 09:09:00 +01:00
Mark Paluch
dfbd1bded5
Polishing.
...
Run mvnw -version command in Artifactory build to display Java version.
See #3882
2022-01-17 13:55:53 +01:00
Christoph Strobl
f9e98669b9
After release cleanups.
...
See #3882
2022-01-14 11:08:02 +01:00
Christoph Strobl
96d4abdf24
Prepare next development iteration.
...
See #3882
2022-01-14 11:07:59 +01:00
Christoph Strobl
23442ef639
Release version 3.4 M1 (2021.2.0).
...
See #3882
2022-01-14 10:58:16 +01:00