Christoph Strobl
1d13be8dc8
Polishing
...
Get rid of exception in positional parameter detection.
2 years ago
Christoph Strobl
5b67e1efc1
Simplify computation
...
restructure key computation parts.
2 years ago
Christoph Strobl
029065f5e5
Fixes it but needs a better concept
2 years ago
Christoph Strobl
e99caf74c7
Prepare issue branch.
2 years ago
Mark Paluch
99891b355e
Upgrade to OpenWebBeans 4.0.
...
Closes #4518
2 years ago
Christoph Strobl
f84a62b94d
Add expression support for median aggregation.
...
Original Pull Request: #4515
2 years ago
Julia
d506cd026f
Add support for $median aggregation operator.
...
Closes #4472
Original Pull Request: #4515
2 years ago
Mark Paluch
cd80c8441f
After release cleanups.
...
See #4479
2 years ago
Mark Paluch
e1570a55c3
Prepare next development iteration.
...
See #4479
2 years ago
Mark Paluch
a5cc27ab17
Release version 4.2 M3 (2023.1.0).
...
See #4479
2 years ago
Mark Paluch
5e12b23f65
Prepare 4.2 M3 (2023.1.0).
...
See #4479
2 years ago
Mark Paluch
8844b3031c
Remove changelog shipped with the binaries.
...
Closes #3737
2 years ago
Christoph Strobl
e139a31dbd
Reduce number of build pipeline steps.
...
Remove stage with MongoDB 6.0/Java 20 in favour of the newly introduced MongoDB 7.0/Java20 stage.
See: #4501
2 years ago
Julia
9058820f6f
Add CI stage for MongoDB 7.0.x
...
Closes #4501
Original Pull Request: #4496
2 years ago
Julia
32bd540f91
Add support for $percentile aggregation operator.
...
Closes #4473
Original Pull Request: #4496
2 years ago
Christoph Strobl
11b992c449
Test unwrapped.empty instantiation when used as ctor argument.
...
Original Pull Request: #4492
2 years ago
Mark Paluch
9429cfd9c5
Polishing.
...
Remove sysout from tests.
See #4491
2 years ago
Mark Paluch
7213b99824
Consistently use the same reading strategies to read associations.
...
Return the value to set instead of calling the accessor directly. Remove duplicate calls to resolve associations.
See #4491
2 years ago
Mark Paluch
04e80ed635
Correctly read unwrapped properties during constructor creation.
...
Closes : #4491
Original Pull Request: #4492
2 years ago
Christoph Strobl
b4133c03e2
Reduce method signatures in Reactive-/MongoOperations and add fluent reactive api variant.
...
Narrow the scope of exposed methods on MongoOperations interface. The broader replace API variant has been moved to a protected method allowing users to hook into the implementation and (if needed) expose it.
See: #4462
Original Pull Request: #4463
2 years ago
Mark Paluch
ea07e83552
Guard against potential NPE.
...
Original Pull Request: #4463
2 years ago
Mark Paluch
501a1cce39
Polishing.
...
Consistently use Document instead of record. Reformat code. Tweak documentation wording.
See: #4462
2 years ago
Christoph Strobl
49ff6f1e48
Add fluent & reactive API for replace operation.
...
...and update the documentation.
See: #4462
Original Pull Request: #4463
2 years ago
Jakub
f7549f739e
Add support for replaceOne operation.
...
Add replace methods to MongoOperations and MongoTemplate that allow to replace the first matching document with a given value.
Closes : #4462
Original Pull Request: #4463
2 years ago
Christoph Strobl
66c4a3bd80
Update copyright year in documentation.
...
See: #4497
2 years ago
Christoph Strobl
34d27ac151
Update readme and documentation navigation.
...
See: #4497
2 years ago
Mark Paluch
7c50f991ed
Restructure documentation.
...
Move examples into test source root to ensure proper compilation. Remove lingering asciidoc resources.
Merge entity callbacks into lifecycle events. Add links from MongoDB overview.
See: #4497
2 years ago
Christoph Strobl
5acb174837
Migrate Documentation to Antora.
...
See: #4497
2 years ago
Christoph Strobl
492f09fbdf
Add isReadable method to UnwrappedMongoPersistentProperty.
...
Closes : #4489
2 years ago
Julia
e3e73f5351
Fix `#self` @DocumentReference resolution when used in constructor.
...
This commit enables document reference lookup to use `DocumentReferenceSource` to properly instantiate an entity containig a @DocumentReference `#self` property.
Closes #4484
Original Pull Request: #4486
2 years ago
Mark Paluch
e5aff2645b
Polishing.
...
Refactor duplicate code into callback.
See #4481
2 years ago
Mark Paluch
b3c0fbb02d
Guard command completion listener against unsupported observation context.
...
We now no longer attempt to complete the Observation if the context is not a MongoDB one. For commands that target the admin database and run within a parent observation, we still might have an Observation but that one points to the parent invocation and not the MongoDB one as we do not record commands for the admin database.
Closes #4481
2 years ago
Julia Lee
51de522e88
After release cleanups.
...
See #4450
2 years ago
Julia Lee
d2842b246f
Prepare next development iteration.
...
See #4450
2 years ago
Julia Lee
1f954f45b4
Release version 4.2 M2 (2023.1.0).
...
See #4450
2 years ago
Julia Lee
c14d7bf616
Prepare 4.2 M2 (2023.1.0).
...
See #4450
2 years ago
Mark Paluch
ec7cfa3b8e
Polishing.
...
Update since tags. Add missing Override annotation.
See #4070
Original pull request: #4242
2 years ago
Christoph Strobl
f1cff3cdaa
Introduce AggregationVariable type.
...
This commit introduces a new AggregationVariable type that is intended to better identify variables within a pipeline to avoid mapping failures caused by invalid field names.
Closes #4070
Original pull request: #4242
2 years ago
Christoph Strobl
0fd1273ed9
Update documentation regarding java.time type conversion.
...
Closes #3482
Original pull request: #4460
2 years ago
Julia Lee
16798cb3c2
Update CI properties.
...
See #4450
2 years ago
Julia Lee
963072ec0a
Upgrade to Maven Wrapper 3.9.4.
...
See #4470
2 years ago
Julia
7f64c020b4
Polishing for formatting
...
Original Pull Request: #4455
2 years ago
Julia
a93854fb09
Add integration test to ensure schema validation fails when domain type property values are not encrypted as expected.
...
Closes #4454
Original Pull Request: #4455
2 years ago
Christoph Strobl
b6cd129c93
Fix schema generation for encrypted fields that are considered domain entities.
...
This commit makes sure to consider the encrypted annotation on fields that are considered domain type property values, encrypting the entire object if necessary.
2 years ago
Oliver Christen
c532ec343a
Correct misspellings in documentation
...
Closes : #4461
2 years ago
Christoph Strobl
a44e240402
Polishing.
...
Use previous context instead of root for mapping objects within an Inheriting context. This avoids accidental mapping of fields against the root entity after eg. a projection stage.
Add missing tests for AggregationOperationRenderer to ensure intended context propagation.
Original Pull Request: #4459
2 years ago
Julia Lee
9b82ede047
Fix mapping custom field names in downstream stages in TypedAggregation pipelines.
...
Use the root AggregationOperationContext in nested ExposedFieldsAggregationOperationContext to properly apply mapping for domain properties that use @Field .
Closes #4443
Original Pull Request: #4459
2 years ago
Julia Lee
e1986373fd
Polishing.
...
Remove duplicate test configuration.
Original Pull Request: #4447
2 years ago
Julia Lee
5407456973
Fix test setup so that temporal conversions use symmetric timezone setting.
...
Closes : #4446
Original Pull Request: #4447
2 years ago
Mark Paluch
31f0aa348d
After release cleanups.
...
See #4387
2 years ago