Gichan Im
f496b296c3
Merge 31ab0cbfc2 into f4201529bc
5 days 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
5 days ago
Mark Paluch
95b6d243c0
Polishing.
...
Replace javadoc macros with absolute Javadoc links to skip inclusion verification.
See: #3400
6 days 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
6 days 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
6 days ago
Mark Paluch
b27e1b3bc6
Adopt generics to Kotlin 2.0 rules.
...
See spring-projects/spring-data-build#2772 .
6 days 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 .
6 days ago
Christoph Strobl
b06af675d4
Update License Headers.
...
Original Pull Request: #3409
6 days 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
6 days ago
Mark Paluch
7a55f58a4a
Update CI Properties.
...
See #3407
1 week ago
Tran Ngoc Nhan
4a4793d479
Fix typos in Javadoc.
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Closes #3440
3 weeks ago
Mark Paluch
52d7d95154
Add Readme templates.
...
See spring-projects/spring-data-build#2758
4 weeks ago
Gichan Im
31ab0cbfc2
Add ReactiveCrudRepositoryInvoker for reactive repository population support.
...
This commit introduces ReactiveCrudRepositoryInvoker to enable repository
population with ReactiveCrudRepository. The invoker blocks on reactive types
to provide synchronous execution semantics required by the repository
populator infrastructure.
Closes #2090
Signed-off-by: Gichan Im <lkjim0757@naver.com>
4 weeks ago
Jens Schauder
5e3397c9cf
Polishing.
...
Undo one wierd import replacement.
Original pull request #3315
4 weeks ago
Tran Ngoc Nhan
e4b35bfb96
Remove unused imports.
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Original pull request #3315
4 weeks ago
Tran Ngoc Nhan
a8be22ecf9
Fix typos
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Original pull request #3429
4 weeks ago
Jongil Kim
0d851565cd
Fix typos.
...
Signed-off-by: Kim Jongil <whddlf0504@naver.com>
Original pull request #3430
4 weeks ago
Jens Schauder
a849d6c7b5
Polishing.
...
Improve wording.
Original pull request #3438
4 weeks ago
Tran Ngoc Nhan
32ae986db4
Fix Javadoc typos.
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Original pull request #3438
4 weeks ago
Jens Schauder
0ef2a1a9b0
Polishing.
...
Formatting.
Original pull request #3408
4 weeks ago
Tran Ngoc Nhan
26057176d2
Remove unused method.
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Original pull request #3408
4 weeks 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
4 weeks ago
Christoph Strobl
da117b04bf
Use shared instance of `DefaultParameterNameDiscoverer`.
...
Closes #3431
Original pull request: #3432
4 weeks ago
Mark Paluch
40663fd5ec
Extend license header copyright years to present.
...
See #3434
1 month ago
Mark Paluch
a4fd7d3f82
Polishing.
...
Fix Javadoc URLs.
See #3423
2 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
2 months ago
Mark Paluch
804cb2342b
Update CI Properties.
...
See #3407
2 months ago
Mark Paluch
7fd7753aab
Polishing.
...
Avoid var usage.
See #3424
2 months ago
Mark Paluch
92df68b226
Set `ApplicationEventPublisher` on repository factory if it implements `ApplicationEventPublisherAware`.
...
Closes #3424
2 months ago
Mark Paluch
162dd83578
Polishing.
...
Improve Javadoc.
See #3423
2 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
2 months ago
Oliver Drotbohm
99af10d76c
Adapt to invocation chain changes in JacksonJsonHttpMessageConverter.canWrite(…).
...
Fixes GH-3421.
2 months ago
Mark Paluch
dc6f7f0eab
Refine Fluent Query reference documentation.
...
Closes #3419
2 months ago
Mark Paluch
12d78b7550
Polishing.
...
Reformat code.
See #3414
Original pull request: #3415
2 months ago
Christoph Strobl
1aa3b06a3e
Retrieve `Environment` from `RegisteredBean`.
...
Closes #3414
Original pull request: #3415
2 months ago
Mark Paluch
3ae9e791ff
Polishing.
...
Use mapNotNull(…) instead of filter + map.
See #3413
2 months ago
Mark Paluch
3c910717f6
Update reactive auditing documentation considering `Authentication` can be `null`.
...
Closes #3413
2 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
3 months ago
Mark Paluch
039ce57a8a
After release cleanups.
...
See #3382
3 months ago
Mark Paluch
4a0e2a7c57
Prepare next development iteration.
...
See #3382
3 months ago
Mark Paluch
8e448a96d0
Release version 4.0 GA (2025.1.0).
...
See #3382
3 months ago
Mark Paluch
45e947a1a1
Prepare 4.0 GA (2025.1.0).
...
See #3382
3 months ago
Mark Paluch
f3308bed7a
Update Update security documentation.
...
See #3382
3 months ago
Jens Schauder
0e2fb436f0
Polishing.
...
Fine tuned wording.
Fixed a minor typo.
Original pull request #3384
See #3383
3 months ago
Christoph Strobl
0397b8db5b
Update Auditing Documentation to latest changes.
...
Original pull request #3384
See #3383
3 months ago
Jens Schauder
64a53db55d
Added a stable link name to the AOT section.
...
Original pull request #3384
See #3383
3 months ago
Christoph Strobl
6fde0a0fee
Update AOT documentation.
...
Original pull request #3384
See #3383
3 months ago
Oliver Drotbohm
09623aa5eb
Remove explicit version declarations from jMolecules dependencies.
...
Fixes GH-3403.
3 months ago
Mark Paluch
a570d7a744
Polishing.
...
Replace test usage of SimpleMetadataReaderFactory with MetadataReaderFactory.create(…).
See #3402
3 months ago
Oliver Drotbohm
128e1a0c4d
Switch to `MetadataReaderFactory` in `DefaultProjectionInformation`.
...
To benefit from Spring's usage of the Classfile API on Java > 24.
Closes #3402
3 months ago