Commit Graph

3002 Commits

Author SHA1 Message Date
Jens Schauder
615a01e340 Prepare 3.3.3 (2024.0.3).
See #3123
2024-08-16 10:05:38 +02:00
Kuyho Chung
9f42a3a963 Corrected the definition of coroutines.
Closes #3136
2024-08-15 14:21:33 +02:00
Oliver Drotbohm
619ccd4c4a Avoid affecting serialization of custom Page implementations in legacy mode.
Registering a StdConverter with Jackson to log a warning  about the Page serialization mode causes the target serializer to be only built for Page losing additional properties defined on extensions. We now instead register a no-op BeanSerializerModifier that issues the warning and doesn't affect the serializer selection.

Fixes GH-3137.
2024-08-15 08:38:38 +02:00
Mark Paluch
bf574a84d8 Update CI properties.
See #3123
2024-08-08 10:19:18 +02:00
Mark Paluch
a3b174fdc7 Upgrade to Maven Wrapper 3.9.8.
See #3133
2024-08-08 10:18:12 +02:00
Mark Paluch
5ddede10b0 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:25 +02:00
Oliver Drotbohm
a9767599c5 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:15 +02:00
Christoph Strobl
ce62224c17 Add missing native image runtime hints for Jackson Page serialization.
Closes #3117
Original pull request: #3119
2024-08-05 14:53:22 +02:00
Eric Haag
c90e2742b0 Migrate build to Spring Develocity Conventions extension.
* Migrate build to Spring Develocity Conventions extension.

* Adopt Develocity environment variables.

Closes #3130
2024-08-01 11:47:56 +02:00
Christoph Strobl
9343f31fb9 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:37 +02:00
Mark Paluch
9804c75893 Bundle Javadoc with Antora documentation site.
Closes #3128
2024-07-31 09:27:20 +02:00
Mark Paluch
24f8d90b92 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:32 +02:00
Mark Paluch
b6d38255b4 Polishing.
Simplify assertions.

See #3125
2024-07-23 11:35:27 +02:00
Mark Paluch
de4013a4c5 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:27 +02:00
Jens Schauder
75d09921a5 After release cleanups.
See #3107
2024-07-12 19:12:14 +02:00
Jens Schauder
6158ba06bd Prepare next development iteration.
See #3107
2024-07-12 19:12:13 +02:00
Jens Schauder
1798ccce71 Release version 3.3.2 (2024.0.2).
See #3107
2024-07-12 19:09:19 +02:00
Jens Schauder
982112cd12 Prepare 3.3.2 (2024.0.2).
See #3107
2024-07-12 19:09:00 +02:00
Mark Paluch
05dcd72904 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:10 +02:00
Mark Paluch
8f08d60576 Remove Slack notification.
See #3110
2024-06-20 13:53:01 +02:00
Mark Paluch
7f1bf08a0e Switch to Broadcom docker proxy.
Closes #3110
2024-06-20 13:53:01 +02:00
Mark Paluch
0e88cc34f4 Polishing.
Fix snapshot repository URL.

See #3097
2024-06-18 11:38:17 +02:00
Mark Paluch
82e810423c 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:34 +02:00
Mark Paluch
4f5b6dcb7a After release cleanups.
See #3097
2024-06-14 10:47:59 +02:00
Mark Paluch
f19fd9e1a6 Prepare next development iteration.
See #3097
2024-06-14 10:47:58 +02:00
Mark Paluch
de8fbe9725 Release version 3.3.1 (2024.0.1).
See #3097
2024-06-14 10:45:40 +02:00
Mark Paluch
23439bf9c4 Prepare 3.3.1 (2024.0.1).
See #3097
2024-06-14 10:45:23 +02:00
Mark Paluch
146b352f64 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:17 +02:00
Oliver Drotbohm
d748e866d0 Use legacy page serialization mode if no SpringDataWebSettings are present.
Fixes GH-3101.
2024-05-30 23:41:49 +02:00
Mark Paluch
3bc2621e1d After release cleanups.
See #3079
2024-05-17 12:02:55 +02:00
Mark Paluch
2fab504c01 Prepare next development iteration.
See #3079
2024-05-17 11:51:48 +02:00
Mark Paluch
119e12af20 Release version 3.3 GA (2024.0.0).
See #3079
2024-05-17 11:49:25 +02:00
Mark Paluch
147f46d940 Prepare 3.3 GA (2024.0.0).
See #3079
2024-05-17 11:49:10 +02:00
Oliver Drotbohm
b09c503480 Polishing.
Ternary ifs and less nesting.

Related: GH-3094
Original pull request: GH-2865
2024-05-14 11:38:36 +02:00
Yanming Zhou
ae76d08403 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:38:04 +02:00
Alessandro Rubino
c2a475b42c Update links to direct section links.
Closes #3095
2024-05-14 09:54:43 +02:00
Mark Paluch
2f43bd593e Limit generics length to declared length.
Also, rename method to reflect what it actually returns.
Document generic usage constraints in RepositoryFactoryBeanSupport subclasses.

Closes #3089
2024-05-08 09:54:09 +02:00
Mark Paluch
18d31ec61d Document how projection types relate to the entity type hierarchy.
Closes #3092
2024-05-07 15:17:43 +02:00
Mark Paluch
b1a5fc460b Apply Kotlin Value Class unboxing to generated Property Accessors.
Unwrap wrapped value types if necessary when using generated property accessors.

Closes #3087
2024-04-29 09:12:57 +02:00
Mark Paluch
00d03c595b Polishing.
Add missing Javadoc and Serial annotations. Simplify code.

See #3081
2024-04-24 09:38:51 +02:00
Jan Kurella
7bac883930 Avoid NullPointerException´ and IllegalArgumentException for control flow in Sort`.
Checking for null explicitly is cheap and prevents two unnecessary Exception
objects creations.

Closes #3081
2024-04-24 09:38:15 +02:00
Mark Paluch
027b8c2ad2 Fix StackOverflowError in TypeDiscoverer comparison.
We now resort to String-based comparison if a generic cannot be resolved. Previously, unresolved generics caused an infinite recursion.

Closes #3084
2024-04-23 10:17:53 +02:00
Alexander Münch
2f9427a94b Fix typo in object-mapping.adoc.
Closes #3076
2024-04-15 15:15:16 +02:00
Mark Paluch
5d067c56cd Polishing.
Reformat code. Use explicit local variable types instead of var.

See #3075
2024-04-15 15:11:42 +02:00
Yanming Zhou
797066dcc0 Use -1 instead of null as initial OffsetScrollPosition.
1. Use type `long` instead of `Long` to keep it consistent with previous version.
2. Position function is simplified to `offset+1`.

Closes #3075
2024-04-15 15:07:46 +02:00
Mark Paluch
1771647cb2 After release cleanups.
See #3065
2024-04-12 10:52:59 +02:00
Mark Paluch
04c5135b98 Prepare next development iteration.
See #3065
2024-04-12 10:52:58 +02:00
Mark Paluch
dd42cb2a51 Release version 3.3 RC1 (2024.0.0).
See #3065
2024-04-12 10:50:41 +02:00
Mark Paluch
2f4ab246f2 Prepare 3.3 RC1 (2024.0.0).
See #3065
2024-04-12 10:50:27 +02:00
Mark Paluch
855194a13d Polishing.
Introduce method to obtain a position function from OffsetScrollPosition. Tweak documentation wording.

See #3070
Original pull request: #3072
2024-04-10 10:41:52 +02:00