Jens Schauder
437368bedb
DATAMONGO-2422 - Prepare 2.2.3 (Moore SR3).
2019-12-04 14:11:44 +01:00
Jens Schauder
4057b193d6
DATAMONGO-2422 - Updated changelog.
2019-12-04 14:11:36 +01:00
Jens Schauder
89b1b5c7f6
DATAMONGO-2421 - Updated changelog.
2019-12-04 12:09:48 +01:00
Mark Paluch
c1ae30bd82
DATAMONGO-2402 - Prepare 2.2.2 (Moore SR2).
2019-11-18 12:31:53 +01:00
Mark Paluch
6aa5aea424
DATAMONGO-2402 - Updated changelog.
2019-11-18 12:31:44 +01:00
Mark Paluch
bc1b00813c
DATAMONGO-2401 - Updated changelog.
2019-11-18 12:16:28 +01:00
Christoph Strobl
9d9cf46e47
DATAMONGO-2382 - Prepare 2.2.1 (Moore SR1).
2019-11-04 14:54:16 +01:00
Christoph Strobl
98661cf9a2
DATAMONGO-2382 - Updated changelog.
2019-11-04 14:54:10 +01:00
Christoph Strobl
cc50cd5e3a
DATAMONGO-2381 - Updated changelog.
2019-11-04 10:34:52 +01:00
Mark Paluch
c700a508d5
DATAMONGO-2334 - Prepare 2.2 GA (Moore).
2019-09-30 15:50:43 +02:00
Mark Paluch
11a23becce
DATAMONGO-2334 - Updated changelog.
2019-09-30 15:50:35 +02:00
Mark Paluch
ad2a3483be
DATAMONGO-2333 - Updated changelog.
2019-09-30 11:16:16 +02:00
Mark Paluch
499f019798
DATAMONGO-2379 - Polishing.
...
Reorder what's new to group related items together.
Original Pull Request: #794
2019-09-30 10:21:08 +02:00
Mark Paluch
d0e782687a
DATAMONGO-2379 - Add documentation for Kotlin support.
...
Original Pull Request: #794
2019-09-30 10:01:34 +02:00
Christoph Strobl
565132c619
DATAMONGO-2378 - Favor com.mongodb.client.MongoClient (over already deprecated com.mongodb.MongoClient) where possible.
...
Original pull request: #793 .
2019-09-27 10:12:49 +02:00
Christoph Strobl
8cc0609190
DATAMONGO-1731 - Improve update & upsert documentation.
2019-09-23 13:42:50 +02:00
Christoph Strobl
26dc0c5c27
DATAMONGO-2366 - Polishing.
...
Fix typo in reference documentation and add note on error handling.
Original Pull Request: #790
2019-09-19 11:47:03 +02:00
Franz van Betteraey
f549fd18b5
DATAMONGO-2361 - Fix @Document reference documentation.
...
Original pull request: #787 .
2019-09-13 10:50:28 +02:00
Mark Paluch
d33ee2ffac
DATAMONGO-2335 - Prepare 2.2 RC3 (Moore).
2019-09-06 10:10:12 +02:00
Mark Paluch
59388d99cc
DATAMONGO-2335 - Updated changelog.
2019-09-06 10:10:07 +02:00
Christoph Strobl
9a062d53f3
DATAMONGO-2310 - Update documentation for TypedAggregation.
2019-09-05 13:02:01 +02:00
Christoph Strobl
a3c5b07eb7
DATAMONGO-2348 - Update documentation of version property handling.
2019-09-05 10:29:53 +02:00
Mark Paluch
4e13bda302
DATAMONGO-2303 - Prepare 2.2 RC2 (Moore).
2019-08-05 15:35:05 +02:00
Mark Paluch
e634f2f7c0
DATAMONGO-2303 - Updated changelog.
2019-08-05 15:34:56 +02:00
Mark Paluch
0bb2b8785d
DATAMONGO-2302 - Updated changelog.
2019-08-05 11:34:29 +02:00
Mark Paluch
9505112670
DATAMONGO-2272 - Updated changelog.
2019-08-05 11:09:00 +02:00
Mark Paluch
d49b1c33b7
DATAMONGO-2306 - Polishing.
...
Add Nullable annotation to nullable method args. Remove IV from JSON Schema as it is not listed in Mongo specs.
Tweak wording in docs. Parse encryption-settings-ref for MongoClientOptions. Add support for KeyId's in encrypted JSON schema properties.
Original pull request: #766 .
2019-07-17 14:03:44 +02:00
Christoph Strobl
da0cb6d766
DATAMONGO-2306 - Add field level encryption to JSON Schema.
...
We now support encrypted fields via MongoJsonSchema and allow XML configuration of com.mongodb.AutoEncryptionSettings via a dedicated factory bean.
Original pull request: #766 .
2019-07-17 14:03:36 +02:00
Mark Paluch
ada6eb814e
DATAMONGO-2089 - Polishing.
...
Add watchCollection(…) accepting an entity class. Use static import for assertions. Tweak javadoc.
Original pull request: #751 .
2019-07-03 11:21:28 +02:00
Christoph Strobl
4a17048ec6
DATAMONGO-2089 - Add fluent change stream API to ReactiveMongoTemplate.
...
We now offer a fluent API for more intuitive change stream interaction.
Flux<ChangeStreamEvent<User>> flux = reactiveTemplate.changeStream(User.class)
.watchCollection("people")
.filter(where("age").gte(38))
.listen();
Original pull request: #751 .
2019-07-03 11:07:03 +02:00
Mark Paluch
bfe514acd7
DATAMONGO-2304 - Polishing.
...
Align anchor naming. Add code fences to EntityCallbacks.
Original pull request: #767 .
2019-07-01 15:10:21 +02:00
Christoph Strobl
87343d2ae5
DATAMONGO-2304 - Fix documentation anchor for entity callback API.
...
Original pull request: #767 .
2019-07-01 15:10:18 +02:00
Christoph Strobl
349b87a2c4
DATAMONGO-2256 - Prepare 2.2 RC1 (Moore).
2019-06-14 14:43:17 +02:00
Christoph Strobl
63ed62b988
DATAMONGO-2256 - Updated changelog.
2019-06-14 14:43:12 +02:00
Christoph Strobl
8c1a7cc163
DATAMONGO-2271 - Updated changelog.
2019-06-14 13:27:15 +02:00
Christoph Strobl
a7e6b26796
DATAMONGO-2261 - Adapt to changes in DATACMNS-1467.
...
Use the reworked version of the EntityCallback method lookup.
Also fix issues with callbacks not invoked when intended and rework the reactive flow by removing deeply nested constructs.
Update documentation and add EntityCallbacks to BulkOperations.
Original Pull Request: #742
2019-06-11 11:37:32 +02:00
Mark Paluch
b353bb6165
DATAMONGO-2231 - URL Cleanup.
2019-06-05 11:19:31 +02:00
Hippolyte Durix
f5c00b6978
DATAMONGO-2288 - Fix wrong indentation on documentation code sample.
...
Original pull request: #758 .
2019-05-29 14:36:14 +02:00
Mark Paluch
d937460351
DATAMONGO-1183 - Polishing.
...
Tweak Javadoc and reference docs. Migrate tests to AssertJ. Remove not needed warning suppressions.
Original pull request: #750 .
2019-05-28 11:43:34 +02:00
Christoph Strobl
89843a1488
DATAMONGO-1183 - Add support for Hashed Indexes.
...
We now support hashed index definitions via IndexOperations. Reading index information back allows to identify a hashed index via isHashed().
Original pull request: #750 .
2019-05-28 10:20:28 +02:00
Mark Paluch
7a22d697cf
DATAMONGO-2067 - Polishing.
...
Tweak Javadoc and reference docs. Use pre/class=code instead of nested code tag.
Original pull request: #756 .
2019-05-27 10:57:13 +02:00
Christoph Strobl
505ca4d2c4
DATAMONGO-2067 - Allow repeated usage of CompoundIndex annotation.
...
Original pull request: #756 .
2019-05-27 10:57:06 +02:00
Mark Paluch
f456851791
DATAMONGO-2153 - Polishing.
...
Use MongoQueryMethod.getDomainClass() instead of getRepositoryDomainType(). Simplify annotation presence indicator methods hasAnnotatedSort() and hasAnnotatedCollation(). Refactor getAnnotatedAggregation() to non-nullable method throwing IllegalStateException to be consistent with other getXxx() methods.
Simplify aggregation execution and consider collection/single element declaration for reactive execution.
Tweak docs.
Original pull request: #743 .
2019-05-17 11:48:37 +02:00
Christoph Strobl
221ffb1947
DATAMONGO-2153 - Annotated aggregation support.
...
The repository layer offers means interact with the aggregation framework via annotated repository finder methods. Similar to the JSON based queries a pipeline can be defined via the Aggregation annotation. The definition may contain simple placeholders like `?0` as well as SpEL expression markers `?#{ ... }`.
public interface PersonRepository extends CrudReppsitory<Person, String> {
@Aggregation("{ $group: { _id : $lastname, names : { $addToSet : $?0 } } }")
List<PersonAggregate> groupByLastnameAnd(String property);
@Aggregation("{ $group: { _id : $lastname, names : { $addToSet : $firstname } } }")
List<PersonAggregate> groupByLastnameAndFirstnames(Sort sort);
@Aggregation("{ $group: { _id : $lastname, names : { $addToSet : $?0 } } }")
List<PersonAggregate> groupByLastnameAnd(String property, Pageable page);
@Aggregation("{ $group : { _id : null, total : { $sum : $age } } }")
SumValue sumAgeUsingValueWrapper();
@Aggregation("{ $group : { _id : null, total : { $sum : $age } } }")
Long sumAge();
@Aggregation("{ $group : { _id : null, total : { $sum : $age } } }")
AggregationResults<SumValue> sumAgeRaw();
@Aggregation("{ '$project': { '_id' : '$lastname' } }")
List<String> findAllLastnames();
}
public interface ReactivePersonRepository extends ReactiveCrudReppsitory<Person, String> {
@Aggregation("{ $group: { _id : $lastname, names : { $addToSet : $?0 } } }")
Flux<PersonAggregate> groupByLastnameAnd(String property);
@Aggregation("{ $group : { _id : null, total : { $sum : $age } } }")
Mono<Long> sumAge();
@Aggregation("{ '$project': { '_id' : '$lastname' } }")
Flux<String> findAllLastnames();
}
Original pull request: #743 .
2019-05-17 11:48:25 +02:00
Mark Paluch
7596881a06
DATAMONGO-2270 - Updated changelog.
2019-05-13 18:19:07 +02:00
Mark Paluch
3ea670fb3b
DATAMONGO-2269 - Updated changelog.
2019-05-13 14:59:27 +02:00
Mark Paluch
74368dd0e8
DATAMONGO-2260 - Prepare 2.2 M4 (Moore).
2019-05-13 11:59:04 +02:00
Mark Paluch
fff971e469
DATAMONGO-2260 - Updated changelog.
2019-05-13 11:58:56 +02:00
Oliver Drotbohm
89624518c9
DATAMONGO-2244 - Updated changelog.
2019-05-10 14:18:09 +02:00
Oliver Drotbohm
8e02fd0329
DATAMONGO-2246 - Updated changelog.
2019-05-10 12:57:20 +02:00