Commit Graph

3197 Commits

Author SHA1 Message Date
Mark Paluch 8cabeca24f Filter bridge methods from DefaultCrudMethods lookup.
We now filter bridge methods when looking up the most specific method when looking for an override.

Closes #3401
2025-11-11 15:04:58 +01:00
Tran Ngoc Nhan 8306220931 Remove duplicate documentation heading identifiers.
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Closes #3399
2025-11-10 08:37:54 +01:00
Jens Schauder 4c073e929f Fix typo on QueryAnnotation Javadoc.
Closes #3395
2025-11-04 09:52:02 +01:00
Mark Paluch f38c216c4f Polishing.
Refine KotlinInstantiationDelegate design, improve encapsulation to avoid handing in and out values from lookups.

Replace stream usage with loops, remove unused code, avoid duplicate parameter lookups.

See #3389
Original pull request: #3390
2025-10-27 11:04:31 +01:00
Mark Paluch b935b293c9 Refine Kotlin constructor detection.
Attempt two-pass constructor detection in KotlinInstantiationDelegate to detect private constructors that are not synthetic ones.

See #3389
Original pull request: #3390
2025-10-27 10:51:19 +01:00
Edward Poot eb1ad95f2b Add test cases for Kotlin private constructor instantiation edge cases.
Add two test cases to demonstrate a bug in Kotlin constructor resolution when dealing with private constructors.

Closes #3389
Original pull request: #3390

Signed-off-by: Edward Poot <edwardmp@gmail.com>
2025-10-27 10:51:19 +01:00
Christoph Strobl 22eab8aba7 After release cleanups.
See #3359
2025-10-17 11:39:06 +02:00
Christoph Strobl bfcc16e7d4 Prepare next development iteration.
See #3359
2025-10-17 11:39:04 +02:00
Christoph Strobl ff4e35d763 Release version 3.5.5 (2025.0.5).
See #3359
3.5.5
2025-10-17 11:34:12 +02:00
Christoph Strobl 9e588f681f Prepare 3.5.5 (2025.0.5).
See #3359
2025-10-17 11:33:04 +02:00
Oliver Drotbohm 2fb942d362 Explicitly declare jMolecules DDD dependency.
Fixes GH-3379.
2025-10-16 13:00:19 +02:00
Mark Paluch 35774bee38 Polishing.
Replace space indents with tabs. Reformat code.

See #3375
Original pull request: #3376
2025-10-08 11:27:31 +02:00
Kamil Krzywanski 549e8d4037 Improve PropertyMatch performance using precompiled regex patterns.
Signed-off-by: Kamil Krzywanski <kamilkrzywanski01@gmail.com>
Closes #3375
Original pull request: #3376
2025-10-08 11:27:31 +02:00
Mark Paluch 09cb6bb820 Update GitHub Actions.
See #3359
2025-09-23 10:51:45 +02:00
jbj338033 972a76d022 Fix potential race condition in Lazy.getNullable().
The getNullable() method had a subtle race condition where the value field
could be read as null after being assigned but before the resolved flag was
set to true. This could occur if another thread read the value between lines
136 and 137.

This change maintains the existing behavior documented in the class Javadoc
that the supplier may be called multiple times under concurrent access, while
fixing the potential for incorrect null returns.

Signed-off-by: jbj338033 <jbj338033@gmail.com>
Closes #3368
2025-09-23 08:45:36 +02:00
Mark Paluch 0ed5609503 Document placeholder and Ant-style pattern support for @Enable…Repositories.
Closes #3366
2025-09-19 08:58:00 +02:00
Mark Paluch bd4c8082f3 Remove EntityInformation customization from Entity State Detection Strategies.
Customizing EntityInformation has only a single use-case within JPA. All other modules should use customization using the mentioned mechanisms as the underlying MappingContext handles typically IsNew detection but customizing the MappingContext (PersistentEntity) is a deeply involved task.

Closes #3364
2025-09-16 16:46:13 +02:00
Christoph Strobl 52b3e508d0 After release cleanups.
See #3348
2025-09-12 11:45:33 +02:00
Christoph Strobl ddab176bb6 Prepare next development iteration.
See #3348
2025-09-12 11:45:32 +02:00
Christoph Strobl 405e32cc5f Release version 3.5.4 (2025.0.4).
See #3348
3.5.4
2025-09-12 11:41:38 +02:00
Christoph Strobl 500becd3b7 Prepare 3.5.4 (2025.0.4).
See #3348
2025-09-12 11:41:07 +02:00
Mark Paluch 1e6f212aae Refine raw Window scrolling documentation example.
Avoid skipping last batch, avoid out-of-bounds exception.

Closes #3352
Co-authored-by: r6hk <rennen0929@gmail.com>
2025-09-08 10:14:38 +02:00
Mark Paluch 530a60246e Refine version properties for documentation build.
See spring-projects/spring-data-build#2638
2025-08-18 09:12:37 +02:00
Mark Paluch b57a0b99f0 After release cleanups.
See #3333
2025-08-15 10:04:16 +02:00
Mark Paluch 35787fe190 Prepare next development iteration.
See #3333
2025-08-15 10:04:15 +02:00
Mark Paluch 43b42c042e Release version 3.5.3 (2025.0.3).
See #3333
3.5.3
2025-08-15 10:01:35 +02:00
Mark Paluch 479a43fe21 Prepare 3.5.3 (2025.0.3).
See #3333
2025-08-15 10:01:13 +02:00
Mark Paluch 5bb8ff1739 Reorder antora keys.
See #3335
2025-08-14 17:20:21 +02:00
Mark Paluch 4af2b62d78 Upgrade to XMLBeam 1.4.26.
Closes #3343
2025-08-08 15:06:23 +02:00
Mark Paluch 1127a33856 Upgrade to XMLBeam 1.4.25.
Closes #3341
2025-08-06 13:55:29 +02:00
Mark Paluch 375f97ee33 Fix TypeInformation.OBJECT initialization.
We now create a decoupled instance of ClassTypeInformation to avoid initialization visibility cycle issues when TypeInformation.OBJECT (and other fields) are initialized with null because ClassTypeInformation.OBJECT hasn't been initialized yet.

Closes #3340
2025-08-05 13:34:59 +02:00
Mark Paluch 63b92df080 After release cleanups.
See #3312
2025-07-18 10:30:33 +02:00
Mark Paluch 37d87251de Prepare next development iteration.
See #3312
2025-07-18 10:30:32 +02:00
Mark Paluch b1672a6832 Release version 3.5.2 (2025.0.2).
See #3312
3.5.2
2025-07-18 10:27:58 +02:00
Mark Paluch 0b9ff4dde0 Prepare 3.5.2 (2025.0.2).
See #3312
2025-07-18 10:27:38 +02:00
Mark Paluch ae80c0e72f Upgrade to Maven Wrapper 3.9.11.
See #3329
2025-07-17 14:00:50 +02:00
Oliver Drotbohm 3fc9aa6793 Fix nullability declaration of PagedModel.
Fixes GH-3313
2025-06-17 15:35:16 +02:00
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
3.5.1
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