Commit Graph

959 Commits

Author SHA1 Message Date
Oliver Drotbohm
a9c0c92704 GH-1710 - Releasing Spring HATEOAS 1.2.11. 2021-11-11 15:38:58 +01:00
Oliver Drotbohm
5178ea0aa9 #1710 - Update change log prior to release. 2021-11-11 14:31:17 +01:00
Oliver Drotbohm
a1c5299b2f #1709 - Upgrade to Spring Framework 5.3.13. 2021-11-11 13:13:58 +01:00
Oliver Drotbohm
51431322a4 #1708 - Upgrade to Reactor 2020.0.13. 2021-11-11 13:12:32 +01:00
Oliver Drotbohm
c13cab0b67 #1683 - Backport of tests.
Backport of the tests introduced with 071256 to make sure the problem doesn't exist in this branch.
2021-10-28 20:50:54 +02:00
Oliver Drotbohm
912dce98c6 #1694 - Avoid serializing empty beans in EntityModel.
The unwrapping nature of EntityModel.getContent() does not work well with value that would result in an empty object being rendered. We now skip the rendering if failing for empty beans is disabled.
2021-10-19 13:59:13 +02:00
Oliver Drotbohm
4642aead04 #1692 - Use Links.collector() in JsonPathLinkDiscoverer. 2021-10-19 13:29:13 +02:00
Oliver Drotbohm
df91e73083 #1690 - Fix Javadoc in LinkDiscovererfindLinkWithRel(…). 2021-10-19 13:27:14 +02:00
Oliver Drotbohm
0f28b40991 #1669 - Switch to latest Artifactory Maven plugin.
Allows us to avoid a dedicated plugin repository.
2021-10-14 16:02:44 +02:00
Oliver Drotbohm
0d2e9119c1 GH-1669 - Continue development on 1.2.11-SNAPSHOT. 2021-10-14 15:03:40 +02:00
Oliver Drotbohm
548e91bcc1 GH-1669 - Releasing Spring HATEOAS 1.2.10. 2021-10-14 15:03:38 +02:00
Oliver Drotbohm
2faa58a5d9 #1669 - Update changelog prior to release. 2021-10-14 15:02:25 +02:00
Oliver Drotbohm
35fad9a55d #1671 - Upgrade to Lombok 1.18.22. 2021-10-14 14:55:18 +02:00
Oliver Drotbohm
77fa74aa22 #1670 - Upgrade to Mockk 1.10.6. 2021-10-14 14:54:26 +02:00
Oliver Drotbohm
881de91b44 #1669 - Polish project metadata in pom.xml. 2021-10-14 14:41:09 +02:00
Oliver Drotbohm
b778fc7e99 #1668 - Upgrade to Reactor 2020.0.12. 2021-10-14 14:38:23 +02:00
Oliver Drotbohm
e34ce129a9 #1666 - Upgrade to Spring Framework 5.3.12. 2021-10-14 14:37:15 +02:00
Oliver Drotbohm
4f51b07f10 #1667 - Upgrade Maven Wrapper to 3.8.3. 2021-10-14 14:36:21 +02:00
Josh Gough
aa113f816d #1664 - Documentation fix in HalModelBuilder usage.
Changed ….halModel(order) to ….halModelOf(order) for plain entities.
2021-10-13 16:57:44 +02:00
Oliver Drotbohm
a783c635dd #1650 - Improve proxy creation in DummyInvocationUtils.
We now explicitly set the optimize flag on the ProxyFactory for class based proxies used to create dummy invocation proxies. Still needs the upgrade to Spring Framework 5.3.11 (spring-projects/spring-framework#27439, #1647) to create full effect.
2021-09-21 18:00:10 +02:00
Oliver Drotbohm
6290325010 #1644 - Tweak CI build to run compatibility builds against JDK 17. 2021-09-20 22:34:40 +02:00
Oliver Drotbohm
f1f8709b17 #1645 - Upgrade to Lombok 1.18.20. 2021-09-20 22:34:40 +02:00
Oliver Drotbohm
8cd3b737bf #1644 - Upgrade to Kotlin Maven Plugin 1.5.31 for JDK 17 compatibility. 2021-09-20 22:34:40 +02:00
Oliver Drotbohm
be6615c434 #1646 - Avoid trying to proxy Object for controller method dummy invocations.
On JDK 17, trying to proxy Object doesn't work anymore. We now simply return the interceptor that would've been applied to the proxy directly and detect that properly in requests to extract the LastInvocationAware instance.
2021-09-20 22:34:40 +02:00
Oliver Drotbohm
c2fca8be01 GH-1612 - Continue development on 1.2.10-SNAPSHOT. 2021-09-16 12:02:35 +02:00
Oliver Drotbohm
73e541e33d GH-1612 - Releasing Spring HATEOAS 1.2.9. 2021-09-16 12:02:32 +02:00
Oliver Drotbohm
3c26877b78 #1612 - Remove Bintray plugin repository. 2021-09-16 12:02:25 +02:00
Oliver Drotbohm
274c1a5a30 #1612 - Prepare changelog for 1.2.9 release. 2021-09-16 11:58:07 +02:00
Oliver Drotbohm
ecf545b2f0 #1612 - Upgrade to JUnit 5.7.2. 2021-09-16 11:51:07 +02:00
Oliver Drotbohm
e568243ef2 #1617 - Upgrade to Jackson 2.11.4. 2021-09-16 11:50:47 +02:00
Oliver Drotbohm
983b49f8da #1616 - Upgrade to Reactor 2020.0.11. 2021-09-16 11:49:55 +02:00
Oliver Drotbohm
94a5e79a6e #1615 - Upgrade to Slf4j 1.7.32. 2021-09-16 11:49:06 +02:00
Oliver Drotbohm
9d25bc470d #1612 - Upgrade ArchUnit to 0.21.0. 2021-09-16 11:43:28 +02:00
Oliver Drotbohm
376a21afa0 #1614 - Upgrade to Kotlin 1.4.32.
Also upgrade to coroutines 1.4.3.
2021-09-16 11:43:24 +02:00
Oliver Drotbohm
d588a455a4 #1613 - Upgrade to Spring Framework 5.3.10. 2021-09-16 11:32:44 +02:00
Oliver Drotbohm
7d222cb834 #1611 - Avoid superfluous object creation in Link.valueOf(…).
We now avoid calling with…-methods for every attribute parsed from an RFC-8288 link string.
2021-09-16 11:29:32 +02:00
Oliver Drotbohm
bd618fe600 #1606 - Polish nullability for Link. 2021-09-14 10:37:20 +02:00
Oliver Drotbohm
56f85a430f #1604 - Properly contextualize MapSuppressingUnwrappingSerializer.
According to FasterXML/jackson-databind#3272, we have to explicitly contextualize the delegate serializer we use for non-Map content in EntityModel.
2021-09-14 09:04:13 +02:00
Oliver Drotbohm
9528d378dd #1601 - Properly create Property instances in PropertyUtils.
We now hand the already known property name (from the PropertyDescriptor) to the Property instance we create when inspecting classes for metadata. This avoids ambiguities stemming from the fact that Property assumes Java Bean style properties but Spring's BeanUtils also supporting Java Records style accessors. In special naming contexts like the one used in the test case, this can lead to properties considered "the same" as their accessor methods imply their name is the same.
2021-09-09 16:08:05 +02:00
Oliver Drotbohm
7b2079d83f GH-1581 - Continue development on 1.2.9-SNAPSHOT. 2021-07-14 16:27:04 +02:00
Oliver Drotbohm
c945f1b548 GH-1581 - Releasing Spring HATEOAS 1.2.8. 2021-07-14 16:26:57 +02:00
Oliver Drotbohm
ac0d82975f #1581 - Prepare 1.2.8 release.
Update changelog.
2021-07-14 16:25:29 +02:00
Oliver Drotbohm
be76960216 #1578 - Upgrade to Reactor 2020.0.9. 2021-07-14 16:14:22 +02:00
Oliver Drotbohm
743e48fd3c #1577 - Upgrade to Spring Framework 5.3.9. 2021-07-14 16:13:31 +02:00
Oliver Drotbohm
8cafd05b41 #1571 - Avoid double curie-ing of HalModel embeds.
Embedded elements assembled through a HalModelBuilder expose those through a CollectionModel to make sure that the individual elements get grouped by their link relation and those potentially curied. To indicate a curie link needing to be added because of curied embeds, the serialization adds a magic link to the list of links of that CollectionModel. As the latter is unwrapped, an additiona _links block rendering a curie had been added to the representation rendering the JSON representation invalid, as it now contained two _links fields (the latter stemming from the actual links added to the HAL representation model).

We now tweak the CollectionModel returned to override ….add(Link) and rather route the magic link to the outer representation model, causing the inner one to never accumulate any links in the first place and thus not render an invalid _links.
2021-06-30 11:03:56 +02:00
Florian Cramer
9ee4b8e1ec #1561 - Support for implicitly not required request parameters.
Handler method parameters annotated with @RequestParam(defaultValue = …) are implicitly not required and thus should still be advertised in the URI templated generated. Previously it was necessary to explicitly set @RequestParam(required = …) to false.

Original pull request: #1511.
Related ticket: #331.
2021-06-28 13:09:59 +02:00
Oliver Drotbohm
dd51b54204 GH-1552 - Continue development on 1.2.8-SNAPSHOT. 2021-06-22 14:14:49 +02:00
Oliver Drotbohm
dc2b356bdc GH-1552 - Releasing Spring HATEOAS 1.2.7. 2021-06-22 14:14:40 +02:00
Oliver Drotbohm
4b85e3f745 #1552 - Update changelog. 2021-06-22 14:03:28 +02:00
Oliver Drotbohm
afb8ee7741 #1556 - Upgrade to Reactor 2020.0.8. 2021-06-22 13:49:18 +02:00