Mark Paluch
66fae82798
DATAMONGO-1894 - Use reactive SpEL extensions for SpEL evaluation in query execution.
...
Original Pull Request: #874
2020-07-22 14:01:20 +02:00
Christoph Strobl
00aaf2145b
DATAMONGO-2591 - Upgrade MongoDB drivers to 4.1.0-rc0.
2020-07-22 13:27:51 +02:00
Mark Paluch
430c166a2b
DATAMONGO-2568 - Updated changelog.
2020-07-22 10:37:57 +02:00
Mark Paluch
79c647a4d8
DATAMONGO-2567 - Updated changelog.
2020-07-22 10:08:43 +02:00
Mark Paluch
1b5a22730b
DATAMONGO-2566 - Updated changelog.
2020-07-22 09:44:28 +02:00
Christoph Strobl
a8a364c2de
DATAMONGO-2586 - Polishing.
...
Add tests to ensure no reactive auditing callback is registered when using imperative configuration and vice versa.
Update wording and minor code style tweaks.
Original Pull Request: #877
2020-07-17 11:09:35 +02:00
Mark Paluch
6bafcea539
DATAMONGO-2586 - Add support for reactive auditing.
...
We now provide a fully reactive variant for auditing with EnableReactiveMongoAuditing.
Original Pull Request: #877
2020-07-17 10:42:41 +02:00
Mark Paluch
2c1a3cf03e
DATAMONGO-2536 - Polishing.
...
Encapsulate skipResults in AggregationOptions. Reformat code. Add override Javadoc.
Original pull request: #876 .
2020-07-16 09:42:42 +02:00
Christoph Strobl
6cb89d7452
DATAMONGO-2536 - Add option to skip reading aggregation result.
...
Introduce dedicated AggregationPipeline to encapsulate pipeline stages.
Original pull request: #876 .
2020-07-16 09:42:26 +02:00
Mark Paluch
2026f8729e
DATAMONGO-2571 - Polishing.
...
Reduce test method visibility for JUnit 5.
Original pull request: #873 .
2020-07-15 15:33:38 +02:00
Christoph Strobl
bf89400182
DATAMONGO-2571 - Fix regular expression parameter binding for String-based queries.
...
Original pull request: #873 .
2020-07-15 15:33:30 +02:00
Mark Paluch
6c8cb9eb85
DATAMONGO-2490 - Polishing.
...
Remove unnecessary code. Reuse session-associated collection when logging to avoid unqualified calls to MongoDbFactory.getMongoDatabase(). Create collection before transaction in test for compatibility with older MongoDB servers.
Original pull request: #875 .
2020-07-15 15:13:58 +02:00
Christoph Strobl
966504dfa6
DATAMONGO-2490 - Fix dbref fetching during ongoing transaction.
...
Original pull request: #875 .
2020-07-15 15:13:50 +02:00
Mark Paluch
b266bd6feb
DATAMONGO-2544 - After release cleanups.
2020-06-25 11:58:22 +02:00
Mark Paluch
a6a4a0b3b6
DATAMONGO-2544 - Prepare next development iteration.
2020-06-25 11:58:19 +02:00
Mark Paluch
2a66cadaa6
DATAMONGO-2544 - Release version 3.1 M1 (2020.0.0).
3.1.0-M1
2020-06-25 11:48:49 +02:00
Mark Paluch
a70629697b
DATAMONGO-2544 - Prepare 3.1 M1 (2020.0.0).
2020-06-25 11:48:19 +02:00
Mark Paluch
d52785533d
DATAMONGO-2544 - Updated changelog.
2020-06-25 11:48:10 +02:00
Christoph Strobl
cee1d976de
DATAMONGO-2285 - Polishing.
...
Preserve existing logic translating com.mongodb.MongoBulkWriteException that might be thrown by calling MongoOperations.insertAll(Collection), and move bulk operation translation to DefaultBulkOperations.
Along the lines remove the no longer used PersistenceExceptionTranslator from DefaultBulkOperations.
Original Pull Request: #862
2020-06-23 13:22:03 +02:00
Jacob Botuck
f907dbc559
DATAMONGO-2285 - Throw BulkOperationException instead of translated one when running bulk operations.
...
Return BulkOperationException unless it is a writeConcernError in which case use existing behavior.
Original Pull Request: #862
2020-06-23 13:21:24 +02:00
Christoph Strobl
613d085bb7
DATAMONGO-1569 - Polishing.
...
Update Javadoc and avoid unrelated index creation during tests due to class path scanning.
Original Pull Request: #738
2020-06-22 13:32:03 +02:00
Christoph Strobl
94a64a156f
DATAMONGO-1569 - Add partialFilter to Indexed annotation.
...
Original Pull Request: #738
2020-06-22 13:32:03 +02:00
Dave Perryman
41e60e5c25
DATAMONGO-1569 - Add support for partial filter expressions in compound index annotations
...
Original Pull Request: #738
2020-06-22 13:32:03 +02:00
Christoph Strobl
a254576a6e
DATAMONGO-2574 - Polishing.
...
Fix issue in reactive API and add unit tests.
Original Pull Request: #868
2020-06-22 13:32:03 +02:00
konradend
390b5e7b7e
DATAMONGO-2574 - Do not overwrite contentType for GridFsFile.
...
Original Pull Request: #868
2020-06-22 13:32:03 +02:00
Mark Paluch
66dcb8f662
DATAMONGO-2576 - Upgrade to Hibernate Validator 5.4.3.
...
Add also javax.el to avoid failures in early expression language initialization.
2020-06-22 13:21:32 +02:00
Christoph Strobl
2eaa2d38af
DATAMONGO-2556 - Polishing.
...
Original pull request: #867 .
2020-06-22 13:02:14 +02:00
Christoph Strobl
1290898c2b
DATAMONGO-2556 - Add estimatedCount for collections.
...
The newly introduced methods delegate to the drivers MongoCollection.estimatedDocumentCount.
Original pull request: #867 .
2020-06-22 13:02:06 +02:00
Mark Paluch
c4ae269b14
DATAMONGO-2570 - Polishing.
...
Add assertions. Use method references where possible.
Original pull request: #871 .
2020-06-22 10:39:44 +02:00
Mehran Behnam
a4ef46d641
DATAMONGO-2570 - Change type of count variable to primitive.
...
Avoiding unintentional unboxing.
Original pull request: #871 .
2020-06-22 10:39:25 +02:00
Mark Paluch
a27939808b
DATAMONGO-2558 - Polishing.
...
Fixed issue number in tests.
Original pull request: #866 .
2020-06-21 20:04:09 +02:00
Mark Paluch
da7fc927fa
DATAMONGO-2558 - Add integration test for RxJava 3 repositories.
...
Update Javadoc and reference documentation.
Original pull request: #866 .
2020-06-21 20:03:30 +02:00
Christoph Strobl
f768906684
DATAMONGO-2572 - Remove trailing whitespaces from xsd files.
...
Original Pull Request: #870
2020-06-17 13:07:00 +02:00
Mark Paluch
61a228f8ac
DATAMONGO-2572 - Remove usage of Oppressive Language.
...
Replaced blacklist with denylist and introduce meta keyword SECONDARY_READS as we no longer use MongoDB API with the initial replication concept.
Original Pull Request: #870
2020-06-17 13:05:45 +02:00
Mark Paluch
837b333d7a
DATAMONGO-2543 - Updated changelog.
2020-06-10 14:30:55 +02:00
Mark Paluch
ffd4166b65
DATAMONGO-2533 - Updated changelog.
2020-06-10 12:29:55 +02:00
Mark Paluch
083050fc3c
DATAMONGO-2532 - Updated changelog.
2020-06-10 11:48:52 +02:00
Mark Paluch
efbf9c8305
DATAMONGO-2565 - Polishing.
...
Add unit test to verify behavior. Cleanup code.
Original pull request: #869 .
2020-06-10 10:25:25 +02:00
BraveLeeLee
4fdf171f7d
DATAMONGO-2565 - Evaluate correct expression when obtaining collation from MongoPersistentEntity.
...
Original pull request: #869 .
2020-06-10 10:25:25 +02:00
Mark Paluch
76990f4915
DATAMONGO-2564 - Use standard Spring code of conduct.
...
Using https://github.com/spring-projects/.github/blob/master/CODE_OF_CONDUCT.md .
2020-06-09 16:10:27 +02:00
Mark Paluch
4defad57c9
DATAMONGO-2562 - Polishing.
...
Fix typo in exception message.
2020-06-09 11:18:25 +02:00
Mark Paluch
431f7e6b78
DATAMONGO-2562 - Fix return type detection for suspended Kotlin methods.
...
See DATACMNS-1738 for further reference.
2020-06-09 11:18:25 +02:00
Mark Paluch
e5157f1c17
DATAMONGO-2560 - Upgrade MongoDB drivers to 4.0.4.
2020-06-08 15:54:53 +02:00
Mark Paluch
af091bf6be
DATAMONGO-2542 - Polishing.
...
Fix nullable annotation.
Original pull request: #863 .
2020-05-26 10:32:03 +02:00
Christoph Strobl
84ac0e8a85
DATAMONGO-2542 - Shortcut PersistentPropertyPath resolution during query mapping.
...
By shortcutting the path resolution we avoid checking keywords like $in against a potential path expression.
Original pull request: #863 .
2020-05-26 10:31:57 +02:00
Mark Paluch
2a150adc40
DATAMONGO-2545 - Polishing.
...
Fix warnings and typos.
Original pull request: #864 .
2020-05-26 10:14:18 +02:00
Christoph Strobl
feb3018d19
DATAMONGO-2545 - Fix full Query Document binding resulting from SpEL.
...
We reenabled annotated queries using a SpEL expression resulting in the actual query document.
Original pull request: #864 .
2020-05-26 10:14:14 +02:00
Christoph Strobl
3af7269dbb
DATAMONGO-2545 - Fix regression in String query SpEL parameter binding.
...
We reenabled parameter binding within SpEL using query parameter placeholders ?0, ?1,... instead of their array index [0],[1],...
Original pull request: #864 .
2020-05-26 10:14:08 +02:00
Christoph Strobl
af39b422b6
DATAMONGO-2547 - Use target class ClassLoader instead of default CL when creating proxy instances.
...
Original pull request: #865 .
2020-05-26 08:50:01 +02:00
Mark Paluch
8b50778350
DATAMONGO-2553 - Fix reference documentation links.
...
Remove links to removed documentations sections.
2020-05-19 11:36:37 +02:00