Mark Paluch
4f15880d7b
Release version 3.4.6 (2021.2.6).
...
See #4208
2022-11-18 10:45:32 +01:00
Mark Paluch
fcc3215b73
Prepare 3.4.6 (2021.2.6).
...
See #4208
2022-11-18 10:44:44 +01:00
Christoph Strobl
d76c84326b
Add Nullable annotation to parameter of overridden equals method.
...
Closes : #4226
Original pull request: #4277
2022-11-16 10:43:50 +01:00
Christoph Strobl
f5ea80a346
Implement equals, hashCode and toString for CollectionOptions.
...
Closes : #4210
Original pull request: #4277
2022-11-16 10:43:50 +01:00
Mark Paluch
a414e21f42
Update CI properties.
...
See #4208
2022-10-31 13:18:15 +01:00
Mark Paluch
5a999bacf8
Upgrade to Java 8u345-b01-jdk-focal and pin base image distribution.
...
See #4208
2022-10-31 10:53:45 +01:00
Mark Paluch
be714cf702
Use correct boolean type for JSON Schema creation.
...
We now use the correct JSON type boolean again when creating schemas. Furthermore, we use the bool type for MongoDB $type queries.
Closes #4220
2022-10-27 10:17:48 +02:00
Spring Builds
157684a563
After release cleanups.
...
See #4207
2022-10-13 13:46:49 +00:00
Spring Builds
0548950bbd
Prepare next development iteration.
...
See #4207
2022-10-13 13:46:36 +00:00
Spring Builds
7ecc71299f
Release version 3.4.5 (2021.2.5).
...
See #4207
2022-10-13 13:24:00 +00:00
Spring Builds
0a97fb92af
Prepare 3.4.5 (2021.2.5).
...
See #4207
2022-10-13 13:21:28 +00:00
Spring Builds
423efcf33e
After release cleanups.
...
See #4171
2022-10-13 09:23:53 +00:00
Spring Builds
9dbea7c120
Prepare next development iteration.
...
See #4171
2022-10-13 09:23:40 +00:00
Spring Builds
69ba8b5ba9
Release version 3.4.4 (2021.2.4).
...
See #4171
2022-10-13 08:59:50 +00:00
Spring Builds
91815a68c4
Prepare 3.4.4 (2021.2.4).
...
See #4171
2022-10-13 08:56:59 +00:00
Christoph Strobl
6949e4ad70
Update javadoc.
...
See: #4184
See: #4197
Original pull request: #4203 .
2022-10-12 15:25:43 +02:00
Christoph Strobl
f53f6b9308
Preserve given Id on insert.
...
This commit fixes an issue where an existing Id got replaced with a generated one when using MongoId annotation.
Closes : #4184
Closes : #4197
Original pull request: #4203 .
2022-10-12 15:25:31 +02:00
Christoph Strobl
fb3bda9e94
Update tests.
...
Original Pull Request: #4196
2022-10-11 09:48:57 +02:00
gongxuanzhang
c9ad0884ec
Fix json schema type name for boolean.
...
Was boolean should have been bool.
Closes : #4196
2022-10-11 08:23:24 +02:00
Christoph Strobl
eba0a66e1c
Update reactive transaction sample in reference documentation.
...
Closes : #4190
2022-10-06 13:18:37 +02:00
Christoph Ahlers
92ace88cac
Fix javadoc parameter names.
...
Closes : #4179
2022-10-04 12:39:40 +02:00
Wan Bachtiar
24a5fcd5f5
Fix typo in reference documentation.
...
Closes : #4180
2022-10-04 12:25:32 +02:00
Seungwoo Jo
4fff480e17
Fix documentation typo in BasicQuery.
...
Closes #4169
Original pull request: #4170 .
2022-09-21 10:58:17 +02:00
Mark Paluch
51160571fd
Polishing.
...
Reformat code.
See #4004
Original pull request: #4006 .
2022-09-21 10:48:30 +02:00
Christoph Strobl
b5c40e7427
Polishing
...
Update Javadoc to mention unit of measure for min/maxDistance depending on usage of geoJson.
Also remove unused imports from tests
See #4004
Original pull request: #4006 .
2022-09-21 10:48:30 +02:00
Christoph Strobl
ee712f67db
Fix rewrite near & nearSphere count queries using geoJson to geoWithin.
...
$near and $nearSphere queries are not supported via countDocuments and the used aggregation match stage and need to be rewritten to $geoWithin. The existing logic did not cover usage of geoJson types, which is fixed now. In case of nearSphere it is also required to convert the $maxDistance argument (given in meters for geoJson) to radians which is used by $geoWithin $centerSphere.
Closes #4004
Original pull request: #4006 .
Related to #2925
2022-09-21 10:48:30 +02:00
Spring Builds
de2a0373bb
After release cleanups.
...
See #4116
2022-09-19 12:00:17 +00:00
Spring Builds
baa897ff2b
Prepare next development iteration.
...
See #4116
2022-09-19 12:00:05 +00:00
Spring Builds
68769004b0
Release version 3.4.3 (2021.2.3).
...
See #4116
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