From 5e33088b8b45c9900ff76002a0d9ee5b8f7f11b7 Mon Sep 17 00:00:00 2001 From: geweald Date: Mon, 15 Nov 2021 11:29:47 +0100 Subject: [PATCH] fix - revert changelog formatting --- packages/stream_chat/CHANGELOG.md | 50 ++++---- packages/stream_chat_flutter/CHANGELOG.md | 150 +++++++++++----------- 2 files changed, 100 insertions(+), 100 deletions(-) diff --git a/packages/stream_chat/CHANGELOG.md b/packages/stream_chat/CHANGELOG.md index 8617ba42..46f60da0 100644 --- a/packages/stream_chat/CHANGELOG.md +++ b/packages/stream_chat/CHANGELOG.md @@ -27,12 +27,12 @@ 🛑️ Breaking Changes from `2.2.1` - Added 6 new methods in `ChatPersistenceClient`. - - `bulkUpdateMessages` - - `bulkUpdatePinnedMessages` - - `bulkUpdateMembers` - - `bulkUpdateReads` - - `updatePinnedMessageReactions` - - `deletePinnedMessageReactionsByMessageId` + - `bulkUpdateMessages` + - `bulkUpdatePinnedMessages` + - `bulkUpdateMembers` + - `bulkUpdateReads` + - `updatePinnedMessageReactions` + - `deletePinnedMessageReactionsByMessageId` ✅ Added @@ -110,19 +110,19 @@ - migrate this package to null safety - `ConnectUserWithProvider` now requires `tokenProvider` as a required param. (Removed from the constructor) - `client.disconnect()` is now divided into two different functions - - `client.closeConnection()` -> for closing user websocket connection. - - `client.disconnectUser()` -> for disconnecting user and resetting client state. + - `client.closeConnection()` -> for closing user websocket connection. + - `client.disconnectUser()` -> for disconnecting user and resetting client state. - `client.devToken()` now returns a `Token` model instead of `String`. - `ApiError` is removed in favor of `StreamChatError` - - `StreamChatError` -> parent type for all the stream errors. - - `StreamWebSocketError` -> for user websocket related errors. - - `StreamChatNetworkError` -> for network related errors. + - `StreamChatError` -> parent type for all the stream errors. + - `StreamWebSocketError` -> for user websocket related errors. + - `StreamChatNetworkError` -> for network related errors. - `client.queryChannels()`, `channel.query()` options param is removed in favor of individual params - - `option.state` -> bool state - - `option.watch` -> bool watch - - `option.presence` -> bool presence + - `option.state` -> bool state + - `option.watch` -> bool watch + - `option.presence` -> bool presence - `client.queryUsers()` options param is removed in favor of individual params - - `option.presence` -> bool presence + - `option.presence` -> bool presence - Migrate this package to null safety - Added typed filters @@ -156,19 +156,19 @@ - `ConnectUserWithProvider` now requires `tokenProvider` as a required param. (Removed from the constructor) - `client.disconnect()` is now divided into two different functions - - `client.closeConnection()` -> for closing user websocket connection. - - `client.disconnectUser()` -> for disconnecting user and resetting client state. + - `client.closeConnection()` -> for closing user websocket connection. + - `client.disconnectUser()` -> for disconnecting user and resetting client state. - `client.devToken()` now returns a `Token` model instead of `String`. - `ApiError` is removed in favor of `StreamChatError` - - `StreamChatError` -> parent type for all the stream errors. - - `StreamWebSocketError` -> for user websocket related errors. - - `StreamChatNetworkError` -> for network related errors. + - `StreamChatError` -> parent type for all the stream errors. + - `StreamWebSocketError` -> for user websocket related errors. + - `StreamChatNetworkError` -> for network related errors. - `client.queryChannels()`, `channel.query()` options param is removed in favor of individual params - - `option.state` -> bool state - - `option.watch` -> bool watch - - `option.presence` -> bool presence + - `option.state` -> bool state + - `option.watch` -> bool watch + - `option.presence` -> bool presence - `client.queryUsers()` options param is removed in favor of individual params - - `option.presence` -> bool presence + - `option.presence` -> bool presence ✅ Added @@ -726,4 +726,4 @@ ## 0.0.2 -- first beta version +- first beta version \ No newline at end of file diff --git a/packages/stream_chat_flutter/CHANGELOG.md b/packages/stream_chat_flutter/CHANGELOG.md index fe52c849..73d49806 100644 --- a/packages/stream_chat_flutter/CHANGELOG.md +++ b/packages/stream_chat_flutter/CHANGELOG.md @@ -76,36 +76,36 @@ ⚠️ Deprecated - `MessageSearchListView` `paginationParams` property is now deprecated in favor of `limit`. - ```dart - // previous - paginationParams = const PaginationParams(limit: 30) - - // new - limit = 30 - ``` + ```dart + // previous + paginationParams = const PaginationParams(limit: 30) + + // new + limit = 30 + ``` - `UserListView` `pagination` property is now deprecated in favor of `limit`. - ```dart - // previous - pagination = const PaginationParams(limit: 30) - - // new - limit = 30 - ``` + ```dart + // previous + pagination = const PaginationParams(limit: 30) + + // new + limit = 30 + ``` - `ChannelListView` `pagination` property is now deprecated in favor of `limit`. - ```dart - // previous - pagination = const PaginationParams(limit: 30) - - // new - limit = 30 - ``` + ```dart + // previous + pagination = const PaginationParams(limit: 30) + + // new + limit = 30 + ``` 🔄 Changed - `UserListViewCore` filter property now has a default value. - ```dart - filter = const Filter.empty() - ``` + ```dart + filter = const Filter.empty() + ``` 🐞 Fixed @@ -123,11 +123,11 @@ - [#516](https://github.com/GetStream/stream-chat-flutter/issues/516): Added `StreamChatThemeData.placeholderUserImage` for building a widget when the `UserAvatar` image is loading - Added a `backgroundColor` property to the following widgets: - - `ChannelHeader` - - `ChannelListHeader` - - `GalleryHeader` - - `GalleryFooter` - - `ThreadHeader` + - `ChannelHeader` + - `ChannelListHeader` + - `GalleryHeader` + - `GalleryFooter` + - `ThreadHeader` - 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. This will override the default error alert behaviour. @@ -141,7 +141,7 @@ typedef ActionButtonBuilder = Widget Function( ``` > **_NOTE:_** The last parameter is the default `ActionButton` -> You can call `.copyWith` to customize just a subset of properties. +You can call `.copyWith` to customize just a subset of properties. - Added slow mode which allows a cooldown period after a user sends a message. @@ -150,18 +150,18 @@ typedef ActionButtonBuilder = Widget Function( Theming has been upgraded! Most theme classes now have `InheritedTheme` classes associated with them, and have been upgraded with some goodies like `lerp` functions. Here's the full naming breakdown: -- `AvatarTheme` is now `AvatarThemeData` -- `ChannelHeaderTheme` is now `ChannelHeaderThemeData` -- `ChannelListHeaderTheme` is now `ChannelListHeaderThemeData` -- `ChannelListViewTheme` is now `ChannelListViewThemeData` -- `ChannelPreviewTheme` is now `ChannelPreviewThemeData` -- `MessageInputTheme` is now `MessageInputThemeData` -- `MessageListViewTheme` is now `MessageListViewTheme` -- `MessageSearchListViewTheme` is now `MessageSearchListViewThemeData` -- `MessageTheme` is now `MessageThemeData` -- `UserListViewTheme` is now `UserListViewThemeData` +* `AvatarTheme` is now `AvatarThemeData` +* `ChannelHeaderTheme` is now `ChannelHeaderThemeData` +* `ChannelListHeaderTheme` is now `ChannelListHeaderThemeData` +* `ChannelListViewTheme` is now `ChannelListViewThemeData` +* `ChannelPreviewTheme` is now `ChannelPreviewThemeData` +* `MessageInputTheme` is now `MessageInputThemeData` +* `MessageListViewTheme` is now `MessageListViewTheme` +* `MessageSearchListViewTheme` is now `MessageSearchListViewThemeData` +* `MessageTheme` is now `MessageThemeData` +* `UserListViewTheme` is now `UserListViewThemeData` -* Updated core dependency. +- Updated core dependency. 🐞 Fixed @@ -208,25 +208,24 @@ upgraded with some goodies like `lerp` functions. Here's the full naming breakdo - Renamed `ChannelImage` to `ChannelAvatar` - Updated `StreamChatThemeData.reactionIcons` to accept custom builder - Renamed `ColorTheme` properties to reflect the purpose of the colors - - - `ColorTheme.black` -> `ColorTheme.textHighEmphasis` - - `ColorTheme.grey` -> `ColorTheme.textLowEmphasis` - - `ColorTheme.greyGainsboro` -> `ColorTheme.disabled` - - `ColorTheme.greyWhisper` -> `ColorTheme.borders` - - `ColorTheme.whiteSmoke` -> `ColorTheme.inputBg` - - `ColorTheme.whiteSnow` -> `ColorTheme.appBg` - - `ColorTheme.white` -> `ColorTheme.barsBg` - - `ColorTheme.blueAlice` -> `ColorTheme.linkBg` - - `ColorTheme.accentBlue` -> `ColorTheme.accentPrimary` - - `ColorTheme.accentRed` -> `ColorTheme.accentError` - - `ColorTheme.accentGreen` -> `ColorTheme.accentInfo` + - `ColorTheme.black` -> `ColorTheme.textHighEmphasis` + - `ColorTheme.grey` -> `ColorTheme.textLowEmphasis` + - `ColorTheme.greyGainsboro` -> `ColorTheme.disabled` + - `ColorTheme.greyWhisper` -> `ColorTheme.borders` + - `ColorTheme.whiteSmoke` -> `ColorTheme.inputBg` + - `ColorTheme.whiteSnow` -> `ColorTheme.appBg` + - `ColorTheme.white` -> `ColorTheme.barsBg` + - `ColorTheme.blueAlice` -> `ColorTheme.linkBg` + - `ColorTheme.accentBlue` -> `ColorTheme.accentPrimary` + - `ColorTheme.accentRed` -> `ColorTheme.accentError` + - `ColorTheme.accentGreen` -> `ColorTheme.accentInfo` - `ChannelListCore` options property is removed in favor of individual properties - - `options.state` -> bool state - - `options.watch` -> bool watch - - `options.presence` -> bool presence + - `options.state` -> bool state + - `options.watch` -> bool watch + - `options.presence` -> bool presence - `UserListView` options property is removed in favor of individual properties - - `options.presence` -> bool presence + - `options.presence` -> bool presence - Renamed `ImageHeader` to `GalleryHeader` - Renamed `ImageFooter` to `GalleryFooter` - `MessageBuilder` and `ParentMessageBuilder` signature is now @@ -241,7 +240,8 @@ typedef MessageBuilder = Widget Function( ``` > **_NOTE:_** the last parameter is the default `MessageWidget` -> You can call `.copyWith` to customize just a subset of properties +You can call `.copyWith` to customize just a subset of properties + ✅ Added @@ -269,17 +269,17 @@ typedef MessageBuilder = Widget Function( 🛑️ Breaking Changes from `2.0.0-nullsafety.8` - Renamed `ColorTheme` properties to reflect the purpose of the colors - - `ColorTheme.black` -> `ColorTheme.textHighEmphasis` - - `ColorTheme.grey` -> `ColorTheme.textLowEmphasis` - - `ColorTheme.greyGainsboro` -> `ColorTheme.disabled` - - `ColorTheme.greyWhisper` -> `ColorTheme.borders` - - `ColorTheme.whiteSmoke` -> `ColorTheme.inputBg` - - `ColorTheme.whiteSnow` -> `ColorTheme.appBg` - - `ColorTheme.white` -> `ColorTheme.barsBg` - - `ColorTheme.blueAlice` -> `ColorTheme.linkBg` - - `ColorTheme.accentBlue` -> `ColorTheme.accentPrimary` - - `ColorTheme.accentRed` -> `ColorTheme.accentError` - - `ColorTheme.accentGreen` -> `ColorTheme.accentInfo` + - `ColorTheme.black` -> `ColorTheme.textHighEmphasis` + - `ColorTheme.grey` -> `ColorTheme.textLowEmphasis` + - `ColorTheme.greyGainsboro` -> `ColorTheme.disabled` + - `ColorTheme.greyWhisper` -> `ColorTheme.borders` + - `ColorTheme.whiteSmoke` -> `ColorTheme.inputBg` + - `ColorTheme.whiteSnow` -> `ColorTheme.appBg` + - `ColorTheme.white` -> `ColorTheme.barsBg` + - `ColorTheme.blueAlice` -> `ColorTheme.linkBg` + - `ColorTheme.accentBlue` -> `ColorTheme.accentPrimary` + - `ColorTheme.accentRed` -> `ColorTheme.accentError` + - `ColorTheme.accentGreen` -> `ColorTheme.accentInfo` ✅ Added @@ -290,11 +290,11 @@ typedef MessageBuilder = Widget Function( 🛑️ Breaking Changes from `2.0.0-nullsafety.7` - `ChannelListCore` options property is removed in favor of individual properties - - `options.state` -> bool state - - `options.watch` -> bool watch - - `options.presence` -> bool presence + - `options.state` -> bool state + - `options.watch` -> bool watch + - `options.presence` -> bool presence - `UserListView` options property is removed in favor of individual properties - - `options.presence` -> bool presence + - `options.presence` -> bool presence - `MessageBuilder` and `ParentMessageBuilder` signature is now ```dart @@ -307,7 +307,7 @@ typedef MessageBuilder = Widget Function( ``` > **_NOTE:_** The last parameter is the default `MessageWidget` -> You can call `.copyWith` to customize just a subset of properties. +You can call `.copyWith` to customize just a subset of properties. ✅ Added @@ -866,4 +866,4 @@ The property showVideoFullScreen was added mainly because of this issue brianega ## 0.0.1 -- First release +- First release \ No newline at end of file