diff --git a/CHANGELOG.md b/CHANGELOG.md index a14396f..f592de0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ +## 15.0.2 + +* Avoid setting empty `User-Agent` header and only encode it when present. +* Update doc examples to use new multi-region endpoint: `https://<REGION>.cloud.appwrite.io/v1`. + +## 15.0.1 + +* Removed `Content-Type` header from GET and HEAD requests. +* Add validation for setting endpoint in `setEndpoint` and `setEndPointRealtime` methods. +* Include Figma in list of available OAuth providers. + ## 15.0.0 +* Encode `User-Agent` header to fix invalid HTTP header field value error. * Breaking changes: * Changed the typing of `AppwriteException`'s response parameter from a `dynamic` object to an optional string (`?String`). diff --git a/README.md b/README.md index d48c923..793fc62 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Add this to your package's `pubspec.yaml` file: ```yml dependencies: - appwrite: ^15.0.1 + appwrite: ^15.0.2 ``` You can install packages from the command line: diff --git a/lib/src/client_browser.dart b/lib/src/client_browser.dart index 028a3c4..f82b4c4 100644 --- a/lib/src/client_browser.dart +++ b/lib/src/client_browser.dart @@ -40,7 +40,7 @@ class ClientBrowser extends ClientBase with ClientMixin { 'x-sdk-name': 'Flutter', 'x-sdk-platform': 'client', 'x-sdk-language': 'flutter', - 'x-sdk-version': '15.0.1', + 'x-sdk-version': '15.0.2', 'X-Appwrite-Response-Format': '1.6.0', }; diff --git a/lib/src/client_io.dart b/lib/src/client_io.dart index e3fe16c..a3e4f01 100644 --- a/lib/src/client_io.dart +++ b/lib/src/client_io.dart @@ -59,7 +59,7 @@ class ClientIO extends ClientBase with ClientMixin { 'x-sdk-name': 'Flutter', 'x-sdk-platform': 'client', 'x-sdk-language': 'flutter', - 'x-sdk-version': '15.0.1', + 'x-sdk-version': '15.0.2', 'X-Appwrite-Response-Format': '1.6.0', }; diff --git a/pubspec.yaml b/pubspec.yaml index dc41b21..3f6cfd5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: appwrite -version: 15.0.1 +version: 15.0.2 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-flutter