Commit Graph

1641 Commits

Author SHA1 Message Date
Mark Paluch
88f49da22f DATAREST-1467 - Update copyright years to 2020. 2020-01-07 09:02:59 +01:00
Oliver Drotbohm
205e487317 DATAREST-1460 - PersistentEntityResourceMappings now uses thread-safe caches. 2019-12-09 18:04:50 +01:00
Oliver Drotbohm
2b8e7afbf3 DATAREST-1463 - Adapt to API changes in LinkBuilderSupport. 2019-12-09 10:21:13 +01:00
Jens Schauder
406a3a1ff1 DATAREST-1456 - Updated changelog. 2019-12-04 14:32:46 +01:00
Jens Schauder
3f4c4836eb DATAREST-1455 - Updated changelog. 2019-12-04 12:09:49 +01:00
Oliver Drotbohm
9010a9d132 DATAREST-1458 - Fixed rendering of compact view to association resources.
The usage of text/uri-list as media type was entirely broken and not even advertised in the reference docs anymore. It's now again supported for both to-one and to-many associations via Collections. Maps are rejected as they cannot be rendered as list of URIs correctly. Updated reference documentation accordingly.

Added a custom MapModel implementation of RepresentationModel as apparently using Maps with EntityModel does not unwrap the content properly due to [0].

[0] https://github.com/FasterXML/jackson-databind/issues/171
2019-11-29 17:17:35 +01:00
Mark Paluch
9dd7d6b4b1 DATAREST-1451 - Updated changelog. 2019-11-18 12:43:25 +01:00
Mark Paluch
55ceb65226 DATAREST-1450 - Updated changelog. 2019-11-18 12:16:26 +01:00
Christoph Strobl
f6476740b4 DATAREST-1431 - Updated changelog. 2019-11-04 15:39:57 +01:00
Christoph Strobl
598a3de66e DATAREST-1429 - Updated changelog. 2019-11-04 10:34:52 +01:00
Oliver Drotbohm
28f8e0d397 DATAREST-1440 - Revisited removal of fields in incoming payloads.
We now only remove fields from the payload in case there's no @JsonAnySetter on the target entity.
2019-11-04 09:09:59 +01:00
Oliver Drotbohm
8689c1bb5b DATAREST-1446 - Polishing.
Test cases.

Original pull request: #366.
2019-10-28 15:00:54 +01:00
Javier Grande Pérez
694079df04 DATAREST-1446 - DefaultExcerptProjector now declines presence of projection if metadata returns Optional.empty().
If no excerpt projection is exposed by the underlying ResourceMetadata, DefaultExcerptProjector now also properly declines its existence in ….hasExcerptProjection(…). Previously, it always indicated a presence as it improperly used a null check rather than calling Optional.isPresent().

Original pull request: #366.
2019-10-28 14:57:57 +01:00
Greg Turnquist
b016c0b125 DATAREST-1356 - Polishing. 2019-10-21 13:03:04 -05:00
Ľubomír Varga
202a8aa302 DATAREST-1356 - Fix updating single associations.
Correct a regression regarding association links. Introduce several test cases to prove this situation is fixed regarding PUTs for association links.

