Repository navigation
fix(deps): update dependency appwrite to v29 - #38
renovate-appwrite[bot] wants to merge 1 commit into
Conversation
Code review
The manifest and lockfile now request Appwrite SDK v29, resolving to 29.3.0 and adding its runtime dependencies. The lockfile installation completes successfully with the updated dependency tree. Fix with agent prompt### Issue 1
package-lock.json:6079
**Appwrite 29 changes the return type of `ping()`**
In v29, `Client.ping()` returns `Promise<unknown>` instead of the `Promise<string>` provided by v21.5.0, so the existing `response: res` assignment at `app/index.tsx:73` no longer type-checks against `Log.response: string`; `npx tsc --noEmit` fails there. Please handle or convert the result at that call site so the project type-checks with this SDK version.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Walkthrough (2)
Reviewed Tip Comment |
| "resolved": "https://registry.npmjs.org/appwrite/-/appwrite-21.5.0.tgz", | ||
| "integrity": "sha512-643bMRZVYXMluXvSXbdaLAi9qqTJLWbVGguKH4vH6IdKHur6gGIirhCOqAEt33pV4TOFJ55VBu8c/+Ft1ke2SA==", | ||
| "license": "BSD-3-Clause" | ||
| "version": "29.3.0", |
There was a problem hiding this comment.
Appwrite 29 changes the return type of ping()
In v29, Client.ping() returns Promise<unknown> instead of the Promise<string> provided by v21.5.0, so the existing response: res assignment at app/index.tsx:73 no longer type-checks against Log.response: string; npx tsc --noEmit fails there. Please handle or convert the result at that call site so the project type-checks with this SDK version.
Prompt To Fix With AI
This is a comment left during a code review.
Path: package-lock.json
Line: 6079
Comment:
**Appwrite 29 changes the return type of `ping()`**
In v29, `Client.ping()` returns `Promise<unknown>` instead of the `Promise<string>` provided by v21.5.0, so the existing `response: res` assignment at `app/index.tsx:73` no longer type-checks against `Log.response: string`; `npx tsc --noEmit` fails there. Please handle or convert the result at that call site so the project type-checks with this SDK version.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.🟠 Major · bug · Reply if this doesn't apply.

