Commit Graph

2808 Commits

Author SHA1 Message Date
John Blum
cbdfbebced Prepare next development iteration.
See #2934
2023-10-13 08:09:32 -07:00
John Blum
4ba4c82fac Release version 3.1.5 (2023.0.5).
See #2934
2023-10-13 08:01:14 -07:00
John Blum
a8679c639f Prepare 3.1.5 (2023.0.5).
See #2934
2023-10-13 08:00:47 -07:00
Mark Paluch
210c3d88ca Fix CI build trigger.
See #2934
2023-10-13 11:58:03 +02:00
John Blum
ce15739a3d Upgrade to Maven Wrapper 3.9.5.
See #2949
2023-10-04 18:22:32 -07:00
John Blum
3356d33fa7 Update CI properties.
See #2934
2023-10-04 17:46:53 -07:00
Oliver Drotbohm
11f0d244a2 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:26 +02:00
Oliver Drotbohm
f9bc97f20f 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:22:16 +02:00
Mark Paluch
f019f94f81 After release cleanups.
See #2907
2023-09-15 10:55:35 +02:00
Mark Paluch
5f160301d5 Prepare next development iteration.
See #2907
2023-09-15 10:55:33 +02:00
Mark Paluch
ec16d9aa38 Release version 3.1.4 (2023.0.4).
See #2907
2023-09-15 10:52:25 +02:00
Mark Paluch
4192cdf2ad Prepare 3.1.4 (2023.0.4).
See #2907
2023-09-15 10:52:10 +02:00
Yanming Zhou
3198757775 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:30 +02:00
Mark Paluch
264ba2bb39 After release cleanups.
See #2880
2023-08-18 14:07:35 +02:00
Mark Paluch
149306b579 Prepare next development iteration.
See #2880
2023-08-18 14:07:33 +02:00
Mark Paluch
9e5c67f4c3 Release version 3.1.3 (2023.0.3).
See #2880
2023-08-18 14:04:03 +02:00
Mark Paluch
b6f6f5a7aa Prepare 3.1.3 (2023.0.3).
See #2880
2023-08-18 14:03:47 +02:00
Mark Paluch
bf7e64fc75 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:18 +02:00
shin-mallang
3145a09f46 Document event publication from repository delete methods in AbstractAggregateRoot.
Added additional comment regarding registerEvent and andEvent in AbstractAggregateRoot.

Closes: #2903
2023-08-16 10:41:43 +02:00
John Blum
45c8cb9804 Fix line break in CustomConversions.collectPotentialConverterRegistrations(..) method.
Closes #2902
2023-08-15 16:30:14 -07:00
Julia Lee
59cfc5b148 Update CI properties.
See #2880
2023-08-14 11:29:41 -04:00
Julia Lee
b4f576993c Upgrade to Maven Wrapper 3.9.4.
See #2899
2023-08-14 07:55:28 -04:00
Mark Paluch
3f9cd4c7a0 Polishing.
Tweak Javadoc wording, revert visibility changes, add missing Override annotations.

See #2882
2023-07-20 15:37:55 +02:00
Thach Le
4e528db223 Refine parameter and field names to align with PageRequest property names.
Align parameter naming with properties to not mix using page with pageNumber, size with pageSize names.

Closes #2882
2023-07-20 15:37:55 +02:00
Mark Paluch
9207e22632 Return the number of SpEL expressions created by SpelExtractor.
Closes #2885
2023-07-20 14:06:23 +02:00
Mark Paluch
e3fbc9b00e After release cleanups.
See #2864
2023-07-14 13:57:59 +02:00
Mark Paluch
13649982e1 Prepare next development iteration.
See #2864
2023-07-14 13:57:57 +02:00
Mark Paluch
1e65157c5f Release version 3.1.2 (2023.0.2).
See #2864
2023-07-14 13:54:07 +02:00
Mark Paluch
fa07def51f Prepare 3.1.2 (2023.0.2).
See #2864
2023-07-14 13:52:53 +02:00
Mark Paluch
f58ce36b86 Polishing.
Introduce dedicated methods to express object creation intents. Remove unnecessary casts.

