Commit Graph

3127 Commits

Author SHA1 Message Date
Mark Paluch
933a46dcdb Polishing.
Add unit tests.

See #3304
2025-06-03 11:51:31 +02:00
Yanming Zhou
200c091b34 Use mutable list to collect items from Stream for reversal.
>> There are no guarantees on the type, mutability, serializability, or thread-safety of the List returned

`Collector.toList()` doesn't guarantee mutability, then passing it to `Collections.reverse()` is not safe.

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
Closes #3304
2025-06-03 11:51:25 +02:00
Mark Paluch
d50fbf839d After release cleanups.
See #3274
2025-05-16 10:51:19 +02:00
Mark Paluch
942b08abff Prepare next development iteration.
See #3274
2025-05-16 10:51:18 +02:00
Mark Paluch
80e57b1042 Release version 3.4.6 (2024.1.6).
See #3274
2025-05-16 10:48:33 +02:00
Mark Paluch
5dbb51c86b Prepare 3.4.6 (2024.1.6).
See #3274
2025-05-16 10:48:12 +02:00
Mark Paluch
07e81684e7 Polishing.
Reformat code, refine Javadoc.

See #3258
Original pull request: #3277
2025-05-16 09:35:21 +02:00
Chris Bono
47abad4180 Avoid matching multipart parameters annotated with @ModelAttribute
The ProxyHandlerMethodArgumentResolver now avoids matching multipart parameters annotated with @ModelAttribute. This allows multipart parameters to be handled by RequestParamMethodArgumentResolver which properly handles multipart arguments.

Also, the `@ProjectedPayload` annotation can now be used on parameters. This prepares for the upcoming removal of support for non-annotated projections.

Fixes #3258
Related tickets #2937
Original pull request: #3277

Signed-off-by: Chris Bono <chris.bono@broadcom.com>
2025-05-16 09:35:21 +02:00
Mark Paluch
6c4952c240 Update CI Properties.
See #3274
2025-05-12 09:00:08 +02:00
Mark Paluch
5dd2034d11 Polishing.
Add missing Antora property.

See #3262
2025-05-09 11:31:37 +02:00
Mark Paluch
9a22a9a41f Polishing.
Reformat code. Simplify flow. Add ticket reference to test.

See #3287
Original pull request: #3219
2025-05-09 11:08:12 +02:00
xeounxzxu
a0f3381f02 Avoid multiple DeferredRepositoryInitializationListener registrations in RepositoryConfigurationDelegate.
Closes #3287
Original pull request: #3219
2025-05-09 11:08:12 +02:00
Yanming Zhou
a6e90a756f Use List.of() and Set.of() where feasible.
Closes #3231
2025-05-09 10:45:56 +02:00
Seungrae
13375362ed Fix typos in reference documentation and Javadoc.
Signed-off-by: Seungrae Kim <obey1342@gmail.com>

Closes #3235
2025-05-09 10:42:29 +02:00
Mark Paluch
a2ad3e8542 Polishing.
Use dynamic copyright year. Disable feature-scroll by default on query method details to let modules opt-in.

See #3262
2025-05-09 10:24:02 +02:00
Dmitry Sulman
1bade16937 Fix Antora feature-scroll attribute.
Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>

Closes #3262
2025-05-09 10:24:01 +02:00
Mark Paluch
89a41a7354 Polishing.
Align documentation between reactive and imperative repository variants.

See #3280
Original pull request: #3281
2025-05-09 09:55:33 +02:00
Jens Schauder
5815c21d3d Improve documentation for CrudRepository.deleteById.
The documentation now clarifies that entity might get loaded and therefore possibly OptimisticLockingFailureException might get thrown.

Closes #3280
Original pull request: #3281
2025-05-09 09:55:33 +02:00
Mark Paluch
a75a0fd533 After release cleanups.
See #3254
2025-04-22 10:47:46 +02:00
Mark Paluch
23bdd4bdf3 Prepare next development iteration.
See #3254
2025-04-22 10:47:45 +02:00
Mark Paluch
33ab712af2 Release version 3.4.5 (2024.1.5).
See #3254
2025-04-22 10:45:18 +02:00
Mark Paluch
5f02942e60 Prepare 3.4.5 (2024.1.5).
See #3254
2025-04-22 10:44:58 +02:00
Tran Ngoc Nhan
3486e38e9a Update javadoc links.
This fixes javadoc links in a couple of adoc files.

Original pull request: #3260

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
(cherry picked from commit af10ad393a)
2025-04-16 17:46:31 -05:00
Tran Ngoc Nhan
17dcb5c836 Remove unused imports.
This cleans up a couple of classes by removing unused imports.

Original pull request: #3240

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
(cherry picked from commit 18f27e7e95)
2025-04-16 17:46:29 -05:00
KIMSIWOO
b064b69bf2 Fix example code in query methods details doc.
Original pull request: #3224

Signed-off-by: KIMSIWOO <sa20207@naver.com>
(cherry picked from commit c0b60b2906)
2025-04-16 17:38:12 -05:00
Jens Schauder
72802663d7 Tiny improvement of examples.
Examples for limiting queries with and without a property argument are now better mixed.
This makes it more clear that limiting and filtering by property are orthogonal concerns.

Closes #3268
Original pull request #3269
2025-04-16 10:02:43 +02:00
Mark Paluch
a861600671 After release cleanups.
See #3246
2025-03-14 08:20:02 +01:00
Mark Paluch
2b020d5789 Prepare next development iteration.
See #3246
2025-03-14 08:20:01 +01:00
Mark Paluch
aba2047b9e Release version 3.4.4 (2024.1.4).
See #3246
2025-03-14 08:17:34 +01:00
Mark Paluch
29fb105036 Prepare 3.4.4 (2024.1.4).
See #3246
2025-03-14 08:17:17 +01:00
Mark Paluch
50b74f6e92 Revise RepositoryInformation and RepositoryComposition caching.
We now use a refined strategy to cache RepositoryInformation and RepositoryComposition.

Previously, RepositoryComposition wasn't cached at all and store modules that e.g. contributed a Querydsl (or a different) fragment based on the interface declaration returned a new RepositoryComposition (and thus a different hashCode) each time RepositoryInformation was obtained leading to memory leaks caused by HashMap caching.

We now use Fragment's hashCode for the cache key resulting in RepositoryComposition being created only once for a given repository interface and input-fragments arrangement.

Closes #3252
2025-03-06 14:45:08 +01:00
Mark Paluch
bb59eb4631 Polishing.
Reformat code.

See #3168
2025-03-05 10:44:32 +01:00
mitu2
e79a2bd209 Remove branching overhead in BytecodeUtil by replacing if with else if.
Closes #3168
2025-03-05 10:44:32 +01:00
Mark Paluch
3c625cad28 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:37 +01:00
Mark Paluch
7bab2c7ac3 After release cleanups.
See #3234
2025-02-14 10:42:42 +01:00
Mark Paluch
468947773a Prepare next development iteration.
See #3234
2025-02-14 10:42:41 +01:00
Mark Paluch
fe54d7aaef Release version 3.4.3 (2024.1.3).
See #3234
2025-02-14 10:40:04 +01:00
Mark Paluch
b2d5be1c2c Prepare 3.4.3 (2024.1.3).
See #3234
2025-02-14 10:39:44 +01:00
Mark Paluch
15f254b75e Polishing.
Fix Querydsl lettercasing.

See #3243
2025-02-13 09:16:39 +01:00
Mark Paluch
232a3da2c8 Split extensions ref doc page into page with includes.
Closes #3243
2025-02-13 09:02:59 +01:00
Mark Paluch
191300a7fd Update CI Properties.
See #3234
2025-02-11 15:22:44 +01:00
Mark Paluch
b8950af82a Document that fluent findBy(…) queries must return a result.
Closes #3237
2025-01-22 14:14:00 +01:00
Mark Paluch
d197037027 Fix Querydsl Nullability annotations.
Closes #2044
2025-01-22 11:12:02 +01:00
Mark Paluch
be0d8c3f57 Document OpenFeign Querydsl support.
Closes #3236
2025-01-22 11:02:29 +01:00
Mark Paluch
c2f2cb8029 Document restrictions for zero Limit PageRequest translation.
Closes #3102
2025-01-21 10:25:11 +01:00
Mark Paluch
a9b9008c9d After release cleanups.
See #3221
2025-01-17 11:39:59 +01:00
Mark Paluch
86d793b9aa Prepare next development iteration.
See #3221
2025-01-17 11:39:58 +01:00
Mark Paluch
0345e9c0d0 Release version 3.4.2 (2024.1.2).
See #3221
2025-01-17 11:37:35 +01:00
Mark Paluch
dba527cdea Prepare 3.4.2 (2024.1.2).
See #3221
2025-01-17 11:37:19 +01:00
Mark Paluch
b60feb71e6 Skip unnamed DTO projection properties.
We now skip unnamed DTO projection properties and issue a warning log to raise awareness.

Skipping unnamed (null) properties avoids identification as DTO and only selects properties stemming from named constructor arguments.

Add tests for Kotlin data classes using value classes for verification.

Closes #3225
2025-01-15 12:21:25 +01:00