diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c2a766..5d0d86c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2.0.0 +- BREAKING All services and methods now return structured response objects instead of `Response` object + ## 1.0.2 - Support for Appwrite 0.11 diff --git a/README.md b/README.md index 70f9f42..a0fe8af 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Add this to your package's `pubspec.yaml` file: ```yml dependencies: - dart_appwrite: ^1.0.2 + dart_appwrite: ^2.0.0 ``` You can install packages from the command line: diff --git a/lib/src/client_browser.dart b/lib/src/client_browser.dart index 54b8a60..f95b5ef 100644 --- a/lib/src/client_browser.dart +++ b/lib/src/client_browser.dart @@ -25,7 +25,7 @@ class ClientBrowser extends ClientBase with ClientMixin { _httpClient = BrowserClient(); _headers = { 'content-type': 'application/json', - 'x-sdk-version': 'appwrite:dart:1.0.2', + 'x-sdk-version': 'appwrite:dart:2.0.0', 'X-Appwrite-Response-Format' : '0.11.0', }; diff --git a/lib/src/client_io.dart b/lib/src/client_io.dart index a7bf21b..75843d3 100644 --- a/lib/src/client_io.dart +++ b/lib/src/client_io.dart @@ -35,7 +35,7 @@ class ClientIO extends ClientBase with ClientMixin { this._endPoint = endPoint; this._headers = { 'content-type': 'application/json', - 'x-sdk-version': 'appwrite:dart:1.0.2', + 'x-sdk-version': 'appwrite:dart:2.0.0', 'X-Appwrite-Response-Format' : '0.11.0', }; diff --git a/pubspec.yaml b/pubspec.yaml index 1c763ea..1ab57ed 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: dart_appwrite -version: 1.0.2 +version: 2.0.0 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 homepage: https://appwrite.io repository: https://github.com/appwrite/sdk-for-dart