Commit Graph

1410 Commits

Author SHA1 Message Date
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
Mark Paluch
ba2a34152d After release cleanups.
See #1988
2021-03-31 18:29:41 +02:00
Mark Paluch
eb5d3c64ce Prepare next development iteration.
See #1988
2021-03-31 18:29:39 +02:00
Mark Paluch
3490bdda80 Release version 3.4.7 (2020.0.7).
See #1988
2021-03-31 18:19:53 +02:00
Mark Paluch
3363027d75 Prepare 3.4.7 (2020.0.7).
See #1988
2021-03-31 18:19:20 +02:00
Mark Paluch
77ec5f9ccf Updated changelog.
See #1988
2021-03-31 18:19:16 +02:00
Mark Paluch
aa897df4e1 Updated changelog.
See #1976
2021-03-31 17:26:09 +02:00
Mark Paluch
9869a906c1 Updated changelog.
See #1986
2021-03-17 11:31:32 +01:00
Mark Paluch
df43ab9fcc After release cleanups.
See #1979
2021-03-17 11:02:16 +01:00
Mark Paluch
ab6a56a99f Prepare next development iteration.
See #1979
2021-03-17 11:02:14 +01:00
Mark Paluch
01a97618bb Release version 3.4.6 (2020.0.6).
See #1979
2021-03-17 10:54:13 +01:00
Mark Paluch
3a409866a5 Prepare 3.4.6 (2020.0.6).
See #1979
2021-03-17 10:53:44 +01:00
Mark Paluch
4a59f5babc Updated changelog.
See #1979
2021-03-17 10:53:42 +01:00
Mark Paluch
5749fc559c Updated changelog.
See #1973
2021-03-17 10:35:15 +01:00
Greg L. Turnquist
5a4a66c1ee Backport replacement of RepositoryRestConfigurerAdapter in the ref docs to 3.4.x.
RepositoryRestConfigurerAdapter was superceded by RepositoryRestConfigurer and its default methods a long time ago. Update the ref docs to properly use the new interface.

Fixes #1983.
2021-03-16 15:10:21 +01:00
Toon Geens
b7791875f6 Backport documentation fix for RepositoryEntityLinks to 3.4.x.
Replace `RepositoryEntityLinks.linkToSingleResource()` to `RepositoryEntityLinks.linkToItemResource()`.

Fixes #1984.
2021-03-15 11:30:48 -05:00
Oliver Drotbohm
21556e68c1 #1980 - RepositoryEntityLinks now overrides ….linkForItemResource(…). 2021-02-24 18:00:32 +01:00
Oliver Drotbohm
22f5a027ae #1974 - Improve default LinkRelationProvider setup to also consider @Relation.
RepositoryRestConfiguration now defaults the LinkRelationProvider instance to a delegating one considering both AnnotationLinkRelationProvider and EvoLinkRelationProvider so that @Relation annotations on entity types.
2021-02-18 14:04:23 +01:00
Christoph Strobl
9ee4cf4cb4 Updated changelog.
See #1978
2021-02-18 11:37:50 +01:00
Christoph Strobl
a22caa57fe After release cleanups.
See #1975
2021-02-18 11:12:46 +01:00
Christoph Strobl
024d2a5c90 Prepare next development iteration.
See #1975
2021-02-18 11:12:45 +01:00
Christoph Strobl
2ef4d613d5 Release version 3.4.5 (2020.0.5).
See #1975
2021-02-18 10:59:16 +01:00
Christoph Strobl
9efcdea787 Prepare 3.4.5 (2020.0.5).
See #1975
2021-02-18 10:58:50 +01:00
Christoph Strobl
25d7f74ba8 Updated changelog.
See #1975
2021-02-18 10:58:48 +01:00
Christoph Strobl
6024d4fe3b Updated changelog.
See #1954
2021-02-17 14:20:37 +01:00
Christoph Strobl
2e69a4cf43 After release cleanups.
See #1953
2021-02-17 13:41:55 +01:00
Christoph Strobl
4e330812b7 Prepare next development iteration.
See #1953
2021-02-17 13:41:53 +01:00
Christoph Strobl
f5992a4e4f Release version 3.4.4 (2020.0.4).
See #1953
2021-02-17 12:00:24 +01:00
Christoph Strobl
94580e7ba5 Prepare 3.4.4 (2020.0.4).
See #1953
2021-02-17 11:59:37 +01:00
Christoph Strobl
d67cce1174 Updated changelog.
See #1953
2021-02-17 11:59:36 +01:00
Christoph Strobl
ebe3182d7d Updated changelog.
See #1918
2021-02-17 11:34:27 +01:00