Christoph Strobl
4f78aacbf7
DATAMONGO-1824 - Replace executeCommand for aggregations with MongoCollection.aggregate(…) to support MongoDB 3.6.
...
We now use the driver native option for aggregate instead of a plain command execution. This is necessary as of MongoDB 3.6 the cursor option is required for aggregations changing the return and execution model.
Still we maintain the raw values of AggregationResult as we used to do before. However, relying on executeCommand to change aggregation behavior in custom code will no longer work.
Tested against MongoDB: 3.6.RC3, 3.4.9 and 3.2.6
Along the the way we opened up Aggregation itself to expose the AggregationOptions in use und deprecated the $pushAll option on Update since it has been removed in MongoDB 3.6.
Original pull request: #515 .
2017-11-17 13:39:50 +01:00
Mark Paluch
4d207e9d54
DATAMONGO-1822 - Adapt readme to changed configuration support.
2017-11-09 14:52:43 +01:00
Mark Paluch
3d248d1aa6
DATAMONGO-1821 - Fix method ambiguity in tests when compiling against MongoDB 3.6
2017-11-07 12:47:44 +01:00
Mark Paluch
e193f2e2b7
DATAMONGO-1820 - Set Mongo's Feature Compatibility flag for TravisCI build to 3.4.
...
Apply setFeatureCompatibilityVersion to upgrade MongoDB to 3.4 features.
2017-11-06 10:28:00 +01:00
Mark Paluch
6b3ec31605
DATAMONGO-1817 - Polishing.
...
Remove blank line.
Original pull request: #510 .
2017-11-06 10:02:01 +01:00
Sola
f79dc398ae
DATAMONGO-1817 - Align nullability in Kotlin MongoOperationsExtensions with Java API.
...
Return types in MongoOperationsExtensions are now aligned to the nullability of MongoOperations.
Original pull request: #510 .
2017-11-06 09:55:31 +01:00
Oliver Gierke
35abef4ba3
DATAMONGO-1793 - Updated changelog.
2017-10-27 16:36:46 +02:00
Oliver Gierke
9032509e50
DATAMONGO-1815 - Adapt API changes in Property in test cases.
2017-10-27 11:05:25 +02:00
Mark Paluch
ccaea8db8e
DATAMONGO-1814 - Update reference documentation for faceted classification.
...
Original pull request: #426 .
Original ticket: DATAMONGO-1552.
2017-10-26 09:41:24 +02:00
Christoph Strobl
37df6efe5f
DATAMONGO-1811 - Update documentation of MongoOperations.executeCommand.
...
Update Javadoc and reference documentation.
2017-10-24 14:58:30 +02:00
Christoph Strobl
4ea6dd481d
DATAMONGO-1805 - Update GridFsOperations documentation.
...
Fix return type in reference documentation and update Javadoc.
2017-10-24 14:58:15 +02:00
Christoph Strobl
24cd25fdb0
DATAMONGO-1806 - Polishing.
...
Remove unused import, trailing whitespaces and update Javadoc.
Original Pull Request: #506
2017-10-24 14:57:52 +02:00
hartmut
2be3781550
DATAMONGO-1806 - Fix Javadoc for GridFsResource.
...
Original Pull Request: #506
2017-10-24 14:56:34 +02:00
Mark Paluch
436b6994e1
DATAMONGO-1809 - Introduce AssertJ assertions for Document.
...
Original pull request: #508 .
2017-10-24 14:44:48 +02:00
Christoph Strobl
296a8102d0
DATAMONGO-1809 - Polishing.
...
Move tests to AssertJ.
Original pull request: #508 .
2017-10-24 14:44:36 +02:00
Christoph Strobl
0ce067ccf3
DATAMONGO-1809 - Fix positional parameter detection for PropertyPaths.
...
We now make sure to capture all digits for positional parameters.
Original pull request: #508 .
2017-10-24 14:44:21 +02:00
Oliver Gierke
2974cce2b8
DATAMONGO-1812 - Add milestone repository to plugin repositories to resolve AspectJ milestones.
2017-10-24 14:10:47 +02:00
Mark Paluch
c89a343794
DATAMONGO-1696 - Mention appropriate EnableMongoAuditing annotation in reference documentation.
2017-10-20 08:44:53 +02:00
Mark Paluch
745e2650e5
DATAMONGO-1802 - Polishing.
...
Reduce converter visibility to MongoConverters's package-scope visibility. Tiny alignment in Javadoc wording. Copyright year, create empty byte array with element count instead initializer.
Original pull request: #505 .
2017-10-17 14:51:12 +02:00
Christoph Strobl
75733141c2
DATAMONGO-1802 - Add Binary to byte array converter.
...
We now provide and register a Binary to byte[] converter to provide conversion of binary data to a byte array. MongoDB deserializes binary data using the document API to its Binary type. With this converter, we reinstantiated the previous capability to use byte arrays for binary data within domain types.
Original pull request: #505 .
2017-10-17 14:36:20 +02:00
Oliver Gierke
0f7460f8e8
DATAMONGO-1775 - Updated changelog.
2017-10-11 19:01:37 +02:00
Oliver Gierke
dc1b59f464
DATAMONGO-1795 - Removed obsolete Kotlin build setup.
2017-10-04 11:05:18 +02:00
Mark Paluch
6fbdd303cb
DATAMONGO-1776 - After release cleanups.
2017-10-02 11:37:22 +02:00
Mark Paluch
f0255ea3de
DATAMONGO-1776 - Prepare next development iteration.
2017-10-02 11:37:21 +02:00
Mark Paluch
e5e8fa45c2
DATAMONGO-1776 - Release version 2.0 GA (Kay).
2017-10-02 11:10:22 +02:00
Mark Paluch
f5ad4e42f9
DATAMONGO-1776 - Prepare 2.0 GA (Kay).
2017-10-02 11:09:17 +02:00
Mark Paluch
e6b7d2ffd0
DATAMONGO-1776 - Updated changelog.
2017-10-02 11:09:09 +02:00
Mark Paluch
5b24d3fd0b
DATAMONGO-1778 - Polishing.
...
Javadoc, modifiers.
Original pull request: #503 .
2017-10-02 10:38:20 +02:00
Christoph Strobl
10f13c8f37
DATAMONGO-1778 - Polishing.
...
Migrate UpdateTests to AssertJ and adjust constructor visibility.
Original pull request: #503 .
2017-10-02 10:38:20 +02:00
Christoph Strobl
c05f8f056c
DATAMONGO-1778 - Fix equals() and hashCode() for Update.
...
We now include the entire update document with its modifiers and the isolation flag when computing the hash code and comparing for object equality.
Original pull request: #503 .
2017-10-02 10:37:34 +02:00
Mark Paluch
dbd38a8e82
DATAMONGO-1791 - Polishing.
...
Replace RxJava 1 repositories with RxJava 2 repositories. Fix broken links. Fix duplicate section ids.
2017-09-27 12:19:11 +02:00
Mark Paluch
77b1f3cb37
DATAMONGO-1791 - Adapt to changed Spring Framework 5 documentation structure.
...
Update links in the reference docs to their new locations.
2017-09-27 12:13:51 +02:00
Mark Paluch
5444ac39b5
DATAMONGO-1785 - Downgrade to CDI 1.0.
...
We now build against CDI 1.0 again while using CDI 2.0 for testing.
2017-09-21 13:50:39 +02:00
Mark Paluch
cf476b9bc8
DATAMONGO-1787 - Added explicit automatic module name for JDK 9.
2017-09-21 13:50:39 +02:00
Christoph Strobl
f28d47b01b
DATAMONGO-1777 - Polishing.
2017-09-21 11:32:52 +02:00
Christoph Strobl
5bf03cfa70
DATAMONGO-1777 - Pretty print Modifiers when calling Update.toString().
...
We now make sure to pretty print Update modifiers by safely rendering to a json representation including an optional $isolated opereator if applicable.
Along the way we also fix a flaw in PushOperationBuilder ignoring eg. $position when pushing single values.
2017-09-21 11:32:50 +02:00
Oliver Gierke
98e893636b
DATAMONGO-1779 - Polishing.
...
Fixed imports.
2017-09-21 11:31:45 +02:00
Oliver Gierke
4b552b051e
DATAMONGO-1779 - Fixed handling of empty queries in MongoTemplate.find(…).
...
Calls to MongoTemplate.find(…) were routed to ….findAll(…) in case no criteria definition or sort was defined on the query. This however neglected that cursor preparation aspects (limits, skips) are defined on the query as well which cause them not to be applied correctly. Removed the over-optimistic re-routing so that normal query execution now always gets applied.
2017-09-21 11:31:44 +02:00
Mark Paluch
1c295b62c6
DATAMONGO-1786 - Adapt tests to nullability validation in Spring Data Commons.
...
Related issue: DATACMNS-1157.
2017-09-21 11:27:41 +02:00
Christoph Strobl
0a8458a045
DATAMONGO-1784 - Polishing.
...
Update JavaDoc, enforce nullability constraints and add tests.
Original Pull Request: #501
2017-09-20 12:47:29 +02:00
Sergey Shcherbakov
a3b9fb33ea
DATAMONGO-1784 - Add expression support to GroupOperation#sum().
...
We now allow passing an AggregationExpression to GroupOperation.sum which allows construction of more complex expressions.
Original Pull Request: #501
2017-09-20 12:46:14 +02:00
Christoph Strobl
3d651b72ad
DATAMONGO-1782 - Polishing.
...
toCyclePath now returns an empty String when Path does not cycle.
Also split and add tests and move code to Java8.
Original Pull Request: #500
2017-09-19 11:07:04 +02:00
Mark Paluch
187c25bcc0
DATAMONGO-1782 - Detect type cycles using PersistentProperty paths.
...
We now rely on PersistentProperty paths to detect cycles between types. Cycles are detected when building up the path object and traversing PersistentProperty stops after the cycle was hit for the second time to generated indexes for at least one hierarchy level.
Previously, we used String-based property dot paths and compared whether paths to a particular property was already found by a substring search which caused false positives if a property was reachable via multiple paths.
Original Pull Request: #500
2017-09-19 10:03:40 +02:00
Mark Paluch
087482d82e
DATAMONGO-1785 - Upgrade to OpenWebBeans 2.0.1
...
Upgrade also to Equalsverifier 1.7.8 to resolve ASM version conflict.
2017-09-18 15:21:57 +02:00
Mark Paluch
e80d1df571
DATAMONGO-1781 - Update what's new in reference documentation.
2017-09-14 14:09:08 +02:00
Oliver Gierke
a9b1b640c0
DATAMONGO-1754 - After release cleanups.
2017-09-11 17:40:21 +02:00
Oliver Gierke
b888864407
DATAMONGO-1754 - Prepare next development iteration.
2017-09-11 17:40:18 +02:00
Oliver Gierke
3e672e4563
DATAMONGO-1754 - Release version 2.0 RC3 (Kay).
2017-09-11 17:24:45 +02:00
Oliver Gierke
0fecd8bed9
DATAMONGO-1754 - Prepare 2.0 RC3 (Kay).
2017-09-11 17:23:51 +02:00
Oliver Gierke
4b6ff36724
DATAMONGO-1754 - Updated changelog.
2017-09-11 17:23:43 +02:00