Add Swift SDK generation and release checks#145
Merged
Conversation
5e41465 to
26fa9b0
Compare
ba0b120 to
e9397c9
Compare
e9397c9 to
94852d9
Compare
Drops the AsposeBarcodeCloudAPI global namespace and the resetGlobalConfiguration helper. The client now owns its own AsposeBarcodeCloudAPIConfiguration; consumers pass client.apiConfiguration to each generated API method, matching the per-instance pattern used by every other SDK in this repo. Updates the AsposeBarcodeCloudClient and README mustache templates and bumps the Swift submodule pointer to the regenerated SDK (including example and test fixes).
Adds BarcodeAuthInterceptor to the AsposeBarcodeCloudClient template: the client installs it on its per-instance apiConfiguration so the URLSession pipeline lazily fetches and injects the bearer token on first use, deduplicating concurrent token fetches. Drops apply() and the blocking authorize() throws (DispatchSemaphore) variant; adds an async authorize() async throws overload for explicit warm-up. Updates the AsposeBarcodeCloudClient and README mustache templates and bumps the Swift submodule pointer to the regenerated SDK.
Five sites in URLSessionRequestBuilder previously crashed the host process on server-driven or otherwise unexpected inputs. Surface them through completion handlers or throws so consumers can handle them. Updates the URLSession mustache template and bumps the Swift submodule pointer to the regenerated SDK.
Denis-Averin
approved these changes
May 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Aspose.BarCode-Cloud-SDK-for-Swift.packageVersiontoconfig-swift.jsonand wire Swift intoscripts/new-version.py.codegen/Templates/swiftfrom OpenAPI Generator 7.8.0swift5templates.AsposeBarcodeCloudClient.swiftfrom mustache templates, including{{packageVersion}}.Validation
GitHub checks are green on
ba0b120:check-submodulescheck-swaggercheck-swift-codegen-linuxcheck-swift-macoscheck-urlsSwift SDK repo CI is also green on submodule commit
9f8cd6e:linux-build-testintegration-testmacos-build-testAdditional local checks used during preparation:
make swiftgit diff --cached --checkRelease Notes
v26.4.0.26.4.0.Temporary Bootstrap Notes
The Swift SDK repository is currently private, so CI uses the read-only deploy-key secret
SWIFT_SUBMODULE_DEPLOY_KEYto checkoutsubmodules/swift.Cleanup after the private verification phase / after the Swift repository becomes public:
SWIFT_SUBMODULE_DEPLOY_KEY.151467785(codegen swift submodule read 2026-05-14).TEST_CONFIGURATION_ACCESS_TOKENafter the shared test-token flow is confirmed.scripts/check-urls.py.