3160 Commits

Author SHA1 Message Date
Mark Paluch
48bf003144 Polishing.
Fix documentation build profile and path.

See #3314
2025-06-17 09:22:06 +02:00
Tran Ngoc Nhan
f306e17282 Update readme with DCO and Maven wrapper links.
Closes #3314

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-06-17 09:22:05 +02:00
Mark Paluch
7a9b13c92e After release cleanups.
See #3293
2025-06-13 13:42:19 +02:00
Mark Paluch
3b2b9fb51c Prepare next development iteration.
See #3293
2025-06-13 13:42:18 +02:00
Mark Paluch
50207d0c24 Release version 3.5.1 (2025.0.1).
See #3293
2025-06-13 13:39:34 +02:00
Mark Paluch
1ed424ad3c Prepare 3.5.1 (2025.0.1).
See #3293
2025-06-13 13:39:14 +02:00
Mark Paluch
c97d75c5ac Polishing.
Move off deprecated API in tests.

See #3305
Original pull request: #3307
2025-06-12 11:27:22 +02:00
Christoph Strobl
6605a6bcde Move off deprecated API.
See #3305
Original pull request: #3307
2025-06-12 11:27:19 +02:00
Christoph Strobl
cc344a1dd2 Move off deprecated API in AOT support.
Closes #3305
Original pull request: #3307
2025-06-12 11:27:16 +02:00
Mark Paluch
033eba88e6 Polishing.
Extract method.

See #3310
2025-06-11 09:11:25 +02:00
Mark Paluch
f0c39ed975 Defer MappingContext access inPersistentEntities.
We now fetch mapping contexts from Iterable<MappingContext> later, when accessing PersistentEntities API to defer potential resolution when e.g. obtaining beans from a BeanFactory.

Closes #3310
2025-06-11 09:11:25 +02:00
Christoph Strobl
77e0219a9b Polishing.
Revert changes targeting primitive and array types explicitly to extract minimal inversive change switching getPackage().getName() to getPackageName().

Original Pull Request: #3284
2025-06-05 12:46:52 +02:00
ckdgus0808
9d1e1c6b74 Fix NPE in Q type resolution for primitive and wrapper types.
Closes: #3284
See: spring-projects/spring-data-mongodb#4958

Signed-off-by: ckdgus08 <ckdgus0808@naver.com>
2025-06-05 12:46:14 +02:00
Mark Paluch
1f04748479 Avoid warn logging for custom converters using Collection.
If the collection type is not a store-native type, we no longer issue a warn log. Converters can be registered for List or Collection types and convert into a different, non-collection type while being a support converter instead of forcing a specific write type.

This is e.g. the case for MongoDB where a List of numbers is converted to the Vector type.

Closes #3306
2025-06-03 17:12:23 +02:00
Mark Paluch
9951fa4ade Polishing.
Add unit tests.

See #3304
2025-06-03 11:51:38 +02:00
Yanming Zhou
7530890434 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:36 +02:00
Mark Paluch
e611c2fab0 After release cleanups.
See #3275
2025-05-16 11:31:36 +02:00
Mark Paluch
867f542373 Prepare next development iteration.
See #3275
2025-05-16 11:31:35 +02:00
Mark Paluch
756595d8d8 Release version 3.5 GA (2025.0.0).
See #3275
2025-05-16 11:28:30 +02:00
Mark Paluch
d32113bd43 Prepare 3.5 GA (2025.0.0).
See #3275
2025-05-16 11:28:09 +02:00
Mark Paluch
ecfe77c40f Polishing.
Reformat code, refine Javadoc.

