diff --git a/.github/workflows/dart_code_metrics.yaml b/.github/workflows/dart_code_metrics.yaml index 63ec9484..12c3a3d4 100644 --- a/.github/workflows/dart_code_metrics.yaml +++ b/.github/workflows/dart_code_metrics.yaml @@ -1,9 +1,9 @@ name: Dart Code Metrics env: - flutter_version: "2.8.1" + flutter_version: "2.10.5" folders: "lib, test" - melos_version: "1.2.0" + melos_version: "2.1.0" on: pull_request: diff --git a/.github/workflows/stream_flutter_workflow.yml b/.github/workflows/stream_flutter_workflow.yml index 5f92c714..1b2263ce 100644 --- a/.github/workflows/stream_flutter_workflow.yml +++ b/.github/workflows/stream_flutter_workflow.yml @@ -2,8 +2,8 @@ name: stream_flutter_workflow env: ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' - flutter_version: "2.8.1" - melos_version: "1.2.0" + flutter_version: "2.10.5" + melos_version: "2.1.0" on: pull_request: diff --git a/packages/stream_chat/CHANGELOG.md b/packages/stream_chat/CHANGELOG.md index 13142711..3edd8c88 100644 --- a/packages/stream_chat/CHANGELOG.md +++ b/packages/stream_chat/CHANGELOG.md @@ -1,3 +1,7 @@ +## 4.0.1 + +- Minor fixes + ## 4.0.0 For upgrading to V4, please refer to the [V4 Migration Guide](https://getstream.io/chat/docs/sdk/flutter/guides/migration_guide_4_0/) diff --git a/packages/stream_chat/lib/version.dart b/packages/stream_chat/lib/version.dart index 46bec2d5..5ea92b4d 100644 --- a/packages/stream_chat/lib/version.dart +++ b/packages/stream_chat/lib/version.dart @@ -3,4 +3,4 @@ import 'package:stream_chat/src/client/client.dart'; /// Current package version /// Used in [StreamChatClient] to build the `x-stream-client` header // ignore: constant_identifier_names -const PACKAGE_VERSION = '4.0.0'; +const PACKAGE_VERSION = '4.0.1'; diff --git a/packages/stream_chat/pubspec.yaml b/packages/stream_chat/pubspec.yaml index 8ed38305..acce67b7 100644 --- a/packages/stream_chat/pubspec.yaml +++ b/packages/stream_chat/pubspec.yaml @@ -1,7 +1,7 @@ name: stream_chat homepage: https://getstream.io/ description: The official Dart client for Stream Chat, a service for building chat applications. -version: 4.0.0 +version: 4.0.1 repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues diff --git a/packages/stream_chat_flutter/CHANGELOG.md b/packages/stream_chat_flutter/CHANGELOG.md index 3b4efb4a..7d171f92 100644 --- a/packages/stream_chat_flutter/CHANGELOG.md +++ b/packages/stream_chat_flutter/CHANGELOG.md @@ -1,3 +1,8 @@ +## 4.0.1 + +- Minor fixes +- Updated `stream_chat_flutter_core` dependency to [`4.0.1`](https://pub.dev/packages/stream_chat_flutter_core/changelog). + ## 4.0.0 For upgrading to V4, please refer to the [V4 Migration Guide](https://getstream.io/chat/docs/sdk/flutter/guides/migration_guide_4_0/) diff --git a/packages/stream_chat_flutter/pubspec.yaml b/packages/stream_chat_flutter/pubspec.yaml index f01991c2..69e7c42c 100644 --- a/packages/stream_chat_flutter/pubspec.yaml +++ b/packages/stream_chat_flutter/pubspec.yaml @@ -1,7 +1,7 @@ name: stream_chat_flutter homepage: https://github.com/GetStream/stream-chat-flutter description: Stream Chat official Flutter SDK. Build your own chat experience using Dart and Flutter. -version: 4.0.0 +version: 4.0.1 repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues @@ -36,9 +36,9 @@ dependencies: rxdart: ^0.27.0 share_plus: ^4.0.1 shimmer: ^2.0.0 - stream_chat_flutter_core: ^4.0.0 + stream_chat_flutter_core: ^4.0.1 substring_highlight: ^1.0.26 - url_launcher: ^6.0.3 + url_launcher: ^6.1.0 video_player: ^2.1.0 video_thumbnail: ^0.5.0 diff --git a/packages/stream_chat_flutter_core/CHANGELOG.md b/packages/stream_chat_flutter_core/CHANGELOG.md index 5fbd7db5..9927e734 100644 --- a/packages/stream_chat_flutter_core/CHANGELOG.md +++ b/packages/stream_chat_flutter_core/CHANGELOG.md @@ -1,3 +1,8 @@ +## 4.0.1 + +- Minor fixes +- Updated `stream_chat` dependency to [`4.0.1`](https://pub.dev/packages/stream_chat/changelog). + ## 4.0.0 For upgrading to V4, please refer to the [V4 Migration Guide](https://getstream.io/chat/docs/sdk/flutter/guides/migration_guide_4_0/) diff --git a/packages/stream_chat_flutter_core/pubspec.yaml b/packages/stream_chat_flutter_core/pubspec.yaml index dd4ad795..d7b1cfc2 100644 --- a/packages/stream_chat_flutter_core/pubspec.yaml +++ b/packages/stream_chat_flutter_core/pubspec.yaml @@ -1,7 +1,7 @@ name: stream_chat_flutter_core homepage: https://github.com/GetStream/stream-chat-flutter description: Stream Chat official Flutter SDK Core. Build your own chat experience using Dart and Flutter. -version: 4.0.0 +version: 4.0.1 repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues @@ -17,7 +17,7 @@ dependencies: freezed_annotation: ^1.0.0 meta: ^1.3.0 rxdart: ^0.27.0 - stream_chat: ^4.0.0 + stream_chat: ^4.0.1 dev_dependencies: build_runner: ^2.0.1 diff --git a/packages/stream_chat_localizations/test/basics_test.dart b/packages/stream_chat_localizations/test/basics_test.dart index c1315a9a..8491a332 100644 --- a/packages/stream_chat_localizations/test/basics_test.dart +++ b/packages/stream_chat_localizations/test/basics_test.dart @@ -2,7 +2,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:stream_chat_localizations/src/stream_chat_localizations.dart'; +import 'package:stream_chat_localizations/stream_chat_localizations.dart'; void main() { testWidgets('Nested Localizations', (WidgetTester tester) async { @@ -41,6 +41,8 @@ void main() { localizationsDelegates: const [ DummyLocalizations.delegate, GlobalStreamChatLocalizations.delegate, + GlobalMaterialLocalizations.delegate, + GlobalCupertinoLocalizations.delegate, ], home: PageView(), )); @@ -54,9 +56,7 @@ void main() { testWidgets('Locale without countryCode', (WidgetTester tester) async { // Regression test for https://github.com/flutter/flutter/pull/16782 await tester.pumpWidget(MaterialApp( - localizationsDelegates: const >[ - GlobalStreamChatLocalizations.delegate, - ], + localizationsDelegates: GlobalStreamChatLocalizations.delegates, supportedLocales: const [ Locale('en', 'US'), Locale('hi'), diff --git a/packages/stream_chat_localizations/test/override_test.dart b/packages/stream_chat_localizations/test/override_test.dart index 513dd336..a30bb09a 100644 --- a/packages/stream_chat_localizations/test/override_test.dart +++ b/packages/stream_chat_localizations/test/override_test.dart @@ -166,8 +166,8 @@ void main() { final Key textKey = UniqueKey(); await tester.pumpWidget(buildFrame( - delegates: >[ - GlobalStreamChatLocalizations.delegate, + delegates: [ + ...GlobalStreamChatLocalizations.delegates, const FooStreamChatLocalizationsDelegate( supportedLanguage: 'fr', launchUrlError: "Impossible de lancer l'url", @@ -217,10 +217,11 @@ void main() { // Accept whatever locale we're given localeResolutionCallback: (Locale? locale, Iterable supportedLocales) => locale, - delegates: [ + delegates: [ const FooStreamChatLocalizationsDelegate( supportedLanguage: 'allLanguages', ), + ...GlobalStreamChatLocalizations.delegates, ], buildContent: (BuildContext context) { // Should always be 'foo', no matter what the locale is diff --git a/packages/stream_chat_persistence/CHANGELOG.md b/packages/stream_chat_persistence/CHANGELOG.md index 6f3482ec..6dd74f8b 100644 --- a/packages/stream_chat_persistence/CHANGELOG.md +++ b/packages/stream_chat_persistence/CHANGELOG.md @@ -1,3 +1,7 @@ +## 4.0.1 + +- Updated `stream_chat` dependency to [`4.0.1`](https://pub.dev/packages/stream_chat/changelog). + ## 4.0.0 - Updated `stream_chat` dependency to [`4.0.0`](https://pub.dev/packages/stream_chat/changelog). diff --git a/packages/stream_chat_persistence/pubspec.yaml b/packages/stream_chat_persistence/pubspec.yaml index 839888ad..de73c91c 100644 --- a/packages/stream_chat_persistence/pubspec.yaml +++ b/packages/stream_chat_persistence/pubspec.yaml @@ -1,7 +1,7 @@ name: stream_chat_persistence homepage: https://github.com/GetStream/stream-chat-flutter description: Official Stream Chat Persistence library. Build your own chat experience using Dart and Flutter. -version: 4.0.0 +version: 4.0.1 repository: https://github.com/GetStream/stream-chat-flutter issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues @@ -19,7 +19,7 @@ dependencies: path: ^1.8.0 path_provider: ^2.0.1 sqlite3_flutter_libs: ^0.5.0 - stream_chat: ^4.0.0 + stream_chat: ^4.0.1 dev_dependencies: build_runner: ^2.0.1