Commit Graph

2359 Commits

Author SHA1 Message Date
Mark Paluch
d1cfef93a6 Prepare next development iteration.
See #2375
2021-06-22 15:28:47 +02:00
Mark Paluch
b6929a5b55 Release version 2.4.10 (2020.0.10).
See #2375
2021-06-22 15:18:22 +02:00
Mark Paluch
78f5753ae4 Prepare 2.4.10 (2020.0.10).
See #2375
2021-06-22 15:17:54 +02:00
Mark Paluch
8f18b2fc0e Updated changelog.
See #2375
2021-06-22 15:17:47 +02:00
Mark Paluch
f123d5fd9f Polishing.
Update placeholder name to reflect its position instead of the content that is being added by using modules.

Closes #2382
2021-06-17 11:59:16 +02:00
Jens Schauder
1d9fc49dc4 Allow for a module specific inclusion for DTO projections.
See https://github.com/spring-projects/spring-data-jpa/issues/2009

See #2382
2021-06-17 11:59:16 +02:00
Mark Paluch
b469b5d4c7 Allow combining Sort and TypedSort using Sort.and(…).
We now retain properly the collection of orders by using accessor methods instead of relying on using the orders field. TypedSort orders are not using the orders field, instead they iterate over recorded persistent property paths.

Closes #2103
Original pull request: #2377.
2021-06-10 15:01:43 +02:00
Mark Paluch
b1aaf73dc8 Updated changelog.
See #2355
2021-05-14 12:36:38 +02:00
Mark Paluch
d109f4dd85 After release cleanups.
See #2354
2021-05-14 12:05:20 +02:00
Mark Paluch
651702a8dc Prepare next development iteration.
See #2354
2021-05-14 12:05:16 +02:00
Mark Paluch
8caee0aef8 Release version 2.4.9 (2020.0.9).
See #2354
2021-05-14 11:52:23 +02:00
Mark Paluch
c23931e2f8 Prepare 2.4.9 (2020.0.9).
See #2354
2021-05-14 11:51:53 +02:00
Mark Paluch
75f5f4af06 Updated changelog.
See #2354
2021-05-14 11:51:47 +02:00
Mark Paluch
2bb21181e8 Obtain merged annotation for annotation validation.
We now validate declared annotations by pre-processing these through AnnotatedElementUtils to ensure a proper comparison. Previously, we compared annotation in their declared form (AnnotatedElement.getAnnotations()) with merged annotations which could fail due to aliasing effects of merged annotations.

Closes #2368.
2021-05-05 12:05:40 +02:00
Mark Paluch
3940400541 Limit BeanWrapper's KotlinCopyUtil to Kotlin Data classes.
Previously, we tried to invoke the copy(…) method on all Kotlin classes whereas the copy(…) method is only specific to Kotlin data classes.

Original pull request: #390.
Closes #2358.
2021-04-21 09:28:53 +02:00
Greg L. Turnquist
7b10beb42c Add LICENSE file.
See #2345.
2021-04-19 16:40:16 -05:00
Greg L. Turnquist
234bf6911b Authenticate against artifactory.
See #2345.
2021-04-19 16:40:09 -05:00
Mark Paluch
267d502652 Updated changelog.
See #2345
2021-04-14 14:40:01 +02:00
Mark Paluch
7a7064207e After release cleanups.
See #2346
2021-04-14 11:42:08 +02:00
Mark Paluch
7b87a22ac6 Prepare next development iteration.
See #2346
2021-04-14 11:42:04 +02:00
Mark Paluch
eb41503886 Release version 2.4.8 (2020.0.8).
See #2346
2021-04-14 11:33:25 +02:00
Mark Paluch
30e78bc303 Prepare 2.4.8 (2020.0.8).
See #2346
2021-04-14 11:32:47 +02:00
Mark Paluch
0679cd3a4e Updated changelog.
See #2346
2021-04-14 11:32:43 +02:00
Mark Paluch
2715095e65 Updated changelog.
See #2327
2021-04-14 11:17:41 +02:00
Mark Paluch
348ce54b6a Polishing.
Tweak wording.

Original pull request: #2352.
2021-04-13 15:21:04 +02:00
Jens Schauder
94fa775975 Adds a new snippet for is-new-state-detection.
This is intended for inclusion by other modules.

