From c744f74094a0d589a7ecf0f50c031461ae35d243 Mon Sep 17 00:00:00 2001 From: Anna Tsolakou Date: Thu, 11 Jun 2020 12:29:57 +0200 Subject: [PATCH] release 5.1.0 --- CHANGELOG.md | 5 ++++- 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, 9 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45a279ee..e6e5bf4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Changelog +## 5.1.0-2020-06-11 +Add support for the [Safe Place API](https://developers.amadeus.com/self-service/category/destination-content/api-doc/safe-place-api) + ## 5.0.0-2020-04-27 -Add support for the [Flight Choice Prediction v2](https://developers.amadeus.com/self-service/category/air/api-doc/flight-choice-prediction/api-reference) +Add support for the [Flight Choice Prediction v2](https://developers.amadeus.com/self-service/category/air/api-doc/flight-choice-prediction) The input of Flight Choice Prediction v2 is the result of Flight Offers Search API - in v1 the input was the result of Flight Low-Fare Search diff --git a/README.md b/README.md index 5e92d0fa..a32e4e03 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,12 @@ This library requires Java 1.7+ and the [Gson library](https://github.com/google com.amadeus amadeus-java - 5.0.0 + 5.1.0 ``` #### Gradle ```js -compile "com.amadeus:amadeus-java:5.0.0" +compile "com.amadeus:amadeus-java:5.1.0" ``` ## Getting Started diff --git a/gradle.properties b/gradle.properties index 44e0e250..99930650 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=com.amadeus -VERSION_NAME=5.0.0 +VERSION_NAME=5.1.0 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 ea496ede..ade549a6 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 = "5.0.0"; + public static final String VERSION = "5.1.0"; /** *

diff --git a/src/test/java/com/amadeus/AmadeusTest.java b/src/test/java/com/amadeus/AmadeusTest.java index 768b583e..72893cf8 100644 --- a/src/test/java/com/amadeus/AmadeusTest.java +++ b/src/test/java/com/amadeus/AmadeusTest.java @@ -52,7 +52,7 @@ public void testBuilderWithInvalidEnvironment() { }*/ @Test public void testVersion() { - assertEquals("should have a version number", Amadeus.VERSION, "5.0.0"); + assertEquals("should have a version number", Amadeus.VERSION, "5.1.0"); } }