Skip to content

Commit 234eafc

Browse files
chore(release): 13.0.0 [skip ci]
## [13.0.0](v12.15.0...v13.0.0) (2025-05-06) ### ⚠ BREAKING CHANGES * `Channel` props `dragAndDropWindow` & `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`, use `Custom<Entity>Data` to extend your types ### Bug Fixes * make consistent use of message composition related props ([#2695](#2695)) ([2b789e5](2b789e5)) * replace StreamChatGenerics with module augmentation ([#2634](#2634)) ([67bed79](67bed79)) ### Features * default data interfaces ([#2683](#2683)) ([a88e145](a88e145)) * message composer ([#2669](#2669)) ([fa2519b](fa2519b)), closes [#2688](#2688) * replace SuggestionItem prop with suggestionItemComponents prop for SuggestionList ([#2693](#2693)) ([985f5e3](985f5e3)) ### Chores * **deps:** upgrade stream-chat to v9.0.0 ([666be5e](666be5e))
1 parent 4782626 commit 234eafc

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

CHANGELOG.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,65 @@
1+
## [13.0.0](https://github.com/GetStream/stream-chat-react/compare/v12.15.0...v13.0.0) (2025-05-06)
2+
3+
### ⚠ BREAKING CHANGES
4+
5+
* `Channel` props `dragAndDropWindow` &
6+
`optionalMessageInputProps` have been removed, use
7+
* Remove ChatAutoComplete, AutoCompleteTextarea,
8+
DefaultSuggestionList, DefaultSuggestionListItem and introduce
9+
TextareaComposer, SuggestionList, SuggestionListItem
10+
* Remove defaultScrollToItem function previously used by
11+
SuggestionList
12+
* Removed DefaultTriggerProvider component
13+
* Remove from Channel props - acceptedFiles,
14+
enrichURLForPreview, enrichURLForPreviewConfig, maxNumberOfFiles,
15+
multipleUploads, TriggerProvider
16+
* Removal of acceptedFiles, debounceURLEnrichmentMs,
17+
enrichURLForPreview, findURLFn, multipleUploads, onLinkPreviewDismissed,
18+
quotedMessage from ChannelStateContext
19+
* Changed signature for functions sendMessage and
20+
editMessage in ChannelActionContext
21+
* Changed signature for handleSubmit
22+
* Removed setQuotedMessage from ChannelActionContext
23+
* Removed types MessageToSend, StreamMessage,
24+
UpdatedMessage in favor of LocalMessage or RenderedMessage
25+
* Removed Trigger generics from ChannelProps
26+
* Message input state as well as the API is now kept
27+
within MessageComposer instead of MessageInputContext
28+
* Renamed useMessageInputState to useMessageInputControls
29+
as it does not handle the composition state anymore
30+
* Removed from MessageInputProps - disabled,
31+
disableMentions, doFileUploadRequest, doImageUploadRequest,
32+
errorHandler, getDefaultValue, mentionAllAppUsers, mentionQueryParams,
33+
message, noFiles, urlEnrichmentConfig, useMentionsTransliteration,
34+
additionalTextareaProps do not expect default value anymore
35+
* Changed the signature of MessageInput prop
36+
overrideSubmitHandler
37+
* Local attachment and link preview types moved to
38+
stream-chat
39+
* The SuggestionListItem UI components for
40+
TextareaComposer receive tokenizedDisplayName instead of itemNameParts
41+
* Removed duplicate types SendMessageOptions,
42+
UpdateMessageOptions which should be imported from stream-chat instead
43+
* Removed type LinkPreviewListProps - LinkPreviewList
44+
does not have any props anymore
45+
* dropped `StreamChatGenerics`, use `Custom<Entity>Data`
46+
to extend your types
47+
48+
### Bug Fixes
49+
50+
* make consistent use of message composition related props ([#2695](https://github.com/GetStream/stream-chat-react/issues/2695)) ([2b789e5](https://github.com/GetStream/stream-chat-react/commit/2b789e5c9be4727d9ec03ce128067f6d111415be))
51+
* replace StreamChatGenerics with module augmentation ([#2634](https://github.com/GetStream/stream-chat-react/issues/2634)) ([67bed79](https://github.com/GetStream/stream-chat-react/commit/67bed794555cd1e71456c0732c6bacfcd2712685))
52+
53+
### Features
54+
55+
* default data interfaces ([#2683](https://github.com/GetStream/stream-chat-react/issues/2683)) ([a88e145](https://github.com/GetStream/stream-chat-react/commit/a88e1456e970b6c344545422bdbc4edd1370b862))
56+
* message composer ([#2669](https://github.com/GetStream/stream-chat-react/issues/2669)) ([fa2519b](https://github.com/GetStream/stream-chat-react/commit/fa2519b50f1a3bb8837369188bffb356509236ed)), closes [#2688](https://github.com/GetStream/stream-chat-react/issues/2688)
57+
* replace SuggestionItem prop with suggestionItemComponents prop for SuggestionList ([#2693](https://github.com/GetStream/stream-chat-react/issues/2693)) ([985f5e3](https://github.com/GetStream/stream-chat-react/commit/985f5e3a43da660573e21dcc44f96cf4b44b3552))
58+
59+
### Chores
60+
61+
* **deps:** upgrade stream-chat to v9.0.0 ([666be5e](https://github.com/GetStream/stream-chat-react/commit/666be5e3bce201b2371de65a4e899c09deec86e3))
62+
163
## [13.0.0-rc.2](https://github.com/GetStream/stream-chat-react/compare/v13.0.0-rc.1...v13.0.0-rc.2) (2025-04-30)
264

365
### Features

0 commit comments

Comments
 (0)