From 3fd835cafd2654d4b52074f12d38c59c449012c3 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Tue, 20 May 2014 10:59:29 +0200 Subject: [PATCH] #174 - Updated changelog. --- src/main/resources/changelog.txt | 13 +++++++++++-- src/main/resources/notice.txt | 2 +- .../hateoas/support/ChangelogCreator.java | 6 ++++-- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/main/resources/changelog.txt b/src/main/resources/changelog.txt index 48aaf916..88e72558 100644 --- a/src/main/resources/changelog.txt +++ b/src/main/resources/changelog.txt @@ -1,9 +1,18 @@ Spring HATEOAS Changelog ======================== -Changes in version 0.10.0.RELEASE (2014-05-01) +Changes in version 0.12.0.RELEASE (2014-05-20) ---------------------------------------------- -- #173 - Release 0.110. +- #180 - Traverson is not expanding URI template on final call correctly. +- #179 - Fix double encoding in LinkBuilderSupport. +- #178 - Potential NullPointerException in ResourceSupport. +- #177 - Fix typo in readme. +- #131 - Add support for client side service traversing. +- #96 - LinkBuilderSupport double encoding URL. + +Changes in version 0.11.0.RELEASE (2014-05-01) +---------------------------------------------- +- #173 - Release 0.11. - #172 - Link should be serializable. - #170 - Proxy header detection should honor X-Forwarded-Port. - #114 - linkTo(methodOn()) problem when method is defined by super class of controller. diff --git a/src/main/resources/notice.txt b/src/main/resources/notice.txt index 165b4772..9d87a2dc 100644 --- a/src/main/resources/notice.txt +++ b/src/main/resources/notice.txt @@ -1,4 +1,4 @@ -Spring Hateoas 0.11 +Spring Hateoas 0.12 Copyright (c) [2012-2014] Pivotal Software, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). diff --git a/src/test/java/org/springframework/hateoas/support/ChangelogCreator.java b/src/test/java/org/springframework/hateoas/support/ChangelogCreator.java index bf7c9e6c..591f743c 100644 --- a/src/test/java/org/springframework/hateoas/support/ChangelogCreator.java +++ b/src/test/java/org/springframework/hateoas/support/ChangelogCreator.java @@ -30,7 +30,7 @@ import com.jayway.jsonpath.JsonPath; */ class ChangelogCreator { - private static final int MILESTONE_ID = 11; + private static final int MILESTONE_ID = 12; 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) throws Exception { @@ -47,7 +47,9 @@ class ChangelogCreator { System.out.println("Milestone - " + JsonPath.read(response, "$[1].milestone.title")); for (Object title : titles) { - System.out.println(String.format("- #%s - %s", ids.next(), title)); + + String format = String.format("- #%s - %s", ids.next(), title); + System.out.println(format.endsWith(".") ? format : format.concat(".")); } } }