See #2837
Original pull request: #2838
2023-07-12 15:03:45 +02:00
Christoph Strobl
4d038ff1cb Cache invalid persistent property paths.
Cache failing resolution attempts to avoid reiterating on the same paths over and over again.

Closes #2837
Original pull request: #2838
2023-07-12 15:03:45 +02:00
Yanming Zhou
8b86fb8879 Fix outdated Javadoc.
Closes #2860
2023-07-04 15:55:04 +02:00
Mark Paluch
9af41c9729 Retain direction for empty KeysetScrollPosition.
We now retain the direction when an empty KeysetScrollPosition is created.

Closes #2840
2023-07-04 15:52:44 +02:00
Mark Paluch
0a6b71fc2d Update CI properties.
See #2864
2023-07-03 09:48:57 +02:00
Mark Paluch
98b25cd6dd Upgrade to Maven Wrapper 3.9.3.
See #2872
2023-07-03 09:48:16 +02:00
Oliver Drotbohm
8b2eb8faff Fix query execution mode detection for aggregate types that implement Streamable.
We now short-circuit the QueryMethod.isCollectionQuery() algorithm in case we find the concrete domain type or any subclass of it.

Fixes #2869.
2023-07-01 01:56:34 +02:00
John Blum
8708e2540f After release cleanups.
See #2829
2023-06-16 08:13:30 -07:00
John Blum
527308a0e2 Prepare next development iteration.
See #2829
2023-06-16 08:13:28 -07:00
John Blum
f833c3c257 Release version 3.1.1 (2023.0.1).
See #2829
2023-06-16 08:05:36 -07:00
John Blum
c771fba956 Prepare 3.1.1 (2023.0.1).
See #2829
2023-06-16 08:05:06 -07:00
Mark Paluch
60877d70c7 Polishing.
Use ReverseListIterator instead of Stream API to reduce overhead. ListIterator provides means to iterate backwards so we're wrapping the existing iterator.

See #2857.
Original pull request: #2858.
2023-06-16 10:14:39 +02:00
Christoph Strobl
8671c00e05 WindowIterator should emit items in order when scrolling backwards.
Closes #2857
Original pull request: #2858
2023-06-16 10:14:39 +02:00
Oliver Drotbohm
4e3c06dbb8 Improve reference documentation on repository methods triggering event publication.
Fixes #2855.
2023-06-14 16:09:17 +02:00
Mark Paluch
3281837cbd Use merged bean definitions for EntityCallback type lookup.
We now use the merged bean definition to resolve the defined EntityCallback type.

Previously, we used just the bean definition that might have contained no type hints because of ASM-parsed configuration classes.

Closes #2853
2023-06-14 09:25:35 +02:00
Mark Paluch
602cd28142 Extend documentation on sorting for Keyset scrolling.
Closes #2846
2023-06-13 12:01:09 +02:00
Mark Paluch
af2d97abc6 Consider KeysetScrollPosition direction in WindowIterator.
We now consider the scroll direction in the iterator to properly continue Keyset backward scrolling.

Closes #2851
2023-06-13 11:52:25 +02:00
Mark Paluch
d3c3674230 Upgrade to Maven Wrapper 3.9.2.
See #2849
2023-06-13 08:53:53 +02:00
Mark Paluch
1f25bdaca7 Use snapshot and milestone repositories instead of libs-snapshot and libs-milestone.
Closes #2842
2023-06-06 09:30:27 +02:00
Mark Paluch
f582e5bf7f Unwrap nested collections in default Querydsl binding.
When binding values to collection-like paths, we now unwrap potentially double-wrapped collections as QuerydslPredicateBuilder attempts to convert the binding value to the type of the path.

Our default is a contains binding for single elements.

Closes #2834
2023-06-02 10:33:51 +02:00
Mark Paluch
fec8337d38 Remove CloseableIterator from supported repository return types.
`CloseableIterator` wasn't intended to be here in the first place as it is only an intermediate type.

Closes #2835
2023-05-30 10:16:38 +02:00