Skip to content

Commit

Permalink
release 5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tsolakoua committed Jun 11, 2020
1 parent f216d34 commit c744f74
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ This library requires Java 1.7+ and the [Gson library](https://github.com/google
<dependency>
<groupId>com.amadeus</groupId>
<artifactId>amadeus-java</artifactId>
<version>5.0.0</version>
<version>5.1.0</version>
</dependency>
```
#### Gradle
```js
compile "com.amadeus:amadeus-java:5.0.0"
compile "com.amadeus:amadeus-java:5.1.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=5.0.0
VERSION_NAME=5.1.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 = "5.0.0";
public static final String VERSION = "5.1.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, "5.0.0");
assertEquals("should have a version number", Amadeus.VERSION, "5.1.0");
}

}

0 comments on commit c744f74

Please sign in to comment.