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
Mark Paluch
f7cbd4264a
Migrate off SLF4J to Spring JCL.
...
Closes #3881
Original Pull Request #3883
2021-11-16 14:25:18 +01:00
Jens Schauder
0c37a20a0b
After release cleanups.
...
See #3865
2021-11-12 10:59:43 +01:00
Jens Schauder
230775f98e
Prepare next development iteration.
...
See #3865
2021-11-12 10:59:41 +01:00
Jens Schauder
b28da2eed3
Release version 3.3 GA (2021.1.0).
...
See #3865
2021-11-12 10:49:36 +01:00
Jens Schauder
02de914993
Prepare 3.3 GA (2021.1.0).
...
See #3865
2021-11-12 10:49:15 +01:00
Christoph Strobl
5b498f809e
Upgrade to MongoDB 4.4.0 Drivers.
...
Closes : #3875
2021-11-12 07:23:57 +01:00
Mark Paluch
f94a7ee742
After release cleanups.
...
See #3829
2021-10-18 13:55:41 +02:00
Mark Paluch
ab0ffab488
Prepare next development iteration.
...
See #3829
2021-10-18 13:55:38 +02:00
Mark Paluch
85b47d66f1
Release version 3.3 RC1 (2021.1.0).
...
See #3829
2021-10-18 13:48:13 +02:00
Mark Paluch
0d8fe46f3b
Prepare 3.3 RC1 (2021.1.0).
...
See #3829
2021-10-18 13:47:46 +02:00
Christoph Strobl
0bc78f99dd
Upgrade to MongoDB 4.4.0-beta1 Drivers.
...
Closes : #3860
2021-10-14 16:21:32 +02:00
Mark Paluch
e4f450f667
Upgrade to Maven Wrapper 3.8.3.
...
See #3859
2021-10-11 14:30:24 +02:00
Mark Paluch
49cd44295c
Add support for fluent Querydsl and Query by Example query definition.
...
We now support the functional fluent query definition API for imperative and reactive usage with Querydsl and Query by Example.
Page<PersonProjection> first = repository.findBy(Example.of(probe),
it -> it.as(PersonProjection.class).project("firstname").page(PageRequest.of(0, 1, Sort.by("firstname"))));
Closes #3757
Original pull request: #3788 .
2021-10-08 11:37:26 +02:00
Mark Paluch
767d97a831
Polishing.
...
Remove code duplications. Reuse target type computation for enum types. Refine method names.
See #3766
Closes #3837
2021-10-07 15:57:08 +02:00
Christoph Strobl
bbe8410979
Render items for collection-like properties when deriving $jsonSchema.
...
Closes #3766
Original pull request: #3837 .
2021-10-07 15:57:08 +02:00
Mark Paluch
c0a4bdb548
Polishing.
...
Reformat code.
See #3853
Original pull request: #3856 .
2021-10-07 15:23:44 +02:00
Christoph Strobl
673a81af0e
Fix query/update document reference computation for non-id properties.
...
We now consider using the target keyword when computing document references. This fixes an issue where query/update statements had not been rendered correctly for references like { 'name' : ?#{#target} }.
Closes #3853
Original pull request: #3856 .
2021-10-07 15:23:29 +02:00
Christoph Strobl
977032620e
Upgrade to MongoDB 4.3.3 Drivers.
...
Closes : #3855
2021-10-06 10:51:12 +02:00
Mark Paluch
c7263e5b11
Polishing.
...
Reformat code.
See #3847
Original pull request: #3848 .
2021-10-05 10:08:33 +02:00
Christoph Strobl
eed9b2470a
Fix id conversion when storing document reference.
...
This commit makes sure that the string to ObjectId conversion when storing document references follows the general conversion rules.
Closes #3847
Original pull request: #3848 .
2021-10-05 10:08:19 +02:00
Mark Paluch
c350be1f52
Polishing.
...
Reformat code.
See #3842
Original pull request: #3844 .
2021-10-05 09:42:25 +02:00
Christoph Strobl
65b058ffd9
Fix SpEL evaluation in document reference lookup.
...
Closes #3842
Original pull request: #3844 .
2021-10-05 09:42:19 +02:00
Christoph Strobl
4a5789d67e
DocumentReference should consider Reference annotations.
...
Closes #3851
Original pull request: #3852 .
2021-10-04 14:30:40 +02:00
Christoph Strobl
7b05cfad94
Update readme.
...
Shorten MongoDB setup section and add missing anchors.
Original Pull Request: #3833
2021-10-04 10:43:58 +02:00
John Blum
a16a9fe1fe
Edit README to include complete steps for building from source.
...
Closes : #3833
2021-10-04 10:43:04 +02:00
Christoph Strobl
2f98a6656b
Fix javadoc errors and warnings
...
Closes : #3835
2021-09-27 11:13:08 +02:00
Christoph Strobl
9e2f6055a3
Refine CI job triggers.
...
See #3696
Original pull request: #3753 .
2021-09-21 15:20:36 +02:00
Mark Paluch
7f58538292
Use HTTPS in Dockerfiles for package download.
...
See #3696
Original pull request: #3753 .
2021-09-21 15:20:31 +02:00
Christoph Strobl
2f208d712c
Update CI to cover MongoDB Server 5.0.
...
MongoDB has alpha releases in a slightly different location on their distribution server. And they use different keys for signing these alpha releases compared to the overall package listing.
Closes #3696
Original pull request: #3753 .
2021-09-21 15:20:26 +02:00
Christoph Strobl
63d9875576
Update test for MongoDB Server 5.0.
...
Update assertions for changed return types, add a bit of think time and disable tests for no longer supported features.
See #3696
Original pull request: #3753 .
2021-09-21 15:20:01 +02:00
Mark Paluch
b7ffff4769
After release cleanups.
...
See #3771
2021-09-17 09:52:21 +02:00
Mark Paluch
715ae26f3c
Prepare next development iteration.
...
See #3771
2021-09-17 09:52:18 +02:00
Mark Paluch
00350edd32
Release version 3.3 M3 (2021.1.0).
...
See #3771
2021-09-17 09:44:56 +02:00
Mark Paluch
38e1d0d92d
Prepare 3.3 M3 (2021.1.0).
...
See #3771
2021-09-17 09:44:34 +02:00
Christoph Strobl
8f00ffd291
Change visibility of PersistentEntitiesFactoryBean.
...
Closes : #3825
2021-09-15 15:30:30 +02:00
Mark Paluch
0af8d6839e
Polishing.
...
Reformat code, fix ticket references in tests.
See #3820
Original pull request: #3821 .
2021-09-14 09:12:21 +02:00