Skip to content

Commit c1b3841

Browse files
Merge pull request #241 from appwrite/dev
chore: regenerate sdks
2 parents eeeb372 + 375d779 commit c1b3841

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1412
-1393
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 15.0.0
2+
3+
* Breaking changes:
4+
* Changed the typing of `AppwriteException`'s response parameter from a `dynamic` object to an optional string (`?String`).
5+
6+
## 14.0.0
7+
8+
* Fixed realtime pong response.
9+
* Fixed issues with `chunkedUpload` method.
10+
111
## 13.0.0
212

313
* Fixed realtime reconnection issues

README.md

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

2222
```yml
2323
dependencies:
24-
appwrite: ^14.0.0
24+
appwrite: ^15.0.0
2525
```
2626
2727
You can install packages from the command line:

lib/query.dart

+11-7
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ class Query {
99
Query._(this.method, [this.attribute = null, this.values = null]);
1010

1111
Map<String, dynamic> toJson() {
12-
final map = <String, dynamic>{
13-
'method': method,
14-
};
12+
final map = <String, dynamic>{'method': method};
1513

1614
if (attribute != null) {
1715
map['attribute'] = attribute;
@@ -85,12 +83,18 @@ class Query {
8583
Query._('contains', attribute, value).toString();
8684

8785
static String or(List<String> queries) =>
88-
Query._('or', null, queries.map((query) => jsonDecode(query)).toList())
89-
.toString();
86+
Query._(
87+
'or',
88+
null,
89+
queries.map((query) => jsonDecode(query)).toList(),
90+
).toString();
9091

9192
static String and(List<String> queries) =>
92-
Query._('and', null, queries.map((query) => jsonDecode(query)).toList())
93-
.toString();
93+
Query._(
94+
'and',
95+
null,
96+
queries.map((query) => jsonDecode(query)).toList(),
97+
).toString();
9498

9599
/// Specify which attributes should be returned by the API call.
96100
static String select(List<String> attributes) =>

0 commit comments

Comments
 (0)