Commit Graph

1440 Commits

Author SHA1 Message Date
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
Greg L. Turnquist
8cf3284460 Drop explicit dependency on JSON Path.
Let Spring HATEOAS bring in this dependency.

See #2018.
2021-06-03 12:16:40 -05:00
Mark Paluch
816c9c7a71 Updated changelog.
See #1999
2021-05-14 12:36:42 +02:00
Mark Paluch
f5adaad603 After release cleanups.
See #1998
2021-05-14 12:05:22 +02:00
Mark Paluch
56fba2250a Prepare next development iteration.
See #1998
2021-05-14 12:05:18 +02:00
Mark Paluch
3f0c49785d Release version 3.4.9 (2020.0.9).
See #1998
2021-05-14 11:52:25 +02:00
Mark Paluch
a2116543ea Prepare 3.4.9 (2020.0.9).
See #1998
2021-05-14 11:51:55 +02:00
Mark Paluch
44fcbcb18b Updated changelog.
See #1998
2021-05-14 11:51:50 +02:00
Kai Toedter
87e30d12db Replaced HAL Browser documentation with HAL Explorer documentation.
Removed unnecessary CustomPostForm.js from HAL Explorer. HAL Explorer natively supports Spring Profiles. Update link in README.adoc to the HAL Explorer section in the reference docs Correct typo and incorrect description in HAL-Explorer section.

Fixes #2005.
2021-05-11 16:41:25 +02:00
Oliver Drotbohm
a7df70ca46 DelegatingHandlerMapping now fully implements MatchingHandlerMapping correctly.
We now also implement MatchableHandlerMapping.getPatternParser() to expose the PathPatternParser we use. This is needed to detect that DelegatingHandlerMapping uses a PathPatternParser from the outside as the Spring MVC request processing pipeline treats those HandlerMappings in a special way. This is especially important in the context of spring-projects/spring-framework#26814 as that makes the HM implementations work properly in CORS preflight requests.

When used with Spring Security in place, CORS preflight requests are inspected through the HandlerMappingIntrospector, that looks up the CORS configuration for the handler to serve the actual request. That lookup previously failed as Spring MVC was unable to detect that Spring Data REST's DelegatingHandlerMapping works with a PathPatternParser and didn't properly set up the processing pipeline to eventually end up in an invalid state, produce an exception that caused the handler method lookup to fail and cause Spring Security to fail with a 403, claiming the request was invalid.

Fixes #2007.
2021-05-07 22:13:18 +02:00
Oliver Drotbohm
5b9234f761 Fixed potential NullPointerException in PersistentPropertyResourceMapping.isExported().
Fixes GH-1994.
2021-05-07 18:35:53 +02:00
Greg L. Turnquist
af9a26c037 Authenticate with artifactory.
See #1992.
2021-04-22 16:08:09 -05:00
Mark Paluch
c20564c35f Updated changelog.
See #1992
2021-04-14 14:40:04 +02:00
Mark Paluch
049c02dee7 After release cleanups.
See #1993
2021-04-14 11:42:10 +02:00
Mark Paluch
f68f2f79a9 Prepare next development iteration.
See #1993
2021-04-14 11:42:06 +02:00
Mark Paluch
fe9c2f4789 Release version 3.4.8 (2020.0.8).
See #1993
2021-04-14 11:33:27 +02:00
Mark Paluch
f047fc6e67 Prepare 3.4.8 (2020.0.8).
See #1993
2021-04-14 11:32:49 +02:00
Mark Paluch
0478d89a51 Updated changelog.
See #1993
2021-04-14 11:32:45 +02:00
Mark Paluch
0b60b71b19 Updated changelog.
See #1987
2021-04-14 11:17:44 +02:00
Oliver Drotbohm
1ae7efd0b8 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 17:22:12 +02:00