From 88cb8abc68ffb3607d3f61051e36541a006f42be Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Wed, 12 Jul 2023 17:21:28 +0530 Subject: [PATCH] chore(repo): updated minimum supported SDK version to Flutter 3.10/Dart 3.0 Signed-off-by: xsahil03x --- packages/stream_chat/example/pubspec.yaml | 4 ++-- .../stream_chat/lib/src/ws/timer_helper.dart | 2 +- packages/stream_chat/pubspec.yaml | 18 ++++++++--------- .../stream_chat_flutter/example/pubspec.yaml | 4 ++-- packages/stream_chat_flutter/pubspec.yaml | 20 +++++++++---------- .../example/pubspec.yaml | 4 ++-- .../stream_chat_flutter_core/pubspec.yaml | 14 ++++++------- .../example/pubspec.yaml | 4 ++-- .../stream_chat_localizations/pubspec.yaml | 4 ++-- .../example/pubspec.yaml | 4 ++-- packages/stream_chat_persistence/pubspec.yaml | 14 ++++++------- 11 files changed, 46 insertions(+), 46 deletions(-) diff --git a/packages/stream_chat/example/pubspec.yaml b/packages/stream_chat/example/pubspec.yaml index 16362f02..d16c8647 100644 --- a/packages/stream_chat/example/pubspec.yaml +++ b/packages/stream_chat/example/pubspec.yaml @@ -5,8 +5,8 @@ publish_to: "none" version: 1.0.0+1 environment: - sdk: '>=2.19.0 <4.0.0' - flutter: ">=3.7.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: cupertino_icons: ^1.0.5 diff --git a/packages/stream_chat/lib/src/ws/timer_helper.dart b/packages/stream_chat/lib/src/ws/timer_helper.dart index 0974ee80..1478327c 100644 --- a/packages/stream_chat/lib/src/ws/timer_helper.dart +++ b/packages/stream_chat/lib/src/ws/timer_helper.dart @@ -2,7 +2,7 @@ import 'dart:async'; import 'package:uuid/uuid.dart'; /// -class TimerHelper { +mixin class TimerHelper { final _uuid = const Uuid(); late final _timers = {}; diff --git a/packages/stream_chat/pubspec.yaml b/packages/stream_chat/pubspec.yaml index 6b35b723..cda7f7f3 100644 --- a/packages/stream_chat/pubspec.yaml +++ b/packages/stream_chat/pubspec.yaml @@ -6,19 +6,19 @@ repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues environment: - sdk: '>=2.19.0 <4.0.0' + sdk: '>=3.0.0 <4.0.0' dependencies: - async: ^2.10.0 - collection: ^1.17.0 + async: ^2.11.0 + collection: ^1.17.1 dio: ^5.2.1+1 equatable: ^2.0.5 - freezed_annotation: ^2.2.0 + freezed_annotation: ^2.4.1 http_parser: ^4.0.2 jose: ^0.3.3 json_annotation: ^4.8.1 logging: ^1.2.0 - meta: ^1.8.0 + meta: ^1.9.1 mime: ^1.0.4 rate_limiter: ^1.0.0 rxdart: ^0.27.7 @@ -27,8 +27,8 @@ dependencies: web_socket_channel: ^2.4.0 dev_dependencies: - build_runner: ^2.3.3 - freezed: ^2.4.0 - json_serializable: ^6.6.2 + build_runner: ^2.4.6 + freezed: ^2.4.1 + json_serializable: ^6.7.1 mocktail: ^0.3.0 - test: ^1.24.3 + test: ^1.24.4 diff --git a/packages/stream_chat_flutter/example/pubspec.yaml b/packages/stream_chat_flutter/example/pubspec.yaml index 075e8132..9ec9351c 100644 --- a/packages/stream_chat_flutter/example/pubspec.yaml +++ b/packages/stream_chat_flutter/example/pubspec.yaml @@ -4,8 +4,8 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: '>=2.19.0 <4.0.0' - flutter: ">=3.7.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: collection: ^1.15.0 diff --git a/packages/stream_chat_flutter/pubspec.yaml b/packages/stream_chat_flutter/pubspec.yaml index 4d8f6e97..1c03a709 100644 --- a/packages/stream_chat_flutter/pubspec.yaml +++ b/packages/stream_chat_flutter/pubspec.yaml @@ -6,32 +6,32 @@ repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues environment: - sdk: ">=2.19.0 <4.0.0" - flutter: ">=3.7.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: cached_network_image: ^3.2.3 chewie: ^1.7.0 - collection: ^1.17.0 + collection: ^1.17.1 contextmenu: ^3.0.0 dart_vlc: ^0.4.0 desktop_drop: ^0.4.1 diacritic: ^0.1.4 dio: ^5.2.1+1 ezanimation: ^0.6.0 - file_picker: ^5.3.1 + file_picker: ^5.3.2 file_selector: ^1.0.0 flutter: sdk: flutter - flutter_markdown: ^0.6.15 + flutter_markdown: ^0.6.17 flutter_portal: ^1.1.4 - flutter_svg: ^2.0.5 + flutter_svg: ^2.0.7 http_parser: ^4.0.2 image_gallery_saver: ^2.0.3 - image_picker: ^1.0.0 + image_picker: ^1.0.1 jiffy: ^5.0.0 - lottie: ^2.3.2 - meta: ^1.8.0 + lottie: ^2.4.0 + meta: ^1.9.1 path_provider: ^2.0.15 photo_manager: ^2.6.0 photo_view: ^0.14.0 @@ -41,7 +41,7 @@ dependencies: stream_chat_flutter_core: ^6.6.0 synchronized: ^3.1.0 thumblr: ^0.0.4 - url_launcher: ^6.1.11 + url_launcher: ^6.1.12 video_player: ^2.7.0 video_player_macos: ^2.0.1 video_thumbnail: ^0.5.3 diff --git a/packages/stream_chat_flutter_core/example/pubspec.yaml b/packages/stream_chat_flutter_core/example/pubspec.yaml index c92a4fc6..4a45b71e 100644 --- a/packages/stream_chat_flutter_core/example/pubspec.yaml +++ b/packages/stream_chat_flutter_core/example/pubspec.yaml @@ -4,8 +4,8 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: '>=2.19.0 <4.0.0' - flutter: ">=3.7.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: cupertino_icons: ^1.0.3 diff --git a/packages/stream_chat_flutter_core/pubspec.yaml b/packages/stream_chat_flutter_core/pubspec.yaml index 399f986f..46f9f5bf 100644 --- a/packages/stream_chat_flutter_core/pubspec.yaml +++ b/packages/stream_chat_flutter_core/pubspec.yaml @@ -6,24 +6,24 @@ repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues environment: - sdk: ">=2.19.0 <4.0.0" - flutter: ">=3.7.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: - collection: ^1.17.0 + collection: ^1.17.1 connectivity_plus: ^4.0.1 flutter: sdk: flutter - freezed_annotation: ^2.2.0 - meta: ^1.8.0 + freezed_annotation: ^2.4.1 + meta: ^1.9.1 rxdart: ^0.27.7 stream_chat: ^6.6.0 dev_dependencies: - build_runner: ^2.3.3 + build_runner: ^2.4.6 fake_async: ^1.3.1 flutter_test: sdk: flutter - freezed: ^2.4.0 + freezed: ^2.4.1 mocktail: ^0.3.0 diff --git a/packages/stream_chat_localizations/example/pubspec.yaml b/packages/stream_chat_localizations/example/pubspec.yaml index c23b28b1..f3e11a29 100644 --- a/packages/stream_chat_localizations/example/pubspec.yaml +++ b/packages/stream_chat_localizations/example/pubspec.yaml @@ -5,8 +5,8 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: '>=2.19.0 <4.0.0' - flutter: ">=3.7.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: cupertino_icons: ^1.0.3 diff --git a/packages/stream_chat_localizations/pubspec.yaml b/packages/stream_chat_localizations/pubspec.yaml index 00a53a93..401b82b6 100644 --- a/packages/stream_chat_localizations/pubspec.yaml +++ b/packages/stream_chat_localizations/pubspec.yaml @@ -6,8 +6,8 @@ repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues environment: - sdk: ">=2.19.0 <4.0.0" - flutter: ">=3.7.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: flutter: diff --git a/packages/stream_chat_persistence/example/pubspec.yaml b/packages/stream_chat_persistence/example/pubspec.yaml index f67961aa..c384f1c8 100644 --- a/packages/stream_chat_persistence/example/pubspec.yaml +++ b/packages/stream_chat_persistence/example/pubspec.yaml @@ -4,8 +4,8 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: '>=2.19.0 <4.0.0' - flutter: ">=3.7.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: cupertino_icons: ^1.0.3 diff --git a/packages/stream_chat_persistence/pubspec.yaml b/packages/stream_chat_persistence/pubspec.yaml index 8dea7583..1b873f48 100644 --- a/packages/stream_chat_persistence/pubspec.yaml +++ b/packages/stream_chat_persistence/pubspec.yaml @@ -6,23 +6,23 @@ repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues environment: - sdk: ">=2.19.0 <4.0.0" - flutter: ">=3.7.0" + sdk: ">=3.0.0 <4.0.0" + flutter: ">=3.10.0" dependencies: - drift: ^2.8.0 + drift: ^2.9.0 flutter: sdk: flutter logging: ^1.2.0 - meta: ^1.8.0 - path: ^1.8.2 + meta: ^1.9.1 + path: ^1.8.3 path_provider: ^2.0.15 sqlite3_flutter_libs: ^0.5.15 stream_chat: ^6.6.0 dev_dependencies: - build_runner: ^2.3.3 - drift_dev: ^2.8.3 + build_runner: ^2.4.6 + drift_dev: ^2.9.0 flutter_test: sdk: flutter mocktail: ^0.3.0