-
Bigger, better, functional! Stable
released this
2026-10-25 17:56:56 +00:00 | 0 commits to main since this releaseUpdates the library to v4.5.1 of the App Store Connect API, and adds pagination, API key authentication, and rate limiting.
BREAKING CHANGES
- Minimum platforms: iOS 14, macOS 11, tvOS 14, watchOS 7, and visionOS 1.
- Toolchain: Swift 6.0 or later (Xcode 16 or later).
- Runtime: requires swift-openapi-runtime 1.11.0 or later.
NEW
- API key authentication:
APIKeyTokenProvidersigns tokens from your API key, and renews them before they expire. Pass it toBearerAuthMiddlewareas a token provider. - Pagination: paged operations accept a cursor query parameter, and PagedSequence iterates every page of a paged operation.
- Rate limiting:
RateLimitMiddlewareretries "429 Too Many Requests" responses, waiting for the Retry-After header or backing off exponentially. - API v4.5.1: 1,303 operations and 1,473 schemas, including the App Asset Library, the version-based in-app purchase and subscription resources, and Game Center score moderation.
IMPROVED
- Faster setup: the generated code ships with the package. There is no build plugin to trust, and 4 package dependencies instead of 12.
- Bearer authentication:
BearerAuthMiddlewarecan now be created outside the module, and accepts a token provider as well as a fixed token. - Documentation: the DocC catalog covers every operation and schema.
MIGRATING FROM 1.x
- Raise your deployment targets and toolchain to the minimums above.
- Replace
Servers.server1(), which is now deprecated, withServers.Server1.url(). - If Xcode reports "Build input file cannot be found" for swift-openapi-generator, delete the project's DerivedData folder. The build plugin is gone, but its cached build plan is not.
Downloads
-
First stable release! Stable
released this - | 1 commits to main since this release
This release contains the work done to:
- setup the project and manage its lifecycle
- generate a full-blown Swift client to the App Store Connect API based on a OpenAPI specification document provided by the service
- provide extensive documentation on the use of the library, plus basic documentation on its generated types
- fix an issue encountered with the
swift-openapi-generatorpackage dependency
Downloads