#1185 - Update changelog.

This commit is contained in:
Oliver Drotbohm
2020-01-15 09:28:15 +01:00
parent 27b21c8f19
commit 167a36848c
2 changed files with 18 additions and 3 deletions

View File

@@ -1,6 +1,19 @@
Spring HATEOAS Changelog
========================
Changes in version 1.0.3.RELEASE (2020-01-15)
----------------------------------------
- #1184 - Back-port dependency upgrades from 1.1.
- #1171 - Potential NullPointerException in UriTemplate.
- #1170 - Update license headers to extend copyright to 2020.
- #1167 - Premature initialization of downstream beans caused by RestTemplateHateoasConfiguration's reference to WebConverters.
- #1158 - Map content in an EntityModel is not properly unwrapped.
- #1156 - Thread-safety issues in AnnotationLinkRelationProvider's cache.
- #1154 - Query parameters are not removed from generated WebFlux links.
- #1153 - WebFluxLinkBuilder disregards path set in exchange.
- #1151 - Disabling Jackson's auto-detection mode breaks rendering of hypermedia elements.
- #1149 - Further performance improvements in link creation.
Changes in version 1.0.2.RELEASE (2019-12-03)
----------------------------------------
- #1142 - Release 1.0.2.RELEASE.

View File

@@ -15,12 +15,13 @@
*/
package org.springframework.hateoas.support;
import net.minidev.json.JSONArray;
import java.time.Duration;
import java.time.LocalDate;
import java.util.Iterator;
import java.util.List;
import net.minidev.json.JSONArray;
import org.springframework.hateoas.IanaLinkRelations;
import org.springframework.hateoas.Links;
import org.springframework.http.HttpEntity;
@@ -37,7 +38,7 @@ import com.jayway.jsonpath.JsonPath;
*/
class ChangelogCreator {
private static final int MILESTONE_ID = 39;
private static final int MILESTONE_ID = 40;
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) {
@@ -89,7 +90,8 @@ class ChangelogCreator {
Iterator<Object> ids = ((JSONArray) idPath.read(content)).iterator();
if (header) {
System.out.println("Changes in version " + JsonPath.read(content, "$[1].milestone.title") + " (" + LocalDate.now() + ")");
System.out.println(
"Changes in version " + JsonPath.read(content, "$[1].milestone.title") + " (" + LocalDate.now() + ")");
System.out.println("----------------------------------------");
}