Christoph Strobl
c56a13ad00
DATAMONGO-1997 - Add support to return the single deleted item for a deleteBy query method.
...
Added support for:
@Nullable
Person deleteSingleByLastname(String lastname);
Optional<Person> deleteByBirthdate(Date birthdate);
Mono<Person> deleteSinglePersonByLastname(String lastname);
Original pull request: #826 .
6 years ago
Mark Paluch
0a2ea88f3c
DATAMONGO-2406 - Polishing.
...
Add optimization for Mono.
Original pull request: #825 .
6 years ago
Christoph Strobl
80da9e21ed
DATAMONGO-2406 - Derived reactive deleteBy query execution should allow Mono<Void> result.
...
Mono<Void> is now a supported return type of derived reactive deleteBy queries like:
Mono<Void> deleteByLastname(String lastname);
Original pull request: #825 .
6 years ago
Mark Paluch
708466b323
DATAMONGO-2459 - Polishing.
...
Slightly tweak wording.
Original pull request: #829
6 years ago
Christoph Strobl
2905315452
DATAMONGO-2459 - Add sample for passing on limit and offset using reactive repositories.
...
Original pull request: #829 .
6 years ago
Christoph Strobl
ecc9f3fd60
DATAMONGO-2457 - Fix id type explanation in repository documentation.
...
Original pull request: #829 .
6 years ago
Mark Paluch
c83929c2a3
DATAMONGO-2427 - Simplify docker setup.
...
Original pull request: #823 .
6 years ago
Mark Paluch
9abf098bdb
DATAMONGO-2427 - Polishing.
...
Guard tests.
Original pull request: #823 .
6 years ago
Mark Paluch
f688cca400
DATAMONGO-2427 - Switch to MongoDB Driver 4.0.0-beta1.
...
Enable disabled tests. Adapt to ReactiveGridFS changes.
Use WriteConcern.MAJORITY in tests.
Original pull request: #823 .
6 years ago
Christoph Strobl
f09c622b2f
DATAMONGO-2427 - Update GridFS API to use MongoDB native ByteBuffer Publisher API and introduce UUID format configuration options.
...
Move from AsyncInputStream handling to Publisher for GridFS.
UUID types require additional configuration setup to prevent errors while processing legacy (type 3) binary types. We still use type 3 as default but allow codec configuration for type 4 via Java and XML configuration.
Updated migration guide.
Original pull request: #823 .
6 years ago
Mark Paluch
6049541d0a
DATAMONGO-2427 - Polishing.
...
Replace leftovers to Mongo 2.x API with Document and MongoDatabase references and tweak Javadoc. Reorder field declarations to class header. Reflect 3.0 versions in schema configuration. Add TODO markers to disabled tests.
Reflect changes in documentation.
Enable disabled test.
Original pull request: #823 .
6 years ago
Mark Paluch
2a3f862703
DATAMONGO-2427 - Rename MongoDbFactory to MongoDatabaseFactory.
...
Rename to follow MongoDB's naming scheme. Re-introduce deprecated MongoDbFactory to aid migration.
Original pull request: #823 .
6 years ago
Christoph Strobl
8b97e932a2
DATAMONGO-2427 - Upgrade to MongoDB 4.0 Driver.
...
This change switches to the MongoDB 4.0 driver and introduces configuration options for com.mongodb.client.MongoClient.
The XML namespace changed from client-options to client-settings and removed already deprecated elements and attributes.
Imports are switched from single artifact uber jar to split imports for driver-core, -sync and -reactivestreams.
Deprecations have been removed.
Original pull request: #823 .
6 years ago
Mark Paluch
5f29bee6c9
DATAMONGO-2419 - Enable JDK 11+ builds.
6 years ago
Mark Paluch
5b8037a0ad
DATAMONGO-2454 - After release cleanups.
6 years ago
Mark Paluch
1a19e140ee
DATAMONGO-2454 - Prepare next development iteration.
6 years ago
Mark Paluch
83307c424f
DATAMONGO-2454 - Release version 3.0 M2 (Neumann).
6 years ago
Mark Paluch
8394523645
DATAMONGO-2454 - Prepare 3.0 M2 (Neumann).
6 years ago
Mark Paluch
62be436569
DATAMONGO-2454 - Updated changelog.
6 years ago
Mark Paluch
44e6f5fa3f
DATAMONGO-2383 - After release cleanups.
6 years ago
Mark Paluch
f2fb05662f
DATAMONGO-2383 - Prepare next development iteration.
6 years ago
Mark Paluch
a1fbe31551
DATAMONGO-2383 - Release version 3.0 M1 (Neumann).
6 years ago
Mark Paluch
fca1a79f81
DATAMONGO-2383 - Prepare 3.0 M1 (Neumann).
6 years ago
Mark Paluch
cbf87e6e49
DATAMONGO-2383 - Updated changelog.
6 years ago
Mark Paluch
af133c26d0
DATAMONGO-2432 - Updated changelog.
6 years ago
Christoph Strobl
ab5b1f0140
DATAMONGO-2451 - Fix value conversion for id properties used in sort expression.
...
Previously we falsely converted the sort value (1/-1) into the id types target value when a Field annotation had been present.
Original pull request: #822 .
6 years ago
Mark Paluch
3a5876537b
DATAMONGO-2431 - Updated changelog.
6 years ago
Mark Paluch
48f51d0fb0
DATAMONGO-2450 - Polishing.
...
Replace stream with for-loop.
Original pull request: #820 .
6 years ago
Christoph Strobl
fb499f8c69
DATAMONGO-2450 - Apply array filters to bulk write.
...
Original pull request: #820 .
6 years ago
Mark Paluch
bcc2c94e03
DATAMONGO-2440 - Polishing.
...
Replace SpringJUnit4ClassRunner with SpringRunner.
Original pull request: #821 .
6 years ago
Mark Paluch
284f547e99
DATAMONGO-2437 - Polishing.
...
Mention changes in Aggregation _id handling in what's new. Reformat code.
Original pull request: #821 .
6 years ago
Christoph Strobl
d824f3b8b2
DATAMONGO-2437 - Fix complex id handling when reading aggregation results.
...
Removed Unwrapping complex id values.
Template.aggregate now behaves like aggregateStream or its reactive counterpart.
Original pull request: #821 .
6 years ago
Christoph Strobl
7b1a96f4a9
DATAMONGO-2448 - Bump version to 3.0 SNAPSHOT.
...
In preparation for the upcoming breaking changes when switching to the MongoDB Java Driver 4.0 and the breaking changes required for that update (expected for Milestone 2), we eagerly bump the version number to 3.0.
Original pull request: #819 .
6 years ago
Christoph Strobl
4f75fec5c5
DATAMONGO-2447 - Upgrade MongoDB Drivers to 3.12.0 (sync) and 1.13.0 (reactive).
6 years ago
Mark Paluch
61bd56dd74
DATAMONGO-2442 - Polishing.
...
Reduce visibility of test methods for JUnit 5 tests.
Original pull request: #818 .
6 years ago
Christoph Strobl
b4222c5646
DATAMONGO-2442 - Polishing.
...
Transition touched test classes to JUnit Jupiter.
Original pull request: #818 .
6 years ago
Christoph Strobl
4a45928aee
DATAMONGO-2442 - Fix thenValueOf in $cond builder.
...
We now create a field reference when calling the builder instead of using the value as is.
Original pull request: #818 .
6 years ago
Mark Paluch
e2200eccf7
DATAMONGO-2440 - Polishing.
...
Iterate over List instead of using the Stream API.
Reduce visibility of JUnit 5 test methods. Consolidate assertions.
Original pull request: #817 .
6 years ago
Christoph Strobl
96c4901e7f
DATAMONGO-2440 - Fix field target type conversion for collection values.
...
We now preserve the collection nature of the source type when applying custom target type conversions. Prior to this change collection values had been changed to single element causing query errors in MongoDB when using $in queries.
Original pull request: #817 .
6 years ago
Christoph Strobl
1393f23f3b
DATAMONGO-2423 - Polishing.
...
Update nullability annotations and reduce visibility in tests.
Original pull request: #815 .
6 years ago
Christoph Strobl
9bbe1f2a26
DATAMONGO-2423 - Nullability refinements for Update.
...
Ease non null restrictions for operators that may use null values like $set.
Original pull request: #815 .
6 years ago
Mark Paluch
eacfe2b8f7
DATAMONGO-2444 - Update copyright years to 2020.
6 years ago
Jens Schauder
674f0cca2b
DATAMONGO-2422 - Updated changelog.
6 years ago
Jens Schauder
da7b51a51e
DATAMONGO-2421 - Updated changelog.
6 years ago
Mark Paluch
a1b5175299
DATAMONGO-2430 - Upgrade to mongo-java-driver 3.11.2.
6 years ago
Mark Paluch
56fff286aa
DATAMONGO-2418 - Polishing.
...
Reformat code.
Original pull request: #814 .
6 years ago
Christoph Strobl
60112b4d14
DATAMONGO-2418 - Obtain EvaluationContextExtensions lazily when parsing Bson queries.
...
An eager evaluation of the context extension can lead to errors when e.g. the security context was not present.
Original pull request: #814 .
6 years ago
Mark Paluch
277b7a1c7c
DATAMONGO-2410 - Polishing.
...
Simplify cast. Extend test with DBObject interface.
Original pull request: #813 .
6 years ago
Christoph Strobl
c5b892f03b
DATAMONGO-2410 - Fix Document to BasicDBObject conversion.
...
Original pull request: #813 .
6 years ago
Mark Paluch
dbf43941be
DATAMONGO-765 - Polishing.
...
Reformat code. Update ticket references.
Original pull request: #806 .
6 years ago