From d1c19150299328ce2d5d0a4488bf0d958edfd3d2 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Fri, 5 Jul 2024 11:36:16 -0500 Subject: [PATCH] Release version 3.0.0 --- CHANGELOG.md | 5 +++++ README.md | 4 ++-- gradle.properties | 2 +- .../itunes/storekit/client/BaseAppStoreServerAPIClient.java | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52f0758a..f8da68be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## Version 3.0.0 +- Allow providing a custom bearer token provider and HTTP client implementation [https://github.com/apple/app-store-server-library-java/pull/109] + - This change refactors the internal implementation of the AppStoreServerAPIClient class. Users extending this class may see interface changes +- Rename applicationUsername to appAccountToken [https://github.com/apple/app-store-server-library-java/pull/104] + ## 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] diff --git a/README.md b/README.md index 802fb76f..c2880188 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.2.0' +implementation 'com.apple.itunes.storekit:app-store-server-library:3.0.0' ``` @@ -24,7 +24,7 @@ implementation 'com.apple.itunes.storekit:app-store-server-library:2.2.0' com.apple.itunes.storekit app-store-server-library - 2.2.0 + 3.0.0 ``` diff --git a/gradle.properties b/gradle.properties index f6dae514..74064d0a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version=2.2.0 +version=3.0.0 group=com.apple.itunes.storekit diff --git a/src/main/java/com/apple/itunes/storekit/client/BaseAppStoreServerAPIClient.java b/src/main/java/com/apple/itunes/storekit/client/BaseAppStoreServerAPIClient.java index 3a7723d5..29e65a5c 100644 --- a/src/main/java/com/apple/itunes/storekit/client/BaseAppStoreServerAPIClient.java +++ b/src/main/java/com/apple/itunes/storekit/client/BaseAppStoreServerAPIClient.java @@ -41,7 +41,7 @@ public abstract class BaseAppStoreServerAPIClient { 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.2.0"; + private static final String USER_AGENT = "app-store-server-library/java/3.0.0"; private static final String JSON = "application/json; charset=utf-8"; private final BearerTokenAuthenticatorInterface bearerTokenAuthenticator;