Mark Paluch
fc3d13d5bc
DATAMONGO-2432 - Prepare next development iteration.
2020-01-15 12:48:22 +01:00
Mark Paluch
6d2f7b0c9e
DATAMONGO-2432 - Release version 2.2.4 (Moore SR4).
2.2.4.RELEASE
2020-01-15 12:37:44 +01:00
Mark Paluch
84128cab28
DATAMONGO-2432 - Prepare 2.2.4 (Moore SR4).
2020-01-15 12:37:18 +01:00
Mark Paluch
8f2d2784f8
DATAMONGO-2432 - Updated changelog.
2020-01-15 12:37:09 +01:00
Christoph Strobl
37ee677a67
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 .
2020-01-15 11:52:06 +01:00
Mark Paluch
1729744a9e
DATAMONGO-2431 - Updated changelog.
2020-01-15 10:36:38 +01:00
Mark Paluch
b59903c890
DATAMONGO-2450 - Polishing.
...
Replace stream with for-loop.
Original pull request: #820 .
2020-01-15 10:15:23 +01:00
Christoph Strobl
5063e68562
DATAMONGO-2450 - Apply array filters to bulk write.
...
Original pull request: #820 .
2020-01-15 10:15:23 +01:00
Christoph Strobl
3cbb572c7c
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 .
2020-01-08 15:18:47 +01:00
Mark Paluch
bb4f11a239
DATAMONGO-2440 - Polishing.
...
Iterate over List instead of using the Stream API.
Original pull request: #817 .
2020-01-08 15:18:47 +01:00
Christoph Strobl
8a1750691b
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 .
2020-01-08 15:18:47 +01:00
Christoph Strobl
5cffaf9d73
DATAMONGO-2423 - Polishing.
...
Update nullability annotations and reduce visibility in tests.
Original pull request: #815 .
2020-01-08 13:25:07 +01:00
Christoph Strobl
a9e50b28df
DATAMONGO-2423 - Nullability refinements for Update.
...
Ease non null restrictions for operators that may use null values like $set.
Original pull request: #815 .
2020-01-08 13:24:50 +01:00
Mark Paluch
24512639fb
DATAMONGO-2444 - Update copyright years to 2020.
2020-01-07 08:59:35 +01:00
Jens Schauder
1355d043b6
DATAMONGO-2422 - After release cleanups.
2019-12-04 14:29:17 +01:00
Jens Schauder
c7600ef9ed
DATAMONGO-2422 - Prepare next development iteration.
2019-12-04 14:29:14 +01:00
Jens Schauder
a4cb0d6432
DATAMONGO-2422 - Release version 2.2.3 (Moore SR3).
2.2.3.RELEASE
2019-12-04 14:12:24 +01:00
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
60d3438277
DATAMONGO-2430 - Upgrade to mongo-java-driver 3.11.2.
2019-12-04 11:42:04 +01:00
Mark Paluch
a578a10b5b
DATAMONGO-2418 - Polishing.
...
Reformat code.
Original pull request: #814 .
2019-12-04 10:31:33 +01:00
Christoph Strobl
5cf24af00b
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 .
2019-12-04 10:31:33 +01:00
Mark Paluch
6c0e455146
DATAMONGO-2410 - Polishing.
...
Simplify cast. Extend test with DBObject interface.
Original pull request: #813 .
2019-12-04 08:56:54 +01:00
Christoph Strobl
932a946868
DATAMONGO-2410 - Fix Document to BasicDBObject conversion.
...
Original pull request: #813 .
2019-12-04 08:56:54 +01:00
Mark Paluch
99a1cfbff9
DATAMONGO-2402 - After release cleanups.
2019-11-18 12:42:05 +01:00
Mark Paluch
d7bbdde1e7
DATAMONGO-2402 - Prepare next development iteration.
2019-11-18 12:42:04 +01:00
Mark Paluch
7dba98dce8
DATAMONGO-2402 - Release version 2.2.2 (Moore SR2).
2.2.2.RELEASE
2019-11-18 12:32:12 +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
Mark Paluch
d1ad3ab301
DATAMONGO-2414 - Polishing.
...
Use longer timeout to cater for slower CI environments.
Original Pull Request: #807
2019-11-14 11:54:43 +01:00
Mark Paluch
923134bbdc
DATAMONGO-2414 - Guard drain loop in AsyncInputStreamHandler with state switch.
...
We now use a non-blocking state switch to determine whether to invoke drainLoop(…) from Subscriber completion.
Previously, we relied on same thread identification assuming if the subscription thread and the completion thread were the same, that we're already running inside the drain loop.
It turns out that a I/O thread could also run in event-loop mode where subscription and completion happens on the same thread but in between there's some processing and so the the call to completion is a delayed signal and not being called on the same stack as drainLoop(…).
The same-thread assumption was in place to avoid StackOverflow caused by infinite recursions.
We now use a state lock to enter the drain loop. Any concurrent attempts to re-enter the drain loop in Subscriber completion is now prevented to make sure that we continue draining while not causing stack recursions.
Original Pull Request: #807
2019-11-14 11:54:30 +01:00
Mark Paluch
e211f69df5
DATAMONGO-2409 - Polishing.
...
Adapt also ExecutableFindOperation.DistinctWithProjection.asType() to return the appropriate TerminatingDistinct.
Original pull request: #805 .
2019-11-11 10:22:37 +01:00
Christoph Strobl
fc35d706a0
DATAMONGO-2409 - Fix return type of Kotlin extension function for ReactiveFindOperation.DistinctWithProjection.asType().
...
Original pull request: #805 .
2019-11-11 10:22:37 +01:00
Mark Paluch
82894e6aff
DATAMONGO-2403 - Polishing.
...
Use handle(…) to skip values instead of flatMap(…) to reduce overhead.
Original pull request: #804 .
2019-11-08 13:51:20 +01:00
Christoph Strobl
7356f157bb
DATAMONGO-2403 - Fix aggregation simple type result retrieval from empty document.
...
Projections used within an aggregation pipeline can result in empty documents emitted by the driver. We now guarded those cases and skip those documents within a Flux or simply return an empty Mono depending on the methods signature.
Original pull request: #804 .
2019-11-08 13:48:10 +01:00
Christoph Strobl
783fc6268a
DATAMONGO-2382 - After release cleanups.
2019-11-04 15:34:27 +01:00
Christoph Strobl
360b17f299
DATAMONGO-2382 - Prepare next development iteration.
2019-11-04 15:34:26 +01:00
Christoph Strobl
2cfcdaff7c
DATAMONGO-2382 - Release version 2.2.1 (Moore SR1).
2.2.1.RELEASE
2019-11-04 14:55:02 +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
Christoph Strobl
d8399d2d23
DATAMONGO-2393 - Remove capturing lambdas and extract methods.
...
Original Pull Request: #799
2019-10-31 12:57:06 +01:00
Mark Paluch
f2134fb2f8
DATAMONGO-2393 - Support configurable chunk size.
...
We now allow consuming GridFS files using a configurable chunk size. The default chunk size is now 256kb.
Original Pull Request: #799
2019-10-31 12:56:59 +01:00
Mark Paluch
ec3ccc004e
DATAMONGO-2393 - Polishing.
...
Extract read requests into inner class.
Original Pull Request: #799
2019-10-31 12:56:50 +01:00
Mark Paluch
6cb246c18a
DATAMONGO-2393 - Fix BufferOverflow in GridFS upload.
...
AsyncInputStreamAdapter now properly splits and buffers incoming DataBuffers according the read requests of AsyncInputStream.read(…) calls.
Previously, the adapter used the input buffer size to be used as the output buffer size. A larger DataBuffer than the transfer buffer handed in through read(…) caused a BufferOverflow.
Original Pull Request: #799
2019-10-31 12:56:42 +01:00
Mark Paluch
e73cea0ecf
DATAMONGO-2393 - Use drain loop for same-thread processing in GridFS download stream.
...
We now rely on an outer drain-loop when GridFS reads complete on the same thread instead of using recursive subscriptions to avoid StackOverflow. Previously, we recursively invoked subscriptions that lead to an increased stack size.
Original Pull Request: #799
2019-10-31 12:56:28 +01:00
Christoph Strobl
c69e185a2a
DATAMONGO-2399 - Upgrade to MongoDB Java Driver 3.11.1
2019-10-30 10:49:43 +01:00
Mark Paluch
5789f59222
DATAMONGO-2388 - Polishing.
...
Use StringJoiner to create comma-delimited String. Add nullability annotations.
Original pull request: #797 .
2019-10-28 10:55:58 +01:00