Releases: GetStream/stream-chat-react
Releases Β· GetStream/stream-chat-react
v12.1.0
v12.0.0
12.0.0 (2024-09-17)
β BREAKING CHANGES
- Own user will not be filtered out anymore of the selection list of users to mention if
mentionAllAppUsersis enabled onMessageInput. - Removed the following variables from
MessageContext:isReactionEnabled,onReactionListClick,showDetailedReactions,reactionSelectorRef. - Removed prop
messageWrapperReffromMessageOptionsandMessageActionsprops. ComponentContextno longer provides any defaults- Removed
ThreadpropfullWidth, removed classstr-chat__thread--full. - Removed
WindowprophideOnThread, replaced classstr-chat__main-panel--hideOnThreadwithstr-chat__main-panel--thread-open. - MP3 audio encoder has to be explicitly imported and used as a plugin for audio recordings. The default audio recording format is
audio/wav. - @breezystack/lamejs became a peer dependency and has to be installed by the integrator so that the MP3 audio encoder can work properly.
- Removed
fileOrder,imageOrder,fileUploads,imageUploads,uploadFile,uploadImage,removeFile,removeImagefrom theMessageInputContext. Useattachments,uploadAttachment,uploadNewFiles,upsertAttachments,removeAttachmentsinstead. - Removed default values for timestamp formatting props like
calendarorformatforDateSeparator,EventComponent,MessageTimestamp. The formatting configuration now entirely relies on i18n translations. - The
VirtualizedMessageListdoes not provide defaultFootercomponent. - The
VirtualizedMessageListmarkup has changed asTypingIndicatoris rendered as a child ofMessageListMainPanel. - Stylesheet import path changed & v1 stylesheet has been dropped, see release guide for more information.
- Theme v1 related markup and classes have been removed.
themeVersionproperty has been removed fromChatContext.
Bug Fixes
- add theme to
ChatViewcomponent (#2494) (d477072) - address the circular dependencies among
TranslationContextandStreami18n(#2483) (b91fd9a) - change platform for CJS bundle from Node to browser (#2454) (4bc2d35)
- do not rerender on client options update (#2465) (3899352)
- export
typeVersionscorrectly for emojis and mp3-encoder (#2449) (17218db) - extract MP3 encoder plugin (#2447) (625196f)
- provide both browser and node CJS bundles (#2457) (273ea2a)
- quote replies in threads (#2487) (0e4a6f1)
- remove the use of deprecated query operator
$ne(#2504) (09614f6) - render typing indicator outside the
VirtualizedMessageListscroll container (#2406) (d9442d2) - reuse
useChannelPreviewInfoforThreadListItemUI(#2508) (4bb5b7c) - update
ChannelHeaderandChannelPreviewtitles and images onchannel.updated(#2500) (f32fbb6)
Features
- add centralized dialog management (#2489) (8235d45)
- add
ThreadListandThreadProvider(Threads 2.0) (#2407) (941707d) - keep attachments array and remove file and image uploads in
MessageInputstate (#2445) (238e801) - remove default timestamp formatting props from
DateSeparator,EventComponent,MessageTimestamp(#2442) (6431954) - remove
fullWidthprop fromThread&hideOnThreadprop fromWindow(#2450) (32c8fc0) - remove legacy style components (#2394) (7bf63ae)
Chores
v12.0.0-rc.15
12.0.0-rc.15 (2024-09-16)
β BREAKING CHANGES
-
- own user will not anymore be filtered out of the selection list of users to mention if
mentionAllAppUsersis enabled on MessageInput
- own user will not anymore be filtered out of the selection list of users to mention if
-
- removes the following variables from
MessageContext: isReactionEnabled, onReactionListClick, showDetailedReactions, reactionSelectorRef
- removes the following variables from
- removes prop
messageWrapperReffromMessageOptionsandMessageActionsprops.
Bug Fixes
- remove the use of deprecated query operator $ne (#2504) (09614f6)
- update ChannelHeader and ChannelPreview titles and images on channel.updated (#2500) (f32fbb6)
Features
v11.23.10
v12.0.0-rc.14
12.0.0-rc.14 (2024-09-10)
Chores
v12.0.0-rc.13
v12.0.0-rc.12
12.0.0-rc.12 (2024-09-06)
Chores
v12.0.0-rc.11
12.0.0-rc.11 (2024-09-04)
β BREAKING CHANGES
- ComponentContext no longer provides any defaults