diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ee52eee..614151d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,32 @@ +## 0.2.1-alpha+1 + +- Removed the additional `Navigator` in `StreamChat` widget. + It was added to make the app have the `StreamChat` widget as ancestor in every route. + Now the recommended way to add `StreamChat` to your app is using the `builder` property of your `MaterialApp` widget. + Otherwise you can use it in the usual way, but you need to add a `StreamChat` widget to every route of your app. + Read [this issue](https://github.com/GetStream/stream-chat-flutter/issues/47) for more information. + +```dart + @override + Widget build(BuildContext context) { + return MaterialApp( + theme: ThemeData.light(), + darkTheme: ThemeData.dark(), + themeMode: ThemeMode.system, + builder: (context, widget) { + return StreamChat( + child: widget, + client: client, + ); + }, + home: ChannelListPage(), + ); +``` + +- Fix reaction bubble going below previous message on iOS + +- Fix message list view reloading messages even if the pagination is ended + ## 0.2.1-alpha - New message widget diff --git a/pubspec.yaml b/pubspec.yaml index 27ee2d0f..ebb42bde 100644 --- a/pubspec.yaml +++ b/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: 0.2.1-alpha +version: 0.2.1-alpha+1 environment: sdk: ">=2.3.0 <3.0.0"