Releases: appwrite/sdk-for-web
Releases · appwrite/sdk-for-web
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
21.2.1
21.1.0
What's Changed
- Deprecate
createVerificationmethod inAccountservice - Add
createEmailVerificationmethod inAccountservice
Full Changelog: 21.0.0...21.1.0
21.0.0
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: 20.1.0...21.0.0
20.2.0-rc.1
Full Changelog: 20.1.0-rc.1...20.2.0-rc.1
20.1.0
20.1.0-rc.1
Full Changelog: 20.0.0...20.1.0-rc.1
20.0.0
19.0.0
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 parametersAfter (object parameters):
const result = storage.getFilePreview({
bucketId: '<BUCKET_ID>',
fileId: '<FILE_ID>',
output: ImageFormat.Jpg,
token: '<TOKEN>'
});
// No more undefined values needed!- Introduce new
TablesDBservice with standardized conventions likecreateRow,createColumnetc. Learn More - Add new query options:
notContains,notSearch,notBetweenetc.
Improvements
- Add parameter descriptions to doc comments
- Add deprecated tags to position-based parameter methods
- Add deprecated tags to legacy
Databaseservice and its methods
Note: Deprecated methods remain fully supported but may be removed in future versions.
Full Changelog: 18.2.0...19.0.0