Commit Graph

2848 Commits

Author SHA1 Message Date
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
2023-10-05 09:33:45 +02:00
John Blum
e51c419b6d Update CI properties.
See #2935
2023-10-04 17:24:10 -07:00
John Blum
731b16dbf8 Upgrade to Maven Wrapper 3.9.5.
See #2948
2023-10-04 16:58:01 -07:00
Mark Paluch
30dcacc8c1 Upgrade to OpenWebBeans 4.0.
Closes #2947
2023-09-29 09:34:18 +02:00
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.
2023-09-21 16:12:19 +02:00
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.
2023-09-20 14:21:42 +02:00
Mark Paluch
9b2e898bdf After release cleanups.
See #2908
2023-09-15 11:33:22 +02:00
Mark Paluch
9160bbafaf Prepare next development iteration.
See #2908
2023-09-15 11:33:20 +02:00
Mark Paluch
dcd73563e1 Release version 3.2 M3 (2023.1.0).
See #2908
2023-09-15 11:30:14 +02:00
Mark Paluch
4a50ae8eab Prepare 3.2 M3 (2023.1.0).
See #2908
2023-09-15 11:29:20 +02:00
Yanming Zhou
e901923d93 Correct method parameter type in tests.
Before this commit, actual method parameter type doesn't match method signature.

Closes #2928
2023-09-14 10:52:16 +02:00
Mark Paluch
b1a0bb4ff6 Polishing.
Refine Javadoc. Add unit tests.

See #2929
Original pull request: #2930
2023-09-14 10:35:51 +02:00
Greg L. Turnquist
107f268eb5 Make Lazy.orElseGet(Supplier) public.
Closes #2929
Original pull request: #2930
2023-09-14 10:35:41 +02:00
Mark Paluch
d5cd46c1d5 Polishing.
Add reactive type translation to Coroutine methods to return the expected type for AOP processing.

See #2926
2023-09-12 16:29:48 +02:00
Sébastien Deleuze
110756a40a Adapt for Spring Framework Coroutines AOP support.
This commit adapts Spring Data RepositoryMethodInvoker
and related tests in order to remove most of the
Coroutines specific code and rely on Spring Framework
Coroutines AOP support.

Closes #2926
2023-09-12 14:44:51 +02:00
Sébastien Deleuze
ccfa93af17 Polishing.
See #2926
2023-09-12 14:44:43 +02:00
Mark Paluch
957fdf490a Polishing.
Refine headers.

See #2912
2023-09-12 10:00:12 +02:00
Christoph Strobl
050d8ff508 Update ManagedTypesRegistrationAotContribution to match signature changes.
Closes: #2925
2023-09-12 08:09:13 +02:00
Mark Paluch
0d1430d597 Remove docs build trigger.
See #2912
2023-09-08 09:20:18 +02:00
Mark Paluch
36d18da16f Polishing.
Replace self xrefs to <<…>> self reference syntax.

See #2912
2023-09-07 11:13:20 +02:00
Greg L. Turnquist
08df2286b4 Update CI properties.
See #2908
2023-09-05 13:25:22 -05:00
Mark Paluch
068c19f60f Polishing.
Replace self xrefs to <<…>> self reference syntax.

See #2912
2023-08-31 14:29:04 +02:00
Mark Paluch
8c342a56e8 Polishing.
Fix Javadoc references.

See #2915
Original pull request: #2916
2023-08-31 08:16:49 +02:00
Mark Paluch
df543cd50e Introduce PersistentProperty.isReadable.
isReadable reports whether a property can be read through PersistentPropertyAccessor, by either using property access through setters, a wither, Kotlin Copy method or by accessing the field directly.

Closes #2915
Original pull request: #2916
2023-08-31 08:16:41 +02:00
Mark Paluch
6f981143ce Reorganize antora asciidoc sources for easier reuse.
See #2912
2023-08-22 14:10:49 +02:00
Mark Paluch
5070a0f06c Polishing.
Use asciidoc variables where possible.

See #2912
2023-08-21 14:06:47 +02:00
Mark Paluch
7bad122168 Upgrade to UI resources 0.3.3.
See #2912
2023-08-21 11:11:45 +02:00
Mark Paluch
8ac34bf11b Use Antora-configuration profiles.
Switch from local plugin definition to the one provided by Spring Data Build.

