Releases: appwrite/sdk-for-react-native
Releases · appwrite/sdk-for-react-native
0.18.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: 0.17.1...0.18.0
0.17.1
0.16.0
What's Changed
- Deprecate
createVerificationmethod inAccountservice - Add
createEmailVerificationmethod inAccountservice
Full Changelog: 0.15.0...0.16.0
0.15.0
What's Changed
- feat: React Native SDK update for version 0.15.0 by @ChiragAgg5k in #75, introduces support of enums in response models.
Full Changelog: 0.14.0...0.15.0
0.14.0
0.13.0
What's Changed
- [BREAKING] Rename
CreditCardenum valueUnionChinaPaytoUnionPay - Add time between query support
- Add spatial query support
Full Changelog: 0.12.0...0.13.0
0.12.0
What's Changed
Features
- Introduce object parameters for all methods
Before (positional parameters):
const result = storage.getFilePreview(
'<BUCKET_ID>',
'<FILE_ID>',
undefined, // width
undefined, // height
ImageGravity.Center,
undefined, // quality
undefined, // borderWidth
undefined, // borderColor
undefined, // borderRadius
undefined, // opacity
undefined, // rotation
undefined, // background
ImageFormat.Jpg,
'<TOKEN>'
);
// Required passing undefined for unused optional parametersAfter (object arguments):
const result = storage.getFilePreview({
bucketId: '<BUCKET_ID>',
fileId: '<FILE_ID>',
gravity: ImageGravity.Center,
output: ImageFormat.Jpg,
token: '<TOKEN>'
});
// No more undefined values needed!- Introduce new TablesDB service with standardized conventions like:
createRowcreateColumnlistRowsupsertRowupdateRowdeleteRowincrementRowColumndecrementRowColumncreateTable
Learn More
- Add new query options:
- Inversion queries
notContainsnotSearchnotBetweennotStartsWithnotEndsWith
- Time helper queries
createdBeforecreatedAfterupdatedBeforeupdatedAfter
- Inversion queries
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.
0.11.0
What's Changed
- Add
incrementDocumentAttributeanddecrementDocumentAttributesupport toDatabasesservice - Add
sequencesupport toDocumentmodel - Fix autocompletion not working for
Documentmodel even when generic is passed
Full Changelog: 0.10.1...0.11.0
0.10.1
What's Changed
- Fix URL based methods like
getFileViewURL,getFilePreviewURLetc. by adding the missingprojectIdto searchParams - Add
gifto ImageFormat enum
Full Changelog: 0.10.0...0.10.1
0.10.0
What's Changed
- Add: generate file URL methods like
getFilePreviewURL,getFileViewURLetc. - Update (breaking): existing methods like
getFilePreviewto download the image instead of returning URLs
Full Changelog: 0.9.2...0.10.0