Skip to content

Commit 3b5e371

Browse files
authored
Release 5.0.0 (#74)
* release 5.0.0 * update changelog
1 parent d967030 commit 3b5e371

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
# Changelog
2+
## 5.0.0-2020-04-27
3+
Add support for the [Flight Choice Prediction v2](https://developers.amadeus.com/self-service/category/air/api-doc/flight-choice-prediction/api-reference)
4+
5+
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
6+
7+
Add choiceProbability to FlightOfferSearch resource
8+
9+
Remove support for Flight Low-Fare Search: decommission on May 28, 2020 and mandatory migration to Flight Offers Search
10+
11+
Remove support for Flight Choice Prediction v1
12+
213
## 4.1.0-2020-04-15
314
Bug fix - Fix helpers for Flight Create Orders
415
Add new helper methods to ease the use of Flight Booking APIs

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ You can install the SDK via Maven or Gradle.
3636
<dependency>
3737
<groupId>com.amadeus</groupId>
3838
<artifactId>amadeus-java</artifactId>
39-
<version>4.1.0</version>
39+
<version>5.0.0</version>
4040
</dependency>
4141
```
4242
#### Gradle
4343
```js
44-
compile "com.amadeus:amadeus-java:4.1.0"
44+
compile "com.amadeus:amadeus-java:5.0.0"
4545
```
4646

4747
## Getting Started

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=com.amadeus
2-
VERSION_NAME=4.1.0
2+
VERSION_NAME=5.0.0
33

44
POM_URL=https://github.com/amadeus4dev/amadeus-java
55
POM_SCM_URL[email protected]:amadeus4dev/amadeus-java.git

src/main/java/com/amadeus/Amadeus.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public class Amadeus extends HTTPClient {
2525
/**
2626
* The API version.
2727
*/
28-
public static final String VERSION = "4.1.0";
28+
public static final String VERSION = "5.0.0";
2929

3030
/**
3131
* <p>

src/test/java/com/amadeus/AmadeusTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void testBuilderWithInvalidEnvironment() {
5252
}*/
5353

5454
@Test public void testVersion() {
55-
assertEquals("should have a version number", Amadeus.VERSION, "4.1.0");
55+
assertEquals("should have a version number", Amadeus.VERSION, "5.0.0");
5656
}
5757

5858
}

0 commit comments

Comments
 (0)