Commit Graph

2149 Commits

Author SHA1 Message Date
Mark Paluch
270addfc9a Polishing.
Reformat code.

See #3168
2025-03-05 10:44:35 +01:00
mitu2
e4de17a245 Remove branching overhead in BytecodeUtil by replacing if with else if.
Closes #3168
2025-03-05 10:44:35 +01:00
Mark Paluch
fe9a998966 Consider getters using get as getter for boolean Kotlin properties.
We now additionally consider get-prefixed methods in addition to is-prefixed methods as getters for boolean properties.

Closes #3249
2025-02-20 14:14:44 +01:00
Mark Paluch
c6afb59164 Prepare 3.3.9 (2024.0.9).
See #3233
2025-02-14 09:49:41 +01:00
Mark Paluch
0640fe5e6b Document that fluent findBy(…) queries must return a result.
Closes #3237
2025-01-22 14:11:43 +01:00
Mark Paluch
27670b0aa0 Fix Querydsl Nullability annotations.
Closes #2044
2025-01-22 11:12:05 +01:00
Mark Paluch
6c386e97b3 Document restrictions for zero Limit PageRequest translation.
Closes #3102
2025-01-21 10:25:19 +01:00
Mark Paluch
0c0698592e Prepare 3.3.8 (2024.0.8).
See #3222
2025-01-17 10:32:01 +01:00
Tran Ngoc Nhan
be942bf09e Fix typos.
Documentation, assertion messages.

Closes #3223
2025-01-13 11:57:44 +01:00
Jens Schauder
1bee1c22cb Refining QBE documentation.
Adds a configurable limitation about collection support in Query By Example.

Closes: #3226
2025-01-10 10:21:23 +01:00
Mark Paluch
044c20d2ea Extend license header copyright years to 2025.
See #3227
2025-01-08 09:55:51 +01:00
Christoph Strobl
7d8d41555f Prepare 3.3.7 (2024.0.7).
See #3203
2024-12-13 10:50:49 +01:00
Mark Paluch
5bbc24fcc4 Update Projection section in reference documentation.
Closes #3216
2024-12-03 11:00:46 +01:00
Mark Paluch
b4edacbe02 Polishing.
Fix ticket reference.

See #3215
2024-12-02 09:09:52 +01:00
Mark Paluch
fe2081f729 Resolve bridged method when projected PropertyDescriptor resolves to a bridge method.
We now skip synthetic bridge methods when resolving a PropertyDescriptor from a called interface method on the target type and resolve the bridged method.

Closes #3215
2024-12-02 09:08:43 +01:00
Mark Paluch
5247ce6c3c Refine Value Expression documentation.
Closes #3214
2024-11-29 09:42:47 +01:00
Mark Paluch
4a1d11c618 Prepare 3.3.6 (2024.0.6).
See #3182
2024-11-15 11:45:22 +01:00
Mark Paluch
f527c8a37d Polishing.
Tweak wording. Add Override annotations.

See #3200
Original pull request: #3201
2024-11-15 09:59:43 +01:00
Christoph Strobl
feab68f6df Update custom repository extension section.
Closes #3200
Original pull request: #3201
2024-11-15 09:59:21 +01:00
Mark Paluch
3558788392 Refine Scrolling refdocs.
Closes #3192
2024-11-04 09:43:17 +01:00
Stefano Cordio
39ee4ad9ff Minor improvements in BootstrapMode Javadoc.
Closes #3191
2024-11-04 08:39:37 +01:00
Mark Paluch
579701a793 Polishing.
Refine Javadoc and update ReactivePageableHandlerMethodArgumentResolver. Fix nullability annotations.

See #3188
2024-10-29 09:25:48 +01:00
Sergey Zolotarev
1e8dc218a5 Remove outdated information from Javadoc for PageableHandlerMethodArgumentResolver.
Closes #3188
2024-10-29 09:25:48 +01:00
LajosPolya
b070a46c08 Fix spelling SimplePropertyValueConversions javadoc.
Closes #3189
2024-10-29 09:11:22 +01:00
Mark Paluch
ac7d52d829 Prepare 3.3.5 (2024.0.5).
See #3150
2024-10-18 11:36:15 +02:00
Mark Paluch
a8a67c3c01 Polishing.
Remove unnecessary static keywords.

