Releases: appwrite/sdk-for-web
Releases · appwrite/sdk-for-web
22.4.0
What's Changed
- 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.
Full Changelog: 22.3.1...22.4.0
22.3.1
What's Changed
- Add
upsertmethod to RealtimeChannelshelper class - Fix
bignumber.jsbundler conflict with Next.js Turbopack by removing direct dependency in favor of transitive dependency fromjson-bigint
Full Changelog: 22.3.0...22.3.1
22.3.0
22.2.0
22.1.0
What's Changed
- Add
queriesparameter toRealtime.subscribe()andclient.subscribe()for server-side query filtering - Add slot-based subscription management with subscription ID mappings from backend
- Add
subscriptionsfield toRealtimeResponseEventtype - Fix
Rolesenum removed from Teams service;rolesparameter now acceptsstring[] - 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
Full Changelog: 22.0.0...22.1.0
22.0.0
What's Changed
- Add array-based enum parameters (e.g.,
permissions: BrowserPermission[]). - Breaking change:
Outputenum has been removed; useImageFormatinstead. - Add
Channelhelpers for Realtime.
Full Changelog: 21.5.0...22.0.0
21.5.0
What's Changed
- Add
getScreenshotmethod toAvatarsservice - Add
Theme,TimezoneandOutputenums
Full Changelog: 21.4.0...21.5.0
21.4.0
What's Changed
- Add
totalparameter to list queries allowing skipping counting rows in a table for improved performance - Add
Operatorclass for atomic modification of rows via update, bulk update, upsert, and bulk upsert operations
Full Changelog: 21.3.0...21.4.0
21.3.0
What's Changed
- Add new
Realtimeservice with methods for subscribing to channels and receiving messages by @ChiragAgg5k - Fix
client.setSessionnot working when using realtime by @ChiragAgg5k - Deprecate
client.subscribemethod in favor ofRealtimeservice by @ChiragAgg5k
Note: Deprecated methods are still available for backwards compatibility, but might be removed in future versions.
Full Changelog: 21.2.1...21.3.0