Commit Graph

3010 Commits

Author SHA1 Message Date
Mark Paluch
f237c19fb3 Use Docker in Docker CI setup.
See #3151
2024-10-09 14:01:14 +02:00
Tran Ngoc Nhan
dc265c1535 Polishing.
Add missing Override annotations. Use instanceof pattern variables, use diamond operator where possible.

Closes #3162
2024-09-26 11:28:04 +02:00
Mark Paluch
b84d6034f5 Polishing.
See #3160
2024-09-26 10:59:59 +02:00
Mikhail2048
96621b3daf Added Lazy wrapper for ReturnType#isDto.
Closes #3160
2024-09-26 10:59:59 +02:00
Mark Paluch
dde5b37882 Polishing.
Add missing Override annotations. Eagerly compute input properties.

See #3163
2024-09-25 10:10:53 +02:00
Mark Paluch
52e10da72e Consider projections without input properties open ones.
Closes #3164
2024-09-25 09:59:22 +02:00
Jens Schauder
a13f75ea65 After release cleanups.
See #3138
2024-09-13 10:53:00 +02:00
Jens Schauder
3fb6be7b0c Prepare next development iteration.
See #3138
2024-09-13 10:52:59 +02:00
Jens Schauder
987a944c93 Release version 3.2.10 (2023.1.10).
See #3138
2024-09-13 10:50:08 +02:00
Jens Schauder
e71da54a68 Prepare 3.2.10 (2023.1.10).
See #3138
2024-09-13 10:49:50 +02:00
Mark Paluch
ade227c45a Split projections document fragment into multiple subfragments.
Closes #3144
2024-08-29 09:58:40 +02:00
Oliver Drotbohm
0644a4d980 Polishing.
Related ticket GH-2937.
2024-08-28 22:26:00 +02:00
Oliver Drotbohm
b7a9c75a32 ProxyHandlerMethodArgumentResolver now avoids matching parameters annotated with Spring annotation.
We now explicitly do not match handler method parameters that are annotated with anything but @ModelAttribute or @ProjectedPayload. This prevents us accidentally opting into parameter handling for annotated parameters that use interfaces for their declaration and are supposed to be handled by some other infrastructure.

Fixes GH-2937.
2024-08-28 22:25:58 +02:00
Jens Schauder
34e2e2d1d4 After release cleanups.
See #3122
2024-08-16 09:01:34 +02:00
Jens Schauder
4a94b80e39 Prepare next development iteration.
See #3122
2024-08-16 09:01:33 +02:00
Jens Schauder
57a0450e8d Release version 3.2.9 (2023.1.9).
See #3122
2024-08-16 08:58:34 +02:00
Jens Schauder
5226946612 Prepare 3.2.9 (2023.1.9).
See #3122
2024-08-16 08:58:10 +02:00
Kuyho Chung
4c33532f2c Corrected the definition of coroutines.
Closes #3136
2024-08-15 14:21:38 +02:00
Mark Paluch
a20f7314d3 Update CI properties.
See #3122
2024-08-08 10:17:44 +02:00
Mark Paluch
810d531215 Upgrade to Maven Wrapper 3.9.8.
See #3132
2024-08-08 10:17:15 +02:00
Mark Paluch
09258ccc60 Fix KotlinCopyMethod detection for single-association property classes.
KotlinCopyMethod.shouldUsePublicCopyMethod(…) now considers single-association arrangements. Also, the method now early exists if pre-conditions aren't met.

Closes #3131
2024-08-06 15:14:31 +02:00
Oliver Drotbohm
6e1e5226f4 Explicitly reject invalid aggregate event registrations during publishing.
We now detect that the consumption of the events published during a persistence operation has produced new event instances that would go unpublished and raise an explaining exception. Previously such a scenario would've resulted in a ConcurrentModificationException.

We primarily reject such a scenario as handling the additional event would extend our convenience mechanism over the publishing scope a direct 1:1 replacement with ApplicationEventPublisher would've achieved.

Fixes GH-3116.
2024-08-06 09:03:30 +02:00
Eric Haag
cc4026239c Migrate build to Spring Develocity Conventions extension.
* Migrate build to Spring Develocity Conventions extension.

* Adopt Develocity environment variables.

Closes #3130
2024-08-01 11:48:02 +02:00
Christoph Strobl
ac09de8c72 Fix property lookup for projections on Kotlin types.
This commit makes sure to use the target objects method to determine the property used for the projection.

