Mark Paluch
6e5a18609f
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
1 month ago
Mark Paluch
bbf40ecffe
Prepare issue branch.
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
2 months ago
Tran Ngoc Nhan
e4b35bfb96
Remove unused imports.
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Original pull request #3315
2 months ago
Tran Ngoc Nhan
a8be22ecf9
Fix typos
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Original pull request #3429
2 months ago
Jongil Kim
0d851565cd
Fix typos.
...
Signed-off-by: Kim Jongil <whddlf0504@naver.com>
Original pull request #3430
2 months ago
Jens Schauder
a849d6c7b5
Polishing.
...
Improve wording.
Original pull request #3438
2 months ago
Tran Ngoc Nhan
32ae986db4
Fix Javadoc typos.
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Original pull request #3438
2 months ago
Jens Schauder
0ef2a1a9b0
Polishing.
...
Formatting.
Original pull request #3408
2 months ago
Tran Ngoc Nhan
26057176d2
Remove unused method.
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Original pull request #3408
2 months ago
Mark Paluch
4d3efbfbf4
Polishing.
...
Remove MethodParameter.initParameterNameDiscovery(…) calls using DefaultParameterNameDiscoverer as MethodParameter uses the shared DefaultParameterNameDiscoverer instance already.
See #3431
Original pull request: #3432
2 months ago
Christoph Strobl
da117b04bf
Use shared instance of `DefaultParameterNameDiscoverer`.
...
Closes #3431
Original pull request: #3432
2 months ago
Mark Paluch
40663fd5ec
Extend license header copyright years to present.
...
See #3434
3 months ago
Mark Paluch
a4fd7d3f82
Polishing.
...
Fix Javadoc URLs.
See #3423
3 months ago
Tran Ngoc Nhan
1299c0855e
Correct Javadoc `@link` references in test Java files.
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Original pull requesst: #3426
3 months ago
Mark Paluch
804cb2342b
Update CI Properties.
...
See #3407
3 months ago
Mark Paluch
7fd7753aab
Polishing.
...
Avoid var usage.
See #3424
4 months ago
Mark Paluch
92df68b226
Set `ApplicationEventPublisher` on repository factory if it implements `ApplicationEventPublisherAware`.
...
Closes #3424
4 months ago
Mark Paluch
162dd83578
Polishing.
...
Improve Javadoc.
See #3423
4 months ago
Mark Paluch
7cb6301676
Refine `repositoryBaseClass` property configuration for `@Enable…Repositories` repository factory definitions.
...
Also extend documentation for repository factory and factory bean customization.
Closes #3423
4 months ago
Oliver Drotbohm
99af10d76c
Adapt to invocation chain changes in JacksonJsonHttpMessageConverter.canWrite(…).
...
Fixes GH-3421.
4 months ago
Mark Paluch
dc6f7f0eab
Refine Fluent Query reference documentation.
...
Closes #3419
4 months ago
Mark Paluch
12d78b7550
Polishing.
...
Reformat code.
See #3414
Original pull request: #3415
4 months ago
Christoph Strobl
1aa3b06a3e
Retrieve `Environment` from `RegisteredBean`.
...
Closes #3414
Original pull request: #3415
4 months ago
Mark Paluch
3ae9e791ff
Polishing.
...
Use mapNotNull(…) instead of filter + map.
See #3413
4 months ago
Mark Paluch
3c910717f6
Update reactive auditing documentation considering `Authentication` can be `null`.
...
Closes #3413
4 months ago
Mark Paluch
0a269466f3
Defer `ReturnedClass.inputProperties` lookup.
...
We now deferr input properties lookup to avoid eager parameter introspection and therefore potentially logging of missing property names even in case these are not required.
Also, introduce isDtoProjection() and isInterfaceProjection() methods to simplify calling code typically introspecting ReturnedType.getReturnType().isInterface().
Closes #3410
4 months ago