Merge pull request #1112 from GetStream/release/4.0.1

chore(llc,core,ui, persistence): update pubspec and changelogs
This commit is contained in:
Salvatore Giordano
2022-05-03 16:39:56 +02:00
committed by GitHub
13 changed files with 39 additions and 20 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
name: Dart Code Metrics name: Dart Code Metrics
env: env:
flutter_version: "2.8.1" flutter_version: "2.10.5"
folders: "lib, test" folders: "lib, test"
melos_version: "1.2.0" melos_version: "2.1.0"
on: on:
pull_request: pull_request:
@@ -2,8 +2,8 @@ name: stream_flutter_workflow
env: env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
flutter_version: "2.8.1" flutter_version: "2.10.5"
melos_version: "1.2.0" melos_version: "2.1.0"
on: on:
pull_request: pull_request:
+4
View File
@@ -1,3 +1,7 @@
## 4.0.1
- Minor fixes
## 4.0.0 ## 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/) For upgrading to V4, please refer to the [V4 Migration Guide](https://getstream.io/chat/docs/sdk/flutter/guides/migration_guide_4_0/)
+1 -1
View File
@@ -3,4 +3,4 @@ import 'package:stream_chat/src/client/client.dart';
/// Current package version /// Current package version
/// Used in [StreamChatClient] to build the `x-stream-client` header /// Used in [StreamChatClient] to build the `x-stream-client` header
// ignore: constant_identifier_names // ignore: constant_identifier_names
const PACKAGE_VERSION = '4.0.0'; const PACKAGE_VERSION = '4.0.1';
+1 -1
View File
@@ -1,7 +1,7 @@
name: stream_chat name: stream_chat
homepage: https://getstream.io/ homepage: https://getstream.io/
description: The official Dart client for Stream Chat, a service for building chat applications. 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 repository: https://github.com/GetStream/stream-chat-flutter
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
@@ -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 ## 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/) For upgrading to V4, please refer to the [V4 Migration Guide](https://getstream.io/chat/docs/sdk/flutter/guides/migration_guide_4_0/)
+3 -3
View File
@@ -1,7 +1,7 @@
name: stream_chat_flutter name: stream_chat_flutter
homepage: https://github.com/GetStream/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. 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 repository: https://github.com/GetStream/stream-chat-flutter
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
@@ -36,9 +36,9 @@ dependencies:
rxdart: ^0.27.0 rxdart: ^0.27.0
share_plus: ^4.0.1 share_plus: ^4.0.1
shimmer: ^2.0.0 shimmer: ^2.0.0
stream_chat_flutter_core: ^4.0.0 stream_chat_flutter_core: ^4.0.1
substring_highlight: ^1.0.26 substring_highlight: ^1.0.26
url_launcher: ^6.0.3 url_launcher: ^6.1.0
video_player: ^2.1.0 video_player: ^2.1.0
video_thumbnail: ^0.5.0 video_thumbnail: ^0.5.0
@@ -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 ## 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/) For upgrading to V4, please refer to the [V4 Migration Guide](https://getstream.io/chat/docs/sdk/flutter/guides/migration_guide_4_0/)
@@ -1,7 +1,7 @@
name: stream_chat_flutter_core name: stream_chat_flutter_core
homepage: https://github.com/GetStream/stream-chat-flutter homepage: https://github.com/GetStream/stream-chat-flutter
description: Stream Chat official Flutter SDK Core. Build your own chat experience using Dart and 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 repository: https://github.com/GetStream/stream-chat-flutter
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
@@ -17,7 +17,7 @@ dependencies:
freezed_annotation: ^1.0.0 freezed_annotation: ^1.0.0
meta: ^1.3.0 meta: ^1.3.0
rxdart: ^0.27.0 rxdart: ^0.27.0
stream_chat: ^4.0.0 stream_chat: ^4.0.1
dev_dependencies: dev_dependencies:
build_runner: ^2.0.1 build_runner: ^2.0.1
@@ -2,7 +2,7 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.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() { void main() {
testWidgets('Nested Localizations', (WidgetTester tester) async { testWidgets('Nested Localizations', (WidgetTester tester) async {
@@ -41,6 +41,8 @@ void main() {
localizationsDelegates: const [ localizationsDelegates: const [
DummyLocalizations.delegate, DummyLocalizations.delegate,
GlobalStreamChatLocalizations.delegate, GlobalStreamChatLocalizations.delegate,
GlobalMaterialLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
], ],
home: PageView(), home: PageView(),
)); ));
@@ -54,9 +56,7 @@ void main() {
testWidgets('Locale without countryCode', (WidgetTester tester) async { testWidgets('Locale without countryCode', (WidgetTester tester) async {
// Regression test for https://github.com/flutter/flutter/pull/16782 // Regression test for https://github.com/flutter/flutter/pull/16782
await tester.pumpWidget(MaterialApp( await tester.pumpWidget(MaterialApp(
localizationsDelegates: const <LocalizationsDelegate<dynamic>>[ localizationsDelegates: GlobalStreamChatLocalizations.delegates,
GlobalStreamChatLocalizations.delegate,
],
supportedLocales: const <Locale>[ supportedLocales: const <Locale>[
Locale('en', 'US'), Locale('en', 'US'),
Locale('hi'), Locale('hi'),
@@ -166,8 +166,8 @@ void main() {
final Key textKey = UniqueKey(); final Key textKey = UniqueKey();
await tester.pumpWidget(buildFrame( await tester.pumpWidget(buildFrame(
delegates: <LocalizationsDelegate<StreamChatLocalizations>>[ delegates: <LocalizationsDelegate>[
GlobalStreamChatLocalizations.delegate, ...GlobalStreamChatLocalizations.delegates,
const FooStreamChatLocalizationsDelegate( const FooStreamChatLocalizationsDelegate(
supportedLanguage: 'fr', supportedLanguage: 'fr',
launchUrlError: "Impossible de lancer l'url", launchUrlError: "Impossible de lancer l'url",
@@ -217,10 +217,11 @@ void main() {
// Accept whatever locale we're given // Accept whatever locale we're given
localeResolutionCallback: localeResolutionCallback:
(Locale? locale, Iterable<Locale> supportedLocales) => locale, (Locale? locale, Iterable<Locale> supportedLocales) => locale,
delegates: <FooStreamChatLocalizationsDelegate>[ delegates: [
const FooStreamChatLocalizationsDelegate( const FooStreamChatLocalizationsDelegate(
supportedLanguage: 'allLanguages', supportedLanguage: 'allLanguages',
), ),
...GlobalStreamChatLocalizations.delegates,
], ],
buildContent: (BuildContext context) { buildContent: (BuildContext context) {
// Should always be 'foo', no matter what the locale is // Should always be 'foo', no matter what the locale is
@@ -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 ## 4.0.0
- Updated `stream_chat` dependency to [`4.0.0`](https://pub.dev/packages/stream_chat/changelog). - Updated `stream_chat` dependency to [`4.0.0`](https://pub.dev/packages/stream_chat/changelog).
@@ -1,7 +1,7 @@
name: stream_chat_persistence name: stream_chat_persistence
homepage: https://github.com/GetStream/stream-chat-flutter homepage: https://github.com/GetStream/stream-chat-flutter
description: Official Stream Chat Persistence library. Build your own chat experience using Dart and 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 repository: https://github.com/GetStream/stream-chat-flutter
issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues issue_tracker: https://github.com/GetStream/stream-chat-flutter/issues
@@ -19,7 +19,7 @@ dependencies:
path: ^1.8.0 path: ^1.8.0
path_provider: ^2.0.1 path_provider: ^2.0.1
sqlite3_flutter_libs: ^0.5.0 sqlite3_flutter_libs: ^0.5.0
stream_chat: ^4.0.0 stream_chat: ^4.0.1
dev_dependencies: dev_dependencies:
build_runner: ^2.0.1 build_runner: ^2.0.1