This PR contains the following updates:
^21.2.1→^29.0.0Release Notes
appwrite/sdk-for-web (appwrite)
v29.5.0Compare Source
videosservice to create, list, get, update and delete videos from files in Storagevideos.listRenditions,getRenditionanddeleteRendition; renditions are created from a server SDK or the Consolevideos.createCaption,listCaptions,updateCaptionanddeleteCaptionfor subtitle tracksgetHlsManifest,getDashManifest,getCmafHlsManifest,getCmafDashManifest,getCaptionManifest,getThumbnailandgetTimelineplayback URLs, andlistCodecsVideo,VideoCodec,VideoRenditionandVideoCaptionmodels, their list models, and theVideoCodecId,VideoOutput,VideoRenditionStatus,VideoCaptionStatusandVideoTimelineStatusenumsv29.4.0Compare Source
OAuthProviderv29.3.1Compare Source
Trackingrecordsoutbound_linkandfile_downloadevents on the current page; the destination stays in thehostnameandhrefpropsTrackingandtracker.jssend no events from automated browsers (navigator.webdriver, PhantomJS, Nightmare, Cypress)v29.3.0Compare Source
Account.createDevice,getDevice,deleteDeviceandupdateDeviceSession, and theDevicemodelAccount.createLDAPSessionSession.userNameImageFormat.AutoonStorage.getFilePreviewand the avatar endpoints, serving avif or webp when theAcceptheader supports itOAuthProvider.Naver,OAuthProvider.VippsandOAuthProvider.VippsSandboxinteractiveparam onanalytics.createEventto mark an event as telemetry that does not end a bouncescroll_depthandengagement_timewithinteractive: falseclient.setEnvironmentto act in a project environment; realtime, file and avatar URLs carry itX-Appwrite-Response-Format: 2.7.2v29.2.0Compare Source
X-Appwrite-Response-Format: 2.6.2; the SDK targets Appwrite 2.6.xmqttdependency to5.16.1;Pushkeeps reconnecting after the broker rejects a connection.and..throwAppwriteExceptioninstead of changing the request URLundefinedinstead of passing empty stringsv29.1.0Compare Source
account.listMembershipsto list the current user's team membershipscreateQueryondatabases,tablesDBanddocumentsDBto send list queries in the request bodybundleIdandenvironmentonaccount.createPushTargetto route APNs tokenssdk.appwrite.io/web/<version>/dist/iife/sdk.jsis minified, so CDN script tags load about half the bytesv29.0.0Compare Source
X-Appwrite-Response-Format: 2.5.0; responses follow the 2.5 shapesoauth2resourceparams now takestring[]onauthorize,authorizePost,createDeviceAuthorization,createPARandcreateTokenT | null, such asLocale.city,Presence.statusandExecution.scheduledAtPushservice withsubscribe,unsubscribe,onNotificationOpenedandclosefor web pushTopichelperQueryaggregates (count,countDistinct,sum,avg,min,maxand more),groupBy,having,distinct, joins,relationship,covers,spatialEqualsandpageQuery.builder()to chain queries; realtime subscriptions accept a builder forqueriesExecutionTrigger.Emailnull, such asaccount.createEmailPasswordSessionduration{}instead of[]v28.3.0Compare Source
analytics.createEventin a newAnalyticsservice to send tracking eventsTrackinghelper that auto-tracks pageviews, outbound links, downloads, scroll depth and engagement timeavatars.updatePhotoandavatars.deletePhototo manage the user's custom profile photo, and theAccountmodelWebflowto theOAuthProviderenumstateonaccount.createOAuth2Sessionandaccount.createOAuth2Token, returned unchanged on the success and failure URLsdurationonaccount.createEmailPasswordSessionto set the session lengthcurrentonaccount.deleteSessionsto keep the current session signed inmembershipIdonteams.createMembershiptotalonaccount.listSessions, thelocalelist methods andlistTransactionsv28.2.0Compare Source
accountpasskey methodslistPasskeys,createPasskey,getPasskey,updatePasskey,deletePasskeyandupdatePasskeyVerificationaccount.createPasskeyTokenandaccount.updatePasskeyTokenfor passkey sign-inPasskey,PasskeyList,PasskeyChallengeandTokenSecretmodelsv28.1.0Compare Source
Appsservice to create and manage OAuth2 apps, their secrets, keys, and installationsOauth2service for authorization, consent, device, PAR, and token flowsApp,AppSecret,AppKey,AppScopeandOauth2*response modelsv28.0.0Compare Source
Account.listLogsand theLog,LogListmodelsClient.setDevKeyX-Appwrite-Response-Format: 2.3.0)Account.createIdTokenSessionfor native Apple and Google sign-in withIdTokenProviderenumAccount.createRecoveryOTPandAccount.updateRecoveryOTPfor code-based password recoveryAccount.createEmailVerificationOTPandAccount.updateEmailVerificationOTPKakaoandTiktokvalues toOAuthProviderpasswordPwnedfield onUserandproviderIdTokenfield onIdentityv27.0.0Compare Source
Execution.functionIdreplaced byresourceIdandresourceTypeX-Appwrite-Response-Format: 2.0.0)DocumentsDBandVectorsDBservices for document and vector database accessOrganizationservice withlistInstallations,createInstallation,getInstallation,updateInstallation,deleteInstallationTeamsinstallation methodslistInstallations,createInstallation,getInstallation,updateInstallation,deleteInstallationAccountconsent methodslistConsents,getConsent,deleteConsent,listConsentTokens,getConsentToken,deleteConsentTokenAvatars.getPhotoreturning the best available user profile photofolderparameter toStorage.createFileandfolder,keyfields onFileExecutionResourceTypeenum withFunctionsandSitesAppInstallation,Oauth2Consent,Oauth2ConsentTokenmodels and list typesCustomvalue toAuthenticationFactorandcustomfield onMfaFactorsCloudflare,Huggingface,Resendvalues toOAuthProviderAutovalue toImageGravityenumapiHeadersand imports from URL-returning methodsundefinedleading argument and trailing arguments dispatch correctlyv26.2.0Compare Source
Client.setBearer()to authenticate requests with an OAuth access tokenappwritevalue toOAuthProviderenumQuery.vectorDot,Query.vectorCosine,Query.vectorEuclideanvector similarity query helperscity,timeZone,latitude,isp, ASN, connection info) toLocalemodelAppwriteExceptionmessage now falls back to response text when missingv26.1.0Compare Source
impersonateUserIdonavatarsandstoragefile requests.v26.0.0Compare Source
Themeenum toBrowserTheme, changingavatars.getScreenshot()themeparam type.presenceslist/get/upsert/updatenon-generic and removedModels.DefaultPresence.User(emailCanonical,emailIsFree,emailIsDisposable,emailIsCorporate,emailIsCanonical).Membership.userAccessedAtandPresence.metadatafields.Client.setKey()andClient.setForwardedUserAgent()methods that were exposed on the client SDK by mistake.toString()on response objects now returns valid JSON viaJSONbig.stringify, preserving large integers.acceptheader matching each endpoint's response type.v25.2.0Compare Source
What's Changed
Full Changelog: appwrite/sdk-for-web@25.1.1...25.2.0
v25.1.1Compare Source
Advisorservice andInsight,InsightCTA,InsightList,Report,ReportListmodels (admin-only endpoints, not intended for client SDKs)sizeActualfield toFilemodelv25.1.0Compare Source
presenceschannel andRealtimePresencetypes for presence subscriptionsAdvisorandPresencesservicesInsight,Presence, andReportmodels with list variantsfusionauth,keycloak, andkickproviders toOAuthProviderenumClient.setCookie()method for forwarding cookies in server-side runtimesX-Appwrite-Response-Formatheader to1.9.5v25.0.0Compare Source
unsubscribe(),update(), andclose()to Realtime subscriptionsuserPhonefield toMembershipmodelX-Appwrite-Response-Formatheader to1.9.2v24.2.0Compare Source
xOAuth provider toOAuthProviderenumuserTypefield toLogmodelX-Appwrite-Response-Formatheader to1.9.1v24.1.1Compare Source
filesfield topackage.jsonto publish only built artifacts to npmv24.1.0Compare Source
getHeaders()method toClientto expose current request headerspackage-lock.jsonto track dependency lockfile in version controlv24.0.0Compare Source
$sequencetype fromnumbertostringforRowandDocumentmodelssetImpersonateUserId(),setImpersonateUserEmail(),setImpersonateUserPhone()onClientimpersonatorandimpersonatorUserIdoptional fields toUsermodeltoString()on response data objects usingJSONbig.stringifyto fix BigInt serializationLogmodel field descriptions to clarify impersonation behavior foruserId,userEmail,userNameX-Appwrite-Response-Formatheader to1.9.0v23.0.0Compare Source
v22.4.1Compare Source
v22.4.0Compare Source
v22.3.1Compare Source
upsertmethod to RealtimeChannelshelper classbignumber.jsbundler conflict with Next.js Turbopack by removing direct dependency in favor of transitive dependency fromjson-bigintv22.3.0Compare Source
What's Changed
Release version 22.3.0
Full Changelog: appwrite/sdk-for-web@22.2.0...22.3.0
v22.1.0Compare Source
queriesparameter toRealtime.subscribe()andclient.subscribe()for server-side query filteringsubscriptionsfield toRealtimeResponseEventtypeRolesenum removed from Teams service;rolesparameter now acceptsstring[]v22.0.0Compare Source
permissions: BrowserPermission[]).Outputenum has been removed; useImageFormatinstead.Channelhelpers for Realtime.Configuration
📅 Schedule: (UTC)
* * * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.