Mark Paluch
ee9c13ab87
Prepare 3.2.2 (2023.1.2).
...
See #3009
2 years ago
Oliver Drotbohm
a7aef1556a
GH-2987 - Fix broken serialization of Unpaged instances.
...
We now reinstantiate the serialization of Unpaged instances as plain INSTANCE strings as they were rendered before Unpaged was changed from an enum into a class.
Note, that we still strongly advise, not to serialize Page instances directly as it's a domain type, its Jackson-level surface is subject to change if we need to change the type's API for unrelated reasons.
2 years ago
Mark Paluch
fc6533dce3
Document Window<T> as a query return type.
...
Closes #3019
2 years ago
Mark Paluch
0093c9085b
Consider enclosing class for dynamic projection parameter detection.
...
We now consider the enclosing class to determine correct generic typing.
Closes #3020
2 years ago
Mark Paluch
6623bd8d91
Polishing.
...
Add missing override annotations. Refactor TypeFilterFunction into function to avoid additional property references.
Move off deprecated code.
Closes #3016
2 years ago
Mark Paluch
2b684ce554
Extend license header copyright years to 2024.
...
See #3014
2 years ago
Mark Paluch
de1460655b
Prepare 3.2.1 (2023.1.1).
...
See #2980
2 years ago
Mark Paluch
f0bc54a57c
Polishing.
...
Fix letter casing.
See #3006
Original pull request: #3007
2 years ago
Christoph Strobl
d3a56e668b
Add `Limit` parameter to section in reference documentation.
...
Closes #3006
Original pull request: #3007
2 years ago
Mark Paluch
686868fe3c
Resolve generics for Kotlin Value Boxing inspection.
...
To introspect value boxing rules, we now resolve Kotlin type parameters.
Closes #2986
2 years ago
Mark Paluch
25a24082dd
Polishing.
...
Use IdentityHashMap for parameter lookup.
See #3000
2 years ago
leeyohan93
2642609ccb
Enhance Kotlin Class Conversion by Minimizing Equals Comparisons.
...
Closes #3000
2 years ago
Mark Paluch
4ec7e98ae5
Polishing.
...
Fix Javadoc reference. Reorder tags.
See #2531
2 years ago
Oliver Drotbohm
9c99164ad6
Revert "Properly render sort variable variable as composite."
...
This reverts commit fa9d7bdce7 as the change has too many side effects to be included in a bugfix version.
Related ticket: GH-2531.
2 years ago
Rajesh Anthari
144051b56d
Remove extra `/api` path segement in reference documentation.
...
Closes #2998
2 years ago
Mark Paluch
52cdfe2631
Introduce `ParametersSource` to Parameters.
...
We now provide a ParametersSource object to create MethodParameter objects associated with the enclosing class so parameters can resolve generics properly.
Closes #2996
2 years ago
Oliver Drotbohm
ba4526edb6
Avoid records as cache keys for performance reasons.
...
Fixes GH-2997.
2 years ago
Julien Béti
fa9d7bdce7
Properly render sort variable variable as composite.
...
HateoasSortHandlerMethodArgumentResolver now renders the sort template variable as composite to properly indicate that it can be submitted multiple times.
Fixes GH-2531.
Original pull request GH-2945.
2 years ago
Mark Paluch
78267402bf
Omit asymmetric Kotlin properties.
...
We now skip adding asymmetric Kotlin properties if the getter returns a different type than the setter (e.g. due to value boxing).
Closes #2993
2 years ago
Mark Paluch
8db69931e4
Include inherited non-Kotlin properties in `KotlinBeanInfoFactory`.
...
We now include properties from non-Kotlin supertypes if the supertype is not a Kotlin type and not Object.
Closes #2994
2 years ago
Mark Paluch
5ac30bf620
Backoff KotlinBeanInfoFactory for enum types.
...
We now no longer contribute properties for enum types.
Closes #2990
2 years ago
Mark Paluch
801dac992e
Polishing.
...
Use for-loop instead of Java Stream API for concatenation of paths to reduce GC and CPU pressure.
See #2992
2 years ago
Mark Paluch
49f2af2b2f
Allow reuse of `TypeInformation` when obtaining a `PersistentPropertyPath`.
...
Closes #2992
2 years ago
Runbing
461c3bce0a
Fixed the URL for the Spring Data Commons documentation.
...
I fixed an incorrect URL in the antora-playbook.yml file.
Closes #2982
2 years ago
Mark Paluch
7896d0b104
Prepare 3.2 GA (2023.1.0).
...
See #2955
2 years ago
Jens Schauder
7fab81b406
Fix broken logging message.
...
Closes #2977
2 years ago
Mark Paluch
97be53bd85
Remove superfluous `@NonNull` annotations.
...
Closes #2976
2 years ago
Mark Paluch
7803230106
Document public `ScrollPosition` factory methods.
...
Closes #2975
2 years ago
Jens Schauder
3eda7e9e66
Revert "AbstractPersistentProperty now considers the owner for equals."
...
This reverts commit 633d125f1d .
The change caused build failures for Spring Data JDBC.
See #2972
Original pull request #2973
See spring-projects/spring-data-relational#1657
2 years ago
Mark Paluch
42badf256f
Polishing.
...
Fix grammar. Add note about store-specific support.
See #2960
Original pull request: #2961
2 years ago
Jens Schauder
02d780fdf3
Mention `ListPagingAndSortingRepository` in documentation.
...
Closes #2960
Original pull request: #2961
2 years ago
Mark Paluch
3c872ae7cb
Polishing.
...
Extract singular/plural form into String.format(…) for easier readability.
See #2967
2 years ago
Luis Carilla Ternero
c52520a783
Refine repository scanning finished log message.
...
Log the plural form accordingly.
Closes #2967
2 years ago
Eric Haag
fca8cb3577
Connect build to ge.spring.io.
...
Closes #2970
2 years ago
Mark Paluch
65c537cdaa
Improve equals check by caching resolved generics.
...
Closes : #2974
2 years ago
Jens Schauder
633d125f1d
AbstractPersistentProperty now considers the owner for equals.
...
This makes a difference when a property is declared in a superclass of two entities.
In such a case the property is the same, but the owner is different.
Closes #2972
Original pull request #2973
See https://github.com/spring-projects/spring-data-relational/issues/1657
2 years ago
Oliver Drotbohm
38b3099ec5
Simplify DefaultMethodInvokingMethodInterceptor.
...
As our baseline is now Java 17, we can remove all indirections to produce a Lookup previously needed to support Java 8 and 9.
Fixes #2971 .
2 years ago
Mark Paluch
96f8ee25fe
Fix include/exclude filters documentation.
...
Closes #2969
2 years ago
Mark Paluch
d83dd7e138
Un-mangle Kotlin method names in PartTree.
...
Due to shortcomings with value classes mangling and the impossible usage of JvmName on Kotlin interfaces, we're inspecting now the method name if it contains a dash (-). If so, then we truncate the method name to be able to parse it.
Closes #2965
2 years ago
Mark Paluch
f060bcfe34
Back off from Kotlin BeanInfo creation for interfaces.
...
KotlinBeanInfoFactory no longer creates a BeanInfo for interfaces to follow general BeanInfo semantics.
Closes #2964
2 years ago
Yanming Zhou
5dbd956a28
Use correct `ScrollPosition` factory methods in reference docs.
...
Closes #2963
2 years ago
Mark Paluch
d6507fe45f
Polishing.
...
Tweak Javadoc. Refine tests.
See #2491
2 years ago
Jens Schauder
2561c8e0aa
Clarify behavior of `PropertyPath`.
...
Update tests and documentation.
Closes #2491
2 years ago
mawen12
3ab8c66e0f
Add parameter to exception message format.
...
Closes : #2956
Original pull request: #2958
2 years ago
John Blum
c006260c5e
Prepare 3.2 RC1 (2023.1.0).
...
See #2935
2 years ago
Mark Paluch
cbcb848fab
Introduce `Lock` utility.
...
The Lock utility is an adapter for Java's Lock and ReadWrite Lock types providing an easier to consume programming model (callback-style and try-with-resources).
Closes : #2944
2 years ago
Oliver Drotbohm
8328517cc9
Fix detection of @DomainEvents and @AfterDomainEventPublication on native.
...
We now unconditionally process the aggregate root types declared on repositories for @Reflective annotations, which @DE and @ADEP got meta-annotated with.
Fixes #2939 .
2 years ago
Oliver Drotbohm
5f64564db5
Properly emit domain events from calls to saveAll(…).
...
We now treat CrudRepository.saveAll(…) properly by unwrapping the given *Iterable*. This previously already worked for collections handed into the method but not for types only implementing Iterable directly (like Page or Window).
Fixes #3153 .
Related tickets #2931 , #2927 .
2 years ago
Mark Paluch
4a50ae8eab
Prepare 3.2 M3 (2023.1.0).
...
See #2908
2 years ago
Yanming Zhou
e901923d93
Correct method parameter type in tests.
...
Before this commit, actual method parameter type doesn't match method signature.
Closes #2928
2 years ago