#988 - Update dependencies and changelog.
Jayway JSONPath 2.2.0 -> 2.4.0 JUnit 5.4.1 -> 5.4.2 Slf4j 1.7.25 -> 1.7.26 Kotlin 1.3.21 -> 1.3.31 Removed obsolete version declarations for JSR-305 and Minidev JSON. Some nullability guards in ChangelogCreator.
This commit is contained in:
10
pom.xml
10
pom.xml
@@ -76,15 +76,13 @@
|
||||
<jacoco.destfile>${project.build.directory}/jacoco.exec</jacoco.destfile>
|
||||
<jackson.version>2.9.8</jackson.version>
|
||||
<java-module-name>spring.hateoas</java-module-name>
|
||||
<jsonpath.version>2.2.0</jsonpath.version>
|
||||
<jsr305.version>3.0.2</jsr305.version>
|
||||
<junit.version>5.4.1</junit.version>
|
||||
<minidevjson.version>2.2.1</minidevjson.version>
|
||||
<jsonpath.version>2.4.0</jsonpath.version>
|
||||
<junit.version>5.4.2</junit.version>
|
||||
<reactor-bom.version>Dysprosium-M1</reactor-bom.version>
|
||||
<slf4j.version>1.7.25</slf4j.version>
|
||||
<slf4j.version>1.7.26</slf4j.version>
|
||||
<spring.version>5.2.0.M2</spring.version>
|
||||
<spring-plugin.version>2.0.0.M1</spring-plugin.version>
|
||||
<kotlin.version>1.3.21</kotlin.version>
|
||||
<kotlin.version>1.3.31</kotlin.version>
|
||||
</properties>
|
||||
|
||||
<profiles>
|
||||
|
||||
@@ -1,6 +1,32 @@
|
||||
Spring HATEOAS Changelog
|
||||
========================
|
||||
|
||||
Changes in version 1.0.0.M2 (2019-05-13)
|
||||
----------------------------------------
|
||||
- #988 - Release 1.0 M2.
|
||||
- #985 - Stabilize on Spring Framework 5.2.0.M1.
|
||||
- #983 - Switch to Spring's ServerWebExchangeContextFilter.
|
||||
- #980 - Migrate to JUnit 5.
|
||||
- #977 - Performance improvements in link generation.
|
||||
- #973 - Add configuration options to select the web stack to add hypermedia support for.
|
||||
- #971 - Traverson to templated Link fails.
|
||||
- #919 - Upgrade to Spring Framework 5.2 M2.
|
||||
- #911 - Rename pull request tasks.
|
||||
- #910 - URL Cleanup.
|
||||
- #891 - Overhaul documentation section on EntityLinks.
|
||||
- #886 - Add section on forward header handling to reference documents.
|
||||
- #885 - Re-enable default registry of WebFlux encoders and decoders.
|
||||
- #867 - WebClientConfigurer overrides exchange strategies.
|
||||
- #863 - Removal of spring-plugin library.
|
||||
- #860 - Switch to URI.create().
|
||||
- #859 - Fix RepresentationModelProcessor to smoothly register with Spring MVC.
|
||||
- #856 - Improve migration script.
|
||||
- #855 - URL Cleanup.
|
||||
- #831 - Add nullability annotations to codebase.
|
||||
- #830 - Reorganize the labels.
|
||||
- #459 - Add Spring HATEOAS room to Gitter.
|
||||
|
||||
|
||||
Changes in version 1.0.0.M1 (2019-03-05)
|
||||
----------------------------------------
|
||||
- #854 - Migrate off Objenesis in favor of Spring's ProxyFactory.
|
||||
|
||||
@@ -15,10 +15,12 @@
|
||||
*/
|
||||
package org.springframework.hateoas.support;
|
||||
|
||||
import net.minidev.json.JSONArray;
|
||||
|
||||
import java.time.Duration;
|
||||
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;
|
||||
@@ -35,7 +37,7 @@ import com.jayway.jsonpath.JsonPath;
|
||||
*/
|
||||
class ChangelogCreator {
|
||||
|
||||
private static final int MILESTONE_ID = 25;
|
||||
private static final int MILESTONE_ID = 30;
|
||||
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) {
|
||||
@@ -61,7 +63,8 @@ class ChangelogCreator {
|
||||
readPage(response.getBody(), printHeader);
|
||||
printHeader = false;
|
||||
|
||||
Links links = Links.parse(response.getHeaders().get(HttpHeaders.LINK).get(0));
|
||||
List<String> linksInHeader = response.getHeaders().get(HttpHeaders.LINK);
|
||||
Links links = linksInHeader == null ? Links.NONE : Links.parse(linksInHeader.get(0));
|
||||
|
||||
if (links.getLink(IanaLinkRelations.NEXT).isPresent()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user