Closes: #3127
Original pull request: #3129
2024-08-01 11:43:41 +02:00
Mark Paluch
3b481609e6 Bundle Javadoc with Antora documentation site.
Closes #3128
2024-07-31 09:27:15 +02:00
Mark Paluch
e9367e1b9f Revise Repositories initialization.
We now no longer declare cacheRepositoryFactory as synchronized to avoid locking. Additionally, simplify the flow and reuse computed values as much as possible.

Closes #3126
2024-07-26 10:35:35 +02:00
Mark Paluch
3aee0a2856 Polishing.
Simplify assertions.

See #3125
2024-07-23 11:35:39 +02:00
Mark Paluch
5c59d87f41 Consider declaring class when evaluating method return type for query method post-processing.
We now consider the declaring class to properly resolve type variable references for the result post-processing of a query method result.

Previously, we attempted to resolve the return type without considering the actual repository class resolving always Object instead of the type parameter.

Closes #3125
2024-07-23 11:35:38 +02:00
Jens Schauder
453dbe1edc After release cleanups.
See #3106
2024-07-12 13:36:34 +02:00
Jens Schauder
e034288862 Prepare next development iteration.
See #3106
2024-07-12 13:36:33 +02:00
Jens Schauder
2cda896d98 Release version 3.2.8 (2023.1.8).
See #3106
2024-07-12 13:33:05 +02:00
Jens Schauder
cdd8305e36 Prepare 3.2.8 (2023.1.8).
See #3106
2024-07-12 13:32:44 +02:00
Mark Paluch
dc82813d8c Filter delegated properties for Kotlin data classes.
We now filter delegated properties (such as lazy) from being managed as persistent properties.

Closes #3112
2024-06-24 11:49:00 +02:00
Mark Paluch
292ab2399e Remove Slack notification.
See #3110
2024-06-20 13:53:05 +02:00
Mark Paluch
0ba2888d49 Switch to Broadcom docker proxy.
Closes #3110
2024-06-20 13:53:05 +02:00
Mark Paluch
ee66c260d8 Polishing.
Fix snapshot repository URL.

See #3097
2024-06-18 11:38:23 +02:00
Mark Paluch
e95bfbb16a Ignore getters for Kotlin types deviating from Java Beans spec.
We now ignore Kotlin getters that are either static methods or would require additional arguments.

Closes #3109
2024-06-18 11:35:26 +02:00
Mark Paluch
c7cd0b7d2d After release cleanups.
See #3096
2024-06-14 10:06:43 +02:00
Mark Paluch
10c26ecaf3 Prepare next development iteration.
See #3096
2024-06-14 10:06:42 +02:00
Mark Paluch
15d4ec32f3 Release version 3.2.7 (2023.1.7).
See #3096
2024-06-14 10:04:21 +02:00
Mark Paluch
05cc7889b9 Prepare 3.2.7 (2023.1.7).
See #3096
2024-06-14 10:04:04 +02:00
Mark Paluch
ac6a521ff2 Populate DTO projection properties that are considered associations.
We now populate DTO properties whose are identified as associations. While uncommon, as typically entities declare assocations using entities, associations can be identified as types and so these are now considered when populating properties.

Closes #3104
2024-06-10 14:58:22 +02:00
Mark Paluch
255777a778 After release cleanups.
See #3078
2024-05-17 11:24:37 +02:00
Mark Paluch
7b7ed6a333 Prepare next development iteration.
See #3078
2024-05-17 11:24:36 +02:00
Mark Paluch
4a44f685cb Release version 3.2.6 (2023.1.6).
See #3078
2024-05-17 11:22:23 +02:00
Mark Paluch
fd3448250e Prepare 3.2.6 (2023.1.6).
See #3078
2024-05-17 11:21:58 +02:00
Mark Paluch
fd1ab30a60 Polishing.
Defer message creation. Add test.

See #3091
2024-05-14 15:12:55 +02:00
kgignatyev
b8e230c4e1 Add offending type name to AbstractRepositoryMetadata verification exception message.
Closes #3091
2024-05-14 15:12:54 +02:00
Oliver Drotbohm
be30ca46a9 Polishing.
Ternary ifs and less nesting.

Related: GH-3094
Original pull request: GH-2865
2024-05-14 11:44:41 +02:00
Yanming Zhou
7ecdbdf3d8 Use Pageable.unpaged(sort) for sorted unpaged pageable.
The (Reactive)PageableHandlerMethodArgumentResolver now falls back to a unpaged Pageable instance with a resolved sort if the the resolved Pageable is unpaged.

Fixes: GH-3094
Original pull request: GH-2865
2024-05-14 11:44:39 +02:00