Commit Graph

3610 Commits

Author SHA1 Message Date
Mark Paluch
9cefd61cf5 Use snapshot and milestone repositories instead of libs-snapshot and libs-milestone.
Closes #4401
2023-06-06 09:47:24 +02:00
Christoph Strobl
b8995791a8 After release cleanups.
See #4367
2023-05-12 11:11:32 +02:00
Christoph Strobl
56f2a7ac0f Prepare next development iteration.
See #4367
2023-05-12 11:11:30 +02:00
Christoph Strobl
b069279f9d Release version 4.0.6 (2022.0.6).
See #4367
4.0.6
2023-05-12 11:08:06 +02:00
Christoph Strobl
70c9a44382 Prepare 4.0.6 (2022.0.6).
See #4367
2023-05-12 11:07:46 +02:00
Mark Paluch
6a9163da08 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:15:14 +02:00
Christoph Strobl
a21fca78dd 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:14:59 +02:00
Christoph Strobl
a35c4f2717 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:53:19 +02:00
Greg L. Turnquist
8803e0383d After release cleanups.
See #4336
2023-04-14 10:25:04 -05:00
Greg L. Turnquist
0b4c8fd780 Prepare next development iteration.
See #4336
2023-04-14 10:24:58 -05:00
Greg L. Turnquist
53c56f6e20 Release version 4.0.5 (2022.0.5).
See #4336
4.0.5
2023-04-14 10:19:14 -05:00
Greg L. Turnquist
6af9b562f6 Prepare 4.0.5 (2022.0.5).
See #4336
2023-04-14 10:18:32 -05:00
Mark Paluch
a5f73850af Polishing.
Reformat code. Remove unused fields, modifiers and documentation artifacts.

See #4088
Original pull request: #4341
2023-04-14 08:55:32 +02:00
Christoph Strobl
68b4a09273 Skip output for void methods using declarative Aggregations having $out stage.
We now set the skipOutput flag if an annotated Aggregation defines an $out stage and when the method is declared to return no result (void / Mono<Void>, kotlin.Unit)

Closes: #4088
Original pull request: #4341
2023-04-14 08:55:17 +02:00
Christoph Strobl
7290d78053 Fix null value handling in ParameterBindingJsonReader#readStringFromExtendedJson.
This commit makes sure to return null for a null parameter value avoiding a potential NPE when parsing data.
In doing so we can ensure object creation is done with the intended value that may or may not lead to a downstream error eg. when trying to create an ObjectId with a null hexString.

Closes: #4282
Original pull request: #4334
2023-04-13 11:31:28 +02:00
Mark Paluch
4acbb1282f Polishing.
Tweak naming.

Original pull request: #4352
See #4351
2023-04-13 11:12:17 +02:00
Christoph Strobl
b89c4cd231 Fix AOT processing for lazy-loading Jdk proxies.
This commit makes sure to use the ProxyFactory for retrieving the proxied interfaces. This makes sure to capture the exact interface order required when finally loading the proxy at runtime.

Original pull request: #4352
Closes #4351
2023-04-13 11:12:16 +02:00
Greg L. Turnquist
8d650ca1d2 Test against Java 20 on CI.
See #4350.
2023-04-12 14:59:27 -05:00
Mark Paluch
b9a23baf16 Adopt to Mockito 5.1 changes.
See #4290
2023-04-11 08:34:37 +02:00
Mark Paluch
d1326a45fc Upgrade to Maven Wrapper 3.9.1.
See #4357
2023-04-06 16:17:30 +02:00
Greg L. Turnquist
ca24950014 Update CI properties.
See #4336
2023-03-28 14:01:00 -05:00
Christoph Strobl
f157560d1c 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:41:01 +01:00
Christoph Strobl
4aa12fd24b After release cleanups.
See #4314
2023-03-20 14:26:21 +01:00
Christoph Strobl
c4a99370d8 Prepare next development iteration.
See #4314
2023-03-20 14:26:19 +01:00
Christoph Strobl
77b2b28ab2 Release version 4.0.4 (2022.0.4).
See #4314
4.0.4
2023-03-20 14:22:48 +01:00
Christoph Strobl
040dfaea2c Prepare 4.0.4 (2022.0.4).
See #4314
2023-03-20 14:22:20 +01:00
Mark Paluch
dfa2bb9906 Polishing.
Remove duplicate logging in imperative FindOneCallback.

