Commit Graph

3704 Commits

Author SHA1 Message Date
Mark Paluch
f9be701c83 Prepare next development iteration.
See #4478
2023-09-15 10:55:33 +02:00
Mark Paluch
6976f39707 Release version 4.1.4 (2023.0.4).
See #4478
2023-09-15 10:52:26 +02:00
Mark Paluch
c371a6b22c Prepare 4.1.4 (2023.0.4).
See #4478
2023-09-15 10:52:11 +02:00
Mark Paluch
029e6e7ded Remove changelog shipped with the binaries.
Closes #3737
2023-09-14 11:18:44 +02:00
Christoph Strobl
a693d3fde9 Test unwrapped.empty instantiation when used as ctor argument.
Original Pull Request: #4492
2023-09-11 12:55:59 +02:00
Mark Paluch
53760b07bc Polishing.
Remove sysout from tests.

See #4491
2023-09-11 12:55:54 +02:00
Mark Paluch
69c9e0f482 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
2023-09-11 12:55:47 +02:00
Mark Paluch
b2809d691e Correctly read unwrapped properties during constructor creation.
Closes: #4491
Original Pull Request: #4492
2023-09-11 12:55:11 +02:00
Julia
f0858fba10 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
2023-08-31 09:21:36 +02:00
Mark Paluch
0b3d1b823f Polishing.
Refactor duplicate code into callback.

See #4481
2023-08-24 14:03:06 +02:00
Mark Paluch
0be1e52232 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
2023-08-24 14:03:06 +02:00
Mark Paluch
31da8b11d2 After release cleanups.
See #4451
2023-08-18 14:07:35 +02:00
Mark Paluch
1a002e2159 Prepare next development iteration.
See #4451
2023-08-18 14:07:33 +02:00
Mark Paluch
c8432ef71a Release version 4.1.3 (2023.0.3).
See #4451
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
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
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