Repository navigation
fix(sdks): stop calling generator setters removed in sdk-generator 5.3.4 - #14073
Merged
Merged
Conversation
sdk-generator 5.3.4 (appwrite/sdk-generator#1959) deleted the share and Bower settings: no template read them. The SDKs task still set them, so generation fails with 'Call to undefined method' on 5.3.4. Removing the calls works on every 5.x generator.
🟢 Tier S · Ready to merge
Removes three Bower package setter calls from Web and Node SDK configuration and four share-metadata setters from the common SDK setup. This avoids calls to APIs removed in sdk-generator 5.3.4 while leaving the locked generator version and remaining configuration unchanged.
📂 Walkthrough · 1
Reviewed |
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
abnegate
added a commit
that referenced
this pull request
Oct 5, 2026
cloud#5410 re-pins server-ce to this branch and needs main at or past ee75768: the health tests that stop asserting wall-clock ping budgets (#14069), Content-Length: 0 on empty client bodies for OAuth token requests (#14072) and the SDK task no longer calling setters removed in sdk-generator 5.3.4 (#14073). Also brings the GitHub OAuth missing-user fix (#14093) and appwrite/geo 0.3.2 (#14100). The merge is clean and the lock is untouched; both sides still resolve appwrite/sdk-generator 5.0.1. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
sdk-generator 5.3.4 includes appwrite/sdk-generator#1959, which deleted
SDK::setShareText,setShareURL,setShareTags,setShareViaandsetBowerPackage. No template read them. The SDKs task still calls them, so on 5.3.4 everysdksrun dies withCall to undefined method Appwrite\SDK\SDK::setShareText(). This blocks the Android 29.0.0 release in cloud, which needs 5.3.4.This removes the seven calls. They were no-ops on every 5.x generator, so the task behaves the same on the 5.0.1 this repo locks and on 5.3.4. The lock is left alone: bumping 5.0.1 to 5.3.4 changes SDK output and belongs in its own PR.
Testing
With sdk-generator 5.3.4 installed locally (lock reverted before committing),
php app/cli.php sdks --git=no --ai=nogeneratesclient-android,client-webandserver-nodejswithout errors. Those cover the share setters and bothsetBowerPackagepaths. Onmainthe same command fails onsetShareText.Nothing in CI runs the
sdkstask against a newer generator than the lock (sdk-preview.ymluses the locked 5.0.1), so a generator release that drops an API this task uses is caught only when someone generates with it.Related: appwrite-labs/cloud#6299