Mark Paluch
74af974085
Prepare next development iteration.
...
See #4701
2024-06-14 10:47:58 +02:00
Mark Paluch
9a4d7e5996
Release version 4.3.1 (2024.0.1).
...
See #4701
2024-06-14 10:45:40 +02:00
Mark Paluch
033eee5d4b
Prepare 4.3.1 (2024.0.1).
...
See #4701
2024-06-14 10:45:23 +02:00
Mark Paluch
ee6d501274
Retain Field Lookup Policy when exposing aggregation fields.
...
Introduce FieldLookupPolicy and methods to create field-exposing/inheriting AggregationOperationContexts.
Move off RelaxedTypeBasedAggregationOperationContext.
See #4714
Original pull request: #4720
2024-06-13 11:05:38 +02:00
Christoph Strobl
f5b7a389b2
Configure relaxed/strict field lookup when creating AggregationOperationContext.
...
Closes #4714
Original pull request: #4720
2024-06-13 11:05:13 +02:00
Mark Paluch
17d8a425e8
Polishing.
...
Avoid duplicate query mapping for document replacement operations when the filter query can be determined from the already mapped _id field.
See #4707
Original pull request: #4719
2024-06-12 15:25:07 +02:00
Christoph Strobl
1e32e3b0e7
Fix id conversion for fields of complex id.
...
This commit fixes an issue where the property type for nested fields of an complex id is not handed over correctly leading to wrong conversion results eg. for Instant types that got then turned into ObjectIds.
Closes #4707
Original pull request: #4719
2024-06-12 15:25:07 +02:00
Mark Paluch
5cb38218d4
Polishing.
...
Simplify reactive composition. Switch to eager operator evaluation.
See #4712
Original pull request: #4717
2024-06-12 09:57:35 +02:00
Christoph Strobl
ccecd0c749
Avoid multiple converter calls when parsing string aggregation stages.
...
Parsing of string based aggregations lead to multiple invocations of potential converters due to missing reuse of bound parameter value as well as attempts to verify out/merge stages within the pipeline that triggered the stage to be converted into the target document.
The changes in this commit, reduce the number down to 2. One for examining potential expression dependencies and one for the actual conversion and parameter binding.
See #4712
Original pull request: #4717
2024-06-12 09:57:04 +02:00
Mark Paluch
bbef940825
Polishing.
...
Reformat code, revise nullability declarations.
See #4709
Original pull request: #4721
2024-06-11 15:17:20 +02:00
Christoph Strobl
4ca008db09
Apply type conversion to id types.
...
This commit makes sure to convert the generated query into the target type.
Closes #4709
Original pull request: #4721
2024-06-11 15:17:20 +02:00
Mark Paluch
ad45069f50
Polishing.
...
Invert types to retain check to avoid double negation.
See #4674
Original pull request: #4718
2024-06-11 09:37:01 +02:00
Christoph Strobl
c49ee2534e
Fix conversion of regular expression in queries.
...
This commit fixes an issue where patterns targeting id properties might have been falsely converted into the properties type, turning a Pattern into it's string representation.
Closes #4674
Original pull request: #4718
2024-06-11 09:37:01 +02:00
Mark Paluch
e586b19d63
After release cleanups.
...
See #4690
2024-05-17 12:04:33 +02:00
Mark Paluch
5a378ba7df
Prepare next development iteration.
...
See #4690
2024-05-17 11:51:48 +02:00
Mark Paluch
286404d968
Release version 4.3 GA (2024.0.0).
...
See #4690
2024-05-17 11:49:25 +02:00
Mark Paluch
3f8950ab02
Prepare 4.3 GA (2024.0.0).
...
See #4690
2024-05-17 11:49:10 +02:00
Mark Paluch
c2c3bc3c5b
Polishing.
...
Add missing Override annotations. Remove superfluous final keywords.
Original Pull Request: #4699
2024-05-16 13:17:23 +02:00
Mark Paluch
d7549f4fea
Use collection name instead type to look up the collection for index creation.
...
Closes : #4698
Original Pull Request: #4699
2024-05-16 13:17:23 +02:00
Mark Paluch
7821c2a545
Polishing.
...
Refine wording about Id field naming.
See #4694
2024-05-14 15:33:40 +02:00
Renke Christian von Seggern
1f0ac9f2bd
Polishing.
...
Various typo fixes and wording improvements.
Closes #4694
2024-05-14 15:33:36 +02:00
Mark Paluch
e5b5c5e3ef
Polishing.
...
Reformat code. Remove superfluous warning suppressions.
See #4687
Original pull request: #4695
2024-05-14 15:25:35 +02:00
Christoph Strobl
cdd4a01391
Fix NPE when rendering untyped aggregation operation as part of criteria query.
...
Resolves : #4687
Original pull request: #4695
2024-05-14 15:25:33 +02:00
Mark Paluch
27c812e09c
After release cleanups.
...
See #4662
2024-04-12 10:52:59 +02:00
Mark Paluch
3c664e6e77
Prepare next development iteration.
...
See #4662
2024-04-12 10:52:58 +02:00
Mark Paluch
aeba0e73bb
Release version 4.3 RC1 (2024.0.0).
...
See #4662
2024-04-12 10:50:41 +02:00
Mark Paluch
7af8fa929d
Prepare 4.3 RC1 (2024.0.0).
...
See #4662
2024-04-12 10:50:27 +02:00
Mark Paluch
49a3be60b7
Polishing.
...
Add Override annotations and comment why we optimize.
See #4612
Original pull request: #4613
2024-04-11 08:35:05 +02:00
Christoph Strobl
dd9f0bcbee
Polishing.
...
Wrap no results predicate in dedicated lookup filter and make sure to omit loading attempt also for map properties.
See #4612
Original pull request: #4613
2024-04-11 08:35:01 +02:00
Stefan Bildl
521fcb18b9
Skip reference lookup when DocumentReference resolves to an empty collection.
...
Fixes #4612
Original pull request: #4613
2024-04-11 08:34:29 +02:00
Mark Paluch
f2f81e895b
Polishing.
...
Consistent log field ordering, serialize sort safely.
See #4686
Original pull request: #4679
2024-04-10 16:08:26 +02:00
Henry Kim
808d282ecd
Add sort to query debug logging.
...
Closes #4686
Original pull request: #4679
2024-04-10 16:08:08 +02:00
Christoph Strobl
be3372ba0a
Align OffsetScrolling to zero-based indexes.
...
Closes : #4673
Original pull request: #4678
2024-04-10 10:44:16 +02:00
Christoph Strobl
abbe4f308d
Upgrade to MongoDB 5.0.1 driver.
...
Closes : #4680
2024-04-04 10:55:07 +02:00
Christoph Strobl
d294d50407
Polishing.
...
Update javadoc to reflect recent changes and split tests.
Original Pull Request: #4666
2024-03-19 13:04:35 +01:00
Mark Paluch
52ba939bd7
Do not set AggregationOptions.allowDiskUse by default.
...
With MongoDB changing its default, we now no longer set allowDiskUse to false if the value is not configured.
Closes : #4664
Original Pull Request: #4666
2024-03-19 11:43:58 +01:00
Christoph Strobl
34eff501c2
Polishing.
...
Move auto index create lookup flag to dedicated method and add issue reference to tests.
Original Pull Request: #4275
2024-03-19 09:49:34 +01:00
Tomasz Forys
8c43747653
Allow to override auto index creation flag via XML configuration.
...
Closes : #4275
2024-03-19 09:49:34 +01:00
Mark Paluch
136e22edcd
Use write locks for write guards instead of read locks.
...
Closes #4665
2024-03-19 09:37:03 +01:00
Christoph Strobl
af6da0f67d
Upgrade to MongoDB driver 5.0.
...
Closes : #4663
2024-03-18 11:50:48 +01:00
Mark Paluch
3747b3ed44
After release cleanups.
...
See #4643
2024-03-15 11:09:58 +01:00
Mark Paluch
893e6368a8
Prepare next development iteration.
...
See #4643
2024-03-15 11:09:57 +01:00
Mark Paluch
74856ce819
Release version 4.3 M2 (2024.0.0).
...
See #4643
2024-03-15 11:07:31 +01:00
Mark Paluch
126a7a3c0e
Prepare 4.3 M2 (2024.0.0).
...
See #4643
2024-03-15 11:07:09 +01:00
Mark Paluch
77a205c229
Polishing.
...
Tweak naming. Add Javadoc and documentation.
See #1628
Original pull request: #4552
2024-03-12 14:05:31 +01:00
Christoph Strobl
d721579655
Introduce MongoTransactionResolver.
...
See #1628
Original pull request: #4552
2024-03-12 14:05:31 +01:00
Yan Kardziyaka
1f2cf88243
Declarative way for setting MongoDB transaction options.
...
Closes #1628
Original pull request: #4552
2024-03-12 14:05:30 +01:00
Mark Paluch
ac5c724ede
Skip value conversion of Pattern and BsonRegularExpression in QueryMapper.
...
QueryMapper no longer attempts to convert regex objects when a field has an explicit write target.
Closes #4649
2024-02-27 14:56:12 +01:00
ashni
46afd6f40d
Update encryption section in reference documentation.
...
Updating links for CSFLE.
Closes : #4638
2024-02-20 11:30:53 +01:00
Mark Paluch
954f52ca79
Apply AggregationOptions.maxTime to MongoTemplate.aggregateStream().
...
Closes #4644
2024-02-19 15:26:57 +01:00