Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ jobs:

- name: Determine release tag
id: release_tag
env:
REF: ${{ github.ref }}
run: |
if [[ "${{ github.ref }}" == *"-rc"* ]] || [[ "${{ github.ref }}" == *"-RC"* ]]; then
if [[ "$REF" == *"-rc"* ]] || [[ "$REF" == *"-RC"* ]]; then
echo "tag=next" >> "$GITHUB_OUTPUT"
else
echo "tag=latest" >> "$GITHUB_OUTPUT"
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change log

## 3.1.0

* Updated: requests send `X-Appwrite-Response-Format: 2.6.2`; the SDK targets Appwrite 2.6.x
* Updated: `mqtt` dependency to `5.16.1` and `readable-stream` to `4.8.0`
* Fixed: `Push` reconnects after the broker rejects a connection or the native socket closes
* Fixed: path parameters `.` and `..` throw `AppwriteException` instead of changing the request URL
* Fixed: examples leave unset optional params `undefined` instead of passing empty strings

## 3.0.0

* Breaking: `expo-file-system` is a peer dependency (`>=18.0.0`); install it in your app
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Appwrite React Native SDK

![License](https://img.shields.io/badge/license-BSD--3--Clause-blue.svg?style=flat-square)
![Version](https://img.shields.io/badge/api%20version-2.5.0-blue.svg?style=flat-square)
![Version](https://img.shields.io/badge/api%20version-2.6.2-blue.svg?style=flat-square)
[![X Account](https://img.shields.io/badge/follow-%40appwrite-000000?logo=x&style=flat-square)](https://x.com/appwrite)
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)

**This SDK targets Appwrite server version 2.5.x as shipped on Appwrite Cloud.** Self-hosted releases can lag behind Cloud — if you run an older self-hosted build, use a matching older SDK from [previous releases](https://github.com/appwrite/sdk-for-react-native/releases) when APIs differ.
**This SDK targets Appwrite server version 2.6.x as shipped on Appwrite Cloud.** Self-hosted releases can lag behind Cloud — if you run an older self-hosted build, use a matching older SDK from [previous releases](https://github.com/appwrite/sdk-for-react-native/releases) when APIs differ.

Appwrite is an open-source backend as a service server that abstracts and simplifies complex and repetitive development tasks behind a very simple to use REST API. Appwrite aims to help you develop your apps faster and in a more secure way. Use the React Native SDK to integrate your app with the Appwrite server to easily start interacting with all of Appwrite backend APIs and tools. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)

Expand Down
2 changes: 1 addition & 1 deletion docs/examples/oauth2/authorize-post.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const oauth2 = new Oauth2(client);
const result = await oauth2.authorizePost({
clientId: '<CLIENT_ID>', // optional
redirectUri: 'https://example.com', // optional
responseType: '', // optional
responseType: undefined, // optional
scope: '<SCOPE>', // optional
state: '<STATE>', // optional
nonce: '<NONCE>', // optional
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/oauth2/authorize.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const oauth2 = new Oauth2(client);
const result = await oauth2.authorize({
clientId: '<CLIENT_ID>', // optional
redirectUri: 'https://example.com', // optional
responseType: '', // optional
responseType: undefined, // optional
scope: '<SCOPE>', // optional
state: '<STATE>', // optional
nonce: '<NONCE>', // optional
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/storage/update-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const storage = new Storage(client);
const result = await storage.updateFile({
bucketId: '<BUCKET_ID>',
fileId: '<FILE_ID>',
name: '<NAME>', // optional
name: undefined, // optional
permissions: [Permission.read(Role.any())], // optional
});

Expand Down
Loading