Source of the bug: 554d6cb27b (diff-1d7c16fe1992fef13a47fa8ab8599718L317) flips the criteria from "not single" to "single" without checking for related impacts.
2019-10-21 13:02:45 -05:00
Mark Paluch
7b94a9d115 DATAREST-1436 - Reintroduce hamcrest dependency.
Related ticket: spring-projects/spring-data-build#907.
2019-10-14 12:34:01 +02:00
Mark Paluch
a376634916 DATAREST-1430 - Publish Javadoc jar for HAL Browser/HAL Explorer.
We now publish an empty javadoc jar to be able to deploy to Maven Central.
2019-10-01 08:35:34 +02:00
Mark Paluch
6e140fb9e5 DATAREST-1419 - After release cleanups. 2019-09-30 16:17:29 +02:00
Mark Paluch
7e7767464c DATAREST-1419 - Prepare next development iteration. 2019-09-30 16:17:28 +02:00
Mark Paluch
ee6c55bcc1 DATAREST-1419 - Release version 3.2 GA (Moore). 2019-09-30 15:51:07 +02:00
Mark Paluch
0667ebc7ff DATAREST-1419 - Prepare 3.2 GA (Moore). 2019-09-30 15:50:43 +02:00
Mark Paluch
c58848e3fa DATAREST-1419 - Updated changelog. 2019-09-30 15:50:41 +02:00
Mark Paluch
2be9fe79c9 DATAREST-1418 - Updated changelog. 2019-09-30 11:16:16 +02:00
Oliver Drotbohm
384e0ed0cd DATAREST-1427 - Fixed handling of unpaged Pageable values. 2019-09-25 14:27:00 +02:00
Oliver Drotbohm
051479481b DATAREST-1426 - Use Spring Plugin version property from Spring Data Build.
Related ticket: spring-projects/spring-data-build#886
Original pull request: #363.
2019-09-24 10:54:34 +02:00
Mark Paluch
3c82324eb3 DATAREST-1420 - After release cleanups. 2019-09-06 10:21:56 +02:00
Mark Paluch
e510640619 DATAREST-1420 - Prepare next development iteration. 2019-09-06 10:21:54 +02:00
Mark Paluch
ffa93761c9 DATAREST-1420 - Release version 3.2 RC3 (Moore). 2019-09-06 10:10:42 +02:00
Mark Paluch
6d1ebfac1c DATAREST-1420 - Prepare 3.2 RC3 (Moore). 2019-09-06 10:10:12 +02:00
Mark Paluch
bae591b0f4 DATAREST-1420 - Updated changelog. 2019-09-06 10:10:09 +02:00
Greg Turnquist
0b0ffab46b DATAREST-1421 - Polishing. 2019-08-08 10:54:53 -05:00
Greg Turnquist
9c56c3f217 DATAREST-1421 - Deprecate ALPS_JSON and ALPS_JSON_VALUE.
Instead, use Spring HATEAOS's MediaTypes.ALPS_JSON and ALPS_JSON_VALUE.
2019-08-08 10:54:45 -05:00
Greg Turnquist
f2a358b565 DATAREST-1380 - Force check for updates. 2019-08-05 11:15:13 -05:00
Mark Paluch
e5621880d9 DATAREST-1396 - After release cleanups. 2019-08-05 15:53:02 +02:00
Mark Paluch
d936712cce DATAREST-1396 - Prepare next development iteration. 2019-08-05 15:53:01 +02:00
Mark Paluch
9704937ed8 DATAREST-1396 - Release version 3.2 RC2 (Moore). 2019-08-05 15:35:35 +02:00
Mark Paluch
40673812cf DATAREST-1396 - Prepare 3.2 RC2 (Moore). 2019-08-05 15:35:05 +02:00
Mark Paluch
a334fedfde DATAREST-1396 - Updated changelog. 2019-08-05 15:35:02 +02:00
Mark Paluch
1dcd5f5745 DATAREST-1395 - Updated changelog. 2019-08-05 11:34:27 +02:00
Mark Paluch
8483cd984d DATAREST-1379 - Updated changelog. 2019-08-05 11:08:59 +02:00
Mark Paluch
c376051c24 DATAREST-1416 - Upgrade to Solr 8.2.0. 2019-08-02 10:18:07 +02:00
Oliver Drotbohm
244c57f712 DATAREST-1414 - Use I18N facilities of Spring HATEOAS more intensively.
We now rely on the MessageResolver capabilities of Spring HATEOAS to benefit of the optimizations in resource bundle resolution. Tweaked a couple of tests to make sure they properly use the resolver resorting to the default message the MessageResourceResolvable exposes.
2019-07-31 18:19:00 +02:00
Mark Paluch
19c261d7d0 DATAREST-1410 - Migrate remaining tests to AssertJ. 2019-07-31 10:06:03 +02:00
Mark Paluch
314e0bb6f4 DATAREST-1408 - Fix typo. 2019-07-29 11:14:58 +02:00
Greg Turnquist
43b71009d5 DATAREST-1380 - Only publish docs for main branch. 2019-07-19 11:34:08 -05:00
Greg Turnquist
bed71894d9 DATAREST-1380 - Polishing. 2019-07-19 11:31:53 -05:00
Greg Turnquist
d5a829166d DATAREST-1380 - Publish documentation for main branch. 2019-07-19 11:31:18 -05:00
Oliver Drotbohm
527abc0403 DATAREST-1409 - Upgrade to HAL Explorer 0.11. 2019-07-09 17:13:46 +02:00
Mark Paluch
8338437750 DATAREST-1380 - Cleanup release profile.
Reuse inherited configuration from parent pom.
2019-07-09 11:56:58 +02:00
Mark Paluch
0a75f837c1 DATAREST-1408 - Revise readme for a consistent structure. 2019-07-09 11:56:58 +02:00