Skip to content

Releases: AvdLee/appstoreconnect-swift-sdk

2.3.0

31 Oct 08:02
2.3.0
23d108d
Compare
Choose a tag to compare

2.2.0

29 Jul 17:22
d8fd0a9
Compare
Choose a tag to compare

2.1.0

29 Jul 15:56
ed790a6
Compare
Choose a tag to compare
  • Parse JSON error response (#186) via @AvdLee
  • Add LocalizedError inheritance for thrown errors (#181) via @AvdLee
  • Fix authentication refresh (#180) via @AvdLee
  • Add App Store Connect API 2.0 Endpoints and Entities (#174) via @AvdLee
  • 2.0.0 Release - Using OpenAPI (#173) via @AvdLee

2.0.0 Beta 1

09 Jul 14:48
Compare
Choose a tag to compare
2.0.0 Beta 1 Pre-release
Pre-release

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

06 Dec 15:52
6961347
Compare
Choose a tag to compare

1.6.0

17 May 11:02
a3aab80
Compare
Choose a tag to compare
  • 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

12 May 07:21
0ba43e7
Compare
Choose a tag to compare

1.4.0

10 Mar 16:13
d5ca03e
Compare
Choose a tag to compare

1.3.0

18 Jan 09:22
52d5f21
Compare
Choose a tag to compare

1.2.0

03 Dec 10:04
99eabd8
Compare
Choose a tag to compare