Christoph Strobl
a325944c4e
Prepare 4.1 M2 (2026.0.0).
...
See #3455
2 weeks ago
Christoph Strobl
1e35f68d14
Add test for AuditableBeanWrapperFactory.
...
Assert AuditableBeanWrapperFactory behaves correctly under load.
See: #3442
2 weeks ago
Mark Paluch
2a5a92edfd
Polishing.
...
Reduce Stream usage.
Original Pull Request: #3442
2 weeks ago
Mark Paluch
323bae9e49
Initialize auditing metadata for known persistent entities.
...
We're warming the cache for known entities.
Closes : #3441
Original Pull Request: #3442
2 weeks ago
Christoph Strobl
60651059a9
Provide consistent behaviour for transient properties when creating objects.
...
Also centralize primitive default value logic.
Update tests, javaodc and copyright headers.
Original Pull Request: #2985
3 weeks ago
Mark Paluch
00c4ffec0d
Polishing.
...
Add missing Override annotations, consistently use literal tags for boolean values.
Original Pull Request: #2985
3 weeks ago
Mark Paluch
a3e8b2711f
Include transient properties in persistent entity metamodel.
...
We also ignore transient properties used in constructors. Regular transient properties default to the Java default values (null for object types, 0 for numeric primitives and so on).
Using transient properties allows leveraging Kotlin's defaulting mechanism to infer default values.
Record components can also be annotated with the Transient annotation to allow record construction. While this can be useful, we recommend using the Value annotation to use SpEL expressions to determine a useful value.
Closes : #2985
3 weeks ago
Mark Paluch
47685b9eac
Adopt tests to Kotlin 2.3.20-RC2.
...
See spring-projects/spring-data-build#2813
3 weeks ago
Mark Paluch
1375fee92e
Polishing.
...
Update Exception hierarchy and introduce PropertyResolutionException.
Original Pull Request: #3466
3 weeks ago
Christoph Strobl
7ec0e4e51c
Decouple SerializableLambdaReader from spring-tx.
...
Since we're using the SerializableLambdaReader from within a GraalVM Feature it needs to operate without references to types potentially not present at build time.
Original Pull Request: #3466
3 weeks ago
Christoph Strobl
5383073976
Fail fast during AOT processing of TypedPropertyPath.
...
Original Pull Request: #3466
3 weeks ago
Mark Paluch
626b6c4864
Add `TypedPropertyPathFeature` to lambda reachability metadata.
...
We now provide a feature that introspects TypedPropertyPath and PropertyReference lambdas and registers GraalVM metadata for lambdas and the referenced class.
See: #3400
Closes : #3466
3 weeks ago
wonderfulrosemari
ef42e7e1d3
Polishing.
...
Refine public API Javadoc descriptions.
Closes #2602
Original pull request: #3465
Signed-off-by: wonderfulrosemari <whwlsgur1419@naver.com>
3 weeks ago
Christoph Strobl
60296f3fe1
Polishing.
...
Original Pull Request: #3458
4 weeks ago
Mark Paluch
66a86fa06d
Render method parameter annotations in AOT repositories.
...
We now include annotations of repository query method parameters to allow introspection through Parameters for reflective checks.
See: spring-projects/spring-data-relational#2245
Closes : #3458
4 weeks ago
Christoph Strobl
9f78b94860
Update Nullable constraints.
...
See: #3170
4 weeks ago
Mark Paluch
9041cf82be
Update GitHub action branch triggers.
...
See #3455
1 month ago
Mark Paluch
f7bd4b0503
Refine Antora-build.
...
See spring-projects/spring-data-build#2797
1 month ago
Mark Paluch
b8a84756fc
Polishing.
...
Simplify code and tests.
See #3459
Original pull request: #3461
1 month ago
seongjun.ha
d4a6f45c3e
Ignore events of unrelated `BeanFactory` in `DeferredRepositoryInitializationListener`.
...
Compare the event's ApplicationContext.getBeanFactory() with the listener's
BeanFactory to filter out child context events, preventing premature
repository initialization.
Closes #3459
Original pull request: #3461
Signed-off-by: seongjun.ha <seongjun.ha@rapportlabs.kr>
1 month ago
Tran Ngoc Nhan
ebfa612eb7
Fix missing braces.
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Closes #3462
1 month ago
Mark Paluch
1900a98771
Update GitHub action branch triggers.
...
See #3455
1 month ago
Christoph Strobl
ec57585929
Remove obsolete CI configuration.
...
See spring-projects/spring-data-build#2764
1 month ago
Mark Paluch
49c9dd7be9
Add GitHub actions CI.
...
See spring-projects/spring-data-build#2764
1 month ago
Mark Paluch
648db19777
Polishing.
...
Add Kotlin compilation to distribution profile as compilation for Javadoc requires Kotlin-compiled types.
See #3407
1 month ago
Mark Paluch
d1cbfc02c1
After release cleanups.
...
See #3407
1 month ago
Mark Paluch
257d8936f3
Prepare next development iteration.
...
See #3407
1 month ago
Mark Paluch
59670e6647
Release version 4.1 M1 (2026.0.0).
...
See #3407
1 month ago
Mark Paluch
f88be95cce
Prepare 4.1 M1 (2026.0.0).
...
See #3407
1 month ago
Mark Paluch
06da76ab9c
Polishing.
...
Use Any instead of Object for type comparison. Align copy method visibility with constructor visibility.
See spring-projects/spring-data-build#2772
1 month ago
Mark Paluch
e1fa89093c
Polishing.
...
Reformat code, add contract annotation.
See #3452
Original pull request: #3454
1 month ago
Tran Ngoc Nhan
a03a756027
Remove `Assert#notNull` for nullable `Link`.
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Closes #3452
Original pull request: #3454
1 month ago
Mark Paluch
18995084d4
Polishing.
...
Move class javadoc to class declaration.
See #3301
Original pull request: #3453
1 month ago
Chris Bono
79d7a2801b
Stop supporting params not annotated with `@ProjectedPayload`.
...
This commit drops support for projections if a parameter (or the parameter type)
is not explicitly annotated with `@ProjectedPayload`. A warning is still logged
in these cases to help user understand why the parameter is not being projected.
Also, simplify tests.
Closes #3301
Original pull request: #3453
Related ticket: #3298
1 month ago
Mark Paluch
f4201529bc
Adapt composed property paths to Kotlin 2.0.
...
Kotlin 2 now no longer implements serializable lambdas for SAM bridging through Java's writeReplace mechanism producing SerializedLambda but rather through a SAM class that captures the function object we're looking for.
Also, skip intrinsics calls when introspecting Kotlin classfiles.
Also, use ReflectJvmMapping instead of internal KPropertyImpl types as these will be removed with Kotlin 2.3.
Closes #3451
2 months ago
Mark Paluch
95b6d243c0
Polishing.
...
Replace javadoc macros with absolute Javadoc links to skip inclusion verification.
See: #3400
2 months ago
Mark Paluch
cbc9115769
Skip Maven compilation for distribution run.
...
Kotlin compilation is disabled as well and serializable lambdas require Kotlin interface access.
See: #3400
2 months ago
Mark Paluch
9e2de95ebe
Fix `TypedPropertyPath.toDotPath()` resolution for raw paths.
...
We now properly implement resolution and delegation for raw paths not requiring TypedPropertyPath.of(…) usage at the call site.
See: #3400
Original Pull Request: #3409
2 months ago
Mark Paluch
b27e1b3bc6
Adopt generics to Kotlin 2.0 rules.
...
See spring-projects/spring-data-build#2772 .
2 months ago
Mark Paluch
60fea54784
Remove Kotlin 1.8 language version.
...
Default to 2.0 as per Spring Data build to enable newer Kotlin plugin versions.
See spring-projects/spring-data-build#2772 .
2 months ago
Christoph Strobl
b06af675d4
Update License Headers.
...
Original Pull Request: #3409
2 months ago
Mark Paluch
820af2a296
Introduce first-class type-safe property path references.
...
We now support type-safe property paths and property references:
Java variants:
PropertyPath.from("name", Person.class) // existing String-based API
PropertyPath.of(Person::getName) // type-safe property reference expression
PropertyPath.from("address.country", Person.class) // existing nested path API
PropertyPath.of(Person::getAddress).then(Address::getCountry) // type-safe composed path expression
PropertyReference.of(Secret::getSecret)
Kotlin variants:
PropertyReference.of(Secret::secret)
PropertyPath.of(Person::address / Address::city)
allowing type-safe usage through e.g.:
Sort.by(Person::getFirstName, Person::getLastName)
Closes : #3400
Original Pull Request: #3409
2 months ago
Mark Paluch
7a55f58a4a
Update CI Properties.
...
See #3407
2 months ago
Tran Ngoc Nhan
4a4793d479
Fix typos in Javadoc.
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Closes #3440
2 months ago
Mark Paluch
52d7d95154
Add Readme templates.
...
See spring-projects/spring-data-build#2758
2 months ago
Jens Schauder
5e3397c9cf
Polishing.
...
Undo one wierd import replacement.
Original pull request #3315
3 months ago
Tran Ngoc Nhan
e4b35bfb96
Remove unused imports.
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Original pull request #3315
3 months ago
Tran Ngoc Nhan
a8be22ecf9
Fix typos
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Original pull request #3429
3 months ago
Jongil Kim
0d851565cd
Fix typos.
...
Signed-off-by: Kim Jongil <whddlf0504@naver.com>
Original pull request #3430
3 months ago
Jens Schauder
a849d6c7b5
Polishing.
...
Improve wording.
Original pull request #3438
3 months ago