Skip to content

Commit f286c22

Browse files
committed
chore: regenerate
1 parent b64f004 commit f286c22

File tree

112 files changed

+5286
-5035
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+5286
-5035
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
# Change Log
22

3-
## 16.1.1
3+
## 17.0.2
4+
5+
* Add `gif` support to `ImageFormat` enum
6+
* Fix `convertTo()` method in `Document` and `Preferences` models to correctly accept `Map<String, dynamic>`
7+
8+
## 17.0.1
9+
10+
* Fix `devKeys` support by conditionally including credentials during requests
11+
12+
## 17.0.0
413

514
* Update `flutter_web_auth_2` dependency to version 4.1.0
615
* Update `auth.html` example in README.md to align with `flutter_web_auth_2` documentation
16+
* Breaking changes:
17+
* Minimum iOS version supported is now 17.4 due to the updated requirements of `flutter_web_auth_2` version 4.1.0
718

819
## 16.1.0
920

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
[![pub package](https://img.shields.io/pub/v/appwrite?style=flat-square)](https://pub.dartlang.org/packages/appwrite)
44
![License](https://img.shields.io/github/license/appwrite/sdk-for-flutter.svg?style=flat-square)
5-
![Version](https://img.shields.io/badge/api%20version-1.7.x-blue.svg?style=flat-square)
5+
![Version](https://img.shields.io/badge/api%20version-1.8.x-blue.svg?style=flat-square)
66
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
77
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
88
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
99

10-
**This SDK is compatible with Appwrite server version 1.7.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-flutter/releases).**
10+
**This SDK is compatible with Appwrite server version 1.8.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-flutter/releases).**
1111

1212
Appwrite is an open-source backend as a service server that abstract and simplify 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 Flutter 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)
1313

@@ -21,7 +21,7 @@ Add this to your package's `pubspec.yaml` file:
2121

2222
```yml
2323
dependencies:
24-
appwrite: ^17.0.2
24+
appwrite: ^18.0.0
2525
```
2626
2727
You can install packages from the command line:

docs/examples/databases/upsert-document.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import 'package:appwrite/appwrite.dart';
22

33
Client client = Client()
44
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
5-
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
5+
.setSession('') // The user session to authenticate with
6+
.setKey('') //
7+
.setJWT('<YOUR_JWT>'); // Your secret JSON Web Token
68

79
Databases databases = Databases(client);
810

911
Document result = await databases.upsertDocument(
1012
databaseId: '<DATABASE_ID>',
1113
collectionId: '<COLLECTION_ID>',
1214
documentId: '<DOCUMENT_ID>',
13-
data: {},
14-
permissions: ["read("any")"], // optional
1515
);

docs/examples/tables/create-row.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import 'package:appwrite/appwrite.dart';
2+
3+
Client client = Client()
4+
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
5+
.setSession('') // The user session to authenticate with
6+
.setKey('') //
7+
.setJWT('<YOUR_JWT>'); // Your secret JSON Web Token
8+
9+
Tables tables = Tables(client);
10+
11+
Row result = await tables.createRow(
12+
databaseId: '<DATABASE_ID>',
13+
tableId: '<TABLE_ID>',
14+
rowId: '<ROW_ID>',
15+
data: {},
16+
permissions: ["read("any")"], // optional
17+
);

docs/examples/tables/create-rows.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import 'package:appwrite/appwrite.dart';
2+
3+
Client client = Client()
4+
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
5+
.setAdmin('') //
6+
.setKey(''); //
7+
8+
Tables tables = Tables(client);
9+
10+
RowList result = await tables.createRows(
11+
databaseId: '<DATABASE_ID>',
12+
tableId: '<TABLE_ID>',
13+
rows: [],
14+
);

docs/examples/tables/delete-row.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import 'package:appwrite/appwrite.dart';
2+
3+
Client client = Client()
4+
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
5+
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
6+
7+
Tables tables = Tables(client);
8+
9+
await tables.deleteRow(
10+
databaseId: '<DATABASE_ID>',
11+
tableId: '<TABLE_ID>',
12+
rowId: '<ROW_ID>',
13+
);

docs/examples/tables/get-row.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import 'package:appwrite/appwrite.dart';
2+
3+
Client client = Client()
4+
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
5+
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
6+
7+
Tables tables = Tables(client);
8+
9+
Row result = await tables.getRow(
10+
databaseId: '<DATABASE_ID>',
11+
tableId: '<TABLE_ID>',
12+
rowId: '<ROW_ID>',
13+
queries: [], // optional
14+
);

docs/examples/tables/list-rows.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import 'package:appwrite/appwrite.dart';
2+
3+
Client client = Client()
4+
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
5+
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
6+
7+
Tables tables = Tables(client);
8+
9+
RowList result = await tables.listRows(
10+
databaseId: '<DATABASE_ID>',
11+
tableId: '<TABLE_ID>',
12+
queries: [], // optional
13+
);

docs/examples/tables/update-row.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import 'package:appwrite/appwrite.dart';
2+
3+
Client client = Client()
4+
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
5+
.setProject('<YOUR_PROJECT_ID>'); // Your project ID
6+
7+
Tables tables = Tables(client);
8+
9+
Row result = await tables.updateRow(
10+
databaseId: '<DATABASE_ID>',
11+
tableId: '<TABLE_ID>',
12+
rowId: '<ROW_ID>',
13+
data: {}, // optional
14+
permissions: ["read("any")"], // optional
15+
);

docs/examples/tables/upsert-row.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import 'package:appwrite/appwrite.dart';
2+
3+
Client client = Client()
4+
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
5+
.setSession('') // The user session to authenticate with
6+
.setKey('') //
7+
.setJWT('<YOUR_JWT>'); // Your secret JSON Web Token
8+
9+
Tables tables = Tables(client);
10+
11+
Row result = await tables.upsertRow(
12+
databaseId: '<DATABASE_ID>',
13+
tableId: '<TABLE_ID>',
14+
rowId: '<ROW_ID>',
15+
);

0 commit comments

Comments
 (0)