feat: SDK update for version 15.4.0 - #105
Merged
Merged
Conversation
Greptile SummaryThis PR updates the Console SDK for version 15.4.0. The main changes are:
Confidence Score: 4/5The bearer-token compatibility regression needs to be resolved before merging.
src/client.ts Important Files Changed
Prompt To Fix All With AIFix the following 1 code review issue. Work through them one at a time, proposing concise fixes.
---
### Issue 1 of 1
src/client.ts:560
**Prefixed Tokens Break Authentication**
Existing callers that pass `Bearer <token>` to `setBearer()` now send `Authorization: Bearer Bearer <token>`. Those requests previously worked but will now receive an authentication failure after upgrading.
Reviews (1): Last reviewed commit: "chore: update Console SDK to 15.4.0" | Re-trigger Greptile |
Merged
5 tasks
mperkins0155
pushed a commit
to mperkins0155/console-getitforcomm
that referenced
this pull request
Aug 3, 2026
sites.getUsage() is being dropped from the SDK (appwrite/sdk-for-console#105), along with the other usage endpoints removed in appwrite#3134. This inline build-metrics card on the site deployments page was the one live consumer that cleanup missed.
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.
This PR contains updates to the SDK for version 15.4.0.
Needed before appwrite/sdk-for-cli#342 — the CLI compiles against the published
@appwrite.io/consolepackage and requires the new methods added here.What's Changed
HealthservicegetUsage,listUsage,getCollectionUsage,getTableUsage, andgetBucketUsageacross servicesnewSpecificationparameter frombackups.createRestoration()listConsents,getConsent,deleteConsent,listConsentTokens,getConsentToken, anddeleteConsentTokenapps.listOAuth2Scopes()andapps.updateLabels()methodsoauth2.authorizePost()andoauth2.logoutPost()methodsproject.updateOAuth2Appwrite()methodtokenparameter tofunctions.getDeploymentDownload()andsites.getDeploymentDownload()ActivityEventAppSecret.secretis always empty; the secret is returned only on creation