Skip to content

Commit 9bd3c08

Browse files
committed
updated changelog and pub version
1 parent 36a7a47 commit 9bd3c08

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 2.0.0
2+
- BREAKING All services and methods now return structured response objects instead of `Response` object
3+
14
## 1.0.2
25
- Support for Appwrite 0.11
36

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Add this to your package's `pubspec.yaml` file:
2323

2424
```yml
2525
dependencies:
26-
dart_appwrite: ^1.0.2
26+
dart_appwrite: ^2.0.0
2727
```
2828
2929
You can install packages from the command line:

lib/src/client_browser.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
2525
_httpClient = BrowserClient();
2626
_headers = {
2727
'content-type': 'application/json',
28-
'x-sdk-version': 'appwrite:dart:1.0.2',
28+
'x-sdk-version': 'appwrite:dart:2.0.0',
2929
'X-Appwrite-Response-Format' : '0.11.0',
3030
};
3131

lib/src/client_io.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class ClientIO extends ClientBase with ClientMixin {
3535
this._endPoint = endPoint;
3636
this._headers = {
3737
'content-type': 'application/json',
38-
'x-sdk-version': 'appwrite:dart:1.0.2',
38+
'x-sdk-version': 'appwrite:dart:2.0.0',
3939
'X-Appwrite-Response-Format' : '0.11.0',
4040
};
4141

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: dart_appwrite
2-
version: 1.0.2
2+
version: 2.0.0
33
description: Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API
44
homepage: https://appwrite.io
55
repository: https://github.com/appwrite/sdk-for-dart

0 commit comments

Comments
 (0)