Commit Graph

3691 Commits

Author SHA1 Message Date
Mark Paluch
c8432ef71a Release version 4.1.3 (2023.0.3).
See #4451
4.1.3
2023-08-18 14:04:04 +02:00
Mark Paluch
ad3cfda587 Prepare 4.1.3 (2023.0.3).
See #4451
2023-08-18 14:03:48 +02:00
Mark Paluch
9a68ee4e7f Polishing.
Update since tags. Add missing Override annotation.

See #4070
Original pull request: #4242
2023-08-17 14:18:07 +02:00
Christoph Strobl
7517527bda 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
2023-08-17 14:18:07 +02:00
Christoph Strobl
0bfb32a109 Update documentation regarding java.time type conversion.
Closes #3482
Original pull request: #4460
2023-08-17 10:45:20 +02:00
Julia Lee
ca44302a9f Update CI properties.
See #4451
2023-08-14 11:25:43 -04:00
Julia Lee
9ebbbde47e Upgrade to Maven Wrapper 3.9.4.
See #4469
2023-08-14 07:55:26 -04:00
Julia
24b0119f10 Polishing for formatting
Original Pull Request: #4455
2023-08-07 11:29:44 -04:00
Julia
8a97ea5a5e 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:51 -04:00
Christoph Strobl
d7a8206000 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:50 -04:00
Oliver Christen
5c99c20ee2 Correct misspellings in documentation
Closes: #4461
2023-07-31 14:15:35 -04:00
Christoph Strobl
7946e2b7c9 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 07:45:41 +02:00
Julia Lee
adea4ba0a9 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 07:45:22 +02:00
Julia Lee
529a0c7b15 Fix test setup so that temporal conversions use symmetric timezone setting.
Closes: #4446
Original Pull Request: #4447
2023-07-17 04:25:57 -04:00
Mark Paluch
77a96229c8 After release cleanups.
See #4420
2023-07-14 13:57:59 +02:00
Mark Paluch
4077224a04 Prepare next development iteration.
See #4420
2023-07-14 13:57:57 +02:00
Mark Paluch
fd175af09c Release version 4.1.2 (2023.0.2).
See #4420
4.1.2
2023-07-14 13:54:07 +02:00
Mark Paluch
a6372e6629 Prepare 4.1.2 (2023.0.2).
See #4420
2023-07-14 13:52:53 +02:00
Mark Paluch
0b6c9978e6 Polishing.
Reformat code, replace known unsupported constructor with UnsupportedOperationException.

See #4432
Original pull request: #4439
2023-07-10 11:03:30 +02:00
Christoph Strobl
edeb423b0e Fix encryption of java.time types.
This commit makes sure to convert java.time types into their BsonValue representation before encrypting.

See #4432
Original pull request: #4439
2023-07-10 10:49:23 +02:00
Christoph Strobl
6cee61d807 Fix decryption when client is using AutoEncryptionSettings#isBypassAutoEncryption().
This commit makes sure to convert already decrypted entries returned by the driver in case the client is configured with encryption settings.

Closes #4432
Original pull request: #4439
2023-07-10 10:49:21 +02:00
Mark Paluch
70530d6ee4 Update CI properties.
See #4420
2023-07-03 09:48:57 +02:00
Mark Paluch
9cfc46e589 Upgrade to Maven Wrapper 3.9.3.
See #4435
2023-07-03 09:48:21 +02:00
Christoph Strobl
7cb27c7465 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:30:50 +02:00
lijixue
0cd082e7fa 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:30:40 +02:00
John Blum
56e763c9c0 After release cleanups.
See #4386
2023-06-16 08:13:30 -07:00
John Blum
489f593395 Prepare next development iteration.
See #4386
2023-06-16 08:13:28 -07:00
John Blum
4f560f2ec3 Release version 4.1.1 (2023.0.1).
See #4386
4.1.1
2023-06-16 08:05:36 -07:00
John Blum
752d8c821e Prepare 4.1.1 (2023.0.1).
See #4386
2023-06-16 08:05:06 -07:00
Mark Paluch
b478e7068b Retain scroll direction across keyset scroll requests.
Closes #4413
2023-06-15 15:22:17 +02:00
Christoph Strobl
02fe73d052 Accept expression as input for filter aggregation operator.
Closes #4394
Original pull request: #4395
2023-06-14 14:19:34 +02:00
Christoph Strobl
29021d132f 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:49 +02:00
Mark Paluch
4d51d27cda Polishing.
Use extended switch syntax.

See #4404
Original pull request: #4412
2023-06-14 10:00:25 +02:00
Christoph Strobl
e2dc76eea3 Polishing.
Mark method potentially returning null as such and remove unused imports.

See #4404
Original pull request: #4412
2023-06-14 10:00:24 +02:00
Christoph Strobl
aecfd45968 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:00:24 +02:00
Mark Paluch
0c36929833 Upgrade to Maven Wrapper 3.9.2.
See #4409
2023-06-13 08:53:53 +02:00
Mark Paluch
bedd94fe17 Use snapshot and milestone repositories instead of libs-snapshot and libs-milestone.
Closes #4401
2023-06-06 09:47:17 +02:00
Mark Paluch
b85b53443b Polishing.
Add missing Override annotations.
2023-05-26 14:49:41 +02:00
Mark Paluch
99070162bb Update Jenkins triggers after GA release.
See #4369
2023-05-12 14:48:20 +02:00
Christoph Strobl
9218b22d12 After release cleanups.
See #4369
2023-05-12 14:19:11 +02:00
Christoph Strobl
e5aab51add Prepare next development iteration.
See #4369
2023-05-12 14:19:09 +02:00
Christoph Strobl
532b460067 Release version 4.1 GA (2023.0.0).
See #4369
4.1.0
2023-05-12 14:14:38 +02:00
Christoph Strobl
af846a962a Prepare 4.1 GA (2023.0.0).
See #4369
2023-05-12 14:14:05 +02:00
Mark Paluch
776dadeac8 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:13:56 +02:00
Christoph Strobl
629dfc187e 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-10 15:19:17 +02:00
Christoph Strobl
289438b1e4 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:52:53 +02:00
Oliver Drotbohm
83958ba316 Adapt to ScrollPosition API changes in Spring Data Commons.
Fixes #4377.
Related ticket: #2824.
2023-04-27 19:42:27 +02:00
Christoph Strobl
3a99d4c29a Fix broken links in observability section of reference documentation.
Add back micrometer-docs-generator plugin in version 1.0.1.

Fixes: #4236
2023-04-24 13:04:38 +02:00
Tomasz Forys
561c3d4f39 Instanceof casting simplification.
Closes: #4265
2023-04-24 09:57:40 +02:00
Christoph Ahlers
7f74794a11 Fix inconsistent strong tag usage in javadoc.
Closes: #4177
2023-04-20 15:04:25 +02:00