From c16001a30042c4be4e778b7da282ef7b661de44d Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Thu, 20 Nov 2025 17:29:13 -0800 Subject: [PATCH] Release v2.0.0 of the App Store Server Library --- CHANGELOG.md | 9 +++++++++ appstoreserverlibrary/api_client.py | 2 +- pyproject.toml | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a01f2e11..270f0ff2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## Version 2.0.0 +- Support Retention Messaging API [https://github.com/apple/app-store-server-library-python/pull/160] + - This changes internal details of BaseAppStoreServerAPIClient, which is a breaking change for subclassing clients +- Incorporate changes for App Store Server API v1.17 [https://github.com/apple/app-store-server-library-python/pull/162] from @riyazpanjwani +- Add a new VerificationStatus case for retryable OCSP network failures [https://github.com/apple/app-store-server-library-python/pull/163] +- Add timeout to the AppStoreServerAPIClient [https://github.com/apple/app-store-server-library-python/pull/164] +- Incorporate changes for App Store Server API v1.18 [https://github.com/apple/app-store-server-library-python/pull/166] from @izanger + - This changes OfferType's case SUBSCRIPTION_OFFER_CODE to OFFER_CODE, which is a breaking change + ## Version 1.9.0 - Incorporate changes for App Store Server API v1.16 [https://github.com/apple/app-store-server-library-python/pull/141] from @riyazpanjwani - Fix SyntaxWarning in regex pattern string [https://github.com/apple/app-store-server-library-python/pull/138] from @krepe90 diff --git a/appstoreserverlibrary/api_client.py b/appstoreserverlibrary/api_client.py index 7932d4f2..acc68a3a 100644 --- a/appstoreserverlibrary/api_client.py +++ b/appstoreserverlibrary/api_client.py @@ -634,7 +634,7 @@ def _get_full_url(self, path) -> str: def _get_headers(self) -> Dict[str, str]: return { - 'User-Agent': "app-store-server-library/python/1.9.0", + 'User-Agent': "app-store-server-library/python/2.0.0", 'Authorization': f'Bearer {self._generate_token()}', 'Accept': 'application/json' } diff --git a/pyproject.toml b/pyproject.toml index f5f8b79f..56e100a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" [project] name = "app-store-server-library" -version = "1.9.0" +version = "2.0.0" description = "The App Store Server Library" readme = {file = "README.md", content-type = "text/markdown"} license = {text = "MIT"}