Releases: GetStream/stream-chat-react
Releases Β· GetStream/stream-chat-react
v12.15.4
v13.0.1
13.0.1 (2025-05-15)
Bug Fixes
- clear composer state optimistically with snapshot restoration upon sending a message (#2710) (b6e91a2)
- inject error into PollComposer state if native numeric field validation fails (#2702) (8bca9f0)
- prevent sorting poll options in place (#2699) (88590f1)
- reflect maxRows in TextareaComposer and allow to add lines (#2709) (990e15c)
- reset message composer state partially when poll message is sent (#2703) (5708807)
v12.15.3
v12.15.2
v12.15.1
v13.0.0
13.0.0 (2025-05-06)
β BREAKING CHANGES
Channel
propsdragAndDropWindow
&
optionalMessageInputProps
have been removed, use- Remove ChatAutoComplete, AutoCompleteTextarea,
DefaultSuggestionList, DefaultSuggestionListItem and introduce
TextareaComposer, SuggestionList, SuggestionListItem - Remove defaultScrollToItem function previously used by
SuggestionList - Removed DefaultTriggerProvider component
- Remove from Channel props - acceptedFiles,
enrichURLForPreview, enrichURLForPreviewConfig, maxNumberOfFiles,
multipleUploads, TriggerProvider - Removal of acceptedFiles, debounceURLEnrichmentMs,
enrichURLForPreview, findURLFn, multipleUploads, onLinkPreviewDismissed,
quotedMessage from ChannelStateContext - Changed signature for functions sendMessage and
editMessage in ChannelActionContext - Changed signature for handleSubmit
- Removed setQuotedMessage from ChannelActionContext
- Removed types MessageToSend, StreamMessage,
UpdatedMessage in favor of LocalMessage or RenderedMessage - Removed Trigger generics from ChannelProps
- Message input state as well as the API is now kept
within MessageComposer instead of MessageInputContext - Renamed useMessageInputState to useMessageInputControls
as it does not handle the composition state anymore - Removed from MessageInputProps - disabled,
disableMentions, doFileUploadRequest, doImageUploadRequest,
errorHandler, getDefaultValue, mentionAllAppUsers, mentionQueryParams,
message, noFiles, urlEnrichmentConfig, useMentionsTransliteration,
additionalTextareaProps do not expect default value anymore - Changed the signature of MessageInput prop
overrideSubmitHandler - Local attachment and link preview types moved to
stream-chat - The SuggestionListItem UI components for
TextareaComposer receive tokenizedDisplayName instead of itemNameParts - Removed duplicate types SendMessageOptions,
UpdateMessageOptions which should be imported from stream-chat instead - Removed type LinkPreviewListProps - LinkPreviewList
does not have any props anymore - dropped
StreamChatGenerics
, useCustom<Entity>Data
to extend your types
Bug Fixes
- make consistent use of message composition related props (#2695) (2b789e5)
- replace StreamChatGenerics with module augmentation (#2634) (67bed79)
Features
- default data interfaces (#2683) (a88e145)
- message composer (#2669) (fa2519b), closes #2688
- replace SuggestionItem prop with suggestionItemComponents prop for SuggestionList (#2693) (985f5e3)
Chores
- deps: upgrade stream-chat to v9.0.0 (666be5e)
v12.15.0
v13.0.0-rc.2
13.0.0-rc.2 (2025-04-30)
Features
v13.0.0-rc.1
13.0.0-rc.1 (2025-04-28)
β BREAKING CHANGES
Channel
propsdragAndDropWindow
&
optionalMessageInputProps
have been removed, use- Remove ChatAutoComplete, AutoCompleteTextarea,
DefaultSuggestionList, DefaultSuggestionListItem and introduce
TextareaComposer, SuggestionList, SuggestionListItem - Remove defaultScrollToItem function previously used by
SuggestionList - Removed DefaultTriggerProvider component
- Remove from Channel props - acceptedFiles,
enrichURLForPreview, enrichURLForPreviewConfig, maxNumberOfFiles,
multipleUploads, TriggerProvider - Removal of acceptedFiles, debounceURLEnrichmentMs,
enrichURLForPreview, findURLFn, multipleUploads, onLinkPreviewDismissed,
quotedMessage from ChannelStateContext - Changed signature for functions sendMessage and
editMessage in ChannelActionContext - Changed signature for handleSubmit
- Removed setQuotedMessage from ChannelActionContext
- Removed types MessageToSend, StreamMessage,
UpdatedMessage in favor of LocalMessage or RenderedMessage - Removed Trigger generics from ChannelProps
- Message input state as well as the API is now kept
within MessageComposer instead of MessageInputContext - Renamed useMessageInputState to useMessageInputControls
as it does not handle the composition state anymore - Removed from MessageInputProps - disabled,
disableMentions, doFileUploadRequest, doImageUploadRequest,
errorHandler, getDefaultValue, mentionAllAppUsers, mentionQueryParams,
message, noFiles, urlEnrichmentConfig, useMentionsTransliteration,
additionalTextareaProps do not expect default value anymore - Changed the signature of MessageInput prop
overrideSubmitHandler - Local attachment and link preview types moved to
stream-chat - The SuggestionListItem UI components for
TextareaComposer receive tokenizedDisplayName instead of itemNameParts - Removed duplicate types SendMessageOptions,
UpdateMessageOptions which should be imported from stream-chat instead - Removed type LinkPreviewListProps - LinkPreviewList
does not have any props anymore - dropped
StreamChatGenerics
, useCustom<Entity>Data
to extend your types
Bug Fixes
Features
- default data interfaces (#2683) (a88e145)
- introduce WithDragAndDropUpload component (#2688) (6b03abd)
- message composer (#2669) (fa2519b), closes #2688