Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion appstoreserverlibrary/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down