#1430 - Update changelog.

This commit is contained in:
Oliver Drotbohm
2021-01-13 11:39:36 +01:00
parent 35a6048dd7
commit 49be6bae5f
2 changed files with 17 additions and 6 deletions

View File

@@ -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.

View File

@@ -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<String> 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("----------------------------------------");
}