Skip to content

Commit e5236a1

Browse files
authored
Merge pull request #110 from appwrite/dev
Appwrite 1.2.0 support
2 parents f0e103e + 481b477 commit e5236a1

27 files changed

+125
-236
lines changed

CHANGELOG.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1-
## 8.0.0-dev.2 Latest
1+
## 8.2.0
2+
3+
* Support for GraphQL
4+
5+
## 8.1.0
6+
7+
* Role helper update
8+
9+
## 8.0.0
210

311
### NEW
4-
* Support for Appwrite 1.0.0-RC1
12+
* Support for Appwrite 1.0.0
513
* More verbose headers have been included in the Clients - `x-sdk-name`, `x-sdk-platform`, `x-sdk-language`, `x-sdk-version`
614
* Helper classes and methods for Permissions, Roles and IDs
715
* Helper methods to suport new queries
@@ -21,7 +29,7 @@
2129
4. `greaterEqual` renamed to `greaterThanEqual`
2230
* `User` response model is now renamed to `Account`
2331

24-
**Full Changelog for Appwrite 1.0.0-RC1 can be found here**:
32+
**Full Changelog for Appwrite 1.0.0 can be found here**:
2533
https://github.com/appwrite/appwrite/blob/master/CHANGES.md
2634

2735
## 7.0.0

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ Redistribution and use in source and binary forms, with or without modification,
77

88
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
99

10-
3. Neither the name Appwrite nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
10+
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
1111

1212
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 4 additions & 4 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.0.0-blue.svg?style=flat-square)
5+
![Version](https://img.shields.io/badge/api%20version-1.2.0-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.0.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.2.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: ^8.1.0
24+
appwrite: ^8.2.0
2525
```
2626
2727
You can install packages from the command line:
@@ -201,4 +201,4 @@ This library is auto-generated by Appwrite custom [SDK Generator](https://github
201201

202202
## License
203203

204-
Please see the [BSD-3-Clause license](https://raw.githubusercontent.com/appwrite/appwrite/master/LICENSE) file for more information.
204+
Please see the [BSD-3-Clause license](https://raw.githubusercontent.com/appwrite/appwrite/master/LICENSE) file for more information.

docs/examples/account/create-phone-session.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ void main() { // Init SDK
1010
;
1111
Future result = account.createPhoneSession(
1212
userId: '[USER_ID]',
13-
phone: '',
13+
phone: '+12065550100',
1414
);
1515

1616
result

docs/examples/account/update-phone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ void main() { // Init SDK
99
.setProject('5df5acd0d48c2') // Your project ID
1010
;
1111
Future result = account.updatePhone(
12-
phone: '',
12+
phone: '+12065550100',
1313
password: 'password',
1414
);
1515

docs/examples/functions/retry-build.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

docs/examples/account/get-sessions.md renamed to docs/examples/graphql/mutation.md

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

33
void main() { // Init SDK
44
Client client = Client();
5-
Account account = Account(client);
5+
Graphql graphql = Graphql(client);
66

77
client
88
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
99
.setProject('5df5acd0d48c2') // Your project ID
1010
;
11-
Future result = account.getSessions();
11+
Future result = graphql.mutation(
12+
query: {},
13+
);
1214

1315
result
1416
.then((response) {

docs/examples/account/get-logs.md renamed to docs/examples/graphql/query.md

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

33
void main() { // Init SDK
44
Client client = Client();
5-
Account account = Account(client);
5+
Graphql graphql = Graphql(client);
66

77
client
88
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
99
.setProject('5df5acd0d48c2') // Your project ID
1010
;
11-
Future result = account.getLogs(
11+
Future result = graphql.query(
12+
query: {},
1213
);
1314

1415
result

docs/examples/locale/get-continents.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

docs/examples/locale/get-countries-e-u.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)