Skip to content

Commit 7e5f19b

Browse files
chore(release): 13.0.0-rc.1 [skip ci]
## [13.0.0-rc.1](v12.14.0...v13.0.0-rc.1) (2025-04-28) ### ⚠ 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 * replace StreamChatGenerics with module augmentation ([#2634](#2634)) ([67bed79](67bed79)) ### Features * default data interfaces ([#2683](#2683)) ([a88e145](a88e145)) * introduce WithDragAndDropUpload component ([#2688](#2688)) ([6b03abd](6b03abd)) * message composer ([#2669](#2669)) ([fa2519b](fa2519b)), closes [#2688](#2688) ### Chores * **deps:** upgrade @stream-io/stream-chat-css to v5.8.1 ([#2689](#2689)) ([d0c32e3](d0c32e3)) ### Refactors * simplify WithDragAndDropUpload API ([#2691](#2691)) ([46c9add](46c9add))
1 parent c4a27e1 commit 7e5f19b

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

CHANGELOG.md

+65
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,68 @@
1+
## [13.0.0-rc.1](https://github.com/GetStream/stream-chat-react/compare/v12.14.0...v13.0.0-rc.1) (2025-04-28)
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+
* 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))
51+
52+
### Features
53+
54+
* default data interfaces ([#2683](https://github.com/GetStream/stream-chat-react/issues/2683)) ([a88e145](https://github.com/GetStream/stream-chat-react/commit/a88e1456e970b6c344545422bdbc4edd1370b862))
55+
* introduce WithDragAndDropUpload component ([#2688](https://github.com/GetStream/stream-chat-react/issues/2688)) ([6b03abd](https://github.com/GetStream/stream-chat-react/commit/6b03abd707165d08539af435b940dd13025481d2))
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+
58+
### Chores
59+
60+
* **deps:** upgrade @stream-io/stream-chat-css to v5.8.1 ([#2689](https://github.com/GetStream/stream-chat-react/issues/2689)) ([d0c32e3](https://github.com/GetStream/stream-chat-react/commit/d0c32e33225c2e72bf4f14f368c34fa3a34c543c))
61+
62+
### Refactors
63+
64+
* simplify WithDragAndDropUpload API ([#2691](https://github.com/GetStream/stream-chat-react/issues/2691)) ([46c9add](https://github.com/GetStream/stream-chat-react/commit/46c9add73d8c37ed65cd0c2808c148199820889a))
65+
166
## [12.14.0](https://github.com/GetStream/stream-chat-react/compare/v12.13.1...v12.14.0) (2025-04-08)
267

368
### Features

0 commit comments

Comments
 (0)