Closes #2352.
2021-04-13 15:21:04 +02:00
Mark Paluch
e0561769c2 Upgrade to XMLBeam 1.4.20.
Closes #2351.
2021-04-13 10:28:35 +02:00
Mark Paluch
b98a3a3e6a Upgrade to XMLBeam 1.4.19.
Closes #2349
2021-04-07 10:49:20 +02:00
Mark Paluch
1f583bab3d Back-off in ResultProcessor if the result object is an instance of the target type.
We now do not attempt to convert the object if it is an instance of the declared target type.

Closes #2347.
2021-04-06 13:37:10 +02:00
Mark Paluch
3069e261b3 After release cleanups.
See #2328
2021-03-31 18:29:41 +02:00
Mark Paluch
a1cfa0656b Prepare next development iteration.
See #2328
2021-03-31 18:29:38 +02:00
Mark Paluch
a246ef6078 Release version 2.4.7 (2020.0.7).
See #2328
2021-03-31 18:19:52 +02:00
Mark Paluch
7211f1359e Prepare 2.4.7 (2020.0.7).
See #2328
2021-03-31 18:19:19 +02:00
Mark Paluch
98bd1de84a Updated changelog.
See #2328
2021-03-31 18:19:14 +02:00
Mark Paluch
701c6039a1 Updated changelog.
See #2303
2021-03-31 17:26:06 +02:00
Mark Paluch
dca844dd6f Document effect of using AccessType(PROPERTY) in combination with Persistable.
Closes #2338
Original pull request #2339
2021-03-25 11:40:07 +01:00
Mark Paluch
ecbffa7a5a Update version number suffixes in readme to reflect the used versioning scheme.
Closes #2337
2021-03-22 10:19:15 +01:00
Mark Paluch
b6581ebd14 Fix Kotlin copy method assignability check.
We now resolve only the raw class when checking if a primary constructor argument is assignable to method parameters of the synthetic copy method.
Previously we used ResolvableType's assignability check which considered generic type arguments. As the type resolution between the KType and copy method type is not symmetric, the check only succeeded in cases where both types could be resolved to the same type/assignable type. Using projections or Any caused asymmetric resolution and therefor the assignability check returned non-assignable.

Closes #2324.
2021-03-22 10:06:47 +01:00
Mark Paluch
8b5f4674d2 Updated changelog.
See #2326
2021-03-17 11:31:30 +01:00
Mark Paluch
9d9f79d937 After release cleanups.
See #2305
2021-03-17 11:02:15 +01:00
Mark Paluch
9f33f975ec Prepare next development iteration.
See #2305
2021-03-17 11:02:13 +01:00
Mark Paluch
b98bc1a957 Release version 2.4.6 (2020.0.6).
See #2305
2021-03-17 10:54:12 +01:00
Mark Paluch
9b21241ebf Prepare 2.4.6 (2020.0.6).
See #2305
2021-03-17 10:53:43 +01:00
Mark Paluch
94fd0641a1 Updated changelog.
See #2305
2021-03-17 10:53:38 +01:00
Mark Paluch
f4699a7c08 Updated changelog.
See #2301
2021-03-17 10:35:12 +01:00
Mark Paluch
d43d5add66 Polishing.
Use ResolvableType for type assignability check when resolving Type from a KType.

See #2324.
2021-03-12 16:56:53 +01:00
Mark Paluch
eac1105177 Polishing.
Reduce test method visibility.

See #2324.
2021-03-12 11:30:01 +01:00
Mark Paluch
6a5812b3de Use primary copy method for Kotlin data classes.
We now resolve the copy method for Kotlin data classes that match the primary constructor. Previously, copy method resolution could find a secondary copy method as we didn't check for the primary constructor structure (parameter names and types).

Closes #2324.
2021-03-12 11:30:01 +01:00
Mark Paluch
aaf5858f49 Polishing.
Reformat code.

Original pull request: #2314.
Closes: #2313
2021-03-01 10:34:53 +01:00
Christoph Strobl
8f4befff83 Collect constructor type information via Constructor.getParameters().
This commit fixes an issue where we fail to detect all type arguments from a given constructor. calling getGenericParameterTypes in some cases does not include all Types, we now explicitly iterate over the parameters and extract the parameterized type that is used for creating the TypeInformation.

Closes: #2313
Original pull request: #2314.
2021-03-01 10:34:53 +01:00