Repository navigation
fix(deps): update dependency appwrite to v29 - #148
renovate-appwrite[bot] wants to merge 1 commit into
Conversation
🔵 Tier A · Mergeable after minor fixes
The Appwrite Web SDK dependency is upgraded from
Note Not approving while a bug finding is open: The playground still loads Appwrite 16
Fix with agent prompt### Issue 1
package-lock.json:78
**The playground still loads Appwrite 16**
The playground is served as static HTML, and `public/index.html:205` still loads the SDK from a CDN pinned to `appwrite@16.0.0`; no server code imports this dependency. As a result, this bump leaves the playground running v16, so users do not get the v29 update.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.📂 Walkthrough · 2
Reviewed |
| "version": "16.0.0", | ||
| "resolved": "https://registry.npmjs.org/appwrite/-/appwrite-16.0.0.tgz", | ||
| "integrity": "sha512-nyo+i98bXvYsgpRnqv4MdupzM9Nisauv22bBtrFbAfitI+JLMRAA9IUqu5xaC4dZ2cEo6k7D1ic0PY0s670XUQ==" | ||
| "version": "29.2.0", |
There was a problem hiding this comment.
The playground still loads Appwrite 16
The playground is served as static HTML, and public/index.html:205 still loads the SDK from a CDN pinned to appwrite@16.0.0; no server code imports this dependency. As a result, this bump leaves the playground running v16, so users do not get the v29 update.
Prompt To Fix With AI
This is a comment left during a code review.
Path: package-lock.json
Line: 78
Comment:
**The playground still loads Appwrite 16**
The playground is served as static HTML, and `public/index.html:205` still loads the SDK from a CDN pinned to `appwrite@16.0.0`; no server code imports this dependency. As a result, this bump leaves the playground running v16, so users do not get the v29 update.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.🟡 Minor · bug · Reply if this doesn't apply.
This PR contains the following updates:
^16.0.0→^29.0.0Release Notes
appwrite/sdk-for-web (appwrite)
v29.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.v21.5.0Compare Source
getScreenshotmethod toAvatarsserviceTheme,TimezoneandOutputenumsv21.4.0Compare Source
totalparameter to list queries allowing skipping counting rows in a table for improved performanceOperatorclass for atomic modification of rows via update, bulk update, upsert, and bulk upsert operationsv21.3.0Compare Source
Realtimeservice with methods for subscribing to channels and receiving messagesclient.setSessionnot working when using realtimeclient.subscribemethod in favor ofRealtimeservicev21.2.1Compare Source
v21.1.0Compare Source
createVerificationmethod inAccountservicecreateEmailVerificationmethod inAccountservicev21.0.0Compare Source
What's Changed
Full Changelog: appwrite/sdk-for-web@20.1.0...21.0.0
v20.1.0Compare Source
What's Changed
orderRandomquery support by @abnegate in #139Full Changelog: appwrite/sdk-for-web@20.0.0...20.1.0
v20.0.0Compare Source
What's Changed
CreditCardenum valueUnionChinaPaytoUnionPayFull Changelog: appwrite/sdk-for-web@19.0.0...20.0.0
v19.0.0Compare Source
What's Changed
Features
Before (positional parameters):
After (object parameters):
TablesDBservice with standardized conventions likecreateRow,createColumnetc. Learn MorenotContains,notSearch,notBetweenetc.Improvements
Databaseservice and its methodsFull Changelog: appwrite/sdk-for-web@18.2.0...19.0.0
v18.2.0Compare Source
incrementDocumentAttributeanddecrementDocumentAttributesupport toDatabasesservicegifsupport toImageFormatenumfileParamerror inchunkedUploadmethodDocumentmodel even when generic is passedv18.1.1Compare Source
devKeysresulting in an error by conditionally removing credentialsv18.1.0Compare Source
devKeyssupport toClientserviceupsertDocumentsupport toDatabasesservicev18.0.0Compare Source
<REGION>to doc examples due to the new multi region endpointsGiffrom ImageFormat enumsearchparam fromlistExecutionsmethodtokenparam togetFilePreviewandgetFileViewfor File tokens usageclient.callmethodv17.0.2Compare Source
Content-Typeheader fromGETandHEADrequestsv17.0.1Compare Source
AppwriteExceptionresponse is always stringv17.0.0Compare Source
pingsupport toRealtimeservicev16.1.0Compare Source
What's Changed
Full Changelog: appwrite/sdk-for-web@16.0.2...16.1.0
v16.0.2Compare Source
What's Changed
Full Changelog: appwrite/sdk-for-web@16.0.1...16.0.2
v16.0.1Compare Source
What's Changed
Full Changelog: appwrite/sdk-for-web@16.0.0...16.0.1
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.