Releases: AvdLee/appstoreconnect-swift-sdk
3.2.0 - Update to OpenAPI spec 3.4
What's Changed
- Modify JWT access level to public by @gewill in #261
- Updates OpenAPI spec to
v3.4
by @polpielladev in #262
New Contributors
- @gewill made their first contribution in #261
- @polpielladev made their first contribution in #262
Full Changelog: 3.1.0...3.2.0
3.1.0 - Update to OpenAPI spec 3.3
What's Changed
- Manual update for users and beta groups by @lvalenta in #255
- Public Func by @mlch911 in #254
- Add Localiji app developed with appstoreconnect-swift-sdk to README by @nickasd in #257
- fix: Update api spec and generate code for MetricInsight; by @mat1th in #256
- Updates to OpenAPI spec version 3.3 by @mathiasemil in #258
New Contributors
Full Changelog: 3.0.1...3.1.0
3.0.1 - CreateAPI version bump
What's Changed
- Correct Gemfile and update install instructions by @nickasd in #247
- Jwtrequestsauthenticator guard by @nickasd in #246
- Manually adds VISION_OS to Platform to work around OpenAPI spec issue by @mathiasemil in #245
- Updates OpenAPI spec to App Store Connect API version 3.0 by @mathiasemil in #244
- Update CreateApi to 0.2.0 by @nickasd in #249
New Contributors
Full Changelog: 3.0.0...3.0.1
3.0.0 Release - API 2.3 support
Updated for latest App Store Connect API changes.
What's Changed
- Merge release 2.3.0 into master by @SwiftLeeBot in #210
- Update README.md by @jordibruin in #211
- Added tvOS as Target by @karm435 in #217
- Added AppsMan app developed with the SDK by @karm435 in #219
- Fix diagnostic log return types by @mkj-is in #218
- Update CI to run tests by @AvdLee in #222
- Add support for Linux by @Shakarang in #221
- Regenerated code for App Store Connect API 2.2 changes by @Workshed in #220
- Regenerated code for App Store Connect API 2.3 changes by @Workshed in #223
New Contributors
- @jordibruin made their first contribution in #211
- @karm435 made their first contribution in #217
- @mkj-is made their first contribution in #218
- @Shakarang made their first contribution in #221
- @Workshed made their first contribution in #220
Full Changelog: 2.3.0...3.0.0
What's Changed
- Merge release 2.3.0 into master by @SwiftLeeBot in #210
- Update README.md by @jordibruin in #211
- Added tvOS as Target by @karm435 in #217
- Added AppsMan app developed with the SDK by @karm435 in #219
- Fix diagnostic log return types by @mkj-is in #218
- Update CI to run tests by @AvdLee in #222
- Add support for Linux by @Shakarang in #221
- Regenerated code for App Store Connect API 2.2 changes by @Workshed in #220
- Regenerated code for App Store Connect API 2.3 changes by @Workshed in #223
- feat: Add support for Apple Silicon Mac in API. by @sagiwei in #228
- Adds rate limit to APIProvider by @mathiasemil in #227
- Conforming Response to Codable by @marcelmendesfilho in #230
- Fix compilation in Linux environment by @lvalenta in #233
- Update for App Store Connect OpenAPI version 3.0.1 by @jcmontiel in #235
- Update RateLimit parsing for Multiple values by @instanceof in #236
New Contributors
- @jordibruin made their first contribution in #211
- @karm435 made their first contribution in #217
- @mkj-is made their first contribution in #218
- @Shakarang made their first contribution in #221
- @Workshed made their first contribution in #220
- @sagiwei made their first contribution in #228
- @mathiasemil made their first contribution in #227
- @marcelmendesfilho made their first contribution in #230
- @lvalenta made their first contribution in #233
- @jcmontiel made their first contribution in #235
- @instanceof made their first contribution in #236
Full Changelog: 2.3.0...3.0.0
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