219 Commits

Author SHA1 Message Date
Greg L. Turnquist
429fa7a295 Prepare next development iteration.
See #2136
2022-08-29 16:58:07 +00:00
Greg L. Turnquist
dfbac28f97 Release version 3.5.12 (2021.0.12).
See #2136
2022-08-29 16:36:52 +00:00
Christoph Strobl
43af7104a4 Prepare next development iteration.
See #2124
2022-04-19 13:59:24 +02:00
Christoph Strobl
27285f9bcc Release version 3.5.11 (2021.0.11).
See #2124
2022-04-19 13:48:19 +02:00
Mark Paluch
2ad492cbef Prepare next development iteration.
See #2110
2022-03-21 14:34:33 +01:00
Mark Paluch
c8fd127ba1 Release version 3.5.10 (2021.0.10).
See #2110
2022-03-21 14:26:38 +01:00
Oliver Drotbohm
9bbe4c97eb Ensure buildability on JDK 16.
Properly initialize the MongoMappingContext in unit tests when using special identifier types. Explicitly add javax.annotation as dependency in shop tests.
2022-02-22 10:51:07 +01:00
Mark Paluch
8d28426c97 Prepare next development iteration.
See #2097
2022-02-18 10:32:51 +01:00
Mark Paluch
5652bc1207 Release version 3.5.9 (2021.0.9).
See #2097
2022-02-18 10:24:49 +01:00
Oliver Drotbohm
0b08548065 Update copyright years to 2022. 2022-02-07 10:30:48 +01:00
Christoph Strobl
c48d389ddd Prepare next development iteration.
See #2085
2022-01-14 10:00:55 +01:00
Christoph Strobl
33045214b5 Release version 3.5.8 (2021.0.8).
See #2085
2022-01-14 09:47:49 +01:00
Jens Schauder
321b701dbd Prepare next development iteration.
See #2079
2021-11-12 10:38:55 +01:00
Jens Schauder
efbf982f5b Release version 3.5.7 (2021.0.7).
See #2079
2021-11-12 10:27:21 +01:00
Mark Paluch
c9ad97dbe6 Prepare next development iteration.
See #2065
2021-10-18 11:19:42 +02:00
Mark Paluch
67b64d2391 Release version 3.5.6 (2021.0.6).
See #2065
2021-10-18 11:11:46 +02:00
Oliver Drotbohm
5f4e24b912 Switch to JUnit 5.
Issue #2075.
2021-10-12 22:34:01 +02:00
Oliver Drotbohm
a6de3b18c4 Prevent duplicate controller registrations through class-level @RequestMapping.
When we detected @BasePathAwareController and @RepositoryRestController instances, we now reject types that use @RequestMapping on the class level as doing so causes an inevitable registration of the controller with Spring MVC.

Fixes #1342, #1628, #1686, #1946.
2021-10-06 12:35:41 +02:00
Mark Paluch
da8ae156fd Prepare next development iteration.
See #2051
2021-09-17 09:27:36 +02:00
Mark Paluch
20fb7e6c8e Release version 3.5.5 (2021.0.5).
See #2051
2021-09-17 09:18:33 +02:00
Oliver Drotbohm
b9b974b803 Adapt Content-Type header for HAL FORMS requests based on affordances.
Whenever HAL FORMS is supposed to be rendered, we now adapt the `Content-Type` header depending on whether affordances (and thus `_templates`) are present. If none can be found, we either adapt the header to either `application/hal+json` or even `application/json` depending on the `Accept` header arrangement given. If none match, we reject the request with `406 Not Acceptable`.

Had to reintroduce a dependency on Lombok to use @SneakyThrows as otherwise we cannot throw HttpMediaTypeNotAcceptableException from a ResponseBodyAdvice. A manual implementation of the pattern does not compile on Java 8 (at least on MacOS).

