Skip to content

Commit

Permalink
Merge pull request #1112 from GetStream/release/4.0.1
Browse files Browse the repository at this point in the history
chore(llc,core,ui, persistence): update pubspec and changelogs
  • Loading branch information
imtoori authored May 3, 2022
2 parents 41f2d55 + 075f941 commit 9204a62
Show file tree
Hide file tree
Showing 13 changed files with 39 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dart_code_metrics.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/stream_flutter_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions packages/stream_chat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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/)
Expand Down
2 changes: 1 addition & 1 deletion packages/stream_chat/lib/version.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
2 changes: 1 addition & 1 deletion packages/stream_chat/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand Down
5 changes: 5 additions & 0 deletions packages/stream_chat_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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/)
Expand Down
6 changes: 3 additions & 3 deletions packages/stream_chat_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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

Expand Down
5 changes: 5 additions & 0 deletions packages/stream_chat_flutter_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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/)
Expand Down
4 changes: 2 additions & 2 deletions packages/stream_chat_flutter_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions packages/stream_chat_localizations/test/basics_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -41,6 +41,8 @@ void main() {
localizationsDelegates: const [
DummyLocalizations.delegate,
GlobalStreamChatLocalizations.delegate,
GlobalMaterialLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
],
home: PageView(),
));
Expand All @@ -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 <LocalizationsDelegate<dynamic>>[
GlobalStreamChatLocalizations.delegate,
],
localizationsDelegates: GlobalStreamChatLocalizations.delegates,
supportedLocales: const <Locale>[
Locale('en', 'US'),
Locale('hi'),
Expand Down
7 changes: 4 additions & 3 deletions packages/stream_chat_localizations/test/override_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ void main() {
final Key textKey = UniqueKey();

await tester.pumpWidget(buildFrame(
delegates: <LocalizationsDelegate<StreamChatLocalizations>>[
GlobalStreamChatLocalizations.delegate,
delegates: <LocalizationsDelegate>[
...GlobalStreamChatLocalizations.delegates,
const FooStreamChatLocalizationsDelegate(
supportedLanguage: 'fr',
launchUrlError: "Impossible de lancer l'url",
Expand Down Expand Up @@ -217,10 +217,11 @@ void main() {
// Accept whatever locale we're given
localeResolutionCallback:
(Locale? locale, Iterable<Locale> supportedLocales) => locale,
delegates: <FooStreamChatLocalizationsDelegate>[
delegates: [
const FooStreamChatLocalizationsDelegate(
supportedLanguage: 'allLanguages',
),
...GlobalStreamChatLocalizations.delegates,
],
buildContent: (BuildContext context) {
// Should always be 'foo', no matter what the locale is
Expand Down
4 changes: 4 additions & 0 deletions packages/stream_chat_persistence/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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).
Expand Down
4 changes: 2 additions & 2 deletions packages/stream_chat_persistence/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand Down

0 comments on commit 9204a62

Please sign in to comment.