diff --git a/CHANGELOG.md b/CHANGELOG.md index fad8c5bd..52f0758a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Version 2.2.0 +- Incorporate changes for App Store Server API v1.12 and App Store Server Notifications v2.12 [https://github.com/apple/app-store-server-library-java/pull/103] +- Handle null appAccountToken appropriately in PromotionalOfferSignatureCreator [https://github.com/apple/app-store-server-library-java/pull/100] + ## Version 2.1.0 - Incorporate changes for App Store Server API v1.11 and App Store Server Notifications v2.11 [https://github.com/apple/app-store-server-library-java/pull/94] - Add proxy authenticator support [https://github.com/apple/app-store-server-library-java/pull/93] diff --git a/README.md b/README.md index 765c1989..6e58beaf 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ The Java server library for the [App Store Server API](https://developer.apple.c ### Gradle ```groovy -implementation 'com.apple.itunes.storekit:app-store-server-library:2.1.0' +implementation 'com.apple.itunes.storekit:app-store-server-library:2.2.0' ``` @@ -24,7 +24,7 @@ implementation 'com.apple.itunes.storekit:app-store-server-library:2.1.0' com.apple.itunes.storekit app-store-server-library - 2.1.0 + 2.2.0 ``` diff --git a/gradle.properties b/gradle.properties index 6350294c..f6dae514 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version=2.1.0 +version=2.2.0 group=com.apple.itunes.storekit diff --git a/src/main/java/com/apple/itunes/storekit/client/AppStoreServerAPIClient.java b/src/main/java/com/apple/itunes/storekit/client/AppStoreServerAPIClient.java index cff67ef0..0d92904c 100644 --- a/src/main/java/com/apple/itunes/storekit/client/AppStoreServerAPIClient.java +++ b/src/main/java/com/apple/itunes/storekit/client/AppStoreServerAPIClient.java @@ -46,7 +46,7 @@ public class AppStoreServerAPIClient { private static final String PRODUCTION_URL = "https://api.storekit.itunes.apple.com"; private static final String SANDBOX_URL = "https://api.storekit-sandbox.itunes.apple.com"; private static final String LOCAL_TESTING_URL = "https://local-testing-base-url"; - private static final String USER_AGENT = "app-store-server-library/java/2.1.0"; + private static final String USER_AGENT = "app-store-server-library/java/2.2.0"; private static final MediaType JSON = MediaType.parse("application/json; charset=utf-8"); private final OkHttpClient httpClient;