Releases: appwrite/sdk-for-web
Releases · appwrite/sdk-for-web
21.2.1
21.1.0
What's Changed
- Deprecate
createVerification
method inAccount
service - Add
createEmailVerification
method inAccount
service
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 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 likecreateRow
,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: 18.2.0...19.0.0
18.2.0
What's Changed
- Add
incrementDocumentAttribute
anddecrementDocumentAttribute
support toDatabases
service - Add
gif
support toImageFormat
enum - Fix undefined
fileParam
error inchunkedUpload
method - Fix autocompletion not working for
Document
model 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