Franz van Betteraey
f549fd18b5
DATAMONGO-2361 - Fix @Document reference documentation.
...
Original pull request: #787 .
2019-09-13 10:50:28 +02:00
Mark Paluch
a3a547a706
DATAMONGO-2335 - After release cleanups.
2019-09-06 10:21:56 +02:00
Mark Paluch
0ff8171309
DATAMONGO-2335 - Prepare next development iteration.
2019-09-06 10:21:54 +02:00
Mark Paluch
63dfb59a3f
DATAMONGO-2335 - Release version 2.2 RC3 (Moore).
2.2.0.RC3
2019-09-06 10:10:42 +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
ee6048e289
DATAMONGO-2357 - Fix read/write for MongoDB client.model GeoJSON types.
...
We now consider native GeoJSON types of the MongoDB client during conversion passing on the raw values to the driver when writing and using the configured MongoDB codecs on read.
Original pull request: #786 .
2019-09-05 15:46:19 +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
Christoph Strobl
40d30a230d
DATAMONGO-2354 - Polishing.
...
Same as with FindPublisherPreparer the CursorPreparer needs to be public because it is used in one of the protected methods of MongoTemplate.
Original Pull Request: #784
2019-09-04 13:03:52 +02:00
kostya05983
10116f7c93
DATAMONGO-2354 - Change visibility of FindPublisherPreparer.
...
The FindPublisherPreparer is used in an protected method of ReactiveMongoTemplate and needs to be public to allow overriding.
Original Pull Request: #784
2019-09-04 13:03:44 +02:00
Mark Paluch
705203c898
DATAMONGO-2358 - Polishing.
...
Inherit dependency-management for Kotlin Coroutines.
Original pull request: #785 .
2019-09-04 11:52:39 +02:00
Sebastien Deleuze
8fb9d9e5f4
DATAMONGO-2358 - Upgrade to Coroutines 1.3.0 and fix warnings.
...
Original pull request: #785 .
2019-09-04 11:40:10 +02:00
Mark Paluch
c23c5ae6c6
DATAMONGO-2356 - Move off deprecated Flux/Mono.usingWhen to their replacement overrides.
2019-09-04 09:37:59 +02:00
Mark Paluch
e67bacf66c
DATAMONGO-2352 - Polishing.
...
Apply typo fixes also to ReactiveMongoOperations.
Original pull request: #782 .
2019-09-03 11:28:20 +02:00
Ryan Cloherty
617dbdac3f
DATAMONGO-2352 - Fix documentation typos.
...
Original pull request: #782 .
2019-09-03 11:26:47 +02:00
Mark Paluch
8ad4f4b71b
DATAMONGO-2344 - Polishing.
...
Remove generics from FindPublisherPreparer. Rename ReadPreferenceAware.hasReadPreferences to hasReadPreference.
Original pull request: #779 .
2019-09-03 11:23:37 +02:00
Christoph Strobl
9048ec83af
DATAMONGO-2344 - Fix slaveOK query option not applied correctly.
...
Since MongoDB 3.6 the slaveOk option translates to the primaryPreferred ReadPreference that is now again applied when executing a find operation.
Original pull request: #779 .
2019-09-03 11:23:31 +02:00
Christoph Strobl
b2e3e3fb8e
DATAMONGO-2346 - Fix (reactive)auditing of immutable versioned entities.
...
We now check if the source is still the same object after potentially applying auditing modifications and make sure to pass the audited object on to the mapping layer.
Limited bean inspection scope of event listener tests to avoid side effects in index creation.
Original pull request: #780 .
2019-09-03 10:43:29 +02:00
Mark Paluch
e9a2b84af5
DATAMONGO-2349 - Polishing.
...
Reformat code. Remove duplicate simple types.
Original pull request: #783 .
2019-09-03 08:57:55 +02:00
Christoph Strobl
5b8be281fb
DATAMONGO-2349 - Fix converter registration for java.time types.
...
The MongoDB Java Driver does not handle java.time types. Therefore those must not be considered simple types.
The behavior was changed by DATACMNS-1294 forcing usage of Reading & WritingConverter annotations to disambiguate converter direction.
This commit restores the converter registration to the state before the change in Spring Data Commons.
Original pull request: #783 .
2019-09-03 08:57:41 +02:00
Christoph Strobl
66b318dabe
DATAMONGO-2351 - Polishing.
...
Fix broken tests and favor StepVerifier over block() for reactive ones.
Original Pull Request: #781
2019-08-23 07:22:09 +02:00
Artyom Gabeev
b78569374a
DATAMONGO-2351 - Return zero deleted count for unacknowledged deleteBy.
...
Original Pull Request: #781
2019-08-23 07:21:55 +02:00
Mark Paluch
79921a7260
DATAMONGO-2342 - Add build job against MongoDB 4.0
2019-08-16 13:19:27 +02:00
Christoph Strobl
bcd8f242e5
DATAMONGO-2342 - Upgrade ci job to MongoDB 4.2
...
Original pull request: #778 .
2019-08-16 11:52:28 +02:00
Christoph Strobl
73fab14b21
DATAMONGO-2342 - Upgrade MongoDB java & reactive streams Driver to 3.11 and 1.12.
...
Original pull request: #778 .
2019-08-16 11:52:23 +02:00
Christoph Strobl
d4505880c7
DATAMONGO-2339 - Fix QueryMapper field name resolution for properties containing underscore.
...
We now prevent splitting of paths that contain underscores if the entity contains a property that matches.
Original pull request: #777 .
2019-08-13 10:26:43 +02:00
Mark Paluch
a54b91392e
DATAMONGO-2338 - Open RepositoryFactoryBeans for extension.
...
createRepositoryFactory() is now no longer final allowing for overriding the method. This change aligns with the remanining store modules.
2019-08-06 15:57:08 +02:00
Mark Paluch
5dc7e7c65f
DATAMONGO-2337 - Add HTTPS entries into spring.schemas.
...
To resolve XSD files properly from the classpath, their HTTPS reference must be present in the spring.schemas to avoid internet interaction for resolving an XSD file.
2019-08-06 15:55:37 +02:00
Greg Turnquist
8802e2c36f
DATAMONGO-2280 - Force check for updates.
2019-08-05 11:07:18 -05:00
Mark Paluch
d8189620d2
DATAMONGO-2303 - After release cleanups.
2019-08-05 15:53:02 +02:00
Mark Paluch
fd6411f0ed
DATAMONGO-2303 - Prepare next development iteration.
2019-08-05 15:53:01 +02:00
Mark Paluch
445b9c83de
DATAMONGO-2303 - Release version 2.2 RC2 (Moore).
2.2.0.RC2
2019-08-05 15:35:35 +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
8167f9d199
DATAMONGO-2320 - Polishing.
...
Use for-loops instead of Stream API and Collectors. Reformat code. Invert condition for smoother readability.
Original pull request: #776 .
2019-08-02 10:55:46 +02:00
Christoph Strobl
e6bd8b3ee3
DATAMONGO-2320 - Simplify test code.
...
Original pull request: #776 .
2019-08-02 10:55:46 +02:00
Christoph Strobl
e33c8a3b76
DATAMONGO-2320 - Fix aggregation field reference for $filter operator.
...
We now render field and local variable references correctly when using the $filter aggregation operator.
Prior to this commit field references had been rendered with an additional $ prefix.
Original pull request: #776 .
2019-08-02 10:55:46 +02:00
Mark Paluch
34425c54db
DATAMONGO-2327 - Polishing.
...
Add support for DBRef encoding. Update Javadoc.
Original pull request: #774 .
2019-08-01 14:14:43 +02:00
Christoph Strobl
7d9c08409b
DATAMONGO-2327 - Add toJson method to Querydsl query support.
...
This allows to obtain the raw Json representation of the query for eg. debug usage.
We also updated the toString method to return a full Mongo Shell compatible representation of the query including projections, order, skip and limit.
Original pull request: #774 .
2019-08-01 14:14:33 +02:00
Mark Paluch
69a4217c4b
DATAMONGO-2328 - Polishing.
...
Replace static imports with qualified access.
Original pull request: #773 .
2019-08-01 11:50:20 +02:00
Christoph Strobl
0a0ee417ac
DATAMONGO-2328 - Add missing target type conversions for field level type hints.
...
We now support Date to Long, Date to ObjectId, Script to String and other conversions for both reading and writing scenarios.
Original pull request: #773 .
2019-08-01 11:49:54 +02:00
Christoph Strobl
2365dba8d9
DATAMONGO-2330 - Polishing.
...
Added tests.
Original Pull Request: #775
2019-07-31 14:24:19 +02:00
nkey
4b22558fe7
DATAMONGO-2330 - Apply defaultWriteConcern for bulk operations.
...
Fixed regression introduced in DATAMONGO-1880.
Original Pull Request: #775
2019-07-31 14:23:48 +02:00
Mark Paluch
75847981c3
DATAMONGO-2312 - Polishing.
...
Add Javadoc comments.
Original pull request: #770 .
2019-07-31 09:52:39 +02:00
Christoph Strobl
0e32b7356c
DATAMONGO-2312 - Polishing.
...
Fix spelling and add missing operator to Sum aggregation operation.
Original pull request: #770 .
2019-07-31 09:52:35 +02:00
Christoph Strobl
c2436bcdfc
DATAMONGO-2312 - Add support for array projections.
...
Original pull request: #770 .
2019-07-31 09:52:30 +02:00
Mark Paluch
7c25675cbb
DATAMONGO-2326 - Upgrade to MongoDB Reactive Streams Driver 1.12.0-rc0.
2019-07-26 10:01:13 +02:00