Mark Paluch
b49beb08b6
Updated changelog.
...
See #3649
2021-06-22 15:17:49 +02:00
Mark Paluch
18b0946879
Update reference docs to use correct MongoClient.
...
Closes #3666
2021-06-22 14:36:58 +02:00
larsw
cf3681f7c2
Add closing quote to GeoJson javadoc.
...
Closes #3677
2021-06-21 13:58:44 +02:00
Christoph Strobl
49ef3fbc74
Polishing.
...
Fix typo in class name and make sure MongoTestTemplate uses the configured simple types.
See: #3659
Original pull request: #3661 .
2021-06-18 14:22:08 +02:00
Christoph Strobl
01141502a0
Fix query mapper path resolution for types considered simple ones.
...
spring-projects/spring-data-commons#2293 changed how PersistentProperty paths get resolved and considers potentially registered converters for those, which made the path resolution fail in during the query mapping process.
This commit makes sure to capture the according exception and continue with the given user input.
Fixes : #3659
Original pull request: #3661 .
2021-06-18 14:14:45 +02:00
Christoph Strobl
5d8f3d5c8b
Fix $or / $nor keyword mapping in query mapper.
...
This commit fixes an issue with the pattern used for detecting $or / $nor which also matched other keywords like $floor.
Closes : #3635
Original pull request: #3637 .
2021-06-18 13:55:46 +02:00
Mark Paluch
5cf801ff8e
Polishing.
...
Add nullability annotation. Return early on null value conversion.
See #3633
Original pull request: #3643 .
2021-06-09 14:20:46 +02:00
Christoph Strobl
2f3fb4aea9
Fix NPE in QueryMapper when trying to apply target type on null value.
...
Closes #3633
Original pull request: #3643 .
2021-06-09 14:20:45 +02:00
Mark Paluch
82e05e7e8e
Updated changelog.
...
See #3629
2021-05-14 12:36:39 +02:00
Mark Paluch
5be2e3eea2
After release cleanups.
...
See #3628
2021-05-14 12:05:20 +02:00
Mark Paluch
54f55e04de
Prepare next development iteration.
...
See #3628
2021-05-14 12:05:16 +02:00
Mark Paluch
9ef1386784
Release version 3.1.9 (2020.0.9).
...
See #3628
3.1.9
2021-05-14 11:52:23 +02:00
Mark Paluch
696fd725c3
Prepare 3.1.9 (2020.0.9).
...
See #3628
2021-05-14 11:51:53 +02:00
Mark Paluch
e6fda2ccdd
Updated changelog.
...
See #3628
2021-05-14 11:51:46 +02:00
Greg L. Turnquist
7a24bab9a2
Authenticate with artifactory.
...
See #3616 .
2021-04-22 15:04:01 -05:00
Mark Paluch
38b7fb7105
Updated changelog.
...
See #3616
2021-04-14 14:40:02 +02:00
Mark Paluch
d42d06e058
After release cleanups.
...
See #3617
2021-04-14 11:42:08 +02:00
Mark Paluch
e2709abfe0
Prepare next development iteration.
...
See #3617
2021-04-14 11:42:04 +02:00
Mark Paluch
12b4aab834
Release version 3.1.8 (2020.0.8).
...
See #3617
3.1.8
2021-04-14 11:33:25 +02:00
Mark Paluch
db06756c8f
Prepare 3.1.8 (2020.0.8).
...
See #3617
2021-04-14 11:32:47 +02:00
Mark Paluch
b319b8a589
Updated changelog.
...
See #3617
2021-04-14 11:32:42 +02:00
Mark Paluch
a516795759
Updated changelog.
...
See #3597
2021-04-14 11:17:41 +02:00
Mark Paluch
bab08502a5
Polishing.
...
Fix nullability annotations for isEqual(…) parameters. Fix generics. Reformat code.
Add tests.
See #3414
Original pull request: #3615 .
2021-04-13 09:40:00 +02:00
Clement Petit
3e1f95bc94
Handle nested Pattern and Document in Criteria.equals(…).
...
Closes #3414
Original pull request: #3615 .
2021-04-13 09:39:59 +02:00
Mark Paluch
5c153dc76e
Polishing.
...
Use ObjectUtils for empty check.
See #3623
Original pull request: #3625 .
2021-04-13 09:09:42 +02:00
Christoph Strobl
8f4e207d97
Fix NPE in declarative aggregation execution.
...
This commit fixes an issue where using a simple return type leads to NPE when the actual aggregation result does not contain any values.
Closes : #3623
Original pull request: #3625 .
2021-04-13 09:09:42 +02:00
Christoph Strobl
5000a40d72
Fix query mapping resolution of properties using underscore within field name.
...
Closes : #3601
Original pull request: #3607 .
2021-04-09 12:27:08 +02:00
Mark Paluch
fb59f49dae
After release cleanups.
...
See #3598
2021-03-31 18:29:41 +02:00
Mark Paluch
f3c1e014e9
Prepare next development iteration.
...
See #3598
2021-03-31 18:29:38 +02:00
Mark Paluch
f52cc3be1f
Release version 3.1.7 (2020.0.7).
...
See #3598
3.1.7
2021-03-31 18:19:52 +02:00
Mark Paluch
1bda93858c
Prepare 3.1.7 (2020.0.7).
...
See #3598
2021-03-31 18:19:19 +02:00
Mark Paluch
1808970daf
Updated changelog.
...
See #3598
2021-03-31 18:19:13 +02:00
Mark Paluch
558fc28cce
Updated changelog.
...
See #3595
2021-03-31 17:26:09 +02:00
Mark Paluch
16bef54f11
Use StringUtils.replace(…) instead of String.replaceAll(…) for mapKeyDotReplacement.
...
We now use StringUtils.replace(…) to replace the map key dot in MappingMongoConverter. StringUtils perform a plain search instead of using Regex which improves the overall performance.
Closes #3613
2021-03-30 14:29:50 +02:00
Mark Paluch
d68a812e1b
Polishing.
...
Omit StreamUtils usage if input is a collection. Remove superfluous Flux.from(…). Simplify test and migrate test to JUnit 5.
See #3609 .
Original pull request: #3611 .
2021-03-29 11:02:34 +02:00
Clément Petit
ccb9f111d9
Return saved entity reference instead of original reference.
...
Make SimpleReactiveMongoRepository#saveAll(Publisher<S>) return the saved entity references instead of the original references.
Closes #3609
Original pull request: #3611 .
2021-03-29 10:55:36 +02:00
Mark Paluch
f64b177c8f
Updated changelog.
...
See #3558
2021-03-17 11:31:32 +01:00
Mark Paluch
c0c7ba767f
After release cleanups.
...
See #3561
2021-03-17 11:02:15 +01:00
Mark Paluch
7639701f3f
Prepare next development iteration.
...
See #3561
2021-03-17 11:02:13 +01:00
Mark Paluch
b39b2591b6
Release version 3.1.6 (2020.0.6).
...
See #3561
3.1.6
2021-03-17 10:54:12 +01:00
Mark Paluch
65c8317e38
Prepare 3.1.6 (2020.0.6).
...
See #3561
2021-03-17 10:53:43 +01:00
Mark Paluch
9d0f7bac6a
Updated changelog.
...
See #3561
2021-03-17 10:53:41 +01:00
Mark Paluch
6f50747d21
Updated changelog.
...
See #3556
2021-03-17 10:35:15 +01:00
Mark Paluch
5cf1578ad3
Polishing.
...
Move hasValue(…) from DocumentAccessor to BsonUtils. Fix typo in tests.
See: #3590
Original pull request: #3591 .
2021-03-15 14:03:33 +01:00
Christoph Strobl
78a59c45ca
Fix ShardKey lookup for nested paths.
...
This commit fixes the lookup of shard key values for nested paths using the dot (.) notation.
Closes : #3590
Original pull request: #3591 .
2021-03-15 14:02:49 +01:00
Christoph Strobl
dccdfc8b4d
Upgrade MongoDB drivers to 4.1.2
...
Closes #3589
2021-03-15 09:17:52 +01:00
Mark Paluch
e48239eb8f
Remove @Persistent from entity-scan include filters.
...
We now only scan for entities annotated with `@Document` to avoid inclusion of non-MongoDB entities. Previously, types annotated (or meta-annotated) with `@Persistent` were included as MongoDB entity which could lead to mapping rule violations.
Closes #3592
2021-03-11 15:08:05 +01:00
Christoph Strobl
c3b4f61d29
Preserve class keyword as Map key during update mapping.
...
This commit makes sure to skip the class property ob Object when mapping maps and their keys inside an Update.
Closes #3566
Original pull request: #3577 .
2021-03-02 11:38:20 +01:00
Mark Paluch
22ed860b4a
Polishing.
...
Reformat code. Reduce method visibility in JUnit 5 tests. Add Nullable annotations to address warnings.
See #3568
Original pull request: #3569 .
2021-03-02 11:30:26 +01:00
Brice Vandeputte
bf642ad3f7
Translate MongoSocketException subclasses to DataAccessResourceFailureException.
...
Closes #3568
Original pull request: #3569 .
2021-03-02 11:30:26 +01:00