|
| 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 | + |
1 | 66 | ## [12.14.0](https://github.com/GetStream/stream-chat-react/compare/v12.13.1...v12.14.0) (2025-04-08)
|
2 | 67 |
|
3 | 68 | ### Features
|
|
0 commit comments