Skip to content

fix(deps): update dependency appwrite to v29 - #148

Open
renovate-appwrite[bot] wants to merge 1 commit into
masterfrom
renovate/appwrite-29.x
Open

renovate-appwrite[bot] wants to merge 1 commit into
masterfrom
renovate/appwrite-29.x

Conversation

@renovate-appwrite

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Confidence
appwrite (source) ^16.0.0 → ^29.0.0 age confidence

Release Notes

appwrite/sdk-for-web (appwrite)

v29.2.0

Compare Source

  • Updated: requests send X-Appwrite-Response-Format: 2.6.2; the SDK targets Appwrite 2.6.x
  • Updated: mqtt dependency to 5.16.1; Push keeps reconnecting after the broker rejects a connection
  • Fixed: path parameters . and .. throw AppwriteException instead of changing the request URL
  • Fixed: examples leave unset optional params undefined instead of passing empty strings

v29.1.0

Compare Source

  • Added: account.listMemberships to list the current user's team memberships
  • Added: createQuery on databases, tablesDB and documentsDB to send list queries in the request body
  • Added: optional bundleId and environment on account.createPushTarget to route APNs tokens
  • Added: per-service ES modules and a minified script on sdk.appwrite.io/web/<version>/
  • Updated: dist/iife/sdk.js is minified, so CDN script tags load about half the bytes
  • Updated: requires Node.js 20 or later to build

v29.0.0

Compare Source

  • Breaking: requests send X-Appwrite-Response-Format: 2.5.0; responses follow the 2.5 shapes
  • Breaking: missing response fields are filled with their documented defaults
  • Breaking: oauth2 resource params now take string[] on authorize, authorizePost, createDeviceAuthorization, createPAR and createToken
  • Breaking: nullable model fields are typed T | null, such as Locale.city, Presence.status and Execution.scheduledAt
  • Added: Push service with subscribe, unsubscribe, onNotificationOpened and close for web push
  • Added: Topic helper
  • Added: Query aggregates (count, countDistinct, sum, avg, min, max and more), groupBy, having, distinct, joins, relationship, covers, spatialEquals and page
  • Added: Query.builder() to chain queries; realtime subscriptions accept a builder for queries
  • Added: ExecutionTrigger.Email
  • Updated: nullable request params accept null, such as account.createEmailPasswordSession duration
  • Fixed: list and object defaults filled into a response are copied per model, and object defaults are {} instead of []

v28.3.0

Compare Source

  • Added: analytics.createEvent in a new Analytics service to send tracking events
  • Added: Tracking helper that auto-tracks pageviews, outbound links, downloads, scroll depth and engagement time
  • Added: avatars.updatePhoto and avatars.deletePhoto to manage the user's custom profile photo, and the Account model
  • Added: Webflow to the OAuthProvider enum
  • Added: optional state on account.createOAuth2Session and account.createOAuth2Token, returned unchanged on the success and failure URLs
  • Added: optional duration on account.createEmailPasswordSession to set the session length
  • Added: optional current on account.deleteSessions to keep the current session signed in
  • Added: optional membershipId on teams.createMembership
  • Added: optional total on account.listSessions, the locale list methods and listTransactions

v28.2.0

Compare Source

  • Added: account passkey methods listPasskeys, createPasskey, getPasskey, updatePasskey, deletePasskey and updatePasskeyVerification
  • Added: account.createPasskeyToken and account.updatePasskeyToken for passkey sign-in
  • Added: Passkey, PasskeyList, PasskeyChallenge and TokenSecret models

v28.1.0

Compare Source

  • Added: Apps service to create and manage OAuth2 apps, their secrets, keys, and installations
  • Added: Oauth2 service for authorization, consent, device, PAR, and token flows
  • Added: App, AppSecret, AppKey, AppScope and Oauth2* response models

v28.0.0

Compare Source

  • Breaking: removed Account.listLogs and the Log, LogList models
  • Breaking: removed Client.setDevKey
  • Breaking: SDK now targets Appwrite 2.3 (X-Appwrite-Response-Format: 2.3.0)
  • Added: Account.createIdTokenSession for native Apple and Google sign-in with IdTokenProvider enum
  • Added: Account.createRecoveryOTP and Account.updateRecoveryOTP for code-based password recovery
  • Added: Account.createEmailVerificationOTP and Account.updateEmailVerificationOTP
  • Added: Kakao and Tiktok values to OAuthProvider
  • Added: passwordPwned field on User and providerIdToken field on Identity
  • Fixed: empty-string required path parameters are rejected instead of sent to the API

