Commit Graph

3065 Commits

Author SHA1 Message Date
Mark Paluch
02ffabc85d After release cleanups.
See #3183
2024-11-15 14:13:26 +01:00
Mark Paluch
65b5b50d69 Prepare next development iteration.
See #3183
2024-11-15 14:13:25 +01:00
Mark Paluch
e0817014e8 Release version 3.4 GA (2024.1.0).
See #3183
2024-11-15 14:10:52 +01:00
Mark Paluch
f554dd69fd Prepare 3.4 GA (2024.1.0).
See #3183
2024-11-15 14:10:36 +01:00
Mark Paluch
99b95ca72e Polishing.
Tweak wording. Add Override annotations.

See #3200
Original pull request: #3201
2024-11-15 09:59:05 +01:00
Christoph Strobl
0a19501e3d Update custom repository extension section.
Closes #3200
Original pull request: #3201
2024-11-15 09:58:52 +01:00
Mark Paluch
63e16c2b67 Update CI Properties.
See #3183
2024-11-07 09:57:35 +01:00
Mark Paluch
5b85ffb36a Update CI Properties.
See #3183
2024-11-07 09:56:11 +01:00
Mark Paluch
2917ad0fab Upgrade to Maven Wrapper 3.9.9.
See #3197
2024-11-07 09:47:21 +01:00
Mark Paluch
09ba413316 Refine Scrolling refdocs.
Closes #3192
2024-11-04 09:36:09 +01:00
Stefano Cordio
9ed3a451a4 Minor improvements in BootstrapMode Javadoc.
Closes #3191
2024-11-04 08:39:54 +01:00
Christoph Strobl
1b79eeb5a2 Polishing.
Use double checked locking to be as close to the previous implementation but still benefit from the fast read operation.

Original Pull Request: #3186
2024-10-31 08:46:19 +01:00
Mark Paluch
adc8e3ffae Revisit internal caching arrangements.
Closes: #3185
Original Pull Request: #3186
2024-10-31 08:43:36 +01:00
Mark Paluch
e0e881f6b8 Prepare for removal of ListenableFuture.
Closes #3190
2024-10-30 08:32:26 +01:00
Mark Paluch
24cf1fc7d5 Polishing.
Refine Javadoc and update ReactivePageableHandlerMethodArgumentResolver. Fix nullability annotations.

See #3188
2024-10-29 09:25:41 +01:00
Sergey Zolotarev
7a5e4d7305 Remove outdated information from Javadoc for PageableHandlerMethodArgumentResolver.
Closes #3188
2024-10-29 09:25:26 +01:00
dependabot[bot]
9f11e7af4f Upgrade org.codehaus.groovy:groovy-all to 2.4.21.
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Closes #3180
2024-10-29 09:16:23 +01:00
LajosPolya
a7fe3554c3 Fix spelling SimplePropertyValueConversions javadoc.
Closes #3189
2024-10-29 09:11:39 +01:00
Mark Paluch
07a5c58903 After release cleanups.
See #3151
2024-10-18 12:49:41 +02:00
Mark Paluch
e665f1e8f4 Prepare next development iteration.
See #3151
2024-10-18 12:49:40 +02:00
Mark Paluch
b2e45c3204 Release version 3.4 RC1 (2024.1.0).
See #3151
2024-10-18 12:47:01 +02:00
Mark Paluch
5e0a2505f2 Prepare 3.4 RC1 (2024.1.0).
See #3151
2024-10-18 12:46:43 +02:00
Mark Paluch
38e862d339 Polishing.
Remove unnecessary static keywords.

See #3178
2024-10-17 15:26:19 +02:00
serv-inc
3b20d71193 Fix typo in EnableSpringDataWebSupport.
Closes #3178
2024-10-17 15:26:07 +02:00
Mark Paluch
089e470332 Polishing.
Add DDD context. Explain identifier to domain object relationship. Tweak wording.

See #3173
Original pull request: #3174
2024-10-17 15:23:01 +02:00
Christoph Strobl
f736636f62 Update documentation.
Add section on reserved method names within repository interfaces.

Closes #3173
Original pull request: #3174
2024-10-17 15:22:45 +02:00
Mark Paluch
b17bdec034 Polishing.
Avoid nullability in RepositoryMethodContextHolder.getContext(). Introduce shortcut in RepositoryMethodContext to obtain the current thread-local context. Update documentation.

See #3175.
Original pull request: #3176
2024-10-16 10:59:02 +02:00
Christoph Strobl
24c31bfd65 Move responsibility for storing method context to dedicated component.
See #3175.
Original pull request: #3176
2024-10-16 10:58:54 +02:00
Oliver Drotbohm
323aa60808 Move RepositoryMethodContext to repository.core package.
RepositoryMethodContext are now made available for dependency injection via RepositoryConfigurationExtensionSupport.registerBeansForRoot(…). Moved RMC into repository.core package (previously repository.core.support) and only expose factory methods on DefaultRepositoryMethodContext. DRMC also exposes a injection proxy lookup method that creates a proxy equipped with a TargetSource delegating to DRMC.getInstance() (previously ….getContext()). An additional, static DRMC.forMethod(…) allows the creation of a default instance for testing purposes.

