Skip to content

Commit

Permalink
Release 5.0.0 (#74)
Browse files Browse the repository at this point in the history
* release 5.0.0

* update changelog
  • Loading branch information
tsolakoua authored Apr 27, 2020
1 parent d967030 commit 3b5e371
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
# Changelog
## 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)

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

Add choiceProbability to FlightOfferSearch resource

Remove support for Flight Low-Fare Search: decommission on May 28, 2020 and mandatory migration to Flight Offers Search

Remove support for Flight Choice Prediction v1

## 4.1.0-2020-04-15
Bug fix - Fix helpers for Flight Create Orders
Add new helper methods to ease the use of Flight Booking APIs
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ You can install the SDK via Maven or Gradle.
<dependency>
<groupId>com.amadeus</groupId>
<artifactId>amadeus-java</artifactId>
<version>4.1.0</version>
<version>5.0.0</version>
</dependency>
```
#### Gradle
```js
compile "com.amadeus:amadeus-java:4.1.0"
compile "com.amadeus:amadeus-java:5.0.0"
```

## Getting Started
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.amadeus
VERSION_NAME=4.1.0
VERSION_NAME=5.0.0

POM_URL=https://github.com/amadeus4dev/amadeus-java
POM_SCM_URL[email protected]:amadeus4dev/amadeus-java.git
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/amadeus/Amadeus.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class Amadeus extends HTTPClient {
/**
* The API version.
*/
public static final String VERSION = "4.1.0";
public static final String VERSION = "5.0.0";

/**
* <p>
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/amadeus/AmadeusTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void testBuilderWithInvalidEnvironment() {
}*/

@Test public void testVersion() {
assertEquals("should have a version number", Amadeus.VERSION, "4.1.0");
assertEquals("should have a version number", Amadeus.VERSION, "5.0.0");
}

}

0 comments on commit 3b5e371

Please sign in to comment.