1459 Commits

Author SHA1 Message Date
Jens Schauder
f5f4fe1721 After release cleanups.
See #2078
2021-11-12 09:51:40 +01:00
Jens Schauder
cc073c5aea Prepare next development iteration.
See #2078
2021-11-12 09:51:37 +01:00
Jens Schauder
ab3100aea5 Release version 3.4.15 (2020.0.15).
See #2078
2021-11-12 09:37:00 +01:00
Jens Schauder
7e7b632767 Prepare 3.4.15 (2020.0.15).
See #2078
2021-11-12 09:36:36 +01:00
Oliver Drotbohm
ad3a1d0659 Consider @CrossOrigin(originPatterns = …).
RepositoryRestHandlerMapping's RepositoryCorsConfigurationAccessor now also evaluates @CrossOrigin's originPatterns into the CorsConfiguration.

Fixes #2077.
2021-10-19 10:32:53 +02:00
Mark Paluch
2cb176f58a After release cleanups.
See #2064
2021-10-18 11:02:39 +02:00
Mark Paluch
d0fca9945b Prepare next development iteration.
See #2064
2021-10-18 11:02:36 +02:00
Mark Paluch
8e540fcb38 Release version 3.4.14 (2020.0.14).
See #2064
2021-10-18 10:53:53 +02:00
Mark Paluch
174c522114 Prepare 3.4.14 (2020.0.14).
See #2064
2021-10-18 10:53:24 +02:00
Patrik Mihalcin
39528cfcb5 Fix typo in RepositoryRestController's JavaDoc
Fixes #2061.
2021-10-13 16:02:34 +02:00
Oliver Drotbohm
a66650a3af 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 12:09:45 +02:00
Oliver Drotbohm
7142e8441f Switch to JUnit 5.
Issue #2075.
2021-10-12 22:42:01 +02:00
Oliver Drotbohm
1acab9d48f 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:37:51 +02:00
Oliver Drotbohm
e892f60ac0 Polishing. 2021-09-29 16:48:38 +02:00
Oliver Drotbohm
1f9998a87c Improve documentation of default response body rendering for POST and PUT requests.
Fixes #2063.
2021-09-29 16:48:35 +02:00
Oliver Drotbohm
af6a2c3a07 Polish Javadoc to prepare builds with JDK 17.
Issue #2068.
2021-09-21 15:29:17 +02:00
Mark Paluch
f60e941bbd After release cleanups.
See #2050
2021-09-17 09:04:20 +02:00
Mark Paluch
438dd84576 Prepare next development iteration.
See #2050
2021-09-17 09:04:17 +02:00
Mark Paluch
86c15e6306 Release version 3.4.13 (2020.0.13).
See #2050
2021-09-17 08:53:40 +02:00
Mark Paluch
4a80e5e3dd Prepare 3.4.13 (2020.0.13).
See #2050
2021-09-17 08:53:10 +02:00
Oliver Drotbohm
c1a2ae1610 Avoid eager reference to BackendIdConverter beans.
Switched to bean method parameter reference to all BackendIdConverter instances.

Fixes #2055.
2021-08-19 23:22:08 +02:00
Jens Schauder
516726a7ec After release cleanups.
See #2044
2021-08-12 10:36:58 +02:00
Jens Schauder
84b194d773 Prepare next development iteration.
See #2044
2021-08-12 10:36:56 +02:00
Jens Schauder
432b9ea346 Release version 3.4.12 (2020.0.12).
See #2044
2021-08-12 10:25:55 +02:00
Jens Schauder
a8bbf7cd48 Prepare 3.4.12 (2020.0.12).
See #2044
2021-08-12 10:25:34 +02:00
Jens Schauder
f36ea4166e After release cleanups.
See #2030
2021-07-16 10:45:19 +02:00
Jens Schauder
f1fee8132c Prepare next development iteration.
See #2030
2021-07-16 10:45:17 +02:00
Jens Schauder
910eeb8686 Release version 3.4.11 (2020.0.11).
See #2030
2021-07-16 10:19:53 +02:00
Jens Schauder
ba2e8c674b Prepare 3.4.11 (2020.0.11).
See #2030
2021-07-16 10:18:57 +02:00
Jens Schauder
2166174a81 Updated changelog.
See #2030
2021-07-16 10:18:54 +02:00
David Lozano Jarque
c7b0ce5c0b Reintroduce link to "Understanding HATEOAS" document.
As the "understanding" section is not published any more, move link to Markdown file in the GitHub repository.

