Skip to content

Releases: appwrite/sdk-for-react-native

0.13.0

08 Sep 11:17
2fd45f5
Compare
Choose a tag to compare

What's Changed

  • [BREAKING] Rename CreditCard enum value UnionChinaPay to UnionPay
  • Add time between query support
  • Add spatial query support

Full Changelog: 0.12.0...0.13.0

0.12.0

26 Aug 07:42
cdf0f36
Compare
Choose a tag to compare

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 parameters

After (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:
    • createRow
    • createColumn
    • listRows
    • upsertRow
    • updateRow
    • deleteRow
    • incrementRowColumn
    • decrementRowColumn
    • createTable
      Learn More
  • Add new query options:
    • Inversion queries
      • notContains
      • notSearch
      • notBetween
      • notStartsWith
      • notEndsWith
    • Time helper queries
      • createdBefore
      • createdAfter
      • updatedBefore
      • updatedAfter

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.

0.11.0

26 Jul 17:17
9f082cb
Compare
Choose a tag to compare

What's Changed

  • Add incrementDocumentAttribute and decrementDocumentAttribute support to Databases service
  • Add sequence support to Document model
  • Fix autocompletion not working for Document model even when generic is passed

Full Changelog: 0.10.1...0.11.0

0.10.1

14 Jul 16:49
27a2faf
Compare
Choose a tag to compare

What's Changed

  • Fix URL based methods like getFileViewURL, getFilePreviewURL etc. by adding the missing projectId to searchParams
  • Add gif to ImageFormat enum

Full Changelog: 0.10.0...0.10.1

0.10.0

18 Jun 13:27
0816819
Compare
Choose a tag to compare

What's Changed

  • Add: generate file URL methods likegetFilePreviewURL, getFileViewURL etc.
  • Update (breaking): existing methods like getFilePreview to download the image instead of returning URLs

Full Changelog: 0.9.2...0.10.0

0.9.2

21 May 14:44
b1dd444
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.9.1...0.9.2

0.9.1

21 May 07:42
c9213cc
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.9.0...0.9.1

0.9.0

18 May 09:44
7b21d10
Compare
Choose a tag to compare

What's Changed

  • Add <REGION> to doc examples due to the new multi region endpoints
  • Remove Gif from ImageFormat enum
  • Remove search param from listExecutions method
  • Add token param to getFilePreview and getFileView for File tokens usage

Full Changelog: 0.7.4...0.9.0

0.7.4

12 May 07:14
10ec486
Compare
Choose a tag to compare

What's Changed

  • fix: bump dependencies to resolve PlatformConstants error with Expo 53 by @ChiragAgg5k in #55

Full Changelog: 0.7.3...0.7.4

0.7.3

17 Apr 19:30
4995467
Compare
Choose a tag to compare

What's Changed

  • fix: remove content-type from GET requests by @loks0n in #53

Full Changelog: 0.7.2...0.7.3