Christoph Strobl
32c73b7117
DATAMONGO-2499 - Hacking
...
Works, still not sure if that's a good solution.
6 years ago
Christoph Strobl
b68f3b9510
DATAMONGO-2499 - Prepare issue branch.
6 years ago
Christoph Strobl
e1df28797a
DATAMONGO-2507 - Polishing.
...
Add 'matching' default method also to imperative variant (ExecutableFindOperation), fix & add tests using 'distinct'.
Update Javadoc and rename input arg 'criteriaDefinition' to 'criteria'.
Original Pull Request: #852
6 years ago
Juergen Zimmermann
c6630aa279
DATAMONGO-2507 - Add default method matching(CriteriaDefinition) to ReactiveFindOperation.DistinctWithQuery.
...
Original Pull Request: #852
6 years ago
Greg Turnquist
bf921cdbd7
DATAMONGO-2510 - Use JDK 14 for Java.NEXT CI testing.
6 years ago
Christoph Strobl
a1b4e6df59
DATAMONGO-2508 - Upgrade to MongoDB 4.0.2 Drivers.
6 years ago
Christoph Strobl
4b3312998a
DATAMONGO-2506 - Provide meaningful error message when using unsupported return type in repository aggregation method.
...
We improved the error message for unsupported return types instead of running into an IllegalArgumentException for unique results.
Original pull request: #851 .
6 years ago
Mark Paluch
c5501db577
DATAMONGO-2502 - Polishing.
...
Extend tests. Fix generics. Consistently use compiled patterns for positional placeholder removal.
Original pull request: #847 .
6 years ago
Christoph Strobl
936a0d35f7
DATAMONGO-2502 - Fix nested array path mapping for updates.
...
Original pull request: #847 .
6 years ago
Christoph Strobl
5dd91d0b6d
DATAMONGO-1677 - Polishing.
...
Switch tests to JUnit Jupiter.
Original Pull Request: #849
6 years ago
Jens Schauder
28510de6c8
DATAMONGO-1677 - Adds a test to confirm a query with more than 10 arguments works just fine.
...
Original Pull Request: #849
6 years ago
Mark Paluch
4bbf4cd5cf
DATAMONGO-2492 - After release cleanups.
6 years ago
Mark Paluch
90bd3f0f18
DATAMONGO-2492 - Prepare next development iteration.
6 years ago
Mark Paluch
1e35116419
DATAMONGO-2492 - Release version 3.0 RC1 (Neumann).
6 years ago
Mark Paluch
dd336f0ecb
DATAMONGO-2492 - Prepare 3.0 RC1 (Neumann).
6 years ago
Mark Paluch
d020219ded
DATAMONGO-2492 - Updated changelog.
6 years ago
Mark Paluch
0345eff69a
DATAMONGO-2477 - Polishing.
...
Make sure that indexes get created where needed.
6 years ago
Mark Paluch
55fee27fb6
DATAMONGO-625 - Polishing.
...
Introduce default interface methods where possible. Rename save(…) to store(…) to align with method naming. Reduce constructor visibility to avoid invalid API usage. Replace mutable object in builder with fields to avoid mutation of already built objects when reusing the builder.
Remove Options.chunked(…) factory method to avoid confusion with chunkSize method.
Reformat code, strip trailing whitespaces.
Original pull request: #842 .
6 years ago
Christoph Strobl
ffba352e15
DATAMONGO-625 - Add support for GridFS with predefined id.
...
We now support storing GridFS content with predefined id, which allows to replace an existing resource instead of having to delete and reupload it.
Original pull request: #842 .
6 years ago
Mark Paluch
1118df5550
DATAMONGO-2477 - Polishing.
...
Remove warn log for auto-index creation. Remove unused fields. Document index creation in reference documentation.
Original pull request: #845 .
6 years ago
Christoph Strobl
29f05af733
DATAMONGO-2477 - Disable auto index creation by default.
...
Original pull request: #845 .
6 years ago
Oliver Drotbohm
7bac739146
DATAMONGO-2501 - Upgrade to Querydsl 4.3.
...
Adapted to changes in the APT APIs.
6 years ago
Mark Paluch
6366d3cec1
DATAMONGO-2485 - Updated changelog.
6 years ago
Christoph Strobl
44913abd80
DATAMONGO-2300 - Polishing.
...
Move null check to event publishing logic.
Original Pull Request: #763
6 years ago
Heesu Jung
7a7f7c942d
DATAMONGO-2300 - Add check rawType is null in readMap.
...
Original Pull Request: #763
6 years ago
Christoph Strobl
e9c9938016
DATAMONGO-2498 - Upgrade to MongoDB 4.0.1 Drivers.
6 years ago
Mark Paluch
c9da0a75ff
DATAMONGO-931 - Polishing.
...
Reformat code. Add private constructor to prevent unwanted instantiation.
Original pull request: #844 .
6 years ago
Christoph Strobl
581961e79a
DATAMONGO-931 - Add support for $redact aggregation.
...
We now support $redact via Aggregation.redact.
Aggregation.redact(ConditionalOperators.when(Criteria.where("level").is(5))
.then(RedactOperation.PRUNE)
.otherwise(RedactOperation.DESCEND));
Original pull request: #844 .
6 years ago
Christoph Strobl
0e0d726457
DATAMONGO-2475 - Polishing.
...
Fix reduction of $and/$or operations with more than two arguments.
Original Pull Request: #834
6 years ago
Enrique León Molina
7b5fea960f
DATAMONGO-2475 - MongodbDocumentSerializer: reduce nested ANDs and ORs.
...
Reduce the number of nested $and / $or clauses by combining them into a single document where possible. This allows to simplify the following statement
{
"$or": [
{
"$or": [
{
"$or": [
{
"$or": [
{ "firstname": "Hencxjo" },
{ "lastname": "Leon" }
]
},
{ "age": { "$lte": 30 } }
]
},
{ "age": { "$gte": 20 } }
]
},
{ "uniqueId": { "$exists": false } }
]
}
to just
{
"$or": [
{ "firstname": "Hencxjo" },
{ "lastname": "Leon" },
{ "age": { "$lte": 30 } },
{ "age": { "$gte": 20 } },
{ "uniqueId": { "$exists": false } }
]
}
Original Pull Request: #834
6 years ago
Mark Paluch
a04821ff90
DATAMONGO-2497 - Update documentation regarding @Transient properties usage in the persistence constructor.
6 years ago
Mark Paluch
a6bd41bcf2
DATAMONGO-2416 - Polishing.
...
Reduce visibility of JUnit 5 test classes/methods.
Original Pull Request: #840
6 years ago
Mark Paluch
6387eb9762
DATAMONGO-2416 - Add convenience methods accepting CriteriaDefinition on Fluent API.
...
The fluent API now exposes default interface methods accepting CriteriaDefinition for a more concise expression of queries that do not require a Query object.
template.query(Person.class).matching(where("firstname").is("luke")).all()
instead of
template.query(Person.class).matching(query(where("firstname").is("luke"))).all()
Original Pull Request: #840
6 years ago
Mark Paluch
5fb4b036bb
DATAMONGO-1026 - Include documentation about custom conversions.
...
We now include the documentations partial about custom conversions that explains default converter registrations, overrides and system setting timezone-sensitivity.
6 years ago
Mark Paluch
4f0dc04a81
DATAMONGO-2479 - Polishing.
...
Tweak Javadoc. Update reference documentation. Slightly refactor reactive flows to reduce operator count.
Simplify test fixtures and remove Google Guava usage. Reformat code.
Original pull request: #839 .
6 years ago
Roman Puchkovskiy
ee59c6b774
DATAMONGO-2479 - Add AfterConvertCallback and AfterSaveCallback (and their reactive versions).
...
Previously, only BeforeConvertCallback and BeforeSaveCallback were supported (and their reactive counterparts). This commit adds support for 'after-convert' and 'after-save' events using entity callbacks feature.
Original pull request: #839 .
6 years ago
Mark Paluch
b0b905ddb7
DATAMONGO-2488 - Polishing.
...
Simplify conditional entity check. Reduce test method visibility for JUnit 5.
Original pull request: #841 .
6 years ago
Christoph Strobl
7f7be5e47d
DATAMONGO-2488 - Fix nested array path field name mapping.
...
Original pull request: #841 .
6 years ago
Jens Schauder
5a49aa6519
DATAMONGO-2473 - After release cleanups.
6 years ago
Jens Schauder
b68079c421
DATAMONGO-2473 - Prepare next development iteration.
6 years ago
Jens Schauder
fde49f2a5a
DATAMONGO-2473 - Release version 3.0 M4 (Neumann).
6 years ago
Jens Schauder
4d73d76b9f
DATAMONGO-2473 - Prepare 3.0 M4 (Neumann).
6 years ago
Jens Schauder
8f2c806403
DATAMONGO-2473 - Updated changelog.
6 years ago
Mark Paluch
d0eb76946e
DATAMONGO-2491 - Adapt to Mockito 3.3 changes.
...
Mockito reports falsely unnecessary stubbings so we're switching to the silent runner for these cases.
6 years ago
Mark Paluch
df43d7fcdb
DATAMONGO-2355 - Refactor Abstract…Configuration classes to avoid need for cglib proxies.
...
Configuration methods now use parameter injections to avoid the need for cglib subclassing.
6 years ago
Mark Paluch
7b34a602ed
DATAMONGO-2355 - Declare concrete Template API class type on AbstractReactiveMongoConfiguration.
...
We now declare bean methods returning Template API types with their concrete implementation to allow for improved introspection of bean definitions.
6 years ago
Mark Paluch
c829387c82
DATAMONGO-2363 - Polishing.
...
Introduce support for SpEL aggregation expressions for AddFields and Set operations.
Rearrange methods. Make fields final where possible.
Original pull request: #801 .
6 years ago
Christoph Strobl
a4e12a96c9
DATAMONGO-2363 - Add support for $merge and $addFields aggregation stage.
...
MergeOperation.builder().intoCollection("monthlytotals")
.whenDocumentsMatchApply(
newAggregation(
AddFieldsOperation.builder()
.addField("thumbsup").withValueOf(sumOf("thumbsup").and("$$new.thumbsup"))
.addField("thumbsdown").withValueOf(sumOf("thumbsdown").and("$$new.thumbsdown"))
.build()
)
)
.whenDocumentsDontMatch(insertNewDocument())
.build()
Original pull request: #801 .
6 years ago
Mark Paluch
7e3f7bd861
DATAMONGO-2481 - Polishing.
...
Add since tag.
Original pull request: #838 .
6 years ago
Mark Paluch
46ab6b4c94
DATAMONGO-2481 - Polishing.
...
Migrate more tests to JUnit 5. Rearrange methods. Reduce method visibility according to JUnit 5 requirements.
Remove Java 11 build and only use Java 8 and 13.
Original pull request: #838 .
6 years ago