Original ticket: DATAREST-1392
2021-07-16 09:16:26 +02:00
Max Brauer
5b2d1fbede Fix incomplete sentence in reference docs of association resources.
Fixes #372.
2021-07-16 09:10:39 +02:00
Thomas Küstermann
2b2af362e9 Update documentation link to Spring HATEOAS's method links
Prefer link to official HATEOAS documentation rather than linking to the Github project README.
2021-07-16 09:07:59 +02:00
Joe Greubel
4fbb148735 Correct resource name in query method section.
Fixes #370.
2021-07-16 08:52:12 +02:00
Jay Bryant
2726d3ffa4 Wording changes
Removed the language of oppression and violence and replaced it with more neutral language.

Note that problematic words in the code have to remain in the docs until the code changes.

Fixes #379.
2021-07-16 00:11:21 +02:00
Oliver Drotbohm
59b52c6b79 Consistent anchor names for headings in documentation. 2021-07-15 16:30:33 +02:00
Oliver Drotbohm
0b28309c1e Tweak upstream CI triggers to reduce build load.
We now only build upon changes made to Spring HATEOAS and Spring Data Commons.
2021-07-13 13:05:53 +02:00
Oliver Drotbohm
edba6ace12 PersistentEntitiesResourceMapping.hasMappingFor(…) should lookup metadata on cache miss. 2021-07-13 09:43:38 +02:00
Oliver Drotbohm
c682ebbd1d RepositoryResourceMappings now processes all entities to detect repository mappings.
We now consider all registered PersistentEntity instances and try to detect repository metadata for them. A case we didn't cover before was that a repository was declared for an aggregate super type but the actual child aggregate class didn't have a dedicated repository declared. While this is a perfectly valid scenario, the mapping information was broken as it fell back on the plain domain type information and produced paths and relation names derived from that, even if there's a super type repository available.

Thus, solely traversing the aggregate types we have repositories registered for is not enough. We now traverse all known PersistentEntity types and also register repository metadata for all types that are assignable to a known domain type. The latter is actually implemented in Spring Data Commons' Repositories via spring-projects/spring-data-commons#2406.
2021-07-07 16:27:05 +02:00
Mark Paluch
29f0fd1a98 Updated changelog.
See #2012
2021-06-22 16:07:29 +02:00
Mark Paluch
c594ba434a After release cleanups.
See #2011
2021-06-22 15:28:52 +02:00
Mark Paluch
11291140c0 Prepare next development iteration.
See #2011
2021-06-22 15:28:49 +02:00
Mark Paluch
6baa500aa5 Release version 3.4.10 (2020.0.10).
See #2011
2021-06-22 15:18:24 +02:00
Mark Paluch
a6c6f28887 Prepare 3.4.10 (2020.0.10).
See #2011
2021-06-22 15:17:56 +02:00
Mark Paluch
3498b4bf71 Updated changelog.
See #2011
2021-06-22 15:17:53 +02:00
Oliver Drotbohm
fdc148a08b Remove explicit Spring HATEOAS snapshot version.
See #2019.
2021-06-22 15:14:25 +02:00
Oliver Drotbohm
4a13da2bc3 Avoid using Guava's Charset.
Replaced with Java's StandardCharset. Fixes #2026.
2021-06-17 21:16:27 +02:00
Oliver Drotbohm
fe7ad1f22a Upgrade to Spring Security 5.3.9.
Fixes #2021.
2021-06-08 15:47:51 +02:00
Oliver Drotbohm
710a48810a Conclude abbreviated sentence in reference docs.
Fixes #2016.
2021-06-08 15:09:00 +02:00
Greg L. Turnquist
976f0bfa0e Use Spring HATEOAS snapshots.
See #2019.
2021-06-03 12:17:56 -05:00