Skip to content

Commit 3f2fa13

Browse files
chore(release): 12.0.0 [skip ci]
## [12.0.0](v11.23.9...v12.0.0) (2024-09-17) ### ⚠ BREAKING CHANGES * - own user will not anymore be filtered out of the selection list of users to mention if `mentionAllAppUsers` is enabled on MessageInput * - removes the following variables from `MessageContext`: isReactionEnabled, onReactionListClick, showDetailedReactions, reactionSelectorRef - removes prop `messageWrapperRef` from `MessageOptions` and `MessageActions` props. * ComponentContext no longer provides any defaults * removed Thread prop fullWidth, removed class str-chat__thread--full * removed Window prop hideOnThread, replaced class str-chat__main-panel--hideOnThread with str-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, removeImage from the MessageInputContext. Use attachments, uploadAttachment, uploadNewFiles, upsertAttachments, removeAttachments instead. * Removed default values for timestamp formatting props like calendar or format for DateSeparator, EventComponent, MessageTimestamp. The formatting configuration now entirely relies on i18n translations. * The VirtualizedMessageList does not provide default Footer component * The VirtualizedMessageList markup has changed as TypingIndicator is rendered as a child of MessageListMainPanel * stylesheet import path changed & v1 stylesheet has been dropped, see release guide for more information * theme v1 related markup and classNames have been removed * `themeVersion` property has been removed from `ChatContext` ### Bug Fixes * add theme to ChatView component ([#2494](#2494)) ([d477072](d477072)) * address the circular dependencies among TranslationContext and Streami18n ([#2483](#2483)) ([b91fd9a](b91fd9a)) * change platform for CJS bundle from node to browser ([#2454](#2454)) ([4bc2d35](4bc2d35)) * do not rerender on client options update ([#2465](#2465)) ([3899352](3899352)) * export typeVersions correctly for emojis and mp3-encoder ([#2449](#2449)) ([17218db](17218db)) * extract MP3 encoder plugin ([#2447](#2447)) ([625196f](625196f)) * provide both browser and node cjs bundles ([#2457](#2457)) ([273ea2a](273ea2a)) * quote replies in threads ([#2487](#2487)) ([0e4a6f1](0e4a6f1)) * remove the use of deprecated query operator $ne ([#2504](#2504)) ([09614f6](09614f6)) * render typing indicator outside the VirtualizedMessageList scroll container ([#2406](#2406)) ([d9442d2](d9442d2)) * reuse useChannelPreviewInfo for ThreadListItemUI ([#2508](#2508)) ([4bb5b7c](4bb5b7c)) * update ChannelHeader and ChannelPreview titles and images on channel.updated ([#2500](#2500)) ([f32fbb6](f32fbb6)) ### Features * add centralized dialog management ([#2489](#2489)) ([8235d45](8235d45)) * add ThreadList and ThreadProvider (Threads 2.0) ([#2407](#2407)) ([941707d](941707d)) * keep attachments array and remove file and image uploads in MessageInput state ([#2445](#2445)) ([238e801](238e801)) * remove default timestamp formatting props from DateSeparator, EventComponent, MessageTimestamp ([#2442](#2442)) ([6431954](6431954)) * remove fullWidth prop from Thread & hideOnThread prop from Window ([#2450](#2450)) ([32c8fc0](32c8fc0)) * remove legacy style components ([#2394](#2394)) ([7bf63ae](7bf63ae)) ### Chores * **deps:** bump @stream-io/stream-chat-css to version 5.0.0 ([9580a3f](9580a3f)) * **deps:** bump @stream-io/stream-chat-css to version 5.0.0-rc.1nvm ([e9cf42f](e9cf42f)) * **deps:** bump stream-chat to version 8.40.8 ([#2510](#2510)) ([5cc7a09](5cc7a09)) * **deps:** remove unused isomorphic-ws from dependencies ([853bd8b](853bd8b)) * **deps:** upgrade @stream-io/stream-chat-css to v5.0.0-rc.4 ([#2492](#2492)) ([6e30cb5](6e30cb5)) * **deps:** upgrade @stream-io/stream-chat-css to v5.0.0-rc.5 ([#2495](#2495)) ([2b8fa32](2b8fa32))
1 parent 5cc7a09 commit 3f2fa13

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

CHANGELOG.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,70 @@
1+
## [12.0.0](https://github.com/GetStream/stream-chat-react/compare/v11.23.9...v12.0.0) (2024-09-17)
2+
3+
4+
### ⚠ BREAKING CHANGES
5+
6+
* - own user will not anymore be filtered out of the selection list of users to mention if `mentionAllAppUsers` is enabled on MessageInput
7+
* - removes the following variables from `MessageContext`: isReactionEnabled, onReactionListClick, showDetailedReactions, reactionSelectorRef
8+
- removes prop `messageWrapperRef` from `MessageOptions` and `MessageActions` props.
9+
* ComponentContext no longer provides any defaults
10+
* removed Thread prop fullWidth, removed class str-chat__thread--full
11+
* removed Window prop hideOnThread, replaced class str-chat__main-panel--hideOnThread with str-chat__main-panel--thread-open
12+
* MP3 audio encoder has to be explicitly imported and
13+
used as a plugin for audio recordings. The default audio recording
14+
format is audio/wav.
15+
* @breezystack/lamejs became a peer dependency and has to
16+
be installed by the integrator so that the MP3 audio encoder can work
17+
properly.
18+
* Removed fileOrder, imageOrder, fileUploads,
19+
imageUploads, uploadFile, uploadImage, removeFile, removeImage from the
20+
MessageInputContext. Use attachments, uploadAttachment, uploadNewFiles, upsertAttachments, removeAttachments instead.
21+
* Removed default values for timestamp formatting props
22+
like calendar or format for DateSeparator, EventComponent,
23+
MessageTimestamp. The formatting configuration now entirely relies on
24+
i18n translations.
25+
* The VirtualizedMessageList does not provide default
26+
Footer component
27+
* The VirtualizedMessageList markup has changed as
28+
TypingIndicator is rendered as a child of MessageListMainPanel
29+
* stylesheet import path changed & v1 stylesheet has been dropped, see release guide for more information
30+
* theme v1 related markup and classNames have been removed
31+
* `themeVersion` property has been removed from `ChatContext`
32+
33+
### Bug Fixes
34+
35+
* add theme to ChatView component ([#2494](https://github.com/GetStream/stream-chat-react/issues/2494)) ([d477072](https://github.com/GetStream/stream-chat-react/commit/d4770722b54f236d88bd1d0c5c207402e012ae12))
36+
* address the circular dependencies among TranslationContext and Streami18n ([#2483](https://github.com/GetStream/stream-chat-react/issues/2483)) ([b91fd9a](https://github.com/GetStream/stream-chat-react/commit/b91fd9aa6fcdbdd9ec1fe7342c58011a0d34116d))
37+
* change platform for CJS bundle from node to browser ([#2454](https://github.com/GetStream/stream-chat-react/issues/2454)) ([4bc2d35](https://github.com/GetStream/stream-chat-react/commit/4bc2d3591900963290d87408279dc2b516206715))
38+
* do not rerender on client options update ([#2465](https://github.com/GetStream/stream-chat-react/issues/2465)) ([3899352](https://github.com/GetStream/stream-chat-react/commit/389935255e9d159827936f91a900d1b92573f633))
39+
* export typeVersions correctly for emojis and mp3-encoder ([#2449](https://github.com/GetStream/stream-chat-react/issues/2449)) ([17218db](https://github.com/GetStream/stream-chat-react/commit/17218dba4fedbbfbf17bb49ec6df0271671488f4))
40+
* extract MP3 encoder plugin ([#2447](https://github.com/GetStream/stream-chat-react/issues/2447)) ([625196f](https://github.com/GetStream/stream-chat-react/commit/625196f38fc0666f66492905584933da656afef0))
41+
* provide both browser and node cjs bundles ([#2457](https://github.com/GetStream/stream-chat-react/issues/2457)) ([273ea2a](https://github.com/GetStream/stream-chat-react/commit/273ea2aa481c4519013e095950fed8697f1fb9f8))
42+
* quote replies in threads ([#2487](https://github.com/GetStream/stream-chat-react/issues/2487)) ([0e4a6f1](https://github.com/GetStream/stream-chat-react/commit/0e4a6f17a53ce9ac6604c83d1d4688a8e29dc366))
43+
* remove the use of deprecated query operator $ne ([#2504](https://github.com/GetStream/stream-chat-react/issues/2504)) ([09614f6](https://github.com/GetStream/stream-chat-react/commit/09614f688a9fbeed66584202ac5c669fd0b5c0a4))
44+
* render typing indicator outside the VirtualizedMessageList scroll container ([#2406](https://github.com/GetStream/stream-chat-react/issues/2406)) ([d9442d2](https://github.com/GetStream/stream-chat-react/commit/d9442d2a419ee8737ac19c5663ffff04141d3650))
45+
* reuse useChannelPreviewInfo for ThreadListItemUI ([#2508](https://github.com/GetStream/stream-chat-react/issues/2508)) ([4bb5b7c](https://github.com/GetStream/stream-chat-react/commit/4bb5b7cd0a6a49ff315b62b6b425ca89d4a08a11))
46+
* update ChannelHeader and ChannelPreview titles and images on channel.updated ([#2500](https://github.com/GetStream/stream-chat-react/issues/2500)) ([f32fbb6](https://github.com/GetStream/stream-chat-react/commit/f32fbb6a9621e228a97c282ecdef43ef70eef075))
47+
48+
49+
### Features
50+
51+
* add centralized dialog management ([#2489](https://github.com/GetStream/stream-chat-react/issues/2489)) ([8235d45](https://github.com/GetStream/stream-chat-react/commit/8235d45140e5ef4ffdb7f79c7c27fe5ac874f962))
52+
* add ThreadList and ThreadProvider (Threads 2.0) ([#2407](https://github.com/GetStream/stream-chat-react/issues/2407)) ([941707d](https://github.com/GetStream/stream-chat-react/commit/941707db13db1fb28a4feae2216f71f04656f197))
53+
* keep attachments array and remove file and image uploads in MessageInput state ([#2445](https://github.com/GetStream/stream-chat-react/issues/2445)) ([238e801](https://github.com/GetStream/stream-chat-react/commit/238e801f3ecd1997017ad56e7a24b52d81acb1a0))
54+
* remove default timestamp formatting props from DateSeparator, EventComponent, MessageTimestamp ([#2442](https://github.com/GetStream/stream-chat-react/issues/2442)) ([6431954](https://github.com/GetStream/stream-chat-react/commit/64319549249503c0381a8834e17dd3e8befeb953))
55+
* remove fullWidth prop from Thread & hideOnThread prop from Window ([#2450](https://github.com/GetStream/stream-chat-react/issues/2450)) ([32c8fc0](https://github.com/GetStream/stream-chat-react/commit/32c8fc08d3b6798cf0c9717200724b4b78a82e56))
56+
* remove legacy style components ([#2394](https://github.com/GetStream/stream-chat-react/issues/2394)) ([7bf63ae](https://github.com/GetStream/stream-chat-react/commit/7bf63ae79fa6ad508407647dfec9abbc365a576f))
57+
58+
59+
### Chores
60+
61+
* **deps:** bump @stream-io/stream-chat-css to version 5.0.0 ([9580a3f](https://github.com/GetStream/stream-chat-react/commit/9580a3f78f1b1a8e4e0037bef4035b89fb95267f))
62+
* **deps:** bump @stream-io/stream-chat-css to version 5.0.0-rc.1nvm ([e9cf42f](https://github.com/GetStream/stream-chat-react/commit/e9cf42f242de23494267dc7187fa017fa32d3be4))
63+
* **deps:** bump stream-chat to version 8.40.8 ([#2510](https://github.com/GetStream/stream-chat-react/issues/2510)) ([5cc7a09](https://github.com/GetStream/stream-chat-react/commit/5cc7a090a41dc1289fa07bcc039537d2816d52e0))
64+
* **deps:** remove unused isomorphic-ws from dependencies ([853bd8b](https://github.com/GetStream/stream-chat-react/commit/853bd8bdcb61f50362c0f1183190146c5bcac103))
65+
* **deps:** upgrade @stream-io/stream-chat-css to v5.0.0-rc.4 ([#2492](https://github.com/GetStream/stream-chat-react/issues/2492)) ([6e30cb5](https://github.com/GetStream/stream-chat-react/commit/6e30cb5300afad39ef2ff4d44b6dc69a247317e4))
66+
* **deps:** upgrade @stream-io/stream-chat-css to v5.0.0-rc.5 ([#2495](https://github.com/GetStream/stream-chat-react/issues/2495)) ([2b8fa32](https://github.com/GetStream/stream-chat-react/commit/2b8fa3220e7875c67eebbab2e0a3430c45d60c72))
67+
168
## [12.0.0-rc.15](https://github.com/GetStream/stream-chat-react/compare/v12.0.0-rc.14...v12.0.0-rc.15) (2024-09-16)
269

370

0 commit comments

Comments
 (0)