Releases: appwrite/sdk-for-web
Releases · appwrite/sdk-for-web
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
18.2.0
What's Changed
- Add
incrementDocumentAttributeanddecrementDocumentAttributesupport toDatabasesservice - Add
gifsupport toImageFormatenum - Fix undefined
fileParamerror inchunkedUploadmethod - Fix autocompletion not working for
Documentmodel even when generic is passed
Full Changelog: 18.1.1...18.2.0
18.1.1
What's Changed
- fix: remove credentials when devKeys is set by @ChiragAgg5k in #127
Full Changelog: 18.1.0...18.1.1
18.1.0
What's Changed
- chore: add setDevKey and upsetDocument method by @ChiragAgg5k in #126
Full Changelog: 18.0.0...18.1.0