Commit Graph

2453 Commits

Author SHA1 Message Date
Greg L. Turnquist
99ade845fc Externalize build properties.
See #2541.
2022-02-02 10:37:54 +01:00
Mark Paluch
3f53079072 Refine Coroutine wording around when to use suspend in method declarations.
Closes #2503
2022-01-25 11:09:00 +01:00
Mark Paluch
91a9e36a17 Document dynamic projections parameter detection.
Closes #2510
2022-01-25 09:50:53 +01:00
yelis913
5844d5986f Add missing verb to the error message.
Closes #2524
2022-01-17 11:15:33 +01:00
Christoph Strobl
37bbea82c4 After release cleanups.
See #2495
2022-01-14 10:00:57 +01:00
Christoph Strobl
b0eb8ddad5 Prepare next development iteration.
See #2495
2022-01-14 10:00:53 +01:00
Christoph Strobl
77b7513e1a Release version 2.5.8 (2021.0.8).
See #2495
2022-01-14 09:47:47 +01:00
Christoph Strobl
0c47de9b52 Prepare 2.5.8 (2021.0.8).
See #2495
2022-01-14 09:47:07 +01:00
Mark Paluch
e14cf48e6e Fix spliterator size hint in CloseableIterator.spliterator().
We now report -1 as size to avoid zero-size results for count() or toList() operators.

Closes #2519
2022-01-03 13:50:16 +01:00
Mark Paluch
cffac63b04 Fix argument expansion in RepositoryFactorySupport logging.
Closes #2502
2021-12-07 09:34:14 +01:00
Jens Schauder
77d85b6b07 After release cleanups.
See #2483
2021-11-12 10:38:57 +01:00
Jens Schauder
b35fad05aa Prepare next development iteration.
See #2483
2021-11-12 10:38:54 +01:00
Jens Schauder
d598088225 Release version 2.5.7 (2021.0.7).
See #2483
2021-11-12 10:27:20 +01:00
Jens Schauder
fc788137f4 Prepare 2.5.7 (2021.0.7).
See #2483
2021-11-12 10:26:42 +01:00
Mark Paluch
f141288d90 Refine documentation for PageableExecutionUtils.
Closes #2492
2021-11-09 14:48:17 +01:00
Mark Paluch
8d20bad137 Polishing.
Reduce test element visibility, remove unused constant.

See #2472
2021-10-19 14:31:12 +02:00
Mark Paluch
23f4774031 Consider nested property paths containing a number.
PropertyPath now considers nested property paths (userLastname2 -> user.lastname2) that contain or end with a number.

Closes #2472
2021-10-19 14:31:12 +02:00
Mark Paluch
6aa34584ec After release cleanups.
See #2461
2021-10-18 11:19:44 +02:00
Mark Paluch
04b807ac5b Prepare next development iteration.
See #2461
2021-10-18 11:19:41 +02:00
Mark Paluch
5cac83b5be Release version 2.5.6 (2021.0.6).
See #2461
2021-10-18 11:11:44 +02:00
Mark Paluch
5236844ce6 Prepare 2.5.6 (2021.0.6).
See #2461
2021-10-18 11:10:48 +02:00
alikilickaya
ba5d1875a2 Fix Javadoc in QueryByExampleExecutor.
Closes #2480
2021-10-13 14:16:48 +02:00
Pavel Gnusin
7f61bce4d0 Look up bean merged bean definitions in Repositories.
We now look up bean definitions for repositories using BeanFactory.getMergedBeanDefinition(…) to consider parent-child relationships across application contexts.

As we iterate through bean definitions considering ancestors we need to allow parent bean definitions. Previously, we obtained the bean definition from the child context and since the bean was inherited from the parent, the child context cannot provide a bean definition.

Closes #2383
Original pull request: #2384.
2021-10-12 09:38:39 +02:00
Mark Paluch
f87ae360df Document restrictions of simple base-repository method overrides in regard to projections.
Closes #2473
2021-10-05 11:35:44 +02:00
Mark Paluch
44db1dc31a After release cleanups.
See #2434
2021-09-17 09:27:38 +02:00
Mark Paluch
7bd85491e5 Prepare next development iteration.
See #2434
2021-09-17 09:27:35 +02:00
Mark Paluch
e1b0b67019 Release version 2.5.5 (2021.0.5).
See #2434
2021-09-17 09:18:31 +02:00
Mark Paluch
81e0e9d742 Prepare 2.5.5 (2021.0.5).
See #2434
2021-09-17 09:17:28 +02:00
Mark Paluch
02feabee3e Consider property path root in QuerydslBindings.
We now consider a qualified property path when registering and querying `QuerydslBindings` to ensure that paths matching various domain types do not accidentally get applied for a different type than they were registered for.
Previously, a binding for `Address.description` would be also applied to `User.description` as only the property path `description` was considered when looking up bindings.

