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
3.4.0-M2
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
3.4.0-M1
2022-01-14 10:58:16 +01:00
Christoph Strobl
01b571dec9
Prepare 3.4 M1 (2021.2.0).
...
See #3882
2022-01-14 10:57:50 +01:00
Christoph Strobl
04ec49eb9e
Avoid schema keyId uuid representation errors.
...
To avoid driver configuration specific UUID representation format errors (binary subtype 3 vs. subtype 4) we now directly convert the given key into its subtype 4 format.
Resolves : #3929
Original pull request: #3931 .
2022-01-13 15:26:53 +01:00
Mark Paluch
d61cf8f57e
Polishing.
...
Simplify assertions, reformat code.
See #3921
Original pull request: #3930 .
2022-01-13 11:01:48 +01:00
Christoph Strobl
50a12121f2
Use index instead of iterator to map position and map keys for updates.
...
This commit removes usage of the iterator and replaces map key and positional parameter mappings with an index based token lookup.
Closes #3921
Original pull request: #3930 .
2022-01-13 11:01:35 +01:00
Mark Paluch
998bd1f9bb
Polishing.
...
Reformat code. Tweak documentation wording and callout syntax.
See #3914 , see #3901
Original pull request: #3915 .
2022-01-12 15:59:14 +01:00
Christoph Strobl
e0a57fa19b
Avoid creating invalid index definitions for Map-like properties.
...
This commit makes sure to exclude Map like structures from index inspection unless annotated with WilcardIndexed.
Closes #3914 , closes #3901
Original pull request: #3915 .
2022-01-12 15:57:19 +01:00
Mark Paluch
9c78802c47
Polishing.
...
Add author tags, extend copyright license years, simplify tests.
See #3892
2022-01-12 15:30:36 +01:00
rolag-it
a958ffb5c8
Fix pagination with reactive fluent Querydsl query definition.
...
Pageable object was not passed to Query, so fetchPage retrieved erroneously the whole dataset as Page content.
Closes #3892
2022-01-12 15:30:31 +01:00
Hett
c31872d979
Avoid double call of fetch method in DefaultReferenceResolver.
...
This commit fixes an issue where the fetch method is called twice when looking up singe value references.
Resolves : #3918
Original Pull Request: #3919
2022-01-11 08:57:02 +01:00
Mark Paluch
212509f56a
Upgrade to MongoDB driver 4.4.1.
...
Closes #3926
2022-01-10 08:52:57 +01:00
Mark Paluch
b348bb6679
Adopt to Mockito changes.
...
Closes #3923
2022-01-04 14:41:47 +01:00
Christoph Strobl
8be5dd3909
Adapt to changes in data-commons.
...
See: spring-projects/spring-data-commons#2514
Related to: #3894
2021-12-14 15:31:45 +01:00
Christoph Strobl
f2c4370584
Fix meta field mapping when computing fields for projections.
...
Related to: #3894
2021-12-14 14:58:53 +01:00
Christoph Strobl
fdff74f7b5
Polishing.
...
Add tests for projections on dbref properties update java- and reference documentation.
Original Pull Request: #3894
2021-12-14 11:31:00 +01:00
Mark Paluch
0070b12f95
Add general support for direct projections.
...
Closes : #3894
2021-12-14 11:30:45 +01:00
Mark Paluch
bafc2bebf2
Polishing.
...
Tweak Javadoc.
See #3898
Original pull request: #3904 .
2021-12-14 09:36:19 +01:00
Christoph Strobl
7146fb33e9
Fix field inclusion in aggregation project operation.
...
Closes #3898
Original pull request: #3904 .
2021-12-14 09:36:14 +01:00
Mark Paluch
75999d9e36
Propagate Bean ClassLoader to MongoTypeMapper.
...
We now set the ClassLoader from the ApplicationContext to the type mapper to ensure the type mapper has access to entities. Previously, `SimpleTypeInformationMapper` used the contextual class loader and that failed in Fork/Join-Pool threads such as parallel streams as ForkJoinPool uses the system classloader. Running e.g. a packaged Boot application sets up an application ClassLoader that has access to packaged code while the system ClassLoader does not.
Also, consistently access the MongoTypeMapper through its getter.
Closes #3905
2021-12-09 11:33:47 +01:00
John Blum
7a64025669
Edit README.
...
Fix punctation, change wording and correct case in build from source section.
2021-12-07 17:58:54 -08:00
John Blum
113106037a
Polish for retaining the sort order when using text search sort by score.
...
Closes gh-3896.
2021-12-07 17:37:24 -08:00
Christoph Strobl
132834b1e6
Retain sort order when using text search sort by score.
...
We now make sure to capture the position to apply sort by score.
2021-12-07 17:37:10 -08:00
Christoph Strobl
36a4b7f727
Polishing - Update outdated links in Javadoc.
...
Original Pull Request #3883
2021-11-16 14:26:21 +01:00
Mark Paluch
a8432f5bf1
Polishing.
...
Remove unused fields.
Original Pull Request #3883
2021-11-16 14:26:02 +01:00
Christoph Strobl
e5a295bb8f
Guard potentially expensive log message computations.
...
Original Pull Request #3883
2021-11-16 14:25:40 +01:00