From 624ad49490a32345a4f404b732d4c62d6dfde285 Mon Sep 17 00:00:00 2001 From: Anna Tsolakou Date: Mon, 11 Mar 2024 12:08:50 +0100 Subject: [PATCH 1/2] release 8.1.0 --- CHANGELOG.md | 6 ++++++ 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, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff85cd41..8de442cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,10 @@ # Changelog +8.1.0 - 2024-03-11 +-------------------- +Renamed folder referenceData to referencedata to follow Java package naming convention. Many thanks to [Gabriele Atria](https://github.com/gabbor) for the contribution + +Updated params to accept String array as input. Many thanks to [Sergei Prokofev](https://github.com/Sprokof) for the contribution + 8.0.0 - 2023-09-06 -------------------- Decommissioned Travel Restrictions API v2 diff --git a/README.md b/README.md index ba6ccc12..818221b2 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 - 8.0.0 + 8.1.0 ``` #### Gradle ```js -compile "com.amadeus:amadeus-java:8.0.0" +compile "com.amadeus:amadeus-java:8.1.0" ``` ## Getting Started diff --git a/gradle.properties b/gradle.properties index ec9e5e46..08036fbc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=com.amadeus -VERSION_NAME=8.0.0 +VERSION_NAME=8.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 eb3d0846..8dc63f11 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 = "8.0.0"; + public static final String VERSION = "8.1.0"; /** *

diff --git a/src/test/java/com/amadeus/AmadeusTest.java b/src/test/java/com/amadeus/AmadeusTest.java index e2b4b1f3..3695891e 100644 --- a/src/test/java/com/amadeus/AmadeusTest.java +++ b/src/test/java/com/amadeus/AmadeusTest.java @@ -62,7 +62,7 @@ public void testBuilderWithInvalidEnvironment() { } @Test public void testVersion() { - assertEquals(Amadeus.VERSION, "8.0.0", "should have a version number"); + assertEquals(Amadeus.VERSION, "8.1.0", "should have a version number"); } } From 969b9696e2c236b9a24e8bee5a27abff0833b16a Mon Sep 17 00:00:00 2001 From: Anna Tsolakou Date: Mon, 11 Mar 2024 12:12:28 +0100 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8de442cc..70c0b5a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog 8.1.0 - 2024-03-11 -------------------- -Renamed folder referenceData to referencedata to follow Java package naming convention. Many thanks to [Gabriele Atria](https://github.com/gabbor) for the contribution +Renamed the folder `referenceData` to `referencedata` to follow the Java package naming convention. Many thanks to [Gabriele Atria](https://github.com/gabbor) for the contribution Updated params to accept String array as input. Many thanks to [Sergei Prokofev](https://github.com/Sprokof) for the contribution