Repository navigation
feat: SDK update for version v7.6.0 - #81
Merged
Merged
Conversation
This reverts commit d44f19d.
🔵 Tier A · Mergeable after minor fixes
Updates the SDK to v7.6.0 with Analytics endpoints, profile-photo management, Webflow OAuth2 configuration, and additional request options. It also updates response models, preserves raw data for decoding upload responses, and allows uploads to use their endpoint's HTTP method.
Note Part of the diff was too large to review, so Hansi did not approve.
Fix with agent prompt### Issue 1
avatars/avatars.go:918
**Use the single-request upload helper for profile photos**
With a smaller `appwrite.WithChunkSize`, a valid photo larger than that chunk size is split into multiple PUT requests, although this endpoint expects the entire image in one request. Please use `SingleUpload` so photo uploads remain independent of the client's chunk configuration.
```suggestion
resp, err := srv.client.SingleUpload(path, headers, params, paramName, "PUT")
```
### Issue 2
docs/examples/analytics/list-metrics.md:23-24
**Do not combine dimensions and interval in the metrics example**
This example supplies both `interval` and `dimensions`, but `ListMetrics` explicitly documents that this combination is unsupported. Even after replacing the placeholders with valid values, the example still makes an invalid request; show a time series or a dimension breakdown separately.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.📂 Walkthrough · 19
🔇 Filtered out · 1Findings Hansi considered but did not post.
Reviewed |
levivannoort
approved these changes
Oct 5, 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.
This PR contains updates to the SDK for version v7.6.0.
What's Changed
Domains.GetZonereturns the zone file as*stringBackupArchive.SizeandStartedAtare pointers, nil until setBackupRestoration.StartedAtis*stringandOptionsisinterface{}Analyticsservice with property CRUD,CreateEventandListMetricsAvatars.UpdatePhotoandAvatars.DeletePhotowith theAccountmodelProject.UpdateOAuth2Webflowand theOAuth2WebflowmodelWithCreatePushChannelIdandWithUpdatePushChannelIdonMessagingWithCreateEmailPasswordSessionDurationandWithDeleteSessionsCurrentonAccountTotalon list methods inAccount,Locale,Functions,Sitesand transactionsPOSTDecode()works on models returned by uploadsGenerated from appwrite/sdk-generator#1964, which carries the upload method and
Decode()fixes.