From 04e3c8560b2d9a79e087f984257444c07a128139 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Wed, 12 Jun 2024 18:47:49 -0700 Subject: [PATCH] Release v1.3.0 --- CHANGELOG.md | 6 ++++++ appstoreserverlibrary/api_client.py | 2 +- setup.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 367fd10..05f8ec8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Version 1.3.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-python/pull/95] +- Fix deprecation warnings from cryptography [https://github.com/apple/app-store-server-library-python/pull/94] from @WFT +- Replace use of deprecated datetime.utcnow() [https://github.com/apple/app-store-server-library-python/pull/93] from @WFT +- Cache cattrs values to prevent memory leak [https://github.com/apple/app-store-server-library-python/pull/92] from @Reskov + ## Version 1.2.1 - Fix issue with OfferType in JWSTransactionDecodedPayload [https://github.com/apple/app-store-server-library-python/pull/88] from @devinwang diff --git a/appstoreserverlibrary/api_client.py b/appstoreserverlibrary/api_client.py index ed54c4d..6633512 100644 --- a/appstoreserverlibrary/api_client.py +++ b/appstoreserverlibrary/api_client.py @@ -492,7 +492,7 @@ def _make_request(self, path: str, method: str, queryParameters: Dict[str, Union c = _get_cattrs_converter(type(body)) if body is not None else None json = c.unstructure(body) if body is not None else None headers = { - 'User-Agent': "app-store-server-library/python/1.2.1", + 'User-Agent': "app-store-server-library/python/1.3.0", 'Authorization': 'Bearer ' + self._generate_token(), 'Accept': 'application/json' } diff --git a/setup.py b/setup.py index 1bd7195..8fd528a 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name="app-store-server-library", - version="1.2.1", + version="1.3.0", description="The App Store Server Library", long_description=long_description, long_description_content_type="text/markdown",