Skip to content

Commit ee5eddd

Browse files
authored
Merge pull request #293 from appwrite/dev
2 parents c2b5cf8 + 20a98e3 commit ee5eddd

21 files changed

+58
-44
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 20.3.3
4+
5+
* Fix boolean parameter not handled correctly in Client requests
6+
37
## 20.3.2
48

59
* Fix OAuth2 browser infinite redirect issue

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2025 Appwrite (https://appwrite.io) and individual contributors.
1+
Copyright (c) 2026 Appwrite (https://appwrite.io) and individual contributors.
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@
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.8.x. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-flutter/releases).**
11-
12-
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)
13-
10+
**This SDK is compatible with Appwrite server version latest. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-flutter/releases).**
1411

12+
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 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)
1513

1614
![Appwrite](https://github.com/appwrite/appwrite/raw/main/public/images/github.png)
1715

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

2220
```yml
2321
dependencies:
24-
appwrite: ^20.3.2
22+
appwrite: ^20.3.3
2523
```
2624
2725
You can install packages from the command line:

docs/examples/account/create-jwt.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ Client client = Client()
66

77
Account account = Account(client);
88

9-
Jwt result = await account.createJWT();
9+
Jwt result = await account.createJWT(
10+
duration: 0, // optional
11+
);

docs/examples/avatars/get-screenshot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Uint8List bytes = await avatars.getScreenshot(
3030
width: 800, // optional
3131
height: 600, // optional
3232
quality: 85, // optional
33-
output: Output.jpg, // optional
33+
output: ImageFormat.jpg, // optional
3434
)
3535

3636
final file = File('path_to_file/filename.ext');
@@ -61,7 +61,7 @@ FutureBuilder(
6161
width:800 , // optional
6262
height:600 , // optional
6363
quality:85 , // optional
64-
output: Output.jpg, // optional
64+
output: ImageFormat.jpg, // optional
6565
), // Works for both public file and private file, for private files you need to be logged in
6666
builder: (context, snapshot) {
6767
return snapshot.hasData && snapshot.data != null

docs/examples/databases/update-document.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ Document result = await databases.updateDocument(
1212
databaseId: '<DATABASE_ID>',
1313
collectionId: '<COLLECTION_ID>',
1414
documentId: '<DOCUMENT_ID>',
15-
data: {}, // optional
15+
data: {
16+
"username": "walter.obrien",
17+
"email": "walter.obrien@example.com",
18+
"fullName": "Walter O'Brien",
19+
"age": 33,
20+
"isAdmin": false
21+
}, // optional
1622
permissions: [Permission.read(Role.any())], // optional
1723
transactionId: '<TRANSACTION_ID>', // optional
1824
);

docs/examples/databases/upsert-document.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ Document result = await databases.upsertDocument(
1212
databaseId: '<DATABASE_ID>',
1313
collectionId: '<COLLECTION_ID>',
1414
documentId: '<DOCUMENT_ID>',
15-
data: {},
15+
data: {
16+
"username": "walter.obrien",
17+
"email": "walter.obrien@example.com",
18+
"fullName": "Walter O'Brien",
19+
"age": 30,
20+
"isAdmin": false
21+
}, // optional
1622
permissions: [Permission.read(Role.any())], // optional
1723
transactionId: '<TRANSACTION_ID>', // optional
1824
);

docs/examples/tablesdb/update-row.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ Row result = await tablesDB.updateRow(
1212
databaseId: '<DATABASE_ID>',
1313
tableId: '<TABLE_ID>',
1414
rowId: '<ROW_ID>',
15-
data: {}, // optional
15+
data: {
16+
"username": "walter.obrien",
17+
"email": "walter.obrien@example.com",
18+
"fullName": "Walter O'Brien",
19+
"age": 33,
20+
"isAdmin": false
21+
}, // optional
1622
permissions: [Permission.read(Role.any())], // optional
1723
transactionId: '<TRANSACTION_ID>', // optional
1824
);

docs/examples/tablesdb/upsert-row.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ Row result = await tablesDB.upsertRow(
1212
databaseId: '<DATABASE_ID>',
1313
tableId: '<TABLE_ID>',
1414
rowId: '<ROW_ID>',
15-
data: {}, // optional
15+
data: {
16+
"username": "walter.obrien",
17+
"email": "walter.obrien@example.com",
18+
"fullName": "Walter O'Brien",
19+
"age": 33,
20+
"isAdmin": false
21+
}, // optional
1622
permissions: [Permission.read(Role.any())], // optional
1723
transactionId: '<TRANSACTION_ID>', // optional
1824
);

lib/enums.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ part 'src/enums/credit_card.dart';
99
part 'src/enums/flag.dart';
1010
part 'src/enums/theme.dart';
1111
part 'src/enums/timezone.dart';
12-
part 'src/enums/output.dart';
12+
part 'src/enums/image_format.dart';
1313
part 'src/enums/execution_method.dart';
1414
part 'src/enums/image_gravity.dart';
15-
part 'src/enums/image_format.dart';
1615
part 'src/enums/execution_trigger.dart';
1716
part 'src/enums/execution_status.dart';

0 commit comments

Comments
 (0)