Skip to content

Releases: AvdLee/appstoreconnect-swift-sdk

3.2.0 - Update to OpenAPI spec 3.4

07 Mar 13:47
2fb0578
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.1.0...3.2.0

3.1.0 - Update to OpenAPI spec 3.3

23 Feb 12:30
7665555
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.1...3.1.0

3.0.1 - CreateAPI version bump

02 Dec 18:02
d345a2b
Compare
Choose a tag to compare

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

21 Sep 08:54
6727cd8
Compare
Choose a tag to compare

Updated for latest App Store Connect API changes.

What's Changed

New Contributors

Full Changelog: 2.3.0...3.0.0

What's Changed

New Contributors

Full Changelog: 2.3.0...3.0.0

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