Julia
687a2ea68c
Polishing for formatting
...
Original Pull Request: #4455
2023-08-07 11:30:10 -04:00
Julia
aca91ffec1
Add integration test to ensure schema validation fails when domain type property values are not encrypted as expected.
...
Closes #4454
Original Pull Request: #4455
2023-08-07 11:23:19 -04:00
Christoph Strobl
5c12963ba2
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.
2023-08-07 11:23:18 -04:00
Julia
0b8a3cf774
Enable mocking of final classes for unit test.
...
According to Mockito docs, when using Mockito versions <=5.0.0, mocking final types must be activated explicitly using a org.mockito.plugins.MockMaker file.
Original Pull Request: #4459
2023-08-01 17:22:01 -04:00
Julia
4d0e2c31d1
Use a JDK 8-compatible method in unit test
...
Original Pull Request: #4459
2023-08-01 09:08:54 -04:00
Oliver Christen
90fe6805b9
Correct misspellings in documentation
...
Closes : #4461
2023-07-31 14:15:11 -04:00
Christoph Strobl
ef7870a3a4
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
2023-07-28 08:38:04 +02:00
Julia Lee
e1faf2652f
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
2023-07-28 08:37:59 +02:00
Mark Paluch
a169203cec
Update CI properties.
...
See #4448
2023-07-18 11:45:22 +02:00
Mark Paluch
8b9fd1f1b5
After release cleanups.
...
See #4418
2023-07-14 10:35:31 +02:00
Mark Paluch
a1725ea2f4
Prepare next development iteration.
...
See #4418
2023-07-14 10:35:29 +02:00
Mark Paluch
06e11ec75d
Release version 3.4.14 (2021.2.14).
...
See #4418
2023-07-14 10:31:35 +02:00
Mark Paluch
55ab4aa89e
Prepare 3.4.14 (2021.2.14).
...
See #4418
2023-07-14 10:31:09 +02:00
Mark Paluch
7231de434c
Remove MongoDB 4.0 verification job on CI.
...
Closes #4437
2023-07-03 14:41:05 +02:00
Mark Paluch
c00f34ad1f
Update CI properties.
...
See #4418
2023-07-03 09:43:43 +02:00
Mark Paluch
91d888aa69
Upgrade to Maven Wrapper 3.9.3.
...
See #4433
2023-07-03 09:42:22 +02:00
Christoph Strobl
31e949638f
Polishing.
...
Update tests to make use of ValueSource.
Replace regex based path inspection with segment by segment analysis.
Original Pull Request: #4427
2023-06-28 13:55:27 +02:00
lijixue
5bb73641bd
Fix QueryMapper property path resolution for nested paths containing numeric values.
...
Prior to this fix a path that contains numeric values used as position parameters would have been stripped in a way that left out the last digit. This could lead to wrong path resolution if the incorrectly constructed property name accidentally matched an existing one.
Closes : #4426
Original Pull Request: #4427
2023-06-28 13:51:26 +02:00
Mark Paluch
e959b0494c
After release cleanups.
...
See #4384
2023-06-16 16:23:32 +02:00
Mark Paluch
ffe95ff72d
Prepare next development iteration.
...
See #4384
2023-06-16 14:59:09 +02:00
Mark Paluch
bc9b32871b
Release version 3.4.13 (2021.2.13).
...
See #4384
2023-06-16 14:56:14 +02:00
Mark Paluch
b6bde8454b
Prepare 3.4.13 (2021.2.13).
...
See #4384
2023-06-16 14:55:57 +02:00
Mark Paluch
7f9d0fddaf
Polishing.
...
See #4404
2023-06-15 17:03:05 +02:00
Christoph Strobl
4cf9180cba
Accept expression as input for filter aggregation operator.
...
Closes #4394
Original pull request: #4395
2023-06-14 14:26:38 +02:00
Christoph Strobl
5f9b0f003f
Fix converter registration when using driver native time codec.
...
This commit prevents converters from being used as writing converter causing asymmetric write/read operations.
Closes #4390
Original pull request: #4392
2023-06-14 11:03:01 +02:00
Christoph Strobl
37fb6f5712
Polishing.
...
Mark method potentially returning null as such and remove unused imports.
See #4404
Original pull request: #4412
2023-06-14 10:16:28 +02:00
Christoph Strobl
746199fb28
Use exact matching for IN clause with ignore case.
...
Prior to this change the generated pattern would have matched more entries than it should have. The behavior is now aligned to its counterpart not using the IgnoreCase flag.
Closes #4404
Original pull request: #4412
2023-06-14 10:16:28 +02:00
Mark Paluch
66d6814862
Upgrade to Maven Wrapper 3.9.2.
...
See #4407
2023-06-13 08:51:00 +02:00
Mark Paluch
dcb5871c45
Use snapshot and milestone repositories instead of libs-snapshot and libs-milestone.
...
Closes #4401
2023-06-06 09:48:04 +02:00
Christoph Strobl
01410c57ac
After release cleanups.
...
See #4366
2023-05-12 10:21:25 +02:00
Christoph Strobl
fc53beace2
Prepare next development iteration.
...
See #4366
2023-05-12 10:21:23 +02:00
Christoph Strobl
b6c732718b
Release version 3.4.12 (2021.2.12).
...
See #4366
2023-05-12 10:18:02 +02:00
Christoph Strobl
2bf17d3999
Prepare 3.4.12 (2021.2.12).
...
See #4366
2023-05-12 10:17:43 +02:00
Mark Paluch
7778077a9b
Polishing.
...
Introduce has…() and getRequired…() methods for comment and max time limit to remove code duplications.
See #4374
Original pull request: #4378
2023-05-11 10:24:24 +02:00
Christoph Strobl
ec55e28cb3
Fix missing query options when calling MongoOperations#count.
...
This commit makes sure to forward maxTimeMsec and comment options from the query to the CountOptions.
Closes : #4374
Original pull request: #4378
2023-05-11 10:15:32 +02:00
Christoph Strobl
b9af92059d
Fix regression in value to String mapping.
...
Previous versions allow arbitrary values to be mapped to an string property by calling the ObjectToString converter. This behaviour got lost and is not reestablished.
Closes #4371
Original pull request #4373
2023-05-10 14:54:51 +02:00
Greg L. Turnquist
fb43e85ea5
After release cleanups.
...
See #4335
2023-04-14 09:26:03 -05:00
Greg L. Turnquist
4fb7ada2cc
Prepare next development iteration.
...
See #4335
2023-04-14 09:25:57 -05:00
Greg L. Turnquist
86d6ba9cc9
Release version 3.4.11 (2021.2.11).
...
See #4335
2023-04-14 09:19:55 -05:00
Greg L. Turnquist
ec8db3db95
Prepare 3.4.11 (2021.2.11).
...
See #4335
2023-04-14 09:19:14 -05:00
Mark Paluch
4af3ba458c
Upgrade to Maven Wrapper 3.9.1.
...
See #4358
2023-04-06 16:18:30 +02:00
Mark Paluch
5f5b059ca0
Adopt to Mockito 5.1 changes.
...
Closes #4290
2023-03-27 12:26:52 +02:00
Christoph Strobl
c8c3136e89
Update visibility of ConversionContext.
...
The ConversionContext should not be package private due to its usage in protected method signatures.
Closes : #4345
2023-03-24 13:45:50 +01:00
Christoph Strobl
87a5182c33
After release cleanups.
...
See #4313
2023-03-20 13:48:10 +01:00
Christoph Strobl
90ca12856f
Prepare next development iteration.
...
See #4313
2023-03-20 13:48:08 +01:00
Christoph Strobl
7047bb23cf
Release version 3.4.10 (2021.2.10).
...
See #4313
2023-03-20 13:43:04 +01:00
Christoph Strobl
3876fbfaf3
Prepare 3.4.10 (2021.2.10).
...
See #4313
2023-03-20 13:42:32 +01:00
Mark Paluch
76f25ef2d2
Polishing.
...
Remove duplicate logging in imperative FindOneCallback.
See #4253
Original pull request: #4259
2023-03-17 09:36:32 +01:00
Raghav2211
d3e9c28375
Remove duplicate log in reactive findOne operation.
...
Closes #4253
Original pull request: #4259
2023-03-17 09:36:32 +01:00
Christoph Strobl
6b7ac32ea0
Fix property value conversion for $in clauses.
...
This commit fixes an issue where a property value converter is not applied if the query is using an $in clause that compares the value against a collection of potential candidates.
Original pull request: #4324
Closes #4080
2023-03-15 17:07:49 +01:00