Oliver Drotbohm
0bf160eb97
DATACMNS-1496 - Removed deprecations at least introduced in Lovelace.
2019-03-13 18:29:08 +01:00
Christoph Strobl
78e635fba9
DATACMNS-1445 - Add missing wagon plugin to build file.
2019-03-07 14:33:53 +01:00
Christoph Strobl
d189263a37
DATACMNS-1445 - After release cleanups.
2019-03-07 10:07:29 +01:00
Christoph Strobl
a9e6fa1170
DATACMNS-1445 - Prepare next development iteration.
2019-03-07 10:07:28 +01:00
Christoph Strobl
f45174ca18
DATACMNS-1445 - Release version 2.2 M2 (Moore).
2019-03-07 09:42:21 +01:00
Christoph Strobl
c686b5aabf
DATACMNS-1445 - Prepare 2.2 M2 (Moore).
2019-03-07 09:41:17 +01:00
Christoph Strobl
0653107723
DATACMNS-1445 - Updated changelog.
2019-03-07 09:41:08 +01:00
Keegan Witt
4b55b90806
DATACMNS-1491 - Fix JavaDoc of SliceImpl regarding nullability of Pageable parameter.
...
The docs previously stated that argument could be null when in fact that is rejected by the superclass' constructor.
2019-03-05 15:20:46 +01:00
Oliver Drotbohm
ea3af3dbbb
DATACMNS-1449 - MethodInvocationRecorder now rejects final types.
2019-03-05 14:37:59 +01:00
Oliver Drotbohm
34507ec000
DATACMNS-1450 - Introduced type-safe Sort API.
...
We now expose a TypedSort that can use method handles to define properties to sort by.
Sort.sort(Person.class).by(Person::getName).ascending();
Related tickets: DATACMNS-1449.
2019-03-05 13:50:49 +01:00
Oliver Gierke
34d95fb7e4
DAATCMNS-1449 - Added API to record method invocations.
...
Introduced MethodInvocationRecorder to record method invocations on types to obtain the property traversal those invocations represent.
Recorded<ZipCode> recorded = MethodInvocationRecorder.forProxyOf(Person.class)
.record(Person::getAddress)
.record(Address::getZipCode);
assertThat(recorded.getPropertyPath)).hasValue("address.zipCode");
2019-03-05 13:50:49 +01:00
Oliver Drotbohm
1c90a70e3a
DATACMNS-1490 - Tweak lombok to add @Generated to generated code.
...
This will cause JaCoCo to exclude that code from code coverage reports.
2019-03-05 11:35:51 +01:00
Greg Turnquist
837b8672dc
DATACMNS-1462 - Stop using distribute profile.
2019-02-28 06:28:15 -06:00
Oliver Drotbohm
435aaaaa35
DATACMNS-1470 - Adapt to package refactorings in Spring HATEOAS.
2019-02-28 08:00:11 +01:00
Greg Turnquist
06cb767f84
DATACMNS-1462 - Polishing.
2019-02-27 17:49:26 -06:00
Greg Turnquist
63f8100a39
DATACMNS-1462 - Polishing.
2019-02-27 17:12:05 -06:00
Greg Turnquist
77bdf0aebe
DATACMNS-1462 - Introduce Concourse.
2019-02-27 17:06:01 -06:00
Mark Paluch
16a04d4dbb
DATACMNS-1485 - Remove version for managed Kotlin dependencies.
...
Versions are managed by kotlin-bom.
2019-02-21 10:10:18 +01:00
Oliver Drotbohm
742f29572e
DATACMNS-1484 - Polishing.
2019-02-21 00:26:48 +01:00
Oliver Drotbohm
dd0848b186
DATACMNS-1484 - Fixed too aggressive conversion to Streamable in IterableToStreamableConverter.
...
We now explicitly check for the target type to be assignable to Streamable to opt into conversion. Without that check, every collection returned from a method declaring Iterable as return type would've been converted into a Streamable by accident.
Related ticket: DATACMNS-1430.
2019-02-21 00:26:44 +01:00
Oliver Drotbohm
d12801a7b0
DATACMNS-1482 - Polishing.
...
Slightly improved test case.
2019-02-20 14:11:41 +01:00
Jens Schauder
47966451eb
DATACMNS-1482 - Polishing.
...
Fixed some wrong JavaDoc.
2019-02-20 13:55:09 +01:00
Jens Schauder
6dc0ced366
DATACMNS-1482 - Properly convert collections when collection type matches but element type doesn't.
...
Various fast returns and the use of Class instead of TypeDescriptor led to e.g. List<BigDecimal> not getting properly converted to List<Integer> leading to unexpected ClassCastExceptions when the collection elements where accessed.
2019-02-20 13:55:09 +01:00
Mark Paluch
f65fd511ac
DATACMNS-1483 - Polishing.
...
Statically import Assertions to align assertThat(…) calls with Java code. Use placeholder for MockK version.
Original pull request: #338 .
2019-02-20 11:20:29 +01:00
Sebastien Deleuze
ccb9e987e8
DATACMNS-1483 - Migrate Kotlin tests to Mockk.
...
Original pull request: #338 .
2019-02-20 11:20:17 +01:00
Oliver Drotbohm
092e23b08c
DATACMNS-1470 - Further adaption of Spring HATEOAS 1.0 API changes.
2019-02-15 11:07:10 +01:00
Mark Paluch
aa39b9ba3a
DATACMNS-1451 - Consider more than 16 immutable Kotlin properties in generated PropertyAccessor.
...
We now consider more than 16 immutable and nullable Kotlin properties per bucket in generated PropertyAccessors.
Previously only the first 16 properties were considered due to truncation of the defaulting bitmap. We used SIPUSH to render the defaulting mask in bytecode which is intended for 16 bit integers (short). Migrating to LDC (runtime constants) preserves the actual constant value of 32 bits and so we're considering now full buckets.
2019-02-13 12:01:22 +01:00
Mark Paluch
04916ed176
DATACMNS-1465 - Updated changelog.
2019-02-13 11:47:53 +01:00
Juhyoung Jeon
42c80aeee6
DATACMNS-1479 - Fix usage of PageRequest in reference documentation.
...
Previously, the docs still showed the usage of the constructor of PageRequest, which has now been changed to an ….of(…) factory method.
2019-02-12 19:06:11 +01:00
Oliver Drotbohm
cb37bdd994
DATACMNS-1470 - Polishing.
...
Remove obsolete Spring HATEOAS version property as it's already contained in the build parent.
2019-02-02 00:09:48 +01:00
Greg Turnquist
8c076f921d
DATACMNS-1470 - Upgrade to Spring HATEOAS 1.0 API
2019-02-02 00:09:48 +01:00
Oliver Drotbohm
e3d80aa69a
DATACMNS-1476 - Polishing.
2019-01-28 11:05:29 +01:00
Oliver Drotbohm
8c75a92b24
DATACMNS-1476 - Added Slice.nextOrLastPageable() and ….previousOrFirstPageable().
...
We now expose methods that allow to traverse the Pageables but make sure we stay within the result bounds.
Related ticket: DATACMNS-1475.
2019-01-28 11:05:29 +01:00
Oliver Drotbohm
b5972257af
DATACMNS-1475 - Fixed Javadoc of Slice.nextPageable() and ….previousPageable().
...
Documented Slice.nextPageable() and ….previousPageable() to return Pageable.unpaged() instead of null.
Follow-up ticket: DATACMNS-1476.
2019-01-28 11:05:17 +01:00
Christoph Strobl
0c1811946d
DATACMNS-1081 - Polishing.
...
Update Javadoc.
Original Pull Request: #331
2019-01-23 10:24:43 +01:00
Mark Paluch
73eb4ca928
DATACMNS-1081 - Add ReactiveQuerydslPredicateExecutor.
...
We now ship with a common interface for reactive repositories that want to support Querydsl.
Original Pull Request: #331
2019-01-23 10:23:34 +01:00
Oliver Drotbohm
242971f794
DATACMNS-1471 - Upgrade to Vavr 0.10.
2019-01-21 12:53:09 +01:00
Oliver Drotbohm
1b0f9b8c62
DATACMNS-1439 - Polishing.
...
Extended copyright years. More reasonable defaults in the mock implementation of ImplementationDetectionConfiguration in case someone might want to reuse it in other test cases.
Original pull request: #325 .
2019-01-15 12:57:18 +01:00
Mark Paluch
c755c71a36
DATACMNS-1439 - Polishing.
...
Reformat, remove trailing whitespaces.
Original pull request: #325 .
2019-01-15 12:57:18 +01:00
Mark Paluch
9fe35a24c9
DATACMNS-1439 - Use Java Beans decapitalization for default repository implementation bean names.
...
We now use Java Beans Introspector during default bean name derivation from class names. Previously, we used String.decapitalize(…) which decapitalizes always the first character. Java Beans do not decapitalize upper case sequences so a class name com.acme.UDPRepository translates to a bean name with UDPRepository instead of uDPRepository.
Original pull request: #325 .
2019-01-15 12:57:18 +01:00
Oliver Drotbohm
fe1ccd50be
DATACMNS-1466 - Polishing.
2019-01-11 11:48:26 +01:00
Oliver Drotbohm
e0c08e64e8
DATACMNS-1466 - Fixed potential ArrayIndexOutOfBoundsException in DefaultPersistentPropertyPath.
...
Introduced explicit content checks in ….getLeafProperty() and ….getBaseProperty().
2019-01-11 11:48:23 +01:00
Mark Paluch
92848cd178
DATACMNS-1426 - Updated changelog.
2019-01-10 14:15:38 +01:00
Mark Paluch
53ec026484
DATACMNS-1425 - Updated changelog.
2019-01-10 12:26:31 +01:00
Mark Paluch
28dae00203
DATACMNS-1424 - Updated changelog.
2019-01-10 11:01:17 +01:00
Oliver Drotbohm
a68c1a8c4a
DATACMNS-1460 - Upgrade to Vavr 0.9.3.
2019-01-07 10:01:27 +01:00
Mark Paluch
1969f4bcdc
DATACMNS-1459 - Update copyright years to 2019.
2019-01-02 12:12:19 +01:00
Oliver Drotbohm
0877ca8e11
DATACMNS-1456 - Polishing.
2018-12-21 15:17:51 +01:00
Oliver Drotbohm
135272ec3e
DATACMNS-1456 - ExtensionAwareEvaluationContextProvider now uses a ConcurrentHashMap as cache.
2018-12-21 15:17:42 +01:00
Oliver Drotbohm
566e6a3258
DATACMNS-1455 - HateoasPageableHandlerMethodArgumentResolver handles Pageable.unpaged() coprrectly.
...
Pageable.unpaged() is now effectively handled like a null value given in the 1.x branch.
2018-12-21 09:55:11 +01:00