Fixes #2060.
2021-09-14 22:34:15 +02:00
Jens Schauder
7302b102aa Prepare next development iteration.
See #2045
2021-08-12 11:37:30 +02:00
Jens Schauder
31d9eacc4a Release version 3.5.4 (2021.0.4).
See #2045
2021-08-12 11:22:50 +02:00
Jens Schauder
1a92af0390 Prepare next development iteration.
See #2031
2021-07-16 11:51:03 +02:00
Jens Schauder
b786ac3219 Release version 3.5.3 (2021.0.3).
See #2031
2021-07-16 11:35:22 +02:00
Mark Paluch
15c53e71de Prepare next development iteration.
See #2012
2021-06-22 16:05:20 +02:00
Mark Paluch
7dbfa65774 Release version 3.5.2 (2021.0.2).
See #2012
2021-06-22 15:52:29 +02:00
Oliver Drotbohm
64c349d04a Upgrade to Spring Security 5.3.9.
Fixes #2021.
2021-06-08 15:47:41 +02:00
Greg L. Turnquist
ef4d2c9057 Drop explicit dependency on JSON Path.
Let Spring HATEOAS bring in this dependency.

See #2018.
2021-06-03 12:14:28 -05:00
Mark Paluch
218ae09905 Prepare next development iteration.
See #1999
2021-05-14 12:34:18 +02:00
Mark Paluch
a5e7aa7011 Release version 3.5.1 (2021.0.1).
See #1999
2021-05-14 12:23:57 +02:00
Mark Paluch
754f3a77b4 Prepare next development iteration.
See #1992
2021-04-14 14:30:38 +02:00
Mark Paluch
8a690929f0 Release version 3.5 GA (2021.0.0).
See #1992
2021-04-14 14:18:49 +02:00
Oliver Drotbohm
21ed68262f Properly handle associations in nested entities.
Nested entities that contain a reference to an aggregate root get a link to that attached to their representation. Previously, the creation of those links assumed that the reference is a materialized instance of the remote aggregate. That's now altered to be able to deal with associations, use identifiers directly or materialize to an intermediate aggregate instance to potentially use a custom lookup.
2021-04-07 20:07:53 +02:00
Mark Paluch
8e42a2a221 Prepare next development iteration.
See #1976
2021-03-31 17:24:04 +02:00
Mark Paluch
d77e5192d8 Release version 3.5 RC1 (2021.0.0).
See #1976
2021-03-31 17:05:09 +02:00
Oliver Drotbohm
17538c65d7 Enable rendering as HAL FORMS.
We're now registering an HttpMessageConverter to render requests for HAL FORMS using the HalFormsConfiguration present in the application.

We're currently not adding any affordances yet. The change solely enables user code to add affordances explicitly, e.g. via RepresentationModelProcessor implementations.

Fixes: #1991.
2021-03-25 18:01:54 +01:00
Mark Paluch
0f93b050ce Prepare next development iteration.
See #1986
2021-03-17 11:30:29 +01:00
Mark Paluch
54696d4d5f Release version 3.5 M5 (2021.0.0).
See #1986
2021-03-17 11:17:50 +01:00
Oliver Drotbohm
e9bc98a1e9 #1980 - RepositoryEntityLinks now overrides ….linkForItemResource(…). 2021-02-24 17:57:46 +01:00
Christoph Strobl
08ca20422d Prepare next development iteration.
See #1978
2021-02-18 11:35:21 +01:00
Christoph Strobl
d03e364294 Release version 3.5 M4 (2021.0.0).
See #1978
2021-02-18 11:25:13 +01:00
Christoph Strobl
d5d2659a24 Prepare next development iteration.
See #1954
2021-02-17 14:17:48 +01:00
Christoph Strobl
44b93173a7 Release version 3.5 M3 (2021.0.0).
See #1954
2021-02-17 14:00:09 +01:00
Oliver Drotbohm
9ee4c62b01 #1971 - Upgrade MongoDB tests to 4.2 drivers. 2021-02-16 16:46:21 +01:00
Christoph Strobl
6384110dab Prepare next development iteration.
See #1944
2021-01-13 15:46:58 +01:00
Christoph Strobl
e2523e35d0 Release version 3.5 M2 (2021.0.0).
See #1944
2021-01-13 15:34:04 +01:00
Mark Paluch
7afe7f1a9c Update copyright year to 2021.
Closes #1952
2021-01-12 11:45:16 +01:00
Mark Paluch
f58ea84c43 Upgrade to Servlet API 4.0.1.
We now build against a newer Servlet API version to align with Spring Framework.

Also, introduce a version property servlet.version for centralized version management.

Closes #1951
2021-01-11 08:58:58 +01:00
Mark Paluch
fba7b7bd55 DATAREST-1578 - Prepare next development iteration. 2020-12-09 15:32:17 +01:00