Spring Builds
68769004b0
Release version 3.4.3 (2021.2.3).
...
See #4116
3.4.3
2022-09-19 11:38:41 +00:00
Spring Builds
d1015d51b0
Prepare 3.4.3 (2021.2.3).
...
See #4116
2022-09-19 11:36:15 +00:00
Christoph Strobl
bdc662ebe3
Apply conversion on document reference lookup using nested property.
...
Closes #4033
Original pull request: #4044 .
2022-09-19 09:57:42 +02:00
Christoph Strobl
8ee33b2e50
Generate and convert id on insert if explicitly defined.
...
We now make sure to provide an id value that matches the desired target type when no id is set, and the property defines an explicit conversion target.
Previously a new ObjectId would have been generated which leads to type inconsistencies when querying for _id.
Closes #4026
Original pull request: #4057 .
2022-09-19 09:47:14 +02:00
Christoph Strobl
5f33987741
Fix issue with reference conversion in updates.
...
We now make sure to convert references in update operations targeting collection like fields when using eg. the push modifier.
Closes #4041
Original pull request: #4045 .
2022-09-19 08:53:07 +02:00
Christoph Strobl
f7cf23510c
Support @DocumentReference via Querydsl.
...
Closes #4037
Original pull request: #4069 .
2022-09-16 15:57:04 +02:00
Mark Paluch
093fa602a8
Polishing.
...
See #4061
Original pull request: #4062 .
2022-09-16 14:52:12 +02:00
Christoph Strobl
ac538c6d29
Improve exception message when deriving collection name from type.
...
We now provide a better worded exception message when trying to derive the collection name for a type that is not considered a user types (such as org.bson.Document).
Update the Javadoc to hint to the error.
Closes #4061
Original pull request: #4062 .
2022-09-16 14:52:12 +02:00
Christoph Strobl
7b30423356
Initialize lists with size where possible.
...
Closes #3941
Original pull request: #3974 .
2022-09-16 14:45:17 +02:00
Mark Paluch
c700e9d0c5
Polishing.
...
Reformat code.
See #4167 .
Original pull request: #4168 .
2022-09-16 14:40:53 +02:00
Christoph Strobl
fcd6187849
Fix usage of change stream option startAfter.
...
We now make sure to apply the token to startAfter method of the driver. Before this change it had been incorrectly applied to resumeAfter.
Closes #4167 .
Original pull request: #4168 .
2022-09-16 14:40:43 +02:00
Mark Paluch
62bffc0cf9
Polishing.
...
Fix generics. Add warning suppressions for nullability checks.
See: #4104
Original pull request: #4156 .
2022-09-14 14:07:13 +02:00
Christoph Strobl
db4f16dd60
Fix GeoJson polygon conversion for polygons with inner ring.
...
Closes : #4104
Original pull request: #4156 .
2022-09-14 14:06:58 +02:00
Mark Paluch
c284e4ee23
Polishing.
...
Refine assertions.
See #4132
Original pull request: #4147 .
2022-08-25 15:46:47 +02:00
Christoph Strobl
4387cd20e2
Favor relaxed type mapping over strict one for aggregateStream.
...
Align aggregation context usage of aggregate and aggregate stream methods.
Closes #4132
Original pull request: #4147 .
2022-08-25 15:45:55 +02:00
Mark Paluch
8423ae515b
Document BulkOperations limitations.
...
Closes #4082
2022-08-23 15:40:07 +02:00
Mark Paluch
c19d457f61
Polishing.
...
Introduce JUnit extension to declare tests that dirty or provide their state.
See #3817
Original pull request: #3987 .
2022-08-23 09:53:32 +02:00
Christoph Strobl
1119a4a0a6
Close clients created during tests.
...
See #3817
Original pull request: #3987 .
2022-08-23 09:53:32 +02:00
Christoph Strobl
162a9abb6b
Prevent sync client from being created in reactive test config.
...
Closes #3817
Original pull request: #3987 .
2022-08-23 09:53:32 +02:00
Mark Paluch
a8943a8a0b
Polishing.
...
Use && syntax to catch commands that exit with non-success exit codes.
See #4116
2022-08-17 10:57:43 +02:00
Mark Paluch
dfa1822d14
Polishing.
...
Encapsulate nested object lookup. Refine method signatures and tweak Javadoc.
See #4098
Original pull request: #4133 .
2022-08-05 15:59:51 +02:00
Christoph Strobl
48aabfbf56
Fix non-association mapping when id value matches already resolved instance of same type.
...
This commit ensures to fully resolve non association values from the given source document instead of trying attempt a by id lookup in already resolved instances.
Closes : #4098
Original pull request: #4133 .
2022-08-05 15:59:50 +02:00
Christoph Strobl
e1e8684705
Allow referencing the $id field of dbrefs within an aggregation pipeline.
...
Closes : #4123
Original pull request: #4125 .
2022-08-05 14:11:17 +02:00
Sojin
228ee1e315
Fix AKNOWLEDGED typo in reference documentation.
...
Two typos found have been updated
Closes #4135
2022-08-05 14:08:09 +02:00
Mark Paluch
52886e1680
Fix DTO projection instantiation.
...
We now correctly instantiate DTO projection classes by using the actual constructor argument type. Previously, we did not update the conversion context to fetch the correct type but used the type of the DTO projection class instead of the constructor argument.
Closes #4120
2022-07-19 11:18:04 +02:00
Christoph Strobl
d7ec16e14b
After release cleanups.
...
See #4091
2022-07-15 11:24:06 +02:00
Christoph Strobl
b5f23eaa4d
Prepare next development iteration.
...
See #4091
2022-07-15 11:24:03 +02:00
Christoph Strobl
3342c75ecf
Release version 3.4.2 (2021.2.2).
...
See #4091
3.4.2
2022-07-15 11:08:26 +02:00
Christoph Strobl
2ac7fec75c
Prepare 3.4.2 (2021.2.2).
...
See #4091
2022-07-15 11:07:48 +02:00
Mark Paluch
593f068301
Avoid duplicate bean registrations in MappingMongoConverterParser.
...
We now ensure to not override `ValidatingMongoEventListener` and `LocalValidatorFactoryBean` bean definitions by avoiding duplicate registrations and checking whether a bean with the given name is already registered.
Closes #4087
2022-06-28 10:25:04 +02:00
Mark Paluch
9e0343097f
After release cleanups.
...
See #4053
2022-06-20 11:40:06 +02:00
Mark Paluch
3f3eec19fe
Prepare next development iteration.
...
See #4053
2022-06-20 11:40:04 +02:00
Mark Paluch
46b54da74b
Release version 3.4.1 (2021.2.1).
...
See #4053
3.4.1
2022-06-20 11:29:29 +02:00
Mark Paluch
f35392f6dd
Prepare 3.4.1 (2021.2.1).
...
See #4053
2022-06-20 11:29:04 +02:00
Christoph Strobl
5e241c6ea5
Retain parameter type when binding parameters in annotated Query/Aggregation.
...
This commit ensures the parameter type is preserved when binding parameters used within the value of the Query or Aggregation annotation
Closes : #4089
2022-06-20 10:09:16 +02:00
Christoph Strobl
1078294e3e
Upgrade to MongoDB driver 4.6.1
...
Closes : #4081
2022-06-20 09:26:32 +02:00
Mark Paluch
e3ec68b07c
Wrap SpEL documentation with admonition.
...
Closes #4085
2022-06-14 09:18:56 +02:00
Mark Paluch
f93d7e7359
Polishing.
...
Reformat asciidoc source.
See #4085
2022-06-14 09:18:56 +02:00
Mark Paluch
aacd04a42f
Upgrade to Maven Wrapper 3.8.5.
...
See #4074
2022-06-03 14:40:21 +02:00
John Blum
59de671387
Remove Docker Registry login.
...
Closes #4056 .
2022-05-16 12:57:38 -07:00
Mark Paluch
54101a4619
Update driver compatibility matrix.
...
Closes #4052
2022-05-16 15:12:05 +02:00
Christoph Strobl
e9df28024a
After release cleanups.
...
See #4028
2022-05-13 10:15:12 +02:00
Christoph Strobl
48c6e1eed5
Prepare next development iteration.
...
See #4028
2022-05-13 10:15:09 +02:00
Christoph Strobl
9cdc79a89a
Release version 3.4 GA (2021.2.0).
...
See #4028
3.4.0
2022-05-13 10:05:05 +02:00
Christoph Strobl
f2bf878fbe
Prepare 3.4 GA (2021.2.0).
...
See #4028
2022-05-13 10:04:18 +02:00
Jay Bryant
4d8019abca
Editing pass for new content in reference documentation.
...
Closes : #4049
2022-05-11 05:38:42 +02:00
Christoph Strobl
47864e0cf9
Polishing.
...
Update Query javadoc.
Original Pull Request: #3999
2022-05-10 16:35:40 +02:00
Raul Mello Silva
ed83c7625e
Update Query.limit javadoc.
...
This commit explains usage of Query.limit(int), which will be set to unlimited when set to zero or a negative value.
Closes : #3999
2022-05-10 16:33:42 +02:00
Christoph Strobl
0d4b5de2a5
Provide additional meta information via pom.xml
...
Add scm & issueManagement.
Closes : #4048
2022-05-10 12:39:46 +02:00
nniesen
24e9841beb
Update spring.io project urls.
...
This commit updates outdated projects.spring.io links to spring.io/projects.
Closes : #4042
2022-05-09 13:58:59 +02:00