chore(ui, core): update CHANGELOG.md

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2021-09-08 15:29:14 +05:30
committed by xsahil03x
parent 01e259a6ae
commit b5f40dd417
2 changed files with 80 additions and 50 deletions
+52 -48
View File
@@ -1,5 +1,22 @@
## 2.2.1 ## 2.2.1
🛑️ Breaking Changes from `2.2.1`
- `MessageSearchListView` paginationParams property is now non-nullable with a default value.
```dart
paginationParams = const PaginationParams(limit: 30)
```
- `UserListView` pagination property is now non-nullable with a default value.
```dart
pagination = const PaginationParams(limit: 30)
```
🐞 Fixed
- Fixed `MessageSearchListView` pagination.
## 2.2.1
- Updated `stream_chat_flutter_core` dependency to 2.2.1 - Updated `stream_chat_flutter_core` dependency to 2.2.1
## 2.2.0 ## 2.2.0
@@ -7,14 +24,13 @@
✅ Added ✅ Added
- [#516](https://github.com/GetStream/stream-chat-flutter/issues/516): - [#516](https://github.com/GetStream/stream-chat-flutter/issues/516):
Added `StreamChatThemeData.placeholderUserImage` for building a widget when the `UserAvatar` image Added `StreamChatThemeData.placeholderUserImage` for building a widget when the `UserAvatar` image is loading
is loading
- Added a `backgroundColor` property to the following widgets: - Added a `backgroundColor` property to the following widgets:
- `ChannelHeader` - `ChannelHeader`
- `ChannelListHeader` - `ChannelListHeader`
- `GalleryHeader` - `GalleryHeader`
- `GalleryFooter` - `GalleryFooter`
- `ThreadHeader` - `ThreadHeader`
- Added `MessageInput.attachmentLimit` in order to limit the no. of attachments that can be sent with a single message. - Added `MessageInput.attachmentLimit` in order to limit the no. of attachments that can be sent with a single message.
- Added `MessageInput.onAttachmentLimitExceed` callback which will be called when the `attachmentLimit` is exceeded. - Added `MessageInput.onAttachmentLimitExceed` callback which will be called when the `attachmentLimit` is exceeded.
This will override the default error alert behaviour. This will override the default error alert behaviour.
@@ -34,9 +50,8 @@ You can call `.copyWith` to customize just a subset of properties.
🔄 Changed 🔄 Changed
Theming has been upgraded! Most theme classes now have `InheritedTheme` classes associated with Theming has been upgraded! Most theme classes now have `InheritedTheme` classes associated with them, and have been
them, and have been upgraded with some goodies like `lerp` functions. Here's the full naming upgraded with some goodies like `lerp` functions. Here's the full naming breakdown:
breakdown:
* `AvatarTheme` is now `AvatarThemeData` * `AvatarTheme` is now `AvatarThemeData`
* `ChannelHeaderTheme` is now `ChannelHeaderThemeData` * `ChannelHeaderTheme` is now `ChannelHeaderThemeData`
@@ -53,18 +68,18 @@ breakdown:
🐞 Fixed 🐞 Fixed
- Fixed `MessageInput` textField case where `input` is not enabled if the file picked from the - Fixed `MessageInput` textField case where `input` is not enabled if the file picked from the camera is null.
camera is null.
- Fixed date dividers position/alignment in non reversed `MessageListView`. - Fixed date dividers position/alignment in non reversed `MessageListView`.
- Fixed `MessageListView` not opening to the right initialMessage if `StreamChannel.initialMessageId` is set. - Fixed `MessageListView` not opening to the right initialMessage if `StreamChannel.initialMessageId` is set.
- Fixed null check errors when accessing `message.text` in `MessageWidget` and `MessageListView`; this occurred when sending a message with no text. - Fixed null check errors when accessing `message.text` in `MessageWidget` and `MessageListView`; this occurred when
sending a message with no text.
## 2.1.2 ## 2.1.2
🐞 Fixed 🐞 Fixed
- [#590](https://github.com/GetStream/stream-chat-flutter/issues/590): livestream use case, no - [#590](https://github.com/GetStream/stream-chat-flutter/issues/590): livestream use case, no members when sending
members when sending message message
## 2.1.1 ## 2.1.1
@@ -82,8 +97,7 @@ breakdown:
🔄 Changed 🔄 Changed
- `StreamChat.of(context).user` is now deprecated in favor of `StreamChat.of(context).currentUser`. - `StreamChat.of(context).user` is now deprecated in favor of `StreamChat.of(context).currentUser`.
- `StreamChat.of(context).userStream` is now deprecated in favor - `StreamChat.of(context).userStream` is now deprecated in favor of `StreamChat.of(context).currentUserStream`.
of `StreamChat.of(context).currentUserStream`.
🐞 Fixed 🐞 Fixed
@@ -136,8 +150,7 @@ You can call `.copyWith` to customize just a subset of properties
- Added video compress options (frame and quality) to `MessageInput` - Added video compress options (frame and quality) to `MessageInput`
- TypingIndicator now has a property called `parentId` to show typing indicator specific to threads - TypingIndicator now has a property called `parentId` to show typing indicator specific to threads
- [#493](https://github.com/GetStream/stream-chat-flutter/pull/493): add support for messageListView - [#493](https://github.com/GetStream/stream-chat-flutter/pull/493): add support for messageListView header/footer
header/footer
- `MessageWidget` accepts a `userAvatarBuilder` - `MessageWidget` accepts a `userAvatarBuilder`
- Added pinMessage ui support - Added pinMessage ui support
- Added `MessageListView.threadSeparatorBuilder` property - Added `MessageListView.threadSeparatorBuilder` property
@@ -146,12 +159,10 @@ You can call `.copyWith` to customize just a subset of properties
🐞 Fixed 🐞 Fixed
- [#483](https://github.com/GetStream/stream-chat-flutter/issues/483): Keyboard covers input text - [#483](https://github.com/GetStream/stream-chat-flutter/issues/483): Keyboard covers input text box when editing
box when editing message message
- Modals are shown using the nearest `Navigator` to make using the SDK easier in a nested navigator - Modals are shown using the nearest `Navigator` to make using the SDK easier in a nested navigator use case
use case - [#484](https://github.com/GetStream/stream-chat-flutter/issues/484): messages don't update without a reload
- [#484](https://github.com/GetStream/stream-chat-flutter/issues/484): messages don't update without
a reload
- `MessageListView` not rendering if the user is not a member of the channel - `MessageListView` not rendering if the user is not a member of the channel
- Fix `MessageInput` overflow when there are no actions - Fix `MessageInput` overflow when there are no actions
- Minor fixes and improvements - Minor fixes and improvements
@@ -204,18 +215,15 @@ You can call `.copyWith` to customize just a subset of properties.
✅ Added ✅ Added
- TypingIndicator now has a property called `parentId` to show typing indicator specific to threads - TypingIndicator now has a property called `parentId` to show typing indicator specific to threads
- [#493](https://github.com/GetStream/stream-chat-flutter/pull/493): add support for messageListView - [#493](https://github.com/GetStream/stream-chat-flutter/pull/493): add support for messageListView header/footer
header/footer
- `MessageWidget` accepts a `userAvatarBuilder` - `MessageWidget` accepts a `userAvatarBuilder`
🐞 Fixed 🐞 Fixed
- [#483](https://github.com/GetStream/stream-chat-flutter/issues/483): Keyboard covers input text - [#483](https://github.com/GetStream/stream-chat-flutter/issues/483): Keyboard covers input text box when editing
box when editing message message
- Modals are shown using the nearest `Navigator` to make using the SDK easier in a nested navigator - Modals are shown using the nearest `Navigator` to make using the SDK easier in a nested navigator use case
use case - [#484](https://github.com/GetStream/stream-chat-flutter/issues/484): messages don't update without a reload
- [#484](https://github.com/GetStream/stream-chat-flutter/issues/484): messages don't update without
a reload
- `MessageListView` not rendering if the user is not a member of the channel - `MessageListView` not rendering if the user is not a member of the channel
## 2.0.0-nullsafety.7 ## 2.0.0-nullsafety.7
@@ -285,8 +293,7 @@ You can call `.copyWith` to customize just a subset of properties.
- Show error messages as system and keep them in the message input - Show error messages as system and keep them in the message input
- Remove notification badge logic - Remove notification badge logic
- Use shimmer while loading images - Use shimmer while loading images
- Polished `StreamChatTheme` adding more options and a new `MessageInputTheme` dedicated - Polished `StreamChatTheme` adding more options and a new `MessageInputTheme` dedicated to `MessageInput`
to `MessageInput`
- Add possibility to specify custom message actions using `MessageWidget.customActions` - Add possibility to specify custom message actions using `MessageWidget.customActions`
- Added `MessageListView.onAttachmentTap` callback - Added `MessageListView.onAttachmentTap` callback
- Fixed message newline issue - Fixed message newline issue
@@ -343,8 +350,7 @@ You can call `.copyWith` to customize just a subset of properties.
- Improved api documentation - Improved api documentation
- Updated `stream_chat` dependency to `^1.0.0-beta` - Updated `stream_chat` dependency to `^1.0.0-beta`
- Extracted sample app into dedicated [repo](https://github.com/GetStream/flutter-samples) - Extracted sample app into dedicated [repo](https://github.com/GetStream/flutter-samples)
- Reimplemented existing widgets - Reimplemented existing widgets using [stream_chat_flutter_core](https://pub.dev/packages/stream_chat_flutter_core)
using [stream_chat_flutter_core](https://pub.dev/packages/stream_chat_flutter_core)
## 0.2.21 ## 0.2.21
@@ -361,8 +367,8 @@ You can call `.copyWith` to customize just a subset of properties.
## 0.2.20+2 ## 0.2.20+2
- Added `shouldAddChannel` to ChannelsBloc in order to check if a channel has to be added to the - Added `shouldAddChannel` to ChannelsBloc in order to check if a channel has to be added to the list when a new message
list when a new message arrives arrives
## 0.2.20+1 ## 0.2.20+1
@@ -396,8 +402,7 @@ You can call `.copyWith` to customize just a subset of properties.
## 0.2.16 ## 0.2.16
- Do not wrap channel preview builder. Users will have to implement they're custom onTap/onLongPress - Do not wrap channel preview builder. Users will have to implement they're custom onTap/onLongPress implementation
implementation
- Make public autofocus field of the TextField of message_input - Make public autofocus field of the TextField of message_input
## 0.2.15 ## 0.2.15
@@ -582,11 +587,10 @@ You can call `.copyWith` to customize just a subset of properties.
## 0.2.1-alpha+1 ## 0.2.1-alpha+1
- Removed the additional `Navigator` in `StreamChat` widget. It was added to make the app have - Removed the additional `Navigator` in `StreamChat` widget. It was added to make the app have the `StreamChat` widget
the `StreamChat` widget as ancestor in every route. Now the recommended way to add `StreamChat` to as ancestor in every route. Now the recommended way to add `StreamChat` to your app is using the `builder` property of
your app is using the `builder` property of your `MaterialApp` widget. Otherwise you can use it in your `MaterialApp` widget. Otherwise you can use it in the usual way, but you need to add a `StreamChat` widget to
the usual way, but you need to add a `StreamChat` widget to every route of your app. every route of your app. Read [this issue](https://github.com/GetStream/stream-chat-flutter/issues/47) for more
Read [this issue](https://github.com/GetStream/stream-chat-flutter/issues/47) for more
information. information.
```dart ```dart
@@ -688,8 +692,8 @@ Widget build(BuildContext context) {
- Add gesture (vertical drag down) to close the keyboard - Add gesture (vertical drag down) to close the keyboard
- Add keyboard type parameters (set it to TextInputType.text to show the submit button that will - Add keyboard type parameters (set it to TextInputType.text to show the submit button that will even close the
even close the keyboard) keyboard)
The property showVideoFullScreen was added mainly because of this issue brianegan/chewie#261 The property showVideoFullScreen was added mainly because of this issue brianegan/chewie#261
+28 -2
View File
@@ -1,3 +1,20 @@
## Upcoming
🛑️ Breaking Changes from `2.2.1`
- `MessageSearchListViewCore` paginationParams property is now non-nullable with a default value.
```dart
paginationParams = const PaginationParams(limit: 30)
```
- `UserListViewCore` pagination property is now non-nullable with a default value.
```dart
pagination = const PaginationParams(limit: 30)
```
🐞 Fixed
- Fixed `MessageSearchBloc` pagination.
## 2.2.1 ## 2.2.1
- Updated `stream_chat` dependency to 2.2.1 - Updated `stream_chat` dependency to 2.2.1
@@ -5,13 +22,17 @@
## 2.2.0 ## 2.2.0
🛑️ Breaking Changes from `2.1.1` 🛑️ Breaking Changes from `2.1.1`
- Renamed `BetterStreamBuilder.loadingBuilder` to `.noDataBuilder` - Renamed `BetterStreamBuilder.loadingBuilder` to `.noDataBuilder`
🔄 Changed 🔄 Changed
- `BetterStreamBuilder.initialData` is now nullable/not-required. - `BetterStreamBuilder.initialData` is now nullable/not-required.
🐞 Fixed 🐞 Fixed
- [#612](https://github.com/GetStream/stream-chat-flutter/issues/612) `ChannelListView` pagination doesn't work after refresh
- [#612](https://github.com/GetStream/stream-chat-flutter/issues/612) `ChannelListView` pagination doesn't work after
refresh
## 2.1.1 ## 2.1.1
@@ -20,12 +41,15 @@
## 2.1.0 ## 2.1.0
🛑️ Breaking Changes from `2.0.0` 🛑️ Breaking Changes from `2.0.0`
- Changed default message filter of `MessageListCore` - Changed default message filter of `MessageListCore`
✅ Added ✅ Added
- Added `MessageListCore.paginationLimit` - Added `MessageListCore.paginationLimit`
🔄 Changed 🔄 Changed
- `StreamChatCore.of(context).user` is now deprecated in favor of `StreamChatCore.of(context).currentUser`. - `StreamChatCore.of(context).user` is now deprecated in favor of `StreamChatCore.of(context).currentUser`.
- `StreamChatCore.of(context).userStream` is now deprecated in favor of `StreamChatCore.of(context).currentUserStream`. - `StreamChatCore.of(context).userStream` is now deprecated in favor of `StreamChatCore.of(context).currentUserStream`.
@@ -34,7 +58,8 @@
🛑️ Breaking Changes from `1.5.3` 🛑️ Breaking Changes from `1.5.3`
- migrate this package to null safety - migrate this package to null safety
- `channelsBloc.queryChannels()`, `ChannelListCore` options param/property is removed in favor of individual params/properties - `channelsBloc.queryChannels()`, `ChannelListCore` options param/property is removed in favor of individual
params/properties
- `options.state` -> bool state - `options.state` -> bool state
- `options.watch` -> bool watch - `options.watch` -> bool watch
- `options.presence` -> bool presence - `options.presence` -> bool presence
@@ -51,6 +76,7 @@
- Performance improvements - Performance improvements
## 2.0.0-nullsafety.9 ## 2.0.0-nullsafety.9
- Update llc dependency - Update llc dependency
## 2.0.0-nullsafety.8 ## 2.0.0-nullsafety.8