Commit Graph

1502 Commits

Author SHA1 Message Date
Mark Paluch
b4218de3ad Remove outdated Docker image builds.
See #2068
2021-11-30 18:56:54 +01:00
Mark Paluch
87a79dabac Refine CI triggers.
See #2068
2021-11-30 18:56:54 +01:00
Oliver Drotbohm
ede294967f Upgrade to Spring Framework 6. 2021-11-30 18:56:53 +01:00
Oliver Drotbohm
da9fcb41f8 Upgrade CI build to JDK 17.
Issue: #2068.
2021-11-30 18:56:53 +01:00
Oliver Drotbohm
a8e22616d5 Upgrade to 3.0 build parent and Spring Data Commons.
Remove JodaTime dependency as it's not supported anymore.
2021-11-30 18:56:53 +01:00
Oliver Drotbohm
3966ce83e5 Prepare 4.0 development.
Fixes #2068.
2021-11-30 18:56:50 +01:00
Jens Schauder
95a4a1b425 After release cleanups.
See #2079
2021-11-12 10:59:45 +01:00
Jens Schauder
87b2601b27 Prepare next development iteration.
See #2079
2021-11-12 10:59:42 +01:00
Jens Schauder
e31c9d49bf Release version 3.6 GA (2021.1.0).
See #2079
2021-11-12 10:49:37 +01:00
Jens Schauder
3fb3695b10 Prepare 3.6 GA (2021.1.0).
See #2079
2021-11-12 10:49:16 +01:00
Jens Schauder
93b8bf8060 Upgrade to MongoDb driver 4.4.0.
Closes #2082
2021-11-12 08:28:10 +01:00
Oliver Drotbohm
a40aec5deb Consider @CrossOrigin(originPatterns = …).
RepositoryRestHandlerMapping's RepositoryCorsConfigurationAccessor now also evaluates @CrossOrigin's originPatterns into the CorsConfiguration.

Fixes #2077.
2021-10-19 10:32:48 +02:00
Mark Paluch
e9b1405669 After release cleanups.
See #2066
2021-10-18 13:55:43 +02:00
Mark Paluch
f556973a6c Prepare next development iteration.
See #2066
2021-10-18 13:55:39 +02:00
Mark Paluch
cecc161fe6 Release version 3.6 RC1 (2021.1.0).
See #2066
2021-10-18 13:48:15 +02:00
Mark Paluch
3f0f2a307d Prepare 3.6 RC1 (2021.1.0).
See #2066
2021-10-18 13:47:47 +02:00
Oliver Drotbohm
92af07252f Upgrade MongoDB tests to sync driver 4.4.
Fixes #2076.
2021-10-14 17:40:58 +02:00
Patrik Mihalcin
358bd3578a Fix typo in RepositoryRestController's JavaDoc
Fixes #2061.
2021-10-13 16:02:18 +02:00
Oliver Drotbohm
4434d32fae Prevent using NestedEntitySerializer if target serializer does not support unwrapping.
We now verify that the serializer registered for the type that's supposed to be handled by the NestedEntitySerializer actually supports unwrapping as the serialization in EntityModel (MapSuppressingUnwrappingSerializer) requires that to work properly.