Closes #2912
2023-08-21 11:11:19 +02:00
Julia Lee
c650119a35 After release cleanups.
See #2879
2023-08-18 08:59:39 -04:00
Julia Lee
522afa55f2 Prepare next development iteration.
See #2879
2023-08-18 08:59:35 -04:00
Julia Lee
d330c9dcac Release version 3.2 M2 (2023.1.0).
See #2879
2023-08-18 08:50:31 -04:00
Julia Lee
04f4efe640 Prepare 3.2 M2 (2023.1.0).
See #2879
2023-08-18 08:49:37 -04:00
Mark Paluch
1f7ad7c234 Reinstate Asciidoc docs.
Reinstate Asciidoc to retain functionality for downstream module documentation builds.

See #2876
2023-08-18 10:17:30 +02:00
Mark Paluch
ea9bf5bf86 Replace Stream usage with iteration to avoid non-null requirements.
SpelEvaluator now iterates over the parameter map instead of using the Java 8 Stream API. Previously, expressions resulting in a null value failed in the collector as Java 8 streams require non-null values for map values.

Closes #2904
2023-08-16 15:11:22 +02:00
shin-mallang
b0ffb1a046 Document event publication from repository delete methods in AbstractAggregateRoot.
Added additional comment regarding registerEvent and andEvent in AbstractAggregateRoot.

Closes: #2903
2023-08-16 10:40:07 +02:00
John Blum
1dc18a8a3c Fix line break in CustomConversions.collectPotentialConverterRegistrations(..) method.
Closes #2902
2023-08-15 16:26:48 -07:00
Julia Lee
541f0ced32 Update CI properties.
See #2879
2023-08-14 12:15:21 -04:00
Julia Lee
cb6b179541 Upgrade to Maven Wrapper 3.9.4.
See #2900
2023-08-14 08:53:22 -04:00
Oliver Drotbohm
98f20a4457 Drop using FACTORY_BEAN_OBJECT_TYPE attribute entirely.
We now constantly use RootBeanDefinition.setBeanClass(…) (for the raw factory type) and ….setTargetType(…) to declare the full repository factory type including the user defined repository. Any other generics are simply filled with Object.class.

Ticket: #2894.
2023-08-02 17:20:19 +02:00
Oliver Drotbohm
d98eeef745 Set FACTORY_BEAN_OBJECT_TYPE as Class in RepositoryConfigurationDelegate.
This is to accommodate spring-projects/spring-framework#30917.
2023-08-01 22:41:56 +02:00
Rob Winch
c05ed095ce Use io.spring.maven.antora.
See #2890.
2023-08-01 15:36:55 -05:00
Thach Le
91093780dc Fix misordered modifiers 'final static'.
Per the Java Language Specification (Java 17; https://docs.oracle.com/javase/specs/jls/se17/html/jls-8.html#jls-8.3.1), 'static' should appear before 'final'.

This is also consistent with source code analysis tools, like Checkstyle, rules: https://checkstyle.sourceforge.io/apidocs/com/puppycrawl/tools/checkstyle/checks/modifier/ModifierOrderCheck.html.

Fixes #2881.
2023-07-24 16:36:54 +02:00
Greg L. Turnquist
2bfa58d329 Drop old Asciidoctor documentation.
See #2886.
2023-07-21 10:46:31 -05:00
Greg L. Turnquist
b8009acaf8 Polishing. 2023-07-20 09:54:22 -05:00
Greg L. Turnquist
988888d3be Polishing. 2023-07-20 09:45:16 -05:00
Greg L. Turnquist
c12d79a8be Polishing. 2023-07-20 09:39:06 -05:00
Greg L. Turnquist
789ff8d18e Fix link to Spring Framework Antora docs.
See #2886
2023-07-20 09:34:59 -05:00
Greg L. Turnquist
5607ec028f Update antora-playbook site URL.
See #2887
2023-07-20 08:55:28 -05:00
Greg L. Turnquist
7c8c25b29b Migrate Spring Framework doc links to 6.1.
Because Spring Framework's 6.1.x version of Antora ref docs is simply `6.1`, make that the cross referencing link from our end.

See #2886.
2023-07-20 08:42:00 -05:00
Mark Paluch
a11e78dca5 Polishing.
Tweak Javadoc wording, revert visibility changes, add missing Override annotations.

See #2882
2023-07-20 15:37:32 +02:00