Commit Graph

2347 Commits

Author SHA1 Message Date
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
Mark Paluch
5454b37870 Document primitive type properties when using Query by Example.
Closes #2308.
2021-03-01 10:27:43 +01:00
Christoph Strobl
8192e93830 Updated changelog.
See #2304
2021-02-18 11:37:45 +01:00
Christoph Strobl
8b13a10ed5 After release cleanups.
See #2302
2021-02-18 11:12:46 +01:00
Christoph Strobl
0758c279ad Prepare next development iteration.
See #2302
2021-02-18 11:12:44 +01:00
Christoph Strobl
7e84952c2d Release version 2.4.5 (2020.0.5).
See #2302
2021-02-18 10:59:16 +01:00
Christoph Strobl
9384de2785 Prepare 2.4.5 (2020.0.5).
See #2302
2021-02-18 10:58:49 +01:00
Christoph Strobl
45fde0bf2f Updated changelog.
See #2302
2021-02-18 10:58:42 +01:00
Christoph Strobl
4e8afe507e Updated changelog.
See #2272
2021-02-17 14:20:36 +01:00
Christoph Strobl
a58dbe7ae5 After release cleanups.
See #2271
2021-02-17 13:41:54 +01:00
Christoph Strobl
22aaa7a7ee Prepare next development iteration.
See #2271
2021-02-17 13:41:53 +01:00
Christoph Strobl
0542e943e1 Release version 2.4.4 (2020.0.4).
See #2271
2021-02-17 12:00:24 +01:00
Christoph Strobl
7bc3ab9a0e Prepare 2.4.4 (2020.0.4).
See #2271
2021-02-17 11:59:37 +01:00