Releases: AvdLee/appstoreconnect-swift-sdk
2.3.0
- Regenerated code for App Store Connect API 2.1 changes (#208) via @liamnichols
- Update Endpoints and Entities for 2.1 (#207) via @AvdLee
- New section: applications that use the SDK (#206) via @Viktorianec
- Filter irrelevant commentary in published spec (#205) via @marcprux
- Manually update specs (#204) via @AvdLee
- Check daily for changes in published ASC API (#201) via @marcprux
- Write CreateAPI outputs into dedicated Generated directory (#198) via @liamnichols
- Use Swift Package Plugin for generating OpenAPI code (#191) via @liamnichols
- Add documentation about pagination (#187) via @andyj-at-aspin
- Fix CI for restructured lanes (#196) via @AvdLee
- Update types to automatically conform to
Identifiable
where possible (#192) via @liamnichols - Merge release 2.2.0 into master (#190) via @SwiftLeeBot
2.2.0
- Reduce binary size by using a different codable technique (#189) via @AvdLee
- Merge release 2.1.0 into master (#188) via @SwiftLeeBot
2.1.0
2.0.0 Beta 1
Welcome to the first beta of 2.0.0!
OpenAPI support
Maintenance of this project became harder and harder since the API gained more requests. Every request, parameter, and response had to be added manually, resulting in an incomplete SDK.
The App Store Connect API supports OpenAPI, allowing to generate all paths and responses automatically. This major update to the SDK stays close to the old API, but benefits from autogenerated requests and responses.
Big shoutout to Alex Grebenyuk for his work with CreateAPI and Get which helped me finalize this major version.
Migration
While I won't write a detailed migration guide, migration should be fairly easy. As an example, this is how the example request looked before:
let endpoint = APIEndpoint.apps(
select: [.apps([.name]), .builds([.version, .processingState, .uploadedDate])],
include: [.builds],
sortBy: [.bundleIdAscending],
limits: [.apps(1)])
provider.request(endpoint) {
// ..
}
And after:
let request = APIEndpoint
.apps
.get(parameters: .init(
sort: [.bundleID],
fieldsApps: [.appInfos, .builds, .name],
limit: 5,
include: [.builds],
fieldsBuilds: [.version, .processingState, .uploadedDate]
))
let appsResponse = try await provider.request(request)
In other words, migration mostly comes down to restructuring your endpoint construction code.
Feedback and discussions
I would love for you to try out this new version. Any feedback and ideas can be shared in this discussions section.
1.7.0
- Add support for fetching bundle file sizes for build bundles (#152) via @birwin93
- Feat: Added CLOUD_MANAGED_APP_DISTRIBUTION in UserRole (#153) via @valeriaalampi
- Fix CI by updating CI submodule reference (#154) via @AvdLee
- Merge release 1.6.0 into master (#146) via @SwiftLeeBot
1.6.0
- Add support for submitting an App Version for Review and CRUD for App Store Versions (#145) via @scottlemke
- Merge release 1.5.0 into master (#144) via @SwiftLeeBot
1.5.0
- Fix List Prerelease Versions and update to match Apple's docs (#143) via @scottlemke
- Fix Read Beta Group Information and update to match Apple's docs (#142) via @scottlemke
- More App Store Version Localization APIs/models. (#139) via @VaslD
- Update List Builds API to match Apple's API documentation (#141) via @scottlemke
- Fix date decoding error (#140) via @artyomsadyrin
- Merge release 1.4.0 into master (#136) via @SwiftLeeBot
1.4.0
- Adding download on RequestExecutor (#133) via @barrault01
- Fixing submodule update command line (#135) via @barrault01
- Adding development steps to readme (#134) via @barrault01
- Feature/app store version localization (#130) via @Ikloo
- Merge release 1.3.0 into master (#129) via @SwiftLeeBot
1.3.0
1.2.0
- App Info and App Store Version (#116) via @MortenGregersen
- Add APPLE_ID_AUTH capability and required settings (#121) via @ptmt
- Add missing cases for ProfileState (#119) via @DechengMa
- Use correct key 'profiles' for BundleId relationship (#117) via @MortenGregersen
- Merge release 1.1.3 into master (#114) via @SwiftLeeBot