Closes: #2418
Original Pull Request: #2422
2021-09-14 16:08:30 +02:00
Dmitriy Bogdanov
64a4b61ceb Add missing spaces to the docs and fix leveloffset.
Closes: #2454
2021-09-14 10:11:30 +02:00
Mark Paluch
cae59216e5 Update wording from Appendix to Appendices.
Closes #2452
2021-09-14 08:42:06 +02:00
Mark Paluch
883223def2 Upgrade to Maven Wrapper 3.8.2.
See #2451
2021-09-10 15:39:34 +02:00
Mark Paluch
a57c97c556 Upgrade to vavr 0.10.4.
Closes #2449
2021-09-10 09:29:37 +02:00
Mark Paluch
4861d550ba Reuse generated entity instantiators from ClassGeneratingEntityInstantiator instances.
We now reuse generated ObjectInstantiator classes instead of attempting to redefine classes with the same name. Redefinition leads to LinkageError and thus to the use of reflection-based instantiators and an increased allocation rate due to the failed attempt of class redeclaration.

Closes: #2446.
2021-09-09 15:18:36 +02:00
Mark Paluch
3c39da9401 Avoid Iterator allocations when calling Sort.isSorted().
Closes #2445
2021-09-07 16:07:34 +02:00
Mark Paluch
59a5b87c24 Polishing.
See #2416
2021-09-07 09:23:58 +02:00
schlagi123
50123d68d1 Fix typo in entity state detection documentation.
Closes #2416
2021-09-07 09:23:57 +02:00
Michael Simons
af033a0ead Remove remark about AbstractAuditable.
This class only exists in Spring Data JPA, not in Commons.

Closes #2437
2021-09-07 09:15:34 +02:00
Mark Paluch
b47069ea96 Remove tests that check for absence of parameter names.
Closes #2444
2021-09-07 09:09:28 +02:00
Oliver Drotbohm
532ba9556b Avoid reflection in SpringDataWebConfiguration.
We now use an explicit lookup via the application context to consume PageableHandlerMethodArgumentResolverCustomizer and SortHandlerMethodArgumentResolverCustomizer rather than autowiring those into a field.

Fixes #2440.
2021-08-26 16:13:58 +02:00
Jens Schauder
c148dad53c After release cleanups.
See #2414
2021-08-12 11:37:31 +02:00
Jens Schauder
3c8a135a89 Prepare next development iteration.
See #2414
2021-08-12 11:37:29 +02:00
Jens Schauder
5efabab0fd Release version 2.5.4 (2021.0.4).
See #2414
2021-08-12 11:22:49 +02:00
Jens Schauder
e68a2a6ad8 Prepare 2.5.4 (2021.0.4).
See #2414
2021-08-12 11:22:25 +02:00
Oliver Drotbohm
344aab7944 StreamUtils.zip(…) now treats infinite streams correctly.
When an infinite Stream was handed into StreamUtils.zip(…) as first argument, the resulting stream was infinite, too, while inverting the argument order was limiting the resulting stream to the length of the finite one. This is now fixed by actually evaluating whether we can advance on both of the streams and shortcutting the process if that is not possible on either of the streams, limiting the processing of the overall Stream to the shorter of the two as already advertised in the Javadoc.

Fixes #2426.
2021-08-09 17:04:24 +02:00
Mark Paluch
ef8170844c Remove changelog shipped with the binaries.
Closes #2419
2021-07-22 08:28:46 +02:00
Mark Paluch
8f7a6d30e0 Polishing.
Extract adding the actual entity to the MappingContext into its own method along with error handling spanning the entire entity initialization process.

See #2329
Original pull request: #2367.
2021-07-20 10:19:02 +02:00
Greg L. Turnquist
b05965f2b2 Remove PersistentEntity from MappingContext upon mapping metadata initialization errors.
When an error happens inside the AbstractMappingContext, the caching sometimes gets corrupted. That's because some exceptions are caught, others are not. Instead, the error handling that clears out the cache needs to be shifted up one level, resulting in a simpler code block.

Closes #2329
Original pull request: #2367.
2021-07-20 10:19:02 +02:00
Jens Schauder
edc71531a4 After release cleanups.
See #2388
2021-07-16 11:51:05 +02:00
Jens Schauder
17fd049420 Prepare next development iteration.
See #2388
2021-07-16 11:51:02 +02:00