From 367796c282766168c75a92ab8e356a59f817c371 Mon Sep 17 00:00:00 2001 From: Brazol Date: Wed, 28 Aug 2024 09:45:23 +0200 Subject: [PATCH 1/3] Release v0.5.1 --- dogfooding/lib/app/app_content.dart | 12 ------------ .../lib/widgets/environment_switcher.dart | 2 +- dogfooding/pubspec.yaml | 6 +++--- packages/stream_video/CHANGELOG.md | 2 +- .../src/coordinator/coordinator_client.dart | 4 +--- .../open_api/coordinator_client_open_api.dart | 19 ------------------- packages/stream_video/lib/version.g.dart | 2 +- packages/stream_video/pubspec.yaml | 2 +- packages/stream_video_flutter/CHANGELOG.md | 2 +- .../stream_video_flutter/example/pubspec.yaml | 6 +++--- packages/stream_video_flutter/pubspec.yaml | 8 ++++++-- .../CHANGELOG.md | 3 +++ .../pubspec.yaml | 4 ++-- .../stream_video_screen_sharing/CHANGELOG.md | 3 +++ .../stream_video_screen_sharing/pubspec.yaml | 2 +- 15 files changed, 27 insertions(+), 50 deletions(-) diff --git a/dogfooding/lib/app/app_content.dart b/dogfooding/lib/app/app_content.dart index 8a83be3ea..18678557f 100644 --- a/dogfooding/lib/app/app_content.dart +++ b/dogfooding/lib/app/app_content.dart @@ -73,7 +73,6 @@ class _StreamDogFoodingAppContentState extends State { late final _userAuthController = locator.get(); - late final _logger = taggedLogger(tag: 'StreamDogFoodingAppContent'); late final _router = initRouter(_userAuthController); final _compositeSubscription = CompositeSubscription(); @@ -388,14 +387,3 @@ class _StreamDogFoodingAppContentState ); } } - -extension on Subscriptions { - void addAll(Iterable?> subscriptions) { - for (var i = 0; i < subscriptions.length; i++) { - final subscription = subscriptions.elementAt(i); - if (subscription == null) continue; - - add(i + 100, subscription); - } - } -} diff --git a/dogfooding/lib/widgets/environment_switcher.dart b/dogfooding/lib/widgets/environment_switcher.dart index 8d64cb703..1e21e5dca 100644 --- a/dogfooding/lib/widgets/environment_switcher.dart +++ b/dogfooding/lib/widgets/environment_switcher.dart @@ -61,7 +61,7 @@ class _EnvironmentSwitcherState extends State { style: const MenuStyle( alignment: Alignment.bottomLeft, backgroundColor: - MaterialStatePropertyAll(AppColorPalette.backgroundColor), + WidgetStatePropertyAll(AppColorPalette.backgroundColor), ), alignmentOffset: const Offset(-70, 0), builder: ( diff --git a/dogfooding/pubspec.yaml b/dogfooding/pubspec.yaml index 25c6ceac8..23b278bb6 100644 --- a/dogfooding/pubspec.yaml +++ b/dogfooding/pubspec.yaml @@ -30,9 +30,9 @@ dependencies: share_plus: ^8.0.3 shared_preferences: ^2.2.0 stream_chat_flutter: ^8.0.0 - stream_video_flutter: ^0.5.0 - stream_video_push_notification: ^0.5.0 - stream_video_screen_sharing: ^0.5.0 + stream_video_flutter: ^0.5.1 + stream_video_push_notification: ^0.5.1 + stream_video_screen_sharing: ^0.5.1 uni_links: ^0.5.1 dev_dependencies: diff --git a/packages/stream_video/CHANGELOG.md b/packages/stream_video/CHANGELOG.md index 8f256451a..261d6944c 100644 --- a/packages/stream_video/CHANGELOG.md +++ b/packages/stream_video/CHANGELOG.md @@ -1,4 +1,4 @@ -## Upcoming +## 0.5.1 ✅ Added * Added `backstage` parameter to `call.getOtCreate()` method with backstage settings. For more information, refer to the [documentation](https://getstream.io/video/docs/flutter/joining-and-creating-calls/#backstage-setup) diff --git a/packages/stream_video/lib/src/coordinator/coordinator_client.dart b/packages/stream_video/lib/src/coordinator/coordinator_client.dart index 74d4123a6..a18ae8caa 100644 --- a/packages/stream_video/lib/src/coordinator/coordinator_client.dart +++ b/packages/stream_video/lib/src/coordinator/coordinator_client.dart @@ -1,7 +1,5 @@ // ignore_for_file: comment_references -import 'package:stream_video/open_api/video/coordinator/api.dart'; - import '../../open_api/video/coordinator/api.dart' as open; import '../models/call_cid.dart'; import '../models/call_metadata.dart'; @@ -67,7 +65,7 @@ abstract class CoordinatorClient { bool? notify, bool? video, DateTime? startsAt, - CallSettingsRequest? settingsOverride, + open.CallSettingsRequest? settingsOverride, Map custom = const {}, }); diff --git a/packages/stream_video/lib/src/coordinator/open_api/coordinator_client_open_api.dart b/packages/stream_video/lib/src/coordinator/open_api/coordinator_client_open_api.dart index f45bd910d..1b04ff86d 100644 --- a/packages/stream_video/lib/src/coordinator/open_api/coordinator_client_open_api.dart +++ b/packages/stream_video/lib/src/coordinator/open_api/coordinator_client_open_api.dart @@ -9,32 +9,13 @@ import '../../errors/video_error.dart'; import '../../errors/video_error_composer.dart'; import '../../latency/latency_service.dart'; import '../../location/location_service.dart'; -import '../../logger/impl/tagged_logger.dart'; -import '../../models/call_cid.dart'; -import '../../models/call_created_data.dart'; -import '../../models/call_metadata.dart'; -import '../../models/call_permission.dart'; -import '../../models/call_reaction.dart'; -import '../../models/call_received_created_data.dart'; import '../../models/call_received_data.dart'; -import '../../models/call_settings.dart'; -import '../../models/guest_created_data.dart'; -import '../../models/push_device.dart'; -import '../../models/push_provider.dart'; -import '../../models/queried_calls.dart'; -import '../../models/queried_members.dart'; -import '../../models/user_info.dart'; import '../../retry/retry_policy.dart'; import '../../shared_emitter.dart'; import '../../state_emitter.dart'; -import '../../token/token.dart'; import '../../token/token_manager.dart'; -import '../../utils/none.dart'; -import '../../utils/result.dart'; import '../../utils/standard.dart'; -import '../coordinator_client.dart'; import '../models/coordinator_connection_state.dart'; -import '../models/coordinator_events.dart'; import '../models/coordinator_models.dart'; import 'coordinator_ws.dart'; import 'open_api_extensions.dart'; diff --git a/packages/stream_video/lib/version.g.dart b/packages/stream_video/lib/version.g.dart index 055b21711..e7d1cc28b 100644 --- a/packages/stream_video/lib/version.g.dart +++ b/packages/stream_video/lib/version.g.dart @@ -1,5 +1,5 @@ // This file is generated. Do not manually edit. /// Current package version. -const String streamVideoVersion = '0.5.0'; +const String streamVideoVersion = '0.5.1'; const String androidWebRTCVersion = 'libwebrtc-m125.6422.03'; const String iosWebRTCVersion = 'libwebrtc-m125.6422.04'; diff --git a/packages/stream_video/pubspec.yaml b/packages/stream_video/pubspec.yaml index e8b8e90a7..78e040cec 100644 --- a/packages/stream_video/pubspec.yaml +++ b/packages/stream_video/pubspec.yaml @@ -1,7 +1,7 @@ name: stream_video description: The Official Low-level Client for Stream Video, a service for building video calls, audio rooms, and live-streaming applications. -version: 0.5.0 +version: 0.5.1 homepage: https://getstream.io/video/ repository: https://github.com/GetStream/stream-video-flutter issue_tracker: https://github.com/GetStream/stream-video-flutter/issues diff --git a/packages/stream_video_flutter/CHANGELOG.md b/packages/stream_video_flutter/CHANGELOG.md index 9ee16d3a3..c3f0c66fa 100644 --- a/packages/stream_video_flutter/CHANGELOG.md +++ b/packages/stream_video_flutter/CHANGELOG.md @@ -1,4 +1,4 @@ -## Upcoming +## 0.5.1 ✅ Added * Added `backstage` parameter to `call.getOtCreate()` method with backstage settings. For more information, refer to the [documentation](https://getstream.io/video/docs/flutter/joining-and-creating-calls/#backstage-setup) diff --git a/packages/stream_video_flutter/example/pubspec.yaml b/packages/stream_video_flutter/example/pubspec.yaml index 616290441..1de3b59a8 100644 --- a/packages/stream_video_flutter/example/pubspec.yaml +++ b/packages/stream_video_flutter/example/pubspec.yaml @@ -28,9 +28,9 @@ dependencies: path_provider: ^2.1.0 share_plus: ^7.1.0 shared_preferences: ^2.2.0 - stream_video: ^0.5.0 - stream_video_flutter: ^0.5.0 - stream_video_push_notification: ^0.5.0 + stream_video: ^0.5.1 + stream_video_flutter: ^0.5.1 + stream_video_push_notification: ^0.5.1 dependency_overrides: stream_video: diff --git a/packages/stream_video_flutter/pubspec.yaml b/packages/stream_video_flutter/pubspec.yaml index ed9cf487e..42f117620 100644 --- a/packages/stream_video_flutter/pubspec.yaml +++ b/packages/stream_video_flutter/pubspec.yaml @@ -1,7 +1,7 @@ name: stream_video_flutter description: The Official UI package for Stream Video, a service for building video calls, audio rooms, and live-streaming applications. -version: 0.5.0 +version: 0.5.1 homepage: https://getstream.io/video/ repository: https://github.com/GetStream/stream-video-flutter issue_tracker: https://github.com/GetStream/stream-video-flutter/issues @@ -19,7 +19,7 @@ dependencies: flutter_webrtc: ^0.11.6 plugin_platform_interface: ^2.1.7 rate_limiter: ^1.0.0 - stream_video: ^0.5.0 + stream_video: ^0.5.1 visibility_detector: ^0.4.0+2 dependency_overrides: @@ -31,6 +31,10 @@ dev_dependencies: sdk: flutter mocktail: ^1.0.0 +false_secrets: + - /example/android/app/google-services.json + - /example/lib/firebase_options.dart + flutter: assets: - images/ diff --git a/packages/stream_video_push_notification/CHANGELOG.md b/packages/stream_video_push_notification/CHANGELOG.md index f108667f6..a7c4e7717 100644 --- a/packages/stream_video_push_notification/CHANGELOG.md +++ b/packages/stream_video_push_notification/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.5.1 +* Sync version with `stream_video_flutter` 0.5.1 + ## 0.5.0 🐞 Fixed diff --git a/packages/stream_video_push_notification/pubspec.yaml b/packages/stream_video_push_notification/pubspec.yaml index 5fe369d38..fec27adcc 100644 --- a/packages/stream_video_push_notification/pubspec.yaml +++ b/packages/stream_video_push_notification/pubspec.yaml @@ -1,7 +1,7 @@ name: stream_video_push_notification description: Adds push notification support for Stream Video, a service for building video calls, audio rooms, and live-streaming applications. -version: 0.5.0 +version: 0.5.1 homepage: https://getstream.io/video/ repository: https://github.com/GetStream/stream-video-flutter issue_tracker: https://github.com/GetStream/stream-video-flutter/issues @@ -22,7 +22,7 @@ dependencies: meta: ^1.9.1 plugin_platform_interface: ^2.1.6 rxdart: ^0.27.7 - stream_video: ^0.5.0 + stream_video: ^0.5.1 uuid: ^4.2.1 dev_dependencies: diff --git a/packages/stream_video_screen_sharing/CHANGELOG.md b/packages/stream_video_screen_sharing/CHANGELOG.md index c440e27f1..5ae895372 100644 --- a/packages/stream_video_screen_sharing/CHANGELOG.md +++ b/packages/stream_video_screen_sharing/CHANGELOG.md @@ -1,2 +1,5 @@ +## 0.5.1 +* Sync version with `stream_video_flutter` 0.5.1 + ## 0.5.0 * Screen sharing package added with `BroadcastSampleHandler` implementation for iOS broadcast extension. \ No newline at end of file diff --git a/packages/stream_video_screen_sharing/pubspec.yaml b/packages/stream_video_screen_sharing/pubspec.yaml index 65b1e60af..474accc21 100644 --- a/packages/stream_video_screen_sharing/pubspec.yaml +++ b/packages/stream_video_screen_sharing/pubspec.yaml @@ -1,6 +1,6 @@ name: stream_video_screen_sharing description: "Official Screen Sharing Plugin for Stream Video Flutter." -version: 0.5.0 +version: 0.5.1 homepage: https://getstream.io/video/ repository: https://github.com/GetStream/stream-video-flutter issue_tracker: https://github.com/GetStream/stream-video-flutter/issues From 27c6f11cd3d0475462b6c4d8a9331fe00ece5ca3 Mon Sep 17 00:00:00 2001 From: Brazol Date: Wed, 28 Aug 2024 09:47:06 +0200 Subject: [PATCH 2/3] tweak --- packages/stream_video_flutter/pubspec.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/stream_video_flutter/pubspec.yaml b/packages/stream_video_flutter/pubspec.yaml index 42f117620..cda950be0 100644 --- a/packages/stream_video_flutter/pubspec.yaml +++ b/packages/stream_video_flutter/pubspec.yaml @@ -31,10 +31,6 @@ dev_dependencies: sdk: flutter mocktail: ^1.0.0 -false_secrets: - - /example/android/app/google-services.json - - /example/lib/firebase_options.dart - flutter: assets: - images/ From d71af64019d0bb868a94fb7977d9b41683940b75 Mon Sep 17 00:00:00 2001 From: Brazol Date: Wed, 28 Aug 2024 09:55:34 +0200 Subject: [PATCH 3/3] bumped workflow version --- .github/workflows/stream_video_flutter_workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stream_video_flutter_workflow.yml b/.github/workflows/stream_video_flutter_workflow.yml index f1a1e55bc..5f9b01797 100644 --- a/.github/workflows/stream_video_flutter_workflow.yml +++ b/.github/workflows/stream_video_flutter_workflow.yml @@ -2,7 +2,7 @@ name: stream_video_flutter_workflow env: FLUTTER_CHANNEL: stable - FLUTTER_VERSION: 3.19.5 + FLUTTER_VERSION: 3.22.3 ENV_PROPERTIES: ${{ secrets.ENV_PROPERTIES }} on: