Skip to content

Commit 30a21aa

Browse files
Release v4.0.0 of the App Store Server Library
1 parent 5da964e commit 30a21aa

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## Version 4.0.0
4+
- Support Retention Messaging API [https://github.com/apple/app-store-server-library-swift/pull/101]
5+
- This changes internal details of AppStoreServerAPIClient, which is a breaking change for subclassing clients
6+
- Incorporate changes for App Store Server API v1.17 [https://github.com/apple/app-store-server-library-swift/pull/102] from @riyazpanjwani
7+
- Add a new VerificationError case for retryable OCSP network failures [https://github.com/apple/app-store-server-library-swift/pull/104]
8+
- Incorporate changes for App Store Server API v1.18 [https://github.com/apple/app-store-server-library-swift/pull/106] from @izanger
9+
- This changes OfferType's case subscriptionOfferCode to offerCode, which is a breaking change
10+
- Fix Base64URL decoding [https://github.com/apple/app-store-server-library-swift/pull/107] from @shimastripe
11+
312
## Version 3.1.0
413
- Incorporate changes for App Store Server API v1.16 [https://github.com/apple/app-store-server-library-swift/pull/89]
514
- Update Swift docs to v6 [https://github.com/apple/app-store-server-library-swift/pull/85]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The Swift server library for the [App Store Server API](https://developer.apple.
1616
### Swift Package Manager
1717
Add the following dependency
1818
```swift
19-
.package(url: "https://github.com/apple/app-store-server-library-swift.git", .upToNextMinor(from: "3.1.0")),
19+
.package(url: "https://github.com/apple/app-store-server-library-swift.git", .upToNextMinor(from: "4.0.0")),
2020
```
2121

2222
## Documentation

Sources/AppStoreServerLibrary/AppStoreServerAPIClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public actor AppStoreServerAPIClient: Sendable {
1414
case invalidEnvironment
1515
}
1616

17-
private static let userAgent = "app-store-server-library/swift/3.1.0"
17+
private static let userAgent = "app-store-server-library/swift/4.0.0"
1818
private static let productionUrl = "https://api.storekit.itunes.apple.com"
1919
private static let sandboxUrl = "https://api.storekit-sandbox.itunes.apple.com"
2020
private static let localTestingUrl = "https://local-testing-base-url"

0 commit comments

Comments
 (0)