diff --git a/src/main/resources/changelog.txt b/src/main/resources/changelog.txt index 20aba1ba..e597dda7 100644 --- a/src/main/resources/changelog.txt +++ b/src/main/resources/changelog.txt @@ -1,6 +1,19 @@ Spring HATEOAS Changelog ======================== +Changes in version 1.3 M1 (2021-01-13) +---------------------------------------- +- #1433 - Upgrade to Spring Framework 5.3.3. +- #1425 - RepresentationModelProcessor not invoked for PagedModel / CollectionModel consisting of RepresentationModels. +- #1424 - More convenience methods for MvcLink. +- #1423 - HaloFormsConfiguration.withPattern(…) should not be deprecated. +- #1417 - Release directly to OSS Sonatype. +- #1412 - Extracted mappings still contain regex matching expressions. +- #1399 - Curie information not rendered if model contains pre-curied links. +- #1388 - Properly parse new version format for CI. +- #1379 - RepresentationModelProcessor invoked for invalid CollectionModel payload if specialized. +- #475 - Allow all UriTemplate variable names following RFC. + Changes in version 1.2 GA (2020-10-27) ---------------------------------------- - #1384 - Upgrade to Spring Framework 5.3. diff --git a/src/test/java/org/springframework/hateoas/support/ChangelogCreator.java b/src/test/java/org/springframework/hateoas/support/ChangelogCreator.java index 23a661cc..63c294a6 100644 --- a/src/test/java/org/springframework/hateoas/support/ChangelogCreator.java +++ b/src/test/java/org/springframework/hateoas/support/ChangelogCreator.java @@ -38,7 +38,7 @@ import com.jayway.jsonpath.JsonPath; */ class ChangelogCreator { - private static final int MILESTONE_ID = 48; + private static final int MILESTONE_ID = 54; private static final String URI_TEMPLATE = "https://api.github.com/repos/spring-projects/spring-hateoas/issues?milestone={id}&state=closed"; public static void main(String... args) { @@ -52,8 +52,7 @@ class ChangelogCreator { HttpEntity response = webClient // .get().uri(URI_TEMPLATE, MILESTONE_ID) // - .exchange() // - .flatMap(clientResponse -> clientResponse.toEntity(String.class)) // + .exchangeToMono(clientResponse -> clientResponse.toEntity(String.class)) // .block(Duration.ofSeconds(10)); boolean keepChecking = true; @@ -71,8 +70,7 @@ class ChangelogCreator { response = webClient // .get().uri(links.getRequiredLink(IanaLinkRelations.NEXT).expand().getHref()) // - .exchange() // - .flatMap(clientResponse -> clientResponse.toEntity(String.class)) // + .exchangeToMono(clientResponse -> clientResponse.toEntity(String.class)) // .block(Duration.ofSeconds(10)); } else { @@ -91,7 +89,7 @@ class ChangelogCreator { if (header) { System.out.println( - "Changes in version " + JsonPath.read(content, "$[1].milestone.title") + " (" + LocalDate.now() + ")"); + "Changes in version " + JsonPath.read(content, "$[0].milestone.title") + " (" + LocalDate.now() + ")"); System.out.println("----------------------------------------"); }