Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
a18cda0
chore: update Flutter SDK to 25.3.0
ChiragAgg5k Jul 13, 2026
e50fec6
Commit from GitHub Actions (Format and push)
ChiragAgg5k Jul 13, 2026
1c0fb53
chore: update Flutter SDK to 25.3.0
ChiragAgg5k Jul 13, 2026
4f7e2d4
Commit from GitHub Actions (Format and push)
ChiragAgg5k Jul 13, 2026
7071616
chore: update Flutter SDK to 25.4.0
ChiragAgg5k Aug 5, 2026
4fde2ec
chore: merge main into dev for the 25.4.0 release
ChiragAgg5k Aug 5, 2026
30daa7b
Commit from GitHub Actions (Format and push)
ChiragAgg5k Aug 5, 2026
ab4db8c
chore: update Flutter SDK to 25.5.0
ChiragAgg5k Aug 24, 2026
876a6a9
chore: merge main into dev for the 25.5.0 release
ChiragAgg5k Aug 24, 2026
292f2c0
Commit from GitHub Actions (Format and push)
ChiragAgg5k Aug 24, 2026
d7f9f6d
chore: update Flutter SDK to 26.0.0
ChiragAgg5k Aug 24, 2026
9c107fb
Commit from GitHub Actions (Format and push)
ChiragAgg5k Aug 24, 2026
11e368f
chore: remove auto-formatting workflow, the generator now emits forma…
ChiragAgg5k Aug 24, 2026
8bab69b
chore: update Flutter SDK to 26.2.0
ChiragAgg5k Sep 7, 2026
d72f621
chore: merge main into dev for the 26.2.0 release
ChiragAgg5k Sep 7, 2026
2658391
docs: state the SDK targets Appwrite server version 2.0.x
ChiragAgg5k Sep 7, 2026
dc3489f
fix: regenerate with the latest sdk-generator and add auto image gravity
ChiragAgg5k Sep 7, 2026
0b5d558
chore: update Flutter SDK to 27.0.0
ChiragAgg5k Sep 24, 2026
68b413c
chore: merge main into dev for the 27.0.0 release
ChiragAgg5k Sep 24, 2026
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
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Change Log

## 27.0.0

* Breaking: removed `Account.listLogs` and the `Log`, `LogList` models
* Breaking: removed `Client.setDevKey`
* Breaking: SDK now targets Appwrite 2.3 (`X-Appwrite-Response-Format: 2.3.0`)
* Added: `Account.createIdTokenSession` for native Apple and Google sign-in with `IdTokenProvider` enum
* Added: `Account.createRecoveryOTP` and `Account.updateRecoveryOTP` for code-based password recovery
* Added: `Account.createEmailVerificationOTP` and `Account.updateEmailVerificationOTP`
* Added: `kakao` and `tiktok` values to `OAuthProvider`
* Added: `passwordPwned` field on `User` and `providerIdToken` field on `Identity`
* Fixed: empty-string required path parameters are rejected instead of sent to the API

## 26.2.0

* Added: `DocumentsDB` and `VectorsDB` services for document and vector database access
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

[![pub package](https://img.shields.io/pub/v/appwrite?style=flat-square)](https://pub.dartlang.org/packages/appwrite)
![License](https://img.shields.io/github/license/appwrite/sdk-for-flutter.svg?style=flat-square)
![Version](https://img.shields.io/badge/api%20version-2.0.x-blue.svg?style=flat-square)
![Version](https://img.shields.io/badge/api%20version-2.3.x-blue.svg?style=flat-square)
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.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.0.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-flutter/releases) when APIs differ.
**This SDK targets Appwrite server version 2.3.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-flutter/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 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)

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

```yml
dependencies:
appwrite: ^26.2.0
appwrite: ^27.0.0
```

You can install packages from the command line:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Client client = Client()

Account account = Account(client);

LogList result = await account.listLogs(
queries: [], // optional
total: false, // optional
Token result = await account.createEmailVerificationOTP(
phrase: false, // optional
);
```
19 changes: 19 additions & 0 deletions docs/examples/account/create-id-token-session.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
```dart
import 'package:appwrite/appwrite.dart';
import 'package:appwrite/enums.dart' as enums;

Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID

Account account = Account(client);

Session result = await account.createIdTokenSession(
provider: enums.IdTokenProvider.apple,
idToken: '<ID_TOKEN>',
nonce: '<NONCE>', // optional
accessToken: '<ACCESS_TOKEN>', // optional
accessTokenExpiry: 0, // optional
name: '<NAME>', // optional
);
```
14 changes: 14 additions & 0 deletions docs/examples/account/create-recovery-otp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
```dart
import 'package:appwrite/appwrite.dart';

Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID

Account account = Account(client);

Token result = await account.createRecoveryOTP(
email: 'email@example.com',
phrase: false, // optional
);
```
14 changes: 14 additions & 0 deletions docs/examples/account/update-email-verification-otp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
```dart
import 'package:appwrite/appwrite.dart';

Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID

Account account = Account(client);

Token result = await account.updateEmailVerificationOTP(
userId: '<USER_ID>',
secret: '<SECRET>',
);
```
15 changes: 15 additions & 0 deletions docs/examples/account/update-recovery-otp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
```dart
import 'package:appwrite/appwrite.dart';

Client client = Client()
.setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
.setProject('<YOUR_PROJECT_ID>'); // Your project ID

Account account = Account(client);

Token result = await account.updateRecoveryOTP(
userId: '<USER_ID>',
secret: '<SECRET>',
password: 'password',
);
```
3 changes: 2 additions & 1 deletion lib/appwrite.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// Appwrite Flutter SDK
///
/// This SDK targets Appwrite server version 2.0.x as shipped on Appwrite Cloud.
/// This SDK targets Appwrite server version 2.3.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-flutter/releases)
Expand All @@ -13,6 +13,7 @@ import 'dart:typed_data';
import 'dart:convert';

import 'src/enums.dart';
import 'src/exception.dart';
import 'src/service.dart';
import 'src/input_file.dart';
import 'models.dart' as models;
Expand Down
1 change: 1 addition & 0 deletions lib/enums.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ library appwrite.enums;

part 'src/enums/authenticator_type.dart';
part 'src/enums/authentication_factor.dart';
part 'src/enums/id_token_provider.dart';
part 'src/enums/o_auth_provider.dart';
part 'src/enums/browser.dart';
part 'src/enums/credit_card.dart';
Expand Down
2 changes: 0 additions & 2 deletions lib/models.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ part 'src/models/document_list.dart';
part 'src/models/presence_list.dart';
part 'src/models/session_list.dart';
part 'src/models/identity_list.dart';
part 'src/models/log_list.dart';
part 'src/models/file_list.dart';
part 'src/models/team_list.dart';
part 'src/models/membership_list.dart';
Expand All @@ -24,7 +23,6 @@ part 'src/models/transaction_list.dart';
part 'src/models/row.dart';
part 'src/models/document.dart';
part 'src/models/presence.dart';
part 'src/models/log.dart';
part 'src/models/user.dart';
part 'src/models/algo_md5.dart';
part 'src/models/algo_sha.dart';
Expand Down
Loading
Loading