See #3178
2024-10-17 15:26:27 +02:00
serv-inc
a84821f2a4 Fix typo in EnableSpringDataWebSupport.
Closes #3178
2024-10-17 15:26:27 +02:00
Mark Paluch
4518779232 Polishing.
Add DDD context. Explain identifier to domain object relationship. Tweak wording.

See #3173
Original pull request: #3174
2024-10-17 15:23:14 +02:00
Christoph Strobl
0107c3909c Update documentation.
Add section on reserved method names within repository interfaces.

Closes #3173
Original pull request: #3174
2024-10-17 15:23:14 +02:00
Hosam Aly
2aaa809b64 Fix typo in query-methods-details.adoc.
Fix a typo: Priced => Product

Closes #3172
2024-10-14 08:49:57 +02:00
imcb
3b29a2ba6f Fix typo in definition.adoc.
Closes #3147
2024-10-11 10:39:36 +02:00
Christoph Strobl
ca462e733e Fix native image hints for web support.
This commit adds a required native image reflection hint to allow Jackson object mapping to resolve and invoke the constructor of PageMetadata.
It also fixes an issue that surfaced after changing the bean constructor argument for SpringDataWebSettings leading to failures during the native compilation.

Closes: #3171
2024-10-07 11:38:18 +02:00
Mark Paluch
fb978b8220 Polishing.
See #3167
2024-09-30 09:31:31 +02:00
Mark Paluch
4ada6b9aaa Introduce BasicPropertyDescriptor to KotlinBeanInfoFactory to bypass early property type validation.
Closes #3167
2024-09-30 09:31:30 +02:00
Tran Ngoc Nhan
4645ac3b97 Polishing.
Add missing Override annotations. Use instanceof pattern variables, use diamond operator where possible.

Closes #3162
2024-09-26 11:27:59 +02:00
Mark Paluch
f065f405f8 Polishing.
See #3160
2024-09-26 10:59:55 +02:00
Mikhail2048
15afbff9e0 Added Lazy wrapper for ReturnType#isDto.
Closes #3160
2024-09-26 10:59:55 +02:00
Mark Paluch
7ff224b350 Consider projections without input properties open ones.
Closes #3164
2024-09-25 09:58:58 +02:00
Mark Paluch
d8c8054a41 Polishing.
Add missing Override annotations. Eagerly compute input properties.

See #3163
2024-09-24 16:04:48 +02:00
Mark Paluch
14eb7beb58 Expose ReturnedType factory method.
Closes #3163
2024-09-24 15:59:32 +02:00
Jens Schauder
1d96d57342 Prepare 3.3.4 (2024.0.4).
See #3139
2024-09-13 11:36:34 +02:00
Mark Paluch
e3c9b01827 Specialize Kotlin property accessors in KotlinBeanInfoFactory.
We now attempt to detect property accessors for properties declared in Kotlin that do not have a Kotlin-style accessor but one that instead comes from an interface.

Also, we specialize accessor methods that are inherited from a Java superclass but override accessors in the Kotlin realm.

Closes #3140
Closes #3146
2024-09-02 14:36:48 +02:00
Mark Paluch
53dfd0263f Split projections document fragment into multiple subfragments.
Closes #3144
2024-08-29 09:58:34 +02:00
Oliver Drotbohm
7721c6eadd Polishing.
Related ticket GH-2937.
2024-08-28 22:24:24 +02:00
Oliver Drotbohm
5619b7d2c3 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:24:20 +02:00
Oliver Drotbohm
d50d9b6263 Polishing.
Related ticket GH-3054.
2024-08-27 12:52:17 +02:00
Yanming Zhou
e70532770f Avoid registering a SpringDataWebSettings bean by default.
We now refrain from registering a SpringDataWebSettings instance as bean in the ApplicationContext if @EnableSpringDataWebSupport is used without an explicit declaration of pageSerializationMode. This allows Spring Boot to use the annotation, but allow the attribute value to be configured via a property at the same time.

See https://github.com/spring-projects/spring-boot/pull/39797#discussion_r1508396169 for details.

Fixes GH-3054.
2024-08-27 12:52:02 +02:00
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