diff --git a/CHANGELOG.md b/CHANGELOG.md index 70c0b5a7..0e3b3eb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,10 @@ # Changelog +9.0.0 - 2024-04-17 +-------------------- +Decommissioned Safe Place API + +Replaced `NullPointerException` with `IllegalArgumentException` in `Amadeus.builder`.` Many thanks to [Sergei Prokofev](https://github.com/Sprokof) for the contribution + 8.1.0 - 2024-03-11 -------------------- 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 diff --git a/README.md b/README.md index 8cc8e365..479c3ecb 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.1.0 + 9.0.0 ``` #### Gradle ```js -compile "com.amadeus:amadeus-java:8.1.0" +compile "com.amadeus:amadeus-java:9.0.0" ``` ## Getting Started diff --git a/gradle.properties b/gradle.properties index 08036fbc..c925edc1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=com.amadeus -VERSION_NAME=8.1.0 +VERSION_NAME=9.0.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 b58e3912..326db559 100644 --- a/src/main/java/com/amadeus/Amadeus.java +++ b/src/main/java/com/amadeus/Amadeus.java @@ -24,7 +24,7 @@ public class Amadeus extends HTTPClient { /** * The API version. */ - public static final String VERSION = "8.1.0"; + public static final String VERSION = "9.0.0"; /** *

diff --git a/src/test/java/com/amadeus/AmadeusTest.java b/src/test/java/com/amadeus/AmadeusTest.java index 26a1a279..1dc4e18c 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.1.0", "should have a version number"); + assertEquals(Amadeus.VERSION, "9.0.0", "should have a version number"); } }