Skip to content

Commit

Permalink
updated changelog and pub version
Browse files Browse the repository at this point in the history
  • Loading branch information
lohanidamodar committed Dec 17, 2021
1 parent 36a7a47 commit 9bd3c08
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion lib/src/client_browser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};

Expand Down
2 changes: 1 addition & 1 deletion lib/src/client_io.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9bd3c08

Please sign in to comment.