Rename getRepository() to getMetadata() on RMC.

Fixes #3175.
Original pull request: #3176
2024-10-16 10:58:41 +02:00
Hosam Aly
55afe84b44 Fix typo in query-methods-details.adoc.
Fix a typo: Priced => Product

Closes #3172
2024-10-14 08:49:38 +02:00
imcb
15aa855690 Fix typo in definition.adoc.
Closes #3147
2024-10-11 10:39:04 +02:00
Mark Paluch
69e8e3f432 Use Docker in Docker CI setup.
See #3151
2024-10-09 14:01:06 +02:00
Mark Paluch
096836ee80 Add ValueExpression infrastructure for query methods.
Introduce ValueExpressionQueryRewriter as replacement for SpelQueryContext and QueryMethodValueEvaluationContextAccessor to encapsulate common ValueExpression functionality for Spring Data modules wanting to resolve Value Expressions in query methods.

Reduce dependencies in RepositoryFactoryBeanSupport and RepositoryFactorySupport to EvaluationContextProvider instead of QueryMethodEvaluationContextProvider to simplify dependencies.

Deprecate QueryMethodEvaluationContextProvider and its reactive variant for future removal.

Closes #3049
Original pull request: #3050
2024-10-09 13:37:04 +02:00
Christoph Strobl
e9ae6c7673 Fix native image hints for web support.
This commit adds a required native image reflection hint to allow Jackson object mapping to resolve and invoke the constructor of PageMetadata.
It also fixes an issue that surfaced after changing the bean constructor argument for SpringDataWebSettings leading to failures during the native compilation.

Closes: #3171
2024-10-07 11:19:48 +02:00
Mark Paluch
960b539069 Polishing.
See #3167
2024-09-30 09:31:48 +02:00
Mark Paluch
8ef195feed Introduce BasicPropertyDescriptor to KotlinBeanInfoFactory to bypass early property type validation.
Closes #3167
2024-09-30 09:31:48 +02:00
Tran Ngoc Nhan
f67cb87bf8 Polishing.
Add missing Override annotations. Use instanceof pattern variables, use diamond operator where possible.

Closes #3162
2024-09-26 11:27:29 +02:00
Mark Paluch
737502c4e4 Polishing.
See #3160
2024-09-26 10:59:46 +02:00
Mikhail2048
4a620ed9a0 Added Lazy wrapper for ReturnType#isDto.
Closes #3160
2024-09-26 10:59:37 +02:00
Mark Paluch
5df841b386 Consider projections without input properties open ones.
Closes #3164
2024-09-25 09:58:53 +02:00
Mark Paluch
4633380ae4 Polishing.
Add missing Override annotations. Eagerly compute input properties.

See #3163
2024-09-24 16:05:58 +02:00
Mark Paluch
22066eced3 Expose ReturnedType factory method.
Closes #3163
2024-09-24 15:59:23 +02:00
Jens Schauder
f305308a21 After release cleanups.
See #3098
2024-09-13 12:42:28 +02:00
Jens Schauder
5e9b7d00b0 Prepare next development iteration.
See #3098
2024-09-13 12:42:27 +02:00
Jens Schauder
82fb995ac4 Release version 3.4 M1 (2024.1.0).
See #3098
2024-09-13 12:39:32 +02:00
Jens Schauder
ee5e272348 Prepare 3.4 M1 (2024.1.0).
See #3098
2024-09-13 12:39:13 +02:00
Christoph Strobl
d9bdd2b550 Polishing.
Update documentation.
Additional logging for repository bootstrap procedure.
Limit usage of Optional in RepositoryFragment.

Original Pull Request: #3145
2024-09-04 10:49:22 +02:00
Mark Paluch
f7895eb306 Add RepositoryMetadataAccess.
Repositories that detect fragment implementations implementing RepositoryMetadataAccess enable metadata exposure regardless of the exposeMetadata flag.

See: #3090
Original Pull Request: #3145
2024-09-04 10:35:57 +02:00
Mark Paluch
b99db0cf01 Specialize Kotlin property accessors in KotlinBeanInfoFactory.
We now attempt to detect property accessors for properties declared in Kotlin that do not have a Kotlin-style accessor but one that instead comes from an interface.

Also, we specialize accessor methods that are inherited from a Java superclass but override accessors in the Kotlin realm.

Closes #3140
Closes #3146
2024-09-02 14:36:05 +02:00
Mark Paluch
3e75581336 Split projections document fragment into multiple subfragments.
Closes #3144
2024-08-29 09:58:26 +02:00