Fixes #2056.
2021-10-13 11:59:53 +02:00
Oliver Drotbohm
1828a6a2a7 Switch to JUnit 5.
Issue #2075.
2021-10-12 22:29:45 +02:00
Oliver Drotbohm
18b39cb321 Reduce general runtime exception logging to debug.
Issue #2074.
2021-10-12 16:21:12 +02:00
Mark Paluch
461e959ac7 Upgrade to Maven Wrapper 3.8.3.
See #2073
2021-10-11 14:30:30 +02:00
Oliver Drotbohm
94dec6bfef Adapt to removed deprecations in Spring HATEOAS 1.4.
Fixes #2072.
2021-10-08 11:02:55 +02:00
Oliver Drotbohm
388a04358c Integration test to verify securing findById(…) generally works.
Issue: #2070.
2021-10-07 13:19:54 +02:00
Oliver Drotbohm
c0125c99a8 Qualify references to ResourceType.COLLECTION to avoid ambiguities to AssertJ in tests.
Fixes #2071.
2021-10-06 12:35:09 +02:00
Oliver Drotbohm
46dc6e03fc 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:13:37 +02:00
Oliver Drotbohm
eae472b9f9 Polishing. 2021-09-29 16:50:01 +02:00
Oliver Drotbohm
6d19e968ae Improve documentation of default response body rendering for POST and PUT requests.
Fixes #2063.
2021-09-29 16:50:01 +02:00
Mark Paluch
7e34f6f18a Refine CI triggers.
See #2068
2021-09-29 14:24:06 +02:00
Oliver Drotbohm
d09a85f540 Upgrade to HAL Explorer 1.0.1.
Fixes #2069
2021-09-22 10:26:39 +02:00
Oliver Drotbohm
cfb7079fb8 Tweak CI build to run compatibility builds against JDK 17.
Issue #2068.
2021-09-21 17:03:12 +02:00
Oliver Drotbohm
c6b77e3dd9 Polish Javadoc to prepare builds with JDK 17.
Issue #2068.
2021-09-21 16:36:26 +02:00
Mark Paluch
806a886df1 After release cleanups.
See #2052
2021-09-17 09:52:22 +02:00
Mark Paluch
0cb5c3289f Prepare next development iteration.
See #2052
2021-09-17 09:52:19 +02:00
Mark Paluch
907b15e83b Release version 3.6 M3 (2021.1.0).
See #2052
2021-09-17 09:44:58 +02:00
Mark Paluch
d7fe26a656 Prepare 3.6 M3 (2021.1.0).
See #2052
2021-09-17 09:44:35 +02:00
Oliver Drotbohm
78cdba8225 Upgrade to EvoInflector 1.3.
Fixes #2062
2021-09-16 14:41:55 +02:00
Oliver Drotbohm
1dae476040 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:49:05 +02:00
Mark Paluch
291390a423 Upgrade to Maven Wrapper 3.8.2.
See #2058
2021-09-10 15:38:04 +02:00
Oliver Drotbohm
2aca2b24e0 Avoid reflection in RepositoryRestMvcConfiguration.
We now completely avoid reflection in RepositoryRestMvcConfiguration by delaying all bean lookups that were previously declared through autowired fields.

Fixes #2057.
2021-08-26 15:38:47 +02:00
Oliver Drotbohm
9cd9e1cef9 Avoid eager reference to BackendIdConverter beans.
Switched to bean method parameter reference to all BackendIdConverter instances.

Fixes #2055.
2021-08-19 23:19:08 +02:00
Jens Schauder
160f35ed10 After release cleanups.
See #2046
2021-08-12 15:16:23 +02:00
Jens Schauder
4f9ccaac0e Prepare next development iteration.
See #2046
2021-08-12 15:16:22 +02:00
Jens Schauder
f8bdb374ea Release version 3.6 M2 (2021.1.0).
See #2046
2021-08-12 15:03:18 +02:00
Jens Schauder
d789f993d0 Prepare 3.6 M2 (2021.1.0).
See #2046
2021-08-12 15:02:57 +02:00
Oliver Drotbohm
2173212113 Upgrade to HAL Explorer 1.0.
Also removed obsolete version property for HAL Explorer.

Fixes #2049.
2021-08-03 14:23:20 +02:00
Jens Schauder
0a04a84e99 After release cleanups.
See #2001
2021-07-16 14:19:58 +02:00
Jens Schauder
5e08842c1b Prepare next development iteration.
See #2001
2021-07-16 14:19:56 +02:00
Jens Schauder
8d0e00be94 Release version 3.6 M1 (2021.1.0).
See #2001
2021-07-16 14:09:26 +02:00
Jens Schauder
df7a7b3ee8 Prepare 3.6 M1 (2021.1.0).
See #2001
2021-07-16 14:08:59 +02:00