v27.0.0

Compare Source

  • Breaking: Execution.functionId replaced by resourceId and resourceType
  • Breaking: SDK now targets Appwrite 2.0 (X-Appwrite-Response-Format: 2.0.0)
  • Added: DocumentsDB and VectorsDB services for document and vector database access
  • Added: Organization service with listInstallations, createInstallation, getInstallation, updateInstallation, deleteInstallation
  • Added: Teams installation methods listInstallations, createInstallation, getInstallation, updateInstallation, deleteInstallation
  • Added: Account consent methods listConsents, getConsent, deleteConsent, listConsentTokens, getConsentToken, deleteConsentToken
  • Added: Avatars.getPhoto returning the best available user profile photo
  • Added: folder parameter to Storage.createFile and folder, key fields on File
  • Added: ExecutionResourceType enum with Functions and Sites
  • Added: AppInstallation, Oauth2Consent, Oauth2ConsentToken models and list types
  • Added: Custom value to AuthenticationFactor and custom field on MfaFactors
  • Added: Cloudflare, Huggingface, Resend values to OAuthProvider
  • Added: Auto value to ImageGravity enum
  • Updated: source formatted with Prettier and linted with ESLint
  • Fixed: removed unused apiHeaders and imports from URL-returning methods
  • Fixed: positional calls with an undefined leading argument and trailing arguments dispatch correctly

v26.2.0

Compare Source

  • Added: Client.setBearer() to authenticate requests with an OAuth access token
  • Added: appwrite value to OAuthProvider enum
  • Added: Query.vectorDot, Query.vectorCosine, Query.vectorEuclidean vector similarity query helpers
  • Added: geolocation and network fields (city, timeZone, latitude, isp, ASN, connection info) to Locale model
  • Fixed: AppwriteException message now falls back to response text when missing

v26.1.0

Compare Source

  • Added: Realtime connections now send the configured JWT for authentication.
  • Added: Forwarded impersonateUserId on avatars and storage file requests.

v26.0.0

Compare Source

  • Breaking: Renamed Theme enum to BrowserTheme, changing avatars.getScreenshot() theme param type.
  • Breaking: Made presences list/get/upsert/update non-generic and removed Models.DefaultPresence.
  • Added: Email metadata fields to User (emailCanonical, emailIsFree, emailIsDisposable, emailIsCorporate, emailIsCanonical).
  • Added: Membership.userAccessedAt and Presence.metadata fields.
  • Fixed: Removed Client.setKey() and Client.setForwardedUserAgent() methods that were exposed on the client SDK by mistake.
  • Fixed: toString() on response objects now returns valid JSON via JSONbig.stringify, preserving large integers.
  • Updated: Requests now send an explicit accept header matching each endpoint's response type.

v25.2.0

Compare Source

What's Changed

Full Changelog: appwrite/sdk-for-web@25.1.1...25.2.0

v25.1.1

Compare Source

  • Fixed: Removed Advisor service and Insight, InsightCTA, InsightList, Report, ReportList models (admin-only endpoints, not intended for client SDKs)
  • Added: sizeActual field to File model

v25.1.0

Compare Source

  • Added: Realtime presences channel and RealtimePresence types for presence subscriptions
  • Added: Advisor and Presences services
  • Added: Insight, Presence, and Report models with list variants
  • Added: fusionauth, keycloak, and kick providers to OAuthProvider enum
  • Added: Client.setCookie() method for forwarding cookies in server-side runtimes
  • Updated: X-Appwrite-Response-Format header to 1.9.5

v25.0.0

Compare Source

  • Breaking: Added unsubscribe(), update(), and close() to Realtime subscriptions
  • Added: Added userPhone field to Membership model
  • Updated: Updated X-Appwrite-Response-Format header to 1.9.2

v24.2.0

Compare Source

  • Added x OAuth provider to OAuthProvider enum
  • Added userType field to Log model
  • Updated X-Appwrite-Response-Format header to 1.9.1
  • Updated TTL description for list caching in Databases and TablesDB
  • Updated dev dependencies: Rollup 3→4, related plugin upgrades

v24.1.1

Compare Source

  • Fixed: Added files field to package.json to publish only built artifacts to npm

v24.1.0

Compare Source

  • Added: Added getHeaders() method to Client to expose current request headers
  • Added: Added package-lock.json to track dependency lockfile in version control

v24.0.0

Compare Source

  • [BREAKING] Changed $sequence type from number to string for Row and Document models
  • Added impersonation support: setImpersonateUserId(), setImpersonateUserEmail(), setImpersonateUserPhone() on Client
  • Added impersonator and impersonatorUserId optional fields to User model
  • Added custom toString() on response data objects using JSONbig.stringify to fix BigInt serialization
  • Updated Log model field descriptions to clarify impersonation behavior for userId, userEmail, userName
  • Updated X-Appwrite-Response-Format header to 1.9.0
  • Updated devDependencies: Rollup 2→3, TypeScript 4.7→5.7, and related plugin upgrades

v23.0.0

Compare Source

  • Breaking: Made Channel.collection() require id parameter
  • Breaking: Made Channel.table() require id parameter
  • Breaking: Root factory methods require explicit IDs (databases, executions, tablesdb, bucket, function, team, membership)
  • Added ttl option to listDocuments and listRows for caching

v22.4.1

Compare Source

  • Fix very large double values (for example 1.7976931348623157e+308) from being expanded into giant integer literals

v22.4.0

Compare Source

  • Added Query.containsAny(attribute, value[]) to filter resources where the attribute contains any of the given values.
  • Added Query.containsAll(attribute, value[]) to filter resources where the attribute contains all of the given values.
  • Updated Query.contains documentation to clarify behavior: string attributes are matched by substring, and for array attributes use containsAny/containsAll.

v22.3.1

Compare Source

  • Add upsert method to Realtime Channels helper class
  • Fix bignumber.js bundler conflict with Next.js Turbopack by removing direct dependency in favor of transitive dependency from json-bigint

v22.3.0

Compare Source

What's Changed

Release version 22.3.0

Full Changelog: appwrite/sdk-for-web@22.2.0...22.3.0

v22.1.0

Compare Source

  • Add queries parameter to Realtime.subscribe() and client.subscribe() for server-side query filtering
  • Add slot-based subscription management with subscription ID mappings from backend
  • Add subscriptions field to RealtimeResponseEvent type
  • Fix Roles enum removed from Teams service; roles parameter now accepts string[]
  • Fix parameter detection in overloaded methods to check for optional params (Account, Avatars, Graphql)
  • Fix WebSocket connection handling with stale connection guards and improved close/reconnect logic
  • Fix doc examples wrapped in markdown code fences

v22.0.0

Compare Source

  • Add array-based enum parameters (e.g., permissions: BrowserPermission[]).
  • Breaking change: Output enum has been removed; use ImageFormat instead.
  • Add Channel helpers for Realtime.

v21.5.0

Compare Source

  • Add getScreenshot method to Avatars service
  • Add Theme, Timezone and Output enums

v21.4.0

Compare Source

  • Add total parameter to list queries allowing skipping counting rows in a table for improved performance
  • Add Operator class for atomic modification of rows via update, bulk update, upsert, and bulk upsert operations

v21.3.0

Compare Source

  • Add new Realtime service with methods for subscribing to channels and receiving messages
  • Fix client.setSession not working when using realtime
  • Deprecate client.subscribe method in favor of Realtime service

Note: Deprecated methods are still available for backwards compatibility, but might be removed in future versions.

v21.2.1

Compare Source

  • Add transaction support for Databases and TablesDB

v21.1.0

Compare Source

  • Deprecate createVerification method in Account service
  • Add createEmailVerification method in Account service

v21.0.0

Compare Source

What's Changed

  • feat: Web SDK update for version 21.0.0 by @​ChiragAgg5k in #​140, introduces support of enums in response models.

Full Changelog: appwrite/sdk-for-web@20.1.0...21.0.0

v20.1.0

Compare Source

What's Changed

Full Changelog: appwrite/sdk-for-web@20.0.0...20.1.0

v20.0.0

Compare Source

What's Changed

Full Changelog: appwrite/sdk-for-web@19.0.0...20.0.0

v19.0.0

Compare Source

What's Changed

Features
  • Introduce object parameters for all methods

Before (positional parameters):

const result = storage.getFilePreview(
    '<BUCKET_ID>',
    '<FILE_ID>',
    0, // width
    0, // height
    ImageGravity.Center, // gravity
    -1, // quality
    0, // borderWidth
    '', // borderColor
    0, // borderRadius
    0, // opacity
    -360, // rotation
    '', // background
    ImageFormat.Jpg, // output
    '<TOKEN>' // token
);
// Required passing undefined for unused optional parameters

After (object parameters):

const result = storage.getFilePreview({
    bucketId: '<BUCKET_ID>',
    fileId: '<FILE_ID>',
    output: ImageFormat.Jpg,
    token: '<TOKEN>'
});
// No more undefined values needed!
  • Introduce new TablesDB service with standardized conventions like createRow, createColumn etc. Learn More
  • Add new query options: notContains, notSearch, notBetween etc.
Improvements
  • Add parameter descriptions to doc comments
  • Add deprecated tags to position-based parameter methods
  • Add deprecated tags to legacy Database service and its methods

Note: Deprecated methods remain fully supported but may be removed in future versions.

Full Changelog: appwrite/sdk-for-web@18.2.0...19.0.0

v18.2.0

Compare Source

  • Add incrementDocumentAttribute and decrementDocumentAttribute support to Databases service
  • Add gif support to ImageFormat enum
  • Fix undefined fileParam error in chunkedUpload method
  • Fix autocompletion not working for Document model even when generic is passed

v18.1.1

Compare Source

  • Fix using devKeys resulting in an error by conditionally removing credentials

v18.1.0

Compare Source

  • Add devKeys support to Client service
  • Add upsertDocument support to Databases service

v18.0.0

Compare Source

  • Add <REGION> to doc examples due to the new multi region endpoints
  • Remove Gif from ImageFormat enum
  • Remove search param from listExecutions method
  • Add token param to getFilePreview and getFileView for File tokens usage
  • Improve CORS error catching in client.call method

v17.0.2

Compare Source

  • Fix requests failing by removing Content-Type header from GET and HEAD requests

v17.0.1

Compare Source

  • Remove unnecessary titles from method descriptions
  • Fix duplicate adding of payload params
  • Remove unnecessary awaits and asyncs
  • Ensure AppwriteException response is always string

v17.0.0

Compare Source

  • Fix pong response & chunked upload
  • Add ping support to Realtime service

v16.1.0

Compare Source

What's Changed

Full Changelog: appwrite/sdk-for-web@16.0.2...16.1.0

v16.0.2

Compare Source

What's Changed

Full Changelog: appwrite/sdk-for-web@16.0.1...16.0.2

v16.0.1

Compare Source

What's Changed

Full Changelog: appwrite/sdk-for-web@16.0.0...16.0.1


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Only on Monday (* * * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@renovate-appwrite renovate-appwrite Bot added the dependencies Pull requests that update a dependency file label Nov 16, 2026
@appwrite

appwrite Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

🔵 Tier A · Mergeable after minor fixes

The dependency installs successfully, but the playground continues loading the old SDK version until its CDN reference is updated.

The Appwrite Web SDK dependency is upgraded from ^16.0.0 to ^29.0.0, and the lockfile now resolves version 29.2.0 with its transitive dependencies.

Verdict New comments Fixed Still open
💬 Commented 1 0 0

Note

Not approving while a bug finding is open: The playground still loads Appwrite 16

Finding Where
🟡 The playground still loads Appwrite 16 package-lock.json:78
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
File Change
package.json Raises the declared Appwrite Web SDK dependency to the v29 range.
package-lock.json Locks appwrite 29.2.0 and adds its required dependency tree.

Reviewed 03bfeb2 · Details · Comment @appwrite review to re-run, or mention @appwrite with a question.

@appwrite appwrite Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Tier A · See the inline comments. Summary

Comment thread package-lock.json
"version": "16.0.0",
"resolved": "https://registry.npmjs.org/appwrite/-/appwrite-16.0.0.tgz",
"integrity": "sha512-nyo+i98bXvYsgpRnqv4MdupzM9Nisauv22bBtrFbAfitI+JLMRAA9IUqu5xaC4dZ2cEo6k7D1ic0PY0s670XUQ=="
"version": "29.2.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants