File tree Expand file tree Collapse file tree 6 files changed +15
-13
lines changed
Expand file tree Collapse file tree 6 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 1+ ## 12.0.3
2+
3+ * Upgrade dependencies
4+
15## 12.0.2
26
37* Fixed realtime multiple subscription issues
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Add this to your package's `pubspec.yaml` file:
2121
2222``` yml
2323dependencies :
24- appwrite : ^12.0.2
24+ appwrite : ^12.0.3
2525` ` `
2626
2727You can install packages from the command line:
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
4343 'x-sdk-name' : 'Flutter' ,
4444 'x-sdk-platform' : 'client' ,
4545 'x-sdk-language' : 'flutter' ,
46- 'x-sdk-version' : '12.0.2 ' ,
46+ 'x-sdk-version' : '12.0.3 ' ,
4747 'X-Appwrite-Response-Format' : '1.5.0' ,
4848 };
4949
@@ -162,7 +162,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
162162 }
163163
164164 while (offset < size) {
165- var chunk;
165+ List < int > chunk = [] ;
166166 final end = min (offset + CHUNK_SIZE , size);
167167 chunk = file.bytes! .getRange (offset, end).toList ();
168168 params[paramName] =
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ class ClientIO extends ClientBase with ClientMixin {
6464 'x-sdk-name' : 'Flutter' ,
6565 'x-sdk-platform' : 'client' ,
6666 'x-sdk-language' : 'flutter' ,
67- 'x-sdk-version' : '12.0.2 ' ,
67+ 'x-sdk-version' : '12.0.3 ' ,
6868 'X-Appwrite-Response-Format' : '1.5.0' ,
6969 };
7070
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ mixin RealtimeMixin {
2121 late WebSocketFactory getWebSocket;
2222 GetFallbackCookie ? getFallbackCookie;
2323 int ? get closeCode => _websok? .closeCode;
24- int _subscriptionsCounter = 0 ;
2524 Map <int , RealtimeSubscription > _subscriptions = {};
2625 bool _notifyDone = true ;
2726 StreamSubscription ? _websocketSubscription;
@@ -144,7 +143,6 @@ mixin RealtimeMixin {
144143 channels: channels,
145144 close: () async {
146145 _subscriptions.remove (id);
147- _subscriptionsCounter-- ;
148146 controller.close ();
149147 _cleanup (channels);
150148
Original file line number Diff line number Diff line change 11name : appwrite
2- version : 12.0.2
2+ version : 12.0.3
33description : Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API
44homepage : https://appwrite.io
55repository : https://github.com/appwrite/sdk-for-flutter
@@ -19,17 +19,17 @@ dependencies:
1919 flutter :
2020 sdk : flutter
2121 cookie_jar : ^4.0.8
22- device_info_plus : ^9 .1.2
22+ device_info_plus : ^10 .1.0
2323 flutter_web_auth_2 : ^3.1.1
2424 http : ' >=0.13.6 <2.0.0'
25- package_info_plus : ^5 .0.1
26- path_provider : ^2.1.2
27- web_socket_channel : ^2.4.3
28- universal_html : ^2.2.2
25+ package_info_plus : ^8 .0.0
26+ path_provider : ^2.1.3
27+ web_socket_channel : ^2.4.5
28+ universal_html : ^2.2.4
2929
3030dev_dependencies :
3131 path_provider_platform_interface : ^2.1.2
32- flutter_lints : ^3.0.1
32+ flutter_lints : ^3.0.2
3333 flutter_test :
3434 sdk : flutter
3535 mockito : ^5.4.4
You can’t perform that action at this time.
0 commit comments