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 .
3 years ago
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 .
3 years ago
Christoph Strobl
f7cf23510c
Support `@DocumentReference` via Querydsl.
...
Closes #4037
Original pull request: #4069 .
3 years ago
Mark Paluch
093fa602a8
Polishing.
...
See #4061
Original pull request: #4062 .
3 years ago
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 .
3 years ago
Christoph Strobl
7b30423356
Initialize lists with size where possible.
...
Closes #3941
Original pull request: #3974 .
3 years ago
Mark Paluch
c700e9d0c5
Polishing.
...
Reformat code.
See #4167 .
Original pull request: #4168 .
3 years ago
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 .
3 years ago
Mark Paluch
62bffc0cf9
Polishing.
...
Fix generics. Add warning suppressions for nullability checks.
See: #4104
Original pull request: #4156 .
3 years ago
Christoph Strobl
db4f16dd60
Fix GeoJson polygon conversion for polygons with inner ring.
...
Closes : #4104
Original pull request: #4156 .
3 years ago
Mark Paluch
c284e4ee23
Polishing.
...
Refine assertions.
See #4132
Original pull request: #4147 .
3 years ago
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 .
3 years ago
Mark Paluch
8423ae515b
Document `BulkOperations` limitations.
...
Closes #4082
3 years ago
Mark Paluch
c19d457f61
Polishing.
...
Introduce JUnit extension to declare tests that dirty or provide their state.
See #3817
Original pull request: #3987 .
3 years ago
Christoph Strobl
1119a4a0a6
Close clients created during tests.
...
See #3817
Original pull request: #3987 .
3 years ago
Christoph Strobl
162a9abb6b
Prevent sync client from being created in reactive test config.
...
Closes #3817
Original pull request: #3987 .
3 years ago
Mark Paluch
a8943a8a0b
Polishing.
...
Use && syntax to catch commands that exit with non-success exit codes.
See #4116
3 years ago
Mark Paluch
dfa1822d14
Polishing.
...
Encapsulate nested object lookup. Refine method signatures and tweak Javadoc.
See #4098
Original pull request: #4133 .
3 years ago
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 .
3 years ago
Christoph Strobl
e1e8684705
Allow referencing the $id field of dbrefs within an aggregation pipeline.
...
Closes : #4123
Original pull request: #4125 .
3 years ago
Sojin
228ee1e315
Fix `AKNOWLEDGED` typo in reference documentation.
...
Two typos found have been updated
Closes #4135
3 years ago
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
3 years ago
Christoph Strobl
d7ec16e14b
After release cleanups.
...
See #4091
3 years ago
Christoph Strobl
b5f23eaa4d
Prepare next development iteration.
...
See #4091
3 years ago
Christoph Strobl
3342c75ecf
Release version 3.4.2 (2021.2.2).
...
See #4091
3 years ago
Christoph Strobl
2ac7fec75c
Prepare 3.4.2 (2021.2.2).
...
See #4091
3 years ago
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
4 years ago
Mark Paluch
9e0343097f
After release cleanups.
...
See #4053
4 years ago
Mark Paluch
3f3eec19fe
Prepare next development iteration.
...
See #4053
4 years ago
Mark Paluch
46b54da74b
Release version 3.4.1 (2021.2.1).
...
See #4053
4 years ago
Mark Paluch
f35392f6dd
Prepare 3.4.1 (2021.2.1).
...
See #4053
4 years ago
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
4 years ago
Christoph Strobl
1078294e3e
Upgrade to MongoDB driver 4.6.1
...
Closes : #4081
4 years ago
Mark Paluch
e3ec68b07c
Wrap SpEL documentation with admonition.
...
Closes #4085
4 years ago
Mark Paluch
f93d7e7359
Polishing.
...
Reformat asciidoc source.
See #4085
4 years ago
Mark Paluch
aacd04a42f
Upgrade to Maven Wrapper 3.8.5.
...
See #4074
4 years ago
John Blum
59de671387
Remove Docker Registry login.
...
Closes #4056 .
4 years ago
Mark Paluch
54101a4619
Update driver compatibility matrix.
...
Closes #4052
4 years ago
Christoph Strobl
e9df28024a
After release cleanups.
...
See #4028
4 years ago
Christoph Strobl
48c6e1eed5
Prepare next development iteration.
...
See #4028
4 years ago
Christoph Strobl
9cdc79a89a
Release version 3.4 GA (2021.2.0).
...
See #4028
4 years ago
Christoph Strobl
f2bf878fbe
Prepare 3.4 GA (2021.2.0).
...
See #4028
4 years ago
Jay Bryant
4d8019abca
Editing pass for new content in reference documentation.
...
Closes : #4049
4 years ago
Christoph Strobl
47864e0cf9
Polishing.
...
Update Query javadoc.
Original Pull Request: #3999
4 years ago
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
4 years ago
Christoph Strobl
0d4b5de2a5
Provide additional meta information via pom.xml
...
Add scm & issueManagement.
Closes : #4048
4 years ago
nniesen
24e9841beb
Update spring.io project urls.
...
This commit updates outdated projects.spring.io links to spring.io/projects.
Closes : #4042
4 years ago
John Blum
f130616e68
Adapt to API changes in PropertyValueConverters.
...
Closes #4040 .
4 years ago
Christoph Strobl
32da9f4336
After release cleanups.
...
See #4002
4 years ago
Christoph Strobl
5b83286da4
Prepare next development iteration.
...
See #4002
4 years ago