See #4253
Original pull request: #4259
2023-03-17 09:36:19 +01:00
Raghav2211
cf12c34c22 Remove duplicate log in reactive findOne operation.
Closes #4253
Original pull request: #4259
2023-03-17 09:36:08 +01:00
Mark Paluch
07a224d9ac Polishing.
Simplify field creation considering simplified projection expressions.

See #3917
Original pull request: #4328
2023-03-16 09:54:06 +01:00
Christoph Strobl
aecca2998b Fix field resolution for ExposedFieldsAggregationContext.
This commit fixes an issue where the context is not relaxed and errors on unknown fields if multiple stages of nesting contexts happen.

Closes #3917
Original pull request: #4328
2023-03-16 09:54:06 +01:00
Christoph Strobl
190516f297 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 11:26:33 +01:00
Mark Paluch
39e30cd2f0 Polishing.
Extract duplicates into peek method.

See #4312
Original pull request: #4323
2023-03-15 11:13:48 +01:00
Christoph Strobl
e611f2a868 Allow reading already resolved references.
This commit adds the ability to read (eg. by an aggregation $lookup) already fully resolved references between documents.
No proxy will be created for lazy loading references and we'll also skip the additional server roundtrip to load the reference by its id.

Closes #4312
Original pull request: #4323
2023-03-15 11:13:36 +01:00
Mark Paluch
37dc81bde2 After release cleanups.
See #4293
2023-03-03 11:02:48 +01:00
Mark Paluch
f95da91866 Prepare next development iteration.
See #4293
2023-03-03 11:02:46 +01:00
Mark Paluch
8ebc632130 Release version 4.0.3 (2022.0.3).
See #4293
4.0.3
2023-03-03 10:59:33 +01:00
Mark Paluch
95c1483bb1 Prepare 4.0.3 (2022.0.3).
See #4293
2023-03-03 10:59:17 +01:00
Christoph Strobl
2486f162ed Fix regression in findAndReplace when using native MongoDB types as domain value.
This commit fixes a regression that prevented native org.bson.Document to serve as source for a findAndReplaceOperation.

Closes: #4300
Original Pull Request: #4310
2023-03-02 10:02:31 +01:00
Mark Paluch
95a05a24e1 Upgrade to Maven Wrapper 3.9.0.
See #4298
2023-02-20 11:59:26 +01:00
Mark Paluch
47f8e0599e After release cleanups.
See #4274
2023-02-17 11:02:27 +01:00
Mark Paluch
15ebf4c37c Prepare next development iteration.
See #4274
2023-02-17 11:02:25 +01:00
Mark Paluch
da03eb09bf Release version 4.0.2 (2022.0.2).
See #4274
4.0.2
2023-02-17 10:59:27 +01:00
Mark Paluch
69201faf96 Prepare 4.0.2 (2022.0.2).
See #4274
2023-02-17 10:59:14 +01:00
Mark Paluch
49081ceced Update CI properties.
See #4274
2023-01-30 10:49:31 +01:00
Mark Paluch
f54ca2394f Upgrade to Maven Wrapper 3.8.7.
See #4280
2023-01-30 10:47:19 +01:00
Mark Paluch
2703573d87 Polishing.
Move QuerydslPredicateExecutor hints to RepositoryRuntimeHints.

See #4244
Original pull request: #4245
2023-01-23 14:08:38 +01:00
Christoph Strobl
dee4f3b859 Add missing hints for Querydsl integration.
This commit adds missing reflection configuration for Querydsl integration. We now also make sure to call the queryMixing getter instead of reading the field via reflection.

Closes #4244
Original pull request: #4245
2023-01-23 14:08:38 +01:00
robeatoz
34d7a3d654 Fix parameter and method name in reference documentation.
Closes: #4247
2023-01-16 12:31:03 +01:00
Emre Uygun
2f3e134680 Fix typo in reference documentation.
Closes: #4250
2023-01-16 12:30:55 +01:00
Christoph Strobl
b126165aeb Polishing.
Original Pull Request: #4255
2023-01-16 12:30:46 +01:00