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
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
3.3.0
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
3.3.0-RC1
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