See #3258
Original pull request: #3277
2025-05-16 09:35:09 +02:00
Chris Bono
39618faf01 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:34:36 +02:00
Mark Paluch
3e44ad219b Update CI Properties.
See #3275
2025-05-12 09:33:04 +02:00
Mark Paluch
5dae7a7ad2 Update CI Properties.
See #3275
2025-05-12 09:00:22 +02:00
Mark Paluch
f000243aa6 Update CI Properties.
See #3275
2025-05-12 08:56:21 +02:00
Mark Paluch
5a2f2bfd5c Update CI Properties.
See #3275
2025-05-12 08:55:53 +02:00
Mark Paluch
cefc9232d1 Polishing.
Add missing Antora property.

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

See #3287
Original pull request: #3219
2025-05-09 11:08:00 +02:00
xeounxzxu
f9d5369ff1 Avoid multiple DeferredRepositoryInitializationListener registrations in RepositoryConfigurationDelegate.
Closes #3287
Original pull request: #3219
2025-05-09 11:07:39 +02:00
Oscar Hernandez
4ea94056cc Fix NPE in CrudRepositoryExtensions.
Closes #3187
2025-05-09 10:49:13 +02:00
Yanming Zhou
b4d2391cdb Use List.of() and Set.of() where feasible.
Closes #3231
2025-05-09 10:45:18 +02:00
Seungrae
95d9637edc Fix typos in reference documentation and Javadoc.
Signed-off-by: Seungrae Kim <obey1342@gmail.com>

Closes #3235
2025-05-09 10:42:02 +02:00
Mark Paluch
64def32d83 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:23:03 +02:00
Dmitry Sulman
ad25ad9703 Fix Antora feature-scroll attribute.
Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>

Closes #3262
2025-05-09 10:22:53 +02:00
Mark Paluch
2534f176a7 Polishing.
Align documentation between reactive and imperative repository variants.

See #3280
Original pull request: #3281
2025-05-09 09:55:21 +02:00
Jens Schauder
96b5b72013 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:09 +02:00
Mark Paluch
bfc380fbea Allow subclasses of ReturnedType.
Closes #3286
2025-05-05 17:01:22 +02:00
Mark Paluch
e17dd32b7f After release cleanups.
See #3255
2025-04-22 11:26:48 +02:00
Mark Paluch
9b3a44aba5 Prepare next development iteration.
See #3255
2025-04-22 11:26:47 +02:00
Mark Paluch
2c4b60e2cf Release version 3.5 RC1 (2025.0.0).
See #3255
2025-04-22 11:24:11 +02:00
Mark Paluch
7d07b12dc4 Prepare 3.5 RC1 (2025.0.0).
See #3255
2025-04-22 11:23:50 +02:00
Mark Paluch
646aea4cc0 Polishing.
Reorder methods. Tweak Javadoc, add references to parameter naming. Add usage to newly introduced methods.

See #3088
Original pull request: #3272
2025-04-22 09:05:53 +02:00
Chris Bono
a978209497 Add getRequiredName and hasName API to org.springframework.data.mapping.Parameter.
Introduces a more convenient API to simplify the caller side especially for conditionals that want to determine whether a parameter name is present.

Closes #3088
Original pull request: #3272
2025-04-22 09:03:57 +02:00
KIMSIWOO
c0b60b2906 Fix example code in query methods details doc.
Original pull request: #3224

Signed-off-by: KIMSIWOO <sa20207@naver.com>
2025-04-16 16:53:50 -05:00
Jens Schauder
ceae0dd234 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:01:15 +02:00
Tran Ngoc Nhan
af10ad393a 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>
2025-04-11 18:58:18 -05:00
Tran Ngoc Nhan
18f27e7e95 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>
2025-04-11 18:50:26 -05:00
Mark Paluch
1b9e36c929 Accept Function to create Parameters in QueryMethod.
We now no longer rely on overriding a method in the QueryMethod constructor but accept a Function to create Parameters.

Closes #3263
2025-04-09 12:04:07 +02:00
Mark Paluch
f4e9581d23 After release cleanups.
See #3247
2025-03-14 09:33:43 +01:00
Mark Paluch
494bca5647 Prepare next development iteration.
See #3247
2025-03-14 09:33:42 +01:00