Commit Graph

1068 Commits

Author SHA1 Message Date
Mark Paluch
8f17a5bd23 DATAREST-1308 - Prepare next development iteration. 2019-01-10 12:03:25 +01:00
Mark Paluch
0e3c520a7e DATAREST-1308 - Release version 3.0.13 (Kay SR13). 2019-01-10 11:10:23 +01:00
Mark Paluch
235f0bfaee DATAREST-1308 - Prepare 3.0.13 (Kay SR13). 2019-01-10 11:09:24 +01:00
Mark Paluch
4d3a7cf1ba DATAREST-1308 - Updated changelog. 2019-01-10 11:09:20 +01:00
Mark Paluch
9c98604698 DATAREST-1307 - Updated changelog. 2019-01-10 11:01:22 +01:00
Oliver Drotbohm
e81f804933 DATAREST-1321 - Add .externalToolBuilders to .gitignore. 2019-01-08 11:50:50 +01:00
Oliver Drotbohm
cde9196f54 DATAREST-1321 - Lookup types can now produce non-String reference values.
Previously we assumed lookup types to always result in String based values. We now loosen that constraint to also allow other scalar types, mostly targeting numeric types like long and integer.
2019-01-08 11:50:49 +01:00
Mark Paluch
93d3d506dd DATAREST-1330 - Update copyright years to 2019. 2019-01-02 12:18:12 +01:00
Oliver Drotbohm
94e3c64bcf DATAREST-1320 - Polishing. 2018-12-21 15:13:48 +01:00
Oliver Drotbohm
cd2480397f DATAREST-1320 - Fixed lookup of cached values in PersistentEntitiesResourceMappings.
We now properly only answer PersistentEntitiesResourceMappings.hasMappingsFor(…) with true if we find a non-null value in the cache. Previously, even a failed attempt to create some ResourceMapping would've caused ….hasMappingsFor(…) to indicate it PersistentEntitiesResourceMappings contains a mapping.

This lead to downstream NullPointerExceptions as ….getMetadataFor(…) was accessed without a null guard after ….hasMappingFor(…) returned true.
2018-12-21 15:13:45 +01:00
Oliver Drotbohm
747a949fb6 DATAREST-1322 - Fix proxy detection for Hibernate 5+ compatibility.
Switched to Spring Data Commons' ProxyUtils for a proxy detection mechanism that supports Hibernate 5 proxies.
2018-12-20 17:19:24 +01:00
Christoph Strobl
11efe247b8 DATAREST-1316 - Updated changelog. 2018-12-11 11:43:19 +01:00
Mark Paluch
1cbfcd1d37 DATAREST-1298 - Updated changelog. 2018-11-27 14:54:11 +01:00
Mark Paluch
5cdad95b90 DATAREST-1292 - After release cleanups. 2018-11-27 12:16:34 +01:00
Mark Paluch
a4e5f3535f DATAREST-1292 - Prepare next development iteration. 2018-11-27 12:16:33 +01:00
Mark Paluch
76fc7db532 DATAREST-1292 - Release version 3.0.12 (Kay SR12). 2018-11-27 11:45:50 +01:00
Mark Paluch
d26ab93753 DATAREST-1292 - Prepare 3.0.12 (Kay SR12). 2018-11-27 11:44:58 +01:00
Mark Paluch
fbf58abe70 DATAREST-1292 - Updated changelog. 2018-11-27 11:44:55 +01:00
Mark Paluch
bcdcd639e4 DATAREST-1293 - Updated changelog. 2018-11-27 11:27:25 +01:00
Mark Paluch
a43eba643e DATAREST-1291 - Updated changelog. 2018-10-29 14:30:36 +01:00
Oliver Gierke
64334bab00 DATAREST-1294 - Polishing.
Aligned with general request attribute naming conventions and prefixed the one we now use with the class' name. Altered the local attribute name to EFFECTIVE_REPOSITORY_RESOURCE_LOOKUP_PATH.

Renamed the constant holding the name from …_KEY to …_ATTRIBUTE.
2018-10-18 15:59:00 +02:00
Oliver Gierke
48f5fb956c DATAREST-1294 - Expose effective repository lookup path as request attribute.
We now expose a partially resolved PathPattern to contain the explicit repository base path so that the subpaths can be grouped around the individual repositories exposed.

Related ticket: spring-projects/spring-boot#14872
2018-10-18 12:43:56 +02:00
Mark Paluch
c6fed73c2a DATAREST-1283 - Updated changelog. 2018-10-15 14:19:06 +02:00
Mark Paluch
184a932176 DATAREST-1284 - After release cleanups. 2018-10-15 12:28:13 +02:00
Mark Paluch
b4972dd6fb DATAREST-1284 - Prepare next development iteration. 2018-10-15 12:28:12 +02:00
Mark Paluch
fa14f5e0d8 DATAREST-1284 - Release version 3.0.11 (Kay SR11). 2018-10-15 12:00:39 +02:00
Mark Paluch
f184ba89a0 DATAREST-1284 - Prepare 3.0.11 (Kay SR11). 2018-10-15 11:59:40 +02:00
Mark Paluch
b16cb63f83 DATAREST-1284 - Updated changelog. 2018-10-15 11:59:36 +02:00
Mark Paluch
f9f4e99a47 DATAREST-1287 - Updated changelog. 2018-10-15 11:37:28 +02:00
Mark Paluch
adef98bf10 DATAREST-1277 - Updated changelog. 2018-09-21 08:13:18 -04:00
Mark Paluch
781f3b3c74 DATAREST-1269 - After release cleanups. 2018-09-10 13:52:28 +02:00
Mark Paluch
844dca47d9 DATAREST-1269 - Prepare next development iteration. 2018-09-10 13:52:26 +02:00
Mark Paluch
d6b3e306d5 DATAREST-1269 - Release version 3.0.10 (Kay SR10). 2018-09-10 12:52:18 +02:00
Mark Paluch
572b0e61d5 DATAREST-1269 - Prepare 3.0.10 (Kay SR10). 2018-09-10 12:51:27 +02:00
Mark Paluch
279d0edd04 DATAREST-1269 - Updated changelog. 2018-09-10 12:51:25 +02:00
Mark Paluch
504073a25a DATAREST-1270 - Updated changelog. 2018-09-10 10:20:58 +02:00
Oliver Gierke
3d8b0dec11 DATAREST-1267 - Updated changelog. 2018-08-20 11:08:00 +02:00
Oliver Gierke
ad2c635791 DATAREST-1274 - JsonPatch paths now properly verify multi-digit indexes. 2018-08-08 08:44:50 +02:00
Oliver Gierke
2c8fb45881 DATAREST-1248 - SortTranslator now considers read-only properties sortable.
MappedProperties now exposes a factory method that uses the Jackson introspector for serialization (instead of deserialization) which now also includes read-only properties. Previously, read-only ones were not considered as they are excluded from the metadata if it is looked up for deserialization.
2018-08-07 15:44:33 +02:00
Oliver Gierke
994eed6e27 DATAREST-1273 - Properly support adding to collections via indexes in JsonPatch expressions.
We now support adding a to a collection via JsonPatch expressions by using the collection's size as target index. Contrary to paths pointing to existing collection elements we cannot determine the type of the object to be created. Thus, we fall back to the common element type of all existing collection elements. We also reject indexes pointing to elements with an index greater than the current collection's size.
2018-08-07 10:50:15 +02:00
Oliver Gierke
30debcc63e DATAREST-1268 - Deprecated obsolete RepositoryDetectionStrategies.EXPLICIT_METHOD_ANNOTATED.
Deprecated the left-over from an original draft to fix DATAREST-1176. It was removed in master but not properly back-ported into 3.0.x. The annotation value deprecated is already gone in the latest 3.1 releases.

Related tickets: DATAREST-1176.
2018-08-06 16:10:17 +02:00
Mark Paluch
58c6962454 DATAREST-1252 - Updated changelog. 2018-07-27 11:45:26 +02:00
Mark Paluch
3e8912b431 DATAREST-1254 - After release cleanups. 2018-07-26 15:23:24 +02:00
Mark Paluch
d5e09b7243 DATAREST-1254 - Prepare next development iteration. 2018-07-26 15:23:23 +02:00
Mark Paluch
9cb5531ac6 DATAREST-1254 - Release version 3.0.9 (Kay SR9). 2018-07-26 14:44:01 +02:00
Mark Paluch
6cb3338ccb DATAREST-1254 - Prepare 3.0.9 (Kay SR9). 2018-07-26 14:43:06 +02:00
Mark Paluch
e10ebe65b8 DATAREST-1254 - Updated changelog. 2018-07-26 14:43:03 +02:00
Mark Paluch
9391405718 DATAREST-1245 - Updated changelog. 2018-07-26 14:03:21 +02:00
Mark Paluch
7bcb710a1a DATAREST-1256 - Upgrade to Spring HATEOAS 0.25.0. 2018-07-26 08:51:26 +02:00
Oliver Gierke
48c69d795f DATAREST-1261 - Fixed invalid fallback to default delegate in UnwrappingRepositoryInvoker.invokeFindById(…).
Previously we fell back to the default by-id lookup even if a custom entity lookup was defined but returned an empty result.
2018-07-12 22:39:48 +02:00