diff --git a/CHANGELOG.md b/CHANGELOG.md index 270f0ff2..d046f665 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## Version 3.0.0 +- Incorporate changes for App Store Server API v1.19 [https://github.com/apple/app-store-server-library-python/pull/172] from @riyazpanjwani + - This changes ConsumptionRequest and several dependent types to the V2 variant, while the V1 version was created as a new type, to align with documentation, which is a breaking change + ## 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 diff --git a/appstoreserverlibrary/api_client.py b/appstoreserverlibrary/api_client.py index acc68a3a..12699b89 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/2.0.0", + 'User-Agent': "app-store-server-library/python/3.0.0", 'Authorization': f'Bearer {self._generate_token()}', 'Accept': 'application/json' } diff --git a/pyproject.toml b/pyproject.toml index 610a3fbb..e9c5a0e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" [project] name = "app-store-server-library" -version = "2.0.0" +version = "3.0.0" description = "The App Store Server Library" readme = {file = "README.md", content-type = "text/markdown"} license = {text = "MIT"}