From 27250fa585d6c400648116b5beb49fdf596e585a Mon Sep 17 00:00:00 2001 From: Anna Tsolakou Date: Fri, 22 Jul 2022 12:59:46 +0200 Subject: [PATCH 1/2] release 6.2.1 --- CHANGELOG.md | 8 ++++++++ README.md | 4 ++-- gradle.properties | 2 +- src/main/java/com/amadeus/Amadeus.java | 2 +- src/test/java/com/amadeus/AmadeusTest.java | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b68e719..c4466579 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ # Changelog +6.2.1 - 2022-07-22 +-------------------- +Removed unnecessary toString() on a String. Big thanks to [Steve Donovan](https://github.com/steve-donovan) for his contribution! :clap: + +Fixed property type name in the FlightOffersSearch resource + +Add support for the [Hotel Name Autocomplete API](https://developers.amadeus.com/self-service/category/hotel/api-doc/hotel-name-autocomplete/api-reference) + 6.2.0 - 2022-07-18 -------------------- Add support for the [Airline Routes API](https://developers.amadeus.com/self-service/category/air/api-doc/airline-routes/api-reference). Big thanks to [Siddhartha Dutta](https://github.com/siddydutta) for his contribution! :clap: diff --git a/README.md b/README.md index 64c6bfe4..1be3890d 100644 --- a/README.md +++ b/README.md @@ -14,12 +14,12 @@ This library requires Java 1.7+ and the [Gson library](https://github.com/google com.amadeus amadeus-java - 6.2.0 + 6.2.1 ``` #### Gradle ```js -compile "com.amadeus:amadeus-java:6.2.0" +compile "com.amadeus:amadeus-java:6.2.1" ``` ## Getting Started diff --git a/gradle.properties b/gradle.properties index 49de7c8a..1b841032 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=com.amadeus -VERSION_NAME=6.2.0 +VERSION_NAME=6.2.1 POM_URL=https://github.com/amadeus4dev/amadeus-java POM_SCM_URL=git@github.com:amadeus4dev/amadeus-java.git diff --git a/src/main/java/com/amadeus/Amadeus.java b/src/main/java/com/amadeus/Amadeus.java index 0912a5dc..cc2c90b5 100644 --- a/src/main/java/com/amadeus/Amadeus.java +++ b/src/main/java/com/amadeus/Amadeus.java @@ -25,7 +25,7 @@ public class Amadeus extends HTTPClient { /** * The API version. */ - public static final String VERSION = "6.2.0"; + public static final String VERSION = "6.2.1"; /** *

diff --git a/src/test/java/com/amadeus/AmadeusTest.java b/src/test/java/com/amadeus/AmadeusTest.java index a92ae2ac..e985705c 100644 --- a/src/test/java/com/amadeus/AmadeusTest.java +++ b/src/test/java/com/amadeus/AmadeusTest.java @@ -61,7 +61,7 @@ public void testBuilderWithInvalidEnvironment() { } @Test public void testVersion() { - assertEquals(Amadeus.VERSION, "6.2.0", "should have a version number"); + assertEquals(Amadeus.VERSION, "6.2.1", "should have a version number"); } } From 3b0f625d204c5c15ecd8179fc7452c0b88667529 Mon Sep 17 00:00:00 2001 From: Anna Tsolakou Date: Fri, 22 Jul 2022 13:00:37 +0200 Subject: [PATCH 2/2] fix changelog --- CHANGELOG.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c4466579..429916d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,6 @@ Removed unnecessary toString() on a String. Big thanks to [Steve Donovan](https: Fixed property type name in the FlightOffersSearch resource -Add support for the [Hotel Name Autocomplete API](https://developers.amadeus.com/self-service/category/hotel/api-doc/hotel-name-autocomplete/api-reference) - 6.2.0 - 2022-07-18 -------------------- Add support for the [Airline Routes API](https://developers.amadeus.com/self-service/category/air/api-doc/airline-routes/api-reference). Big thanks to [Siddhartha Dutta](https://github.com/siddydutta) for his contribution! :clap: