You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,29 @@
1
+
## 8.0.0-dev.2 Latest
2
+
3
+
### NEW
4
+
* Support for Appwrite 1.0.0-RC1
5
+
* More verbose headers have been included in the Clients - `x-sdk-name`, `x-sdk-platform`, `x-sdk-language`, `x-sdk-version`
6
+
* Helper classes and methods for Permissions, Roles and IDs
7
+
* Helper methods to suport new queries
8
+
* All Dates and times are now returned in the ISO 8601 format
9
+
10
+
### BREAKING CHANGES
11
+
12
+
*`databaseId` is no longer part of the `Database` Service constructor. `databaseId` will be part of the respective methods of the database service.
13
+
*`color` attribute is no longer supported in the Avatars Service
14
+
* The `number` argument in phone endpoints have been renamed to `phone`
15
+
* List endpoints no longer support `limit`, `offset`, `cursor`, `cursorDirection`, `orderAttributes`, `orderTypes` as they have been moved to the `queries` array
16
+
*`read` and `write` permission have been deprecated and they are now included in the `permissions` array
17
+
* Renamed methods of the Query helper
18
+
1.`lesser` renamed to `lessThan`
19
+
2.`lesserEqual` renamed to `lessThanEqual`
20
+
3.`greater` renamed to `greaterThan`
21
+
4.`greaterEqual` renamed to `greaterThanEqual`
22
+
*`User` response model is now renamed to `Account`
23
+
24
+
**Full Changelog for Appwrite 1.0.0-RC1 can be found here**:
***BREAKING** Switched to using [flutter_web_auth_2](https://pub.dev/packages/flutter_web_auth_2), check Getting Started section in Readme for changes (Android and Web will require adjustments for OAuth to work properly)
**This SDK is compatible with Appwrite server version 1.0.0-RC1. 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.0.0. For older versions, please check [previous releases](https://github.com/appwrite/sdk-for-flutter/releases).**
11
11
12
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
13
@@ -21,7 +21,7 @@ Add this to your package's `pubspec.yaml` file:
21
21
22
22
```yml
23
23
dependencies:
24
-
appwrite: ^8.0.0-dev.2
24
+
appwrite: ^8.0.0
25
25
```
26
26
27
27
You can install packages from the command line:
@@ -134,9 +134,9 @@ When trying to connect to Appwrite from an emulator or a mobile device, localhos
134
134
```dart
135
135
// Register User
136
136
Account account = Account(client);
137
-
Response user = await account
137
+
final user = await account
138
138
.create(
139
-
userId: '[USER_ID]',
139
+
userId: ID.unique(),
140
140
email: 'me@appwrite.io',
141
141
password: 'password',
142
142
name: 'My Name'
@@ -162,9 +162,9 @@ void main() {
162
162
// Register User
163
163
Account account = Account(client);
164
164
165
-
Response user = await account
165
+
final user = await account
166
166
.create(
167
-
userId: '[USER_ID]',
167
+
userId: ID.unique(),
168
168
email: 'me@appwrite.io',
169
169
password: 'password',
170
170
name: 'My Name'
@@ -173,14 +173,14 @@ void main() {
173
173
```
174
174
175
175
### Error Handling
176
-
The Appwrite Flutter SDK raises `AppwriteException` object with `message`, `code` and `response` properties. You can handle any errors by catching `AppwriteException` and present the `message` to the user or handle it yourself based on the provided error information. Below is an example.
176
+
The Appwrite Flutter SDK raises `AppwriteException` object with `message`, `type`, `code` and `response` properties. You can handle any errors by catching `AppwriteException` and present the `message` to the user or handle it yourself based on the provided error information. Below is an example.
0 commit comments