Chris Bono
8baeca5a25
Simplifies ProxyingHandlerMethodArgumentResolverUnitTests
...
- clarifies controller method names
- groups test methods by what they are doing
See #3301
2 days ago
Chris Bono
a1b7c1a585
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.
Closes #3301
2 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
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
Tran Ngoc Nhan
4a4793d479
Fix typos in Javadoc.
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Closes #3440
3 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
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
45e947a1a1
Prepare 4.0 GA (2025.1.0).
...
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
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
Mark Paluch
44e8699628
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
3 months ago
Tran Ngoc Nhan
2f109c6ce9
Remove duplicate documentation heading identifiers.
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Closes #3399
3 months ago
Mark Paluch
2e0faddd41
Remove deprecated API from `AotQueryMethodGenerationContext`.
...
Closes #3398
3 months ago
Mark Paluch
c4527daaa0
Enable `Streamable` for `Pageable` use.
...
Closes #3397
3 months ago
Mark Paluch
05f5059930
Move `Method` string rendering from `QueryCreationException` to `ReflectionUtils`.
...
Closes #3396
3 months ago
Jens Schauder
c2f8cf0b89
Fix typo on QueryAnnotation Javadoc.
...
Closes #3395
3 months ago
Stéphane Nicoll
3af57ca8bd
Adapt to change in Spring Framework 7.0.0 snapshot.
...
Closes : #3394
Signed-off-by: Stéphane Nicoll <stephane.nicoll@broadcom.com>
3 months ago
Christoph Strobl
4b97fe8856
Prepare 4.0 RC2 (2025.1.0).
...
See #3392
3 months ago
Christoph Strobl
d8718b46b7
Partially revert auditing bean registration changes.
...
Restoring bean registration while keeping the optional nature of AuditorAware in the Reactive-/AuditingHandler.
The changes done previously caused AOT code generation to fail with:
org.springframework.aot.generate.UnsupportedTypeValueCodeGenerationException: Code generation does not support org.springframework.beans.factory.config.AutowiredPropertyMarker
See: #3177
3 months ago