Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit ff5e99b

Browse files
authored
Merge pull request #38 from Beaelf/feature/update-sdk
release 2.1.5
2 parents b70f7a2 + 92cbb19 commit ff5e99b

File tree

4 files changed

+50
-28
lines changed

4 files changed

+50
-28
lines changed

CHANGELOG.md

Lines changed: 45 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,66 @@
1-
## Release History
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
23

3-
## Change log
4-
### 2.1.4
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [2.1.5] - 2022-07-20
8+
### Added
9+
- Add predict-batch endpoint and update tracking fields https://github.com/AfterShip/aftership-sdk-java/pull/37
10+
### Changed
11+
- Update tracking fields https://github.com/AfterShip/aftership-sdk-java/pull/36
12+
13+
## 2.1.4
514
- Add some fields of tracking object. [tracking object](https://developers.aftership.com/reference/object-tracking)
615
- Add more request parameters for get trackings interface.
716

8-
### 2.1.3
17+
## [2.1.3] 2022-03-22
18+
### Fixed
919
- fix: mask aftership api key in exception message
1020

11-
### 2.1.2
21+
## [2.1.2] - 2022-01-26
22+
### Fixed
1223
- fix: change shipmentWeight from Integer to Float #26
1324

14-
### 2.1.1
25+
## 2.1.1
26+
### Changed
1527
- update README and build.gradle
1628

17-
### 2.1.0
29+
## [2.1.0] - 2021-11-17
30+
### Changed
1831
- Add some fields of tracking object. [tracking object](https://developers.aftership.com/reference/object-tracking)
1932
- Add more request parameters for get trackings interface.
2033

21-
### 2.0.8 (2021-03-08)
22-
- Bug fixes
34+
### [2.0.8] - 2021-03-08
35+
- Fixed
2336
- [API response failed to throw IllegalStateException](https://github.com/AfterShip/aftership-sdk-java/issues/18)
2437

25-
### 2.0.0-alpha (2020-05-28)
26-
- New features
27-
- Support latest features in v4 API
28-
- Use Gradle as a dependency manager
29-
- Published in maven central repository
30-
- Error handling
31-
- Add mock test
32-
- Add samples
33-
- Compatibility
34-
- JDK >= 1.8
35-
36-
### 2016-04-26-v1.2.0
38+
## 2.0.0-alpha - 2020-05-28
39+
### Added
40+
- Support latest features in v4 API
41+
- Use Gradle as a dependency manager
42+
- Published in maven central repository
43+
- Error handling
44+
- Add mock test
45+
- Add samples
3746

47+
Compatibility
48+
- JDK >= 1.8
49+
50+
## [1.2.0] - 2016-04-26
51+
### Changed
3852
- Properties added in Checkpoint class
3953
- slug
4054
- location
4155

42-
### 2016-02-02-v1.1.1
43-
56+
## [1.1.1] - 2016-02-02
57+
### Changed
4458
- Solving issue at Checkpoint.java, typo in ```country_iso3```
59+
60+
[2.1.5]: https://github.com/AfterShip/aftership-sdk-java/compare/v2.1.3...2.1.5
61+
[2.1.3]: https://github.com/AfterShip/aftership-sdk-java/compare/v2.1.2...v2.1.3
62+
[2.1.2]: https://github.com/AfterShip/aftership-sdk-java/compare/v2.1.0...v2.1.2
63+
[2.1.0]: https://github.com/AfterShip/aftership-sdk-java/compare/v2.0.8...v2.1.0
64+
[2.0.8]: https://github.com/AfterShip/aftership-sdk-java/compare/v1.2.0...v2.0.8
65+
[1.2.0]: https://github.com/AfterShip/aftership-sdk-java/compare/1.1.1...v1.2.0
66+
[1.1.1]: https://github.com/AfterShip/aftership-sdk-java/releases/tag/1.1.1

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ Requirements:
1818
<dependency>
1919
<groupId>com.aftership</groupId>
2020
<artifactId>aftership-sdk</artifactId>
21-
<version>2.1.4</version>
21+
<version>2.1.5</version>
2222
</dependency>
2323
```
2424

2525
### Gradle
2626

2727
```text
28-
implementation "com.aftership:aftership-sdk:2.1.4"
28+
implementation "com.aftership:aftership-sdk:2.1.5"
2929
```
3030

3131

aftership-sdk/src/main/java/com/aftership/sdk/utils/Define.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
public final class Define {
55

66
/** Version of the current component */
7-
public static final String VERSION = "2.1.4";
7+
public static final String VERSION = "2.1.5";
88

99
/** The range of http status codes for successful API requests */
1010
public static final int[] SUCCESSFUL_CODE_RANGE;

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ buildscript {
1818

1919
allprojects {
2020
group 'com.aftership'
21-
version '2.1.4'
21+
version '2.1.5'
2222

2323
repositories {
2424
mavenCentral()
@@ -110,7 +110,7 @@ project(':aftership-sdk') {
110110
project(':aftership-sample'){
111111
dependencies {
112112
// compile project(':aftership-sdk')
113-
implementation "com.aftership:aftership-sdk:2.1.4"
113+
implementation "com.aftership:aftership-sdk:2.1.5"
114114
}
115115

116116
jar {

0 commit comments

Comments
 (0)