Releases: appwrite/sdk-for-node
Releases · appwrite/sdk-for-node
19.0.0
18.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: 17.2.0...18.0.0
17.2.0
What's Changed
- Add
incrementDocumentAttribute
anddecrementDocumentAttribute
support toDatabases
service - Fix autocompletion not working for
Document
model even when generic is passed
Full Changelog: 17.1.0...17.2.0
17.1.0
What's Changed
- Add
upsertDocument
method - Add
dart-3.8
andflutter-3.32
runtimes - Add
gif
image format - Update bulk operation methods to reflect warning message
- Fix file parameter handling in chunked upload method
Full Changelog: 17.0.0...17.1.0
17.0.0
What's Changed
- Add
<REGION>
to doc examples due to the new multi region endpoints - Add doc examples and methods for bulk api transactions:
createDocuments
,deleteDocuments
etc. - Add doc examples, class and methods for new
Sites
service - Add doc examples, class and methods for new
Tokens
service - Add enums for
BuildRuntime
,Adapter
,Framework
,DeploymentDownloadType
andVCSDeploymentType
- Update enum for
runtimes
with Pythonml312, Dart219, Flutter327 and Flutter329 - Add
token
param togetFilePreview
andgetFileView
for File tokens usage - Add
queries
andsearch
params tolistMemberships
method - Remove
search
param fromlistExecutions
method
Full Changelog: 16.0.0...17.0.0
16.1.0-rc.1
Full Changelog: 16.0.0...16.1.0-rc.1
16.0.0
What's Changed
- fix: remove content-type from GET requests by @loks0n in #108
- update (breaking): min and max params are now optional in
updateFloatAttribute
andupdateIntegerAttribute
methods (changes their positioning in method definition)
Full Changelog: 15.0.1...16.0.0
15.0.1
What's Changed
- Remove titles from all function descriptions.
- Fixes typing for collection "attribute" key.
- removed unnecessary awaits and asyncs.
- ensure AppwriteException response is always string.
New Contributors
- @ChiragAgg5k made their first contribution in #104
Full Changelog: 15.0.0...15.0.1