stream-chat-react 10.4.1 → 10.5.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2296 -0
- package/dist/assets/assets/EmojiOneColor.woff2 +0 -0
- package/dist/assets/assets/NotoColorEmoji-flags.woff2 +0 -0
- package/dist/assets/assets/Poweredby_100px-White_VertText.png +0 -0
- package/dist/assets/assets/str-chat__reaction-list-sprite@1x.png +0 -0
- package/dist/assets/assets/str-chat__reaction-list-sprite@2x.png +0 -0
- package/dist/assets/assets/str-chat__reaction-list-sprite@3x.png +0 -0
- package/dist/browser.full-bundle.js +78 -28
- package/dist/browser.full-bundle.js.map +1 -1
- package/dist/browser.full-bundle.min.js +4 -4
- package/dist/browser.full-bundle.min.js.map +1 -1
- package/dist/components/Channel/Channel.d.ts.map +1 -1
- package/dist/components/Channel/Channel.js +4 -0
- package/dist/components/Channel/channelState.d.ts +167 -1
- package/dist/components/Channel/channelState.d.ts.map +1 -1
- package/dist/components/Message/MessageSimple.d.ts.map +1 -1
- package/dist/components/Message/MessageSimple.js +7 -1
- package/dist/components/Message/MessageText.js +1 -1
- package/dist/components/MessageInput/hooks/useMessageInputState.d.ts.map +1 -1
- package/dist/components/MessageInput/hooks/useSubmitHandler.d.ts.map +1 -1
- package/dist/components/MessageInput/hooks/useSubmitHandler.js +69 -28
- package/dist/context/ChannelActionContext.d.ts +2 -1
- package/dist/context/ChannelActionContext.d.ts.map +1 -1
- package/dist/context/ChannelStateContext.d.ts +14 -1
- package/dist/context/ChannelStateContext.d.ts.map +1 -1
- package/dist/css/index.css +1 -1
- package/dist/css/index.css.map +1 -1
- package/dist/css/v2/index.css +5478 -1
- package/dist/css/v2/index.css.map +1 -1
- package/dist/css/v2/index.layout.css +1 -1
- package/dist/css/v2/index.layout.css.map +1 -1
- package/dist/index.cjs.js +78 -28
- package/dist/index.cjs.js.map +1 -1
- package/dist/scss/Attachment.scss +20 -45
- package/dist/scss/Audio.scss +0 -1
- package/dist/scss/ChannelList.scss +0 -14
- package/dist/scss/ChannelSearch.scss +8 -8
- package/dist/scss/Message.scss +41 -26
- package/dist/scss/MessageCommerce.scss +1 -1
- package/dist/scss/Thread.scss +2 -39
- package/dist/scss/VirtualMessage.scss +6 -2
- package/dist/scss/v2/AttachmentList/AttachmentList-layout.scss +18 -13
- package/dist/scss/v2/ChannelList/ChannelList-layout.scss +0 -14
- package/dist/scss/v2/ChannelSearch/ChannelSearch-layout.scss +51 -68
- package/dist/scss/v2/ChannelSearch/ChannelSearch-theme.scss +0 -48
- package/dist/scss/v2/MessageList/MessageList-layout.scss +4 -1
- package/dist/scss/v2/MessageList/VirtualizedMessageList-layout.scss +0 -21
- package/dist/scss/v2/MessageList/VirtualizedMessageList-theme.scss +0 -9
- package/dist/scss/v2/Notification/NotificationList-theme.scss +2 -2
- package/dist/scss/v2/Tooltip/Tooltip-layout.scss +1 -1
- package/dist/scss/v2/_utils.scss +8 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,2296 @@
|
|
|
1
|
+
# [10.4.0](https://github.com/GetStream/stream-chat-react/compare/v10.3.1...v10.4.0) (2022-11-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove props spreading on React.Fragment (dragAndDropWindow) ([#1835](https://github.com/GetStream/stream-chat-react/issues/1835)) ([40c799a](https://github.com/GetStream/stream-chat-react/commit/40c799a9ed863dba9da1207b32966fe16b00349b))
|
|
7
|
+
* MessageSimple to apply renderText function from properties (#1824) ([7133b33](https://github.com/GetStream/stream-chat-react/pull/1824/commits/7133b331a336a1fd258038fe0de8b1bf7edc8ff6))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* export QuotedMessage component ([#1823](https://github.com/GetStream/stream-chat-react/issues/1823)) ([1850d30](https://github.com/GetStream/stream-chat-react/commit/1850d30306789b7cf220da373d5bea50697c5f3f))
|
|
13
|
+
* added remark-gfm plugin (#1824) ([69a64c2](https://github.com/GetStream/stream-chat-react/pull/1824/commits/69a64c2fbc6935d69adb644167d50decf95faf11))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Performance Updates
|
|
17
|
+
|
|
18
|
+
* upgrade react-markdown, update renderText function, adjust types (#1824) ([6afe663](https://github.com/GetStream/stream-chat-react/pull/1824/commits/6afe663e3c2d59de2c7d364fd5d89d0d65521e87))
|
|
19
|
+
|
|
20
|
+
## [10.3.1](https://github.com/GetStream/stream-chat-react/compare/v10.3.0...v10.3.1) (2022-10-13)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* add stream-chat@8.x.x to peerDependencies ([#1814](https://github.com/GetStream/stream-chat-react/issues/1814)) ([04bff7d](https://github.com/GetStream/stream-chat-react/commit/04bff7d28ae31ba2d4ba33937f132c92ca777671))
|
|
26
|
+
|
|
27
|
+
# [10.3.0](https://github.com/GetStream/stream-chat-react/compare/v10.2.0...v10.3.0) (2022-10-11)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* replace use of channel config with channelCapabilities to derive permission flags ([#1807](https://github.com/GetStream/stream-chat-react/issues/1807)) ([1143117](https://github.com/GetStream/stream-chat-react/commit/11431176f042dbf3438162770127b085183c613f))
|
|
33
|
+
* unify paginator interface ([#1803](https://github.com/GetStream/stream-chat-react/issues/1803)) ([d65b7b9](https://github.com/GetStream/stream-chat-react/commit/d65b7b9c27bf41313390c18e4ddb155e080c463c)), closes [#1801](https://github.com/GetStream/stream-chat-react/issues/1801)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* add popper tooltip to SimpleReactionList items ([#1801](https://github.com/GetStream/stream-chat-react/issues/1801)) ([478f0f2](https://github.com/GetStream/stream-chat-react/commit/478f0f209a1e17db6ee1f61a945b22f763d02fb3))
|
|
39
|
+
|
|
40
|
+
# [10.2.0](https://github.com/GetStream/stream-chat-react/compare/v10.1.2...v10.2.0) (2022-10-04)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Bug Fixes
|
|
44
|
+
|
|
45
|
+
* add image attachment height from CSS ([f5a9729](https://github.com/GetStream/stream-chat-react/commit/f5a9729292e6d42042e02f5b3ca46efa98e5615e))
|
|
46
|
+
* display messages in virtualized thread (theme v2) ([#1799](https://github.com/GetStream/stream-chat-react/issues/1799)) ([9c1a16f](https://github.com/GetStream/stream-chat-react/commit/9c1a16f196bafb7da858edf48370e5240e635108))
|
|
47
|
+
* example app build error ([5430213](https://github.com/GetStream/stream-chat-react/commit/54302138791ea4d98c7d480be39fb778a207230e))
|
|
48
|
+
* keep configuration parameter shouldGenerateVideoThumbnail in hook dep array ([50edd8b](https://github.com/GetStream/stream-chat-react/commit/50edd8b9abc562f51cf341397007a6d1ebf2f753))
|
|
49
|
+
* refresh virtualizedmessagelist after sizing has been set ([afea3d7](https://github.com/GetStream/stream-chat-react/commit/afea3d712b1d90684c780c37996ecbc5d2211407))
|
|
50
|
+
* replace Infinity in calc statements as browser support isn't great ([ebf89da](https://github.com/GetStream/stream-chat-react/commit/ebf89da53924461a5ac24acf603b65837ae5924d))
|
|
51
|
+
* update attachment configuration if attachment changed ([a6295dd](https://github.com/GetStream/stream-chat-react/commit/a6295dd47eaabfa62275f17b9c7985aa4e0f8d56))
|
|
52
|
+
* use useLayoutEffect for image and video height setting ([386fae7](https://github.com/GetStream/stream-chat-react/commit/386fae707e20c97db00f480776df83d2326aaa1a))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Features
|
|
56
|
+
|
|
57
|
+
* check that attachment height style is available before using max-height ([79f6f1a](https://github.com/GetStream/stream-chat-react/commit/79f6f1a0e010215b9f0ea2072641c12f7222892a))
|
|
58
|
+
* integrate new CDN capabilities ([1520a34](https://github.com/GetStream/stream-chat-react/commit/1520a34f27f6a3a3cf81e4ec3a7074f52f86053e))
|
|
59
|
+
* update stream-chat-css version ([03166a9](https://github.com/GetStream/stream-chat-react/commit/03166a969960b81fe3d61b1a9e8d126df4e8a1dd))
|
|
60
|
+
* use video thumbnails returned by backend ([f68c8b1](https://github.com/GetStream/stream-chat-react/commit/f68c8b195c66708b8fc28686477bbfb61b7556ec))
|
|
61
|
+
|
|
62
|
+
## [10.1.2](https://github.com/GetStream/stream-chat-react/compare/v10.1.1...v10.1.2) (2022-09-30)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### Bug Fixes
|
|
66
|
+
|
|
67
|
+
* export all necessary components ([#1785](https://github.com/GetStream/stream-chat-react/issues/1785)) ([075f703](https://github.com/GetStream/stream-chat-react/commit/075f70389feb62f8638dbed0d1fd244f86829eb1))
|
|
68
|
+
* update pinnedMessages context property on pin/unpin message ([#1784](https://github.com/GetStream/stream-chat-react/issues/1784)) ([15128ab](https://github.com/GetStream/stream-chat-react/commit/15128ab5f74e4f068bf6443c34eec8baf18f8453))
|
|
69
|
+
|
|
70
|
+
## [10.1.1](https://github.com/GetStream/stream-chat-react/compare/v10.1.0...v10.1.1) (2022-09-20)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
### Bug Fixes
|
|
74
|
+
|
|
75
|
+
* edge case of prepend count not being reset when jumping ([#1765](https://github.com/GetStream/stream-chat-react/issues/1765)) ([18ba8f8](https://github.com/GetStream/stream-chat-react/commit/18ba8f83261ec8157651721404906e0f00c92fd4))
|
|
76
|
+
|
|
77
|
+
# [10.1.0](https://github.com/GetStream/stream-chat-react/compare/v10.0.2...v10.1.0) (2022-09-19)
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
### Bug Fixes
|
|
81
|
+
|
|
82
|
+
* **VirtualizedMessageList:** use memoized values as hook dependencies directly ([#1761](https://github.com/GetStream/stream-chat-react/issues/1761)) ([41d1d67](https://github.com/GetStream/stream-chat-react/commit/41d1d67e00dbbf7bd94a8bfa384df400aa0d62c4))
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
### Features
|
|
86
|
+
|
|
87
|
+
* provide close callback to app menu ([#1754](https://github.com/GetStream/stream-chat-react/issues/1754)) ([5202a5f](https://github.com/GetStream/stream-chat-react/commit/5202a5f5512ad72cd0dbcb974092d15bb675f826))
|
|
88
|
+
|
|
89
|
+
## [10.0.2](https://github.com/GetStream/stream-chat-react/compare/v10.0.1...v10.0.2) (2022-09-14)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### Bug Fixes
|
|
93
|
+
|
|
94
|
+
* **ChannelList:** update class names order for theming variables ([#1747](https://github.com/GetStream/stream-chat-react/issues/1747)) ([80ec36e](https://github.com/GetStream/stream-chat-react/commit/80ec36e44e2f383c7eea46ce70aaf719e4d5c43a))
|
|
95
|
+
* play video in attachment card theme v1 ([#1748](https://github.com/GetStream/stream-chat-react/issues/1748)) ([cd31d19](https://github.com/GetStream/stream-chat-react/commit/cd31d19ec90b784942821301a4164c0bac40a7f2))
|
|
96
|
+
* **Textarea:** prevent caret movement on suggestion list item select ([#1732](https://github.com/GetStream/stream-chat-react/issues/1732)) ([be44762](https://github.com/GetStream/stream-chat-react/commit/be447621cfb118dcefa6d27a6d6ff2b26977e177))
|
|
97
|
+
|
|
98
|
+
## [10.0.1](https://github.com/GetStream/stream-chat-react/compare/v10.0.0...v10.0.1) (2022-09-12)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
### Bug Fixes
|
|
102
|
+
|
|
103
|
+
* remove useId from LoadingIndicatorIcon ([#1744](https://github.com/GetStream/stream-chat-react/issues/1744)) ([14bfeb6](https://github.com/GetStream/stream-chat-react/commit/14bfeb6c5f5c90f8fea1cb1f3e1bb67dce11ecf6))
|
|
104
|
+
|
|
105
|
+
# [10.0.0](https://github.com/GetStream/stream-chat-react/compare/v9.5.1...v10.0.0) (2022-09-09)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
### Bug Fixes
|
|
109
|
+
|
|
110
|
+
* add missing class str-chat__message-actions-list-item-button to CustomMessageActions root ([be16e40](https://github.com/GetStream/stream-chat-react/commit/be16e40613f8135ffac7b4b3b0e54dde34952f45))
|
|
111
|
+
* add missing getChannels callback dependency "searching" ([a3307f7](https://github.com/GetStream/stream-chat-react/commit/a3307f73a2e133586b64f9adce3c3fa7e721cba9))
|
|
112
|
+
* add str-chat__message--other class to MessageDeleted ([25f3190](https://github.com/GetStream/stream-chat-react/commit/25f3190cab15e190f13bcd67ad6b4776f5e5addc))
|
|
113
|
+
* **Card:** prefer title_link over og_scrape_url ([843990e](https://github.com/GetStream/stream-chat-react/commit/843990e034a1dcccac0ed17a5f3c86ff73200301))
|
|
114
|
+
* do not generate class names to contain string 'undefined', do not pass Media prop to Card ([40342fe](https://github.com/GetStream/stream-chat-react/commit/40342fe5ef4e78a228e653cda25a6cb08600ba7b))
|
|
115
|
+
* **EditMessageForm:** remove circular dependency ([6218a65](https://github.com/GetStream/stream-chat-react/commit/6218a651cbcd5df0a8f10dbf7874ee1abe1c2278))
|
|
116
|
+
* exit with non-zero status code if failed to provide args to merge-stream-chat-css-docs.sh ([a4719b9](https://github.com/GetStream/stream-chat-react/commit/a4719b9168ac3e34de88b2aa112eda338017f096))
|
|
117
|
+
* File attachment UI in theme-v1 ([0a80bef](https://github.com/GetStream/stream-chat-react/commit/0a80bef1948559ed10f1f7d2fa0bc542a727a4d9))
|
|
118
|
+
* File attachment UI in theme-v1 ([9604ca6](https://github.com/GetStream/stream-chat-react/commit/9604ca6f79fcd74d87c019352c8e5a155b00ab59))
|
|
119
|
+
* **FilePreviewItem:** add file type for correct file icons ([6e6fce5](https://github.com/GetStream/stream-chat-react/commit/6e6fce5cba110bcf92cc365219d038355879ce37))
|
|
120
|
+
* forward SearchInput prop to SearchBar ([16fc8f8](https://github.com/GetStream/stream-chat-react/commit/16fc8f8278cff7b2fe60dadf026307bdb2d0aeb7))
|
|
121
|
+
* improve scrollToBottom with image attachments ([be8bb7a](https://github.com/GetStream/stream-chat-react/commit/be8bb7ae4a986cb6556674c1bec896c5539bb822))
|
|
122
|
+
* **MessageInput:** add container className ([a5e7908](https://github.com/GetStream/stream-chat-react/commit/a5e7908e0e7d9e86cfa0d82b52b274ee75ac3d65))
|
|
123
|
+
* **MessageInputFlat:** send button adjustments ([f456704](https://github.com/GetStream/stream-chat-react/commit/f456704a1b48a87612cc94b5bf0015a382e16783))
|
|
124
|
+
* **MessageInput:** remove useId, add quotedMessage patch ([64e07d3](https://github.com/GetStream/stream-chat-react/commit/64e07d36a8589c2ceb5344b7c23b808808580a39))
|
|
125
|
+
* **MessageInput:** update dropzone markup ([974802b](https://github.com/GetStream/stream-chat-react/commit/974802bebee8d0128772031e719868d9bfb4f797))
|
|
126
|
+
* **MessageList:** prevent redundant calls to scroll to bottom, don't use ResizeObserver ([363676e](https://github.com/GetStream/stream-chat-react/commit/363676ea91a31da1991504233add53e05f500581))
|
|
127
|
+
* **MessageStatus:** add V2 TooltipContainer component "shim" ([dcfbbfb](https://github.com/GetStream/stream-chat-react/commit/dcfbbfbc0d626df23f7e7cf8b53fab059fedbecd))
|
|
128
|
+
* move card caption to card content and rename to source link ([c44bcd7](https://github.com/GetStream/stream-chat-react/commit/c44bcd771ce5fd677bf27fd3949c1d503941495f))
|
|
129
|
+
* **QuotedMessagePreview:** use themingVersion instead of PreviewHeader property ([4f79b07](https://github.com/GetStream/stream-chat-react/commit/4f79b07d840c332ca14fc38fc5dd1dee43a4f1dd))
|
|
130
|
+
* reduce mount/unmount of image attachments ([34082a4](https://github.com/GetStream/stream-chat-react/commit/34082a4600281a77c8792a1aad8a3c75b7bcd3c5))
|
|
131
|
+
* Responsive layout ([7551650](https://github.com/GetStream/stream-chat-react/commit/7551650b3541d8dbd221659b0059cfd1e79c73c8))
|
|
132
|
+
* show channel list if search input contains empty string ([b73dd2c](https://github.com/GetStream/stream-chat-react/commit/b73dd2cbec71ff7b423317b0a489d1c6ac03135e))
|
|
133
|
+
* **SuggestionList:** update trigger limits ([2e1f025](https://github.com/GetStream/stream-chat-react/commit/2e1f025e2261be1f1c22239a6f2d06584b767351))
|
|
134
|
+
* sync event listener keyDown type btw the image attachment and gallery modal ([51e7c14](https://github.com/GetStream/stream-chat-react/commit/51e7c14183c08b07792f7afb15606ab9affe9c34))
|
|
135
|
+
* ThemingV2 beta adjustments ([#1728](https://github.com/GetStream/stream-chat-react/issues/1728)) ([785ee11](https://github.com/GetStream/stream-chat-react/commit/785ee11f736ff1e8698e47c5f1ca3e2b8a222bae))
|
|
136
|
+
* **ThemingV2:** MessageInputFlat missing lodash/zipObject ([#1721](https://github.com/GetStream/stream-chat-react/issues/1721)) ([dd8a457](https://github.com/GetStream/stream-chat-react/commit/dd8a4576483d114d1c8f0f6c9bb383896d926a97))
|
|
137
|
+
* **TypingIndicator:** adjust position of the indicator ([f5db199](https://github.com/GetStream/stream-chat-react/commit/f5db199593806e2f5ec46c742765d41f6c128547))
|
|
138
|
+
* **TypingIndicator:** use MessageListMainPanel to position the indicator ([865cbc8](https://github.com/GetStream/stream-chat-react/commit/865cbc8f2e0e600307e912b8d888441de3f9a1ac))
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
* Merge pull request #1697 from GetStream/theming-v2-user-testing ([2c133ad](https://github.com/GetStream/stream-chat-react/commit/2c133ad2a511773c0381d1edd9dbd7fe892e485e)), closes [#1697](https://github.com/GetStream/stream-chat-react/issues/1697)
|
|
142
|
+
* Remove useMobilePress and useBreakpoint hooks (#1648) ([430bf24](https://github.com/GetStream/stream-chat-react/commit/430bf24db033c7a9010f259dc5fc326b1c768206)), closes [#1648](https://github.com/GetStream/stream-chat-react/issues/1648)
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
### Features
|
|
146
|
+
|
|
147
|
+
* adapt MessageOptions to theming v2 ([23c2d93](https://github.com/GetStream/stream-chat-react/commit/23c2d93cc2452f5711625a5a198d01d1a2d9d7c0))
|
|
148
|
+
* adapt MessageStatus to theming v2 ([a5b0fae](https://github.com/GetStream/stream-chat-react/commit/a5b0fae589ae72eff24436ec06d49d16aad22106))
|
|
149
|
+
* add "str-chat__message--error-message" class to message error div ([c4f7520](https://github.com/GetStream/stream-chat-react/commit/c4f7520aa0a113547a1f44834dcf9636df42fc00))
|
|
150
|
+
* add Attachment icons for theming v2 ([97e8047](https://github.com/GetStream/stream-chat-react/commit/97e8047651b788d5eb588da99c9e7e0c67657873))
|
|
151
|
+
* add Card component for theming v2 ([5f5341f](https://github.com/GetStream/stream-chat-react/commit/5f5341ff112658c75675cbf2a77b76aa80f330a3))
|
|
152
|
+
* add class "str-chat__message-sender-avatar" to Avatar root to display it for sender only ([ecd0b4b](https://github.com/GetStream/stream-chat-react/commit/ecd0b4b255023d3f665dfebb651ea69e5b5885a2))
|
|
153
|
+
* add class str-chat__message-list-scroll to virtuoso root element ([7d2284e](https://github.com/GetStream/stream-chat-react/commit/7d2284ea0dbc9342d1b98247980b23b83aa80472))
|
|
154
|
+
* add common IconProps type ([3ff89bb](https://github.com/GetStream/stream-chat-react/commit/3ff89bb75a7204e0805e88ee61988a172932a394))
|
|
155
|
+
* add FileAttachment component for theming v2 ([52acd80](https://github.com/GetStream/stream-chat-react/commit/52acd80b6b7ccd939aae357b0019f1b99975f585))
|
|
156
|
+
* add group styles to virtualized message list items ([ff2044e](https://github.com/GetStream/stream-chat-react/commit/ff2044e7414bb57644767d3288d96cb76594646d))
|
|
157
|
+
* add Message icons for theming v2 - MessageDeliveredIcon, MessageErrorIcon ([9ff9034](https://github.com/GetStream/stream-chat-react/commit/9ff9034aa036a382326bb737fc68cc28664ed856))
|
|
158
|
+
* add ModalGallery to the ComponentContext ([27e149a](https://github.com/GetStream/stream-chat-react/commit/27e149a64ad0cbf05342e8a0132fb03c153da7eb))
|
|
159
|
+
* add realistic giphy attachment generator ([e4c2a7b](https://github.com/GetStream/stream-chat-react/commit/e4c2a7bde291a9fdad51b336abadd233998558ec))
|
|
160
|
+
* add str-chat__simple-message--error-failed class to str-chat__message-inner ([a5f8f94](https://github.com/GetStream/stream-chat-react/commit/a5f8f94a50239fbe8b3bc24c6cdb5c889d613193))
|
|
161
|
+
* add str-chat-react__modal__inner class to str-chat__modal__inner ([0234522](https://github.com/GetStream/stream-chat-react/commit/0234522547d7d68754ae4cc7ba1e1bcfab509626))
|
|
162
|
+
* add svg image class to attachment ([3d0237d](https://github.com/GetStream/stream-chat-react/commit/3d0237d3dad20b4aeb605c8bf78c7165f7469fd8))
|
|
163
|
+
* add theme v2 class to CustomNotification ([037dc89](https://github.com/GetStream/stream-chat-react/commit/037dc89e7dd5035f162da610f02fbb575bd8efcb))
|
|
164
|
+
* add theme v2 to Reaction components, extract shared logic ReactionList & SimpleReactionList ([f6a12d0](https://github.com/GetStream/stream-chat-react/commit/f6a12d0ca7b2fa939ba2a3f4319d2e02ff4daabe))
|
|
165
|
+
* add themeVersion flag to ChatProps & ChatContext ([70cbfcb](https://github.com/GetStream/stream-chat-react/commit/70cbfcbce643b230d8f7c66f615b4cc9bde9b816))
|
|
166
|
+
* add ThemeVersion type to ChatContext ([695f30a](https://github.com/GetStream/stream-chat-react/commit/695f30a0f6137c4c84f07ef8528e97f6666a40db))
|
|
167
|
+
* add theming v2 changes for channel and channel header ([#1632](https://github.com/GetStream/stream-chat-react/issues/1632)) ([3f8fddb](https://github.com/GetStream/stream-chat-react/commit/3f8fddba0ad361fe00c39191324ec18de902ace5))
|
|
168
|
+
* add theming v2 classes to MessageActions elements ([d62e04a](https://github.com/GetStream/stream-chat-react/commit/d62e04a8791338c5a4eef4b44a5a1e210bd6e2d7))
|
|
169
|
+
* add theming v2 classes to QuotedMessage ([8c5d2ff](https://github.com/GetStream/stream-chat-react/commit/8c5d2ffd2517375dcad67a740207f0d76d720d4b))
|
|
170
|
+
* add theming v2 classes to ReactionSelector & ReactionList ([fbedb42](https://github.com/GetStream/stream-chat-react/commit/fbedb42cf565922ac59b64779d70c64ecc074511))
|
|
171
|
+
* add v2 classes to send and cancel button of EditMessageForm ([#1669](https://github.com/GetStream/stream-chat-react/issues/1669)) ([ab75c2c](https://github.com/GetStream/stream-chat-react/commit/ab75c2c8b51a54384d327fc97c0db3151ffaa10c))
|
|
172
|
+
* adjust Audio widget for theming v2 ([f08c6f5](https://github.com/GetStream/stream-chat-react/commit/f08c6f5f3d06d856f2e0946a6fda8475c9c637c8))
|
|
173
|
+
* adjust Gallery and Image widget for theming v2 ([de29a73](https://github.com/GetStream/stream-chat-react/commit/de29a7337d7472ac2a8541632a03f829beecee0c))
|
|
174
|
+
* adjust MessageRepliesCountButton to theming v2, add classes ([5076fd5](https://github.com/GetStream/stream-chat-react/commit/5076fd5163e3394a0881b5fe7c1ac0f1252038fc))
|
|
175
|
+
* adjust MessageSimple for theming v2 ([ebd4bd7](https://github.com/GetStream/stream-chat-react/commit/ebd4bd7758ae0afaf3547e281377f46b3b5dc6ab))
|
|
176
|
+
* allow card image enlargement in modal ([47bf301](https://github.com/GetStream/stream-chat-react/commit/47bf301d75c4ad71bcbbc8f19f2dd28ecd136364))
|
|
177
|
+
* apply theme-v2 to channel list and preview ([#1603](https://github.com/GetStream/stream-chat-react/issues/1603)) ([cc88f1f](https://github.com/GetStream/stream-chat-react/commit/cc88f1fe5937fd837b70281d642db2c8af6e4159))
|
|
178
|
+
* change the close icon for modal and remove Close text ([88a5f7c](https://github.com/GetStream/stream-chat-react/commit/88a5f7c6659e520b629bf735e3dba395c452ac5e))
|
|
179
|
+
* compute the themeVersion value, remove themeVersion Chat prop ([3421087](https://github.com/GetStream/stream-chat-react/commit/34210879aaede5ecf63dc4c85da47440372af058))
|
|
180
|
+
* convert attachment render functions into components, group attachments in order ([aeee078](https://github.com/GetStream/stream-chat-react/commit/aeee07884310043d08594a767b4a9c735bf2cfc6))
|
|
181
|
+
* do not sanitize attachment scrape urls ([aa1624a](https://github.com/GetStream/stream-chat-react/commit/aa1624a619a89351217ad8e5512b4471512db4ba))
|
|
182
|
+
* extract CardAudio and render only uploaded audio data in Audio component ([8027908](https://github.com/GetStream/stream-chat-react/commit/80279083cbd336cf3a8de2a5ce4658e1926aa838))
|
|
183
|
+
* forward flag "disabled" to search input ([2ec25a1](https://github.com/GetStream/stream-chat-react/commit/2ec25a110a0f0c5c16af5a1e7d7bbe0633b095d3))
|
|
184
|
+
* include the parent message in virtualized scrollable message list ([dd63427](https://github.com/GetStream/stream-chat-react/commit/dd63427376460ca964b8560fc6086adbe8049fa2))
|
|
185
|
+
* message is considered top if it has reactions and bottom if the next message has reactions ([638aead](https://github.com/GetStream/stream-chat-react/commit/638aead0c3dd8202653d25351402f73c84f23909))
|
|
186
|
+
* **MessageInput:** add drag & drop upload functionality ([e731b67](https://github.com/GetStream/stream-chat-react/commit/e731b676af8a9b9bfc81e87a0a3b5af506ab4ea0))
|
|
187
|
+
* **ProgressBar:** add "seeking" feature to the progress bar ([0320864](https://github.com/GetStream/stream-chat-react/commit/032086456bb76a36f51fa701faf5f5fb60671548))
|
|
188
|
+
* **ProgressBar:** add onClick property ([4d9d06c](https://github.com/GetStream/stream-chat-react/commit/4d9d06c9fa3aa2426fb61d78dc331856db6a02da))
|
|
189
|
+
* remove avatar from the thread header ([dec0d8d](https://github.com/GetStream/stream-chat-react/commit/dec0d8ddaff5d87d130aa08e90f68b9270da145a))
|
|
190
|
+
* remove deprecated components: MessageCommerce, MessageLivestream, MessageTeam ([9d75fb8](https://github.com/GetStream/stream-chat-react/commit/9d75fb892e20cbdfd705cc94210c2ae12a5f9650))
|
|
191
|
+
* remove translations for deprecated components: MessageCommerce, MessageLivestream, MessageTeam ([e524d0a](https://github.com/GetStream/stream-chat-react/commit/e524d0a986c0f417d3a0c1106d1134856b32d5eb))
|
|
192
|
+
* render cards for each attachment with scraped data ([0a59806](https://github.com/GetStream/stream-chat-react/commit/0a598067bf1dad6a8bb4451ba2338ec3ec0d5d9c))
|
|
193
|
+
* show always ScrollToBottomButton on scroll up and show unread message count ([e554356](https://github.com/GetStream/stream-chat-react/commit/e5543560c8ae52c38980892cdc4bd86c201a9b58))
|
|
194
|
+
* stop using FixedHeightMessage as default VirtualMessage component ([fc67915](https://github.com/GetStream/stream-chat-react/commit/fc67915f36c31c4302b325250376d8de8cb26eb2))
|
|
195
|
+
* switch ladle to v2 ([ecd1cc6](https://github.com/GetStream/stream-chat-react/commit/ecd1cc6e2774ace8daed2e364a44db1d7ba48179))
|
|
196
|
+
* **theming-v2:** add channel search for theme v2 ([#1685](https://github.com/GetStream/stream-chat-react/issues/1685)) ([b735c30](https://github.com/GetStream/stream-chat-react/commit/b735c30817e0113aec58761aa166351fae5691b9)), closes [#1669](https://github.com/GetStream/stream-chat-react/issues/1669)
|
|
197
|
+
* **ThemingV2:** PopperTooltip component ([#1714](https://github.com/GetStream/stream-chat-react/issues/1714)) ([9b6301e](https://github.com/GetStream/stream-chat-react/commit/9b6301e9f7089560ba4cfe694583bd93c1aa10de))
|
|
198
|
+
* **TypingIndicator:** add translations ([f079e26](https://github.com/GetStream/stream-chat-react/commit/f079e26a48942b1a945e2e00e09ae1f2810ae427))
|
|
199
|
+
* update @stream-io/stream-chat-css to v3.0.0 ([c5e392c](https://github.com/GetStream/stream-chat-react/commit/c5e392c9f7daee2ad9467d79a32123f0b8e9c9ce))
|
|
200
|
+
* update message componets with theme v2 designs ([e5192d5](https://github.com/GetStream/stream-chat-react/commit/e5192d59b29625a3b961b4a130f1368de0f8a5d7))
|
|
201
|
+
* use FileIcon with version in UploadsPreview ([4d150b1](https://github.com/GetStream/stream-chat-react/commit/4d150b108ef8bc406800ad7bd7edc1c4f8afcc66))
|
|
202
|
+
* wrap ThreadHead content in a div to enable styling for class str-chat__parent-message-li ([9323edb](https://github.com/GetStream/stream-chat-react/commit/9323edb46aa0bf0c83d23817698756d9cbdf2da4))
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
### Reverts
|
|
206
|
+
|
|
207
|
+
* fix: File attachment UI in theme-v1 ([789dd27](https://github.com/GetStream/stream-chat-react/commit/789dd273b016be42f72baeeb0423f79f380e05eb))
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
### BREAKING CHANGES
|
|
211
|
+
|
|
212
|
+
* ThemingV2 - user testing and adjustments
|
|
213
|
+
* useMobilePress and useBreakpoint hooks are removed.
|
|
214
|
+
|
|
215
|
+
useMobilePress:
|
|
216
|
+
Historically, this hook programmatically handled the user interaction with Message components
|
|
217
|
+
by toggling `mobile-press` class upon user interaction.
|
|
218
|
+
The goal of this operation was to have the message actions displayed on the screen.
|
|
219
|
+
Internally, we found a better solution by offloading this behavior to the browser and
|
|
220
|
+
utilizing `:focus` and `:focus-within` CSS pseudo-selectors.
|
|
221
|
+
|
|
222
|
+
useBreakpoint:
|
|
223
|
+
This hook did hold the "programmatic" responsive UI breakpoints.
|
|
224
|
+
We realized they aren't always in line with our stylesheet breakpoints and possibly with our
|
|
225
|
+
customer's breakpoints. This misalignment was causing some inconsistencies and issues.
|
|
226
|
+
We are removing this hook because we believe defining UI breakpoints should be
|
|
227
|
+
responsibility of our customers.
|
|
228
|
+
|
|
229
|
+
SearchResults:
|
|
230
|
+
During the refactoring, we stumbled upon one side-effect where `popupResults` prop
|
|
231
|
+
wasn't always respected. The fix of it could be a breaking change for a small percentage
|
|
232
|
+
of our customers, but we believe this fix is the right thing to do.
|
|
233
|
+
|
|
234
|
+
# [10.0.0-theming-v2.3](https://github.com/GetStream/stream-chat-react/compare/v10.0.0-theming-v2.2...v10.0.0-theming-v2.3) (2022-09-06)
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
### Bug Fixes
|
|
238
|
+
|
|
239
|
+
* include mdast-util-find-and-replace into our CJS bundle ([#1702](https://github.com/GetStream/stream-chat-react/issues/1702)) ([#1703](https://github.com/GetStream/stream-chat-react/issues/1703)) ([8010889](https://github.com/GetStream/stream-chat-react/commit/801088972032dcfd0374b00aa424a5952b7e72ae)), closes [#1698](https://github.com/GetStream/stream-chat-react/issues/1698)
|
|
240
|
+
* prevent double submissions in korean ([#1720](https://github.com/GetStream/stream-chat-react/issues/1720)) ([5d781d8](https://github.com/GetStream/stream-chat-react/commit/5d781d896cb9153bcf3554d04714215c0bbf5c12))
|
|
241
|
+
* ThemingV2 beta adjustments ([#1728](https://github.com/GetStream/stream-chat-react/issues/1728)) ([785ee11](https://github.com/GetStream/stream-chat-react/commit/785ee11f736ff1e8698e47c5f1ca3e2b8a222bae))
|
|
242
|
+
* **ThemingV2:** MessageInputFlat missing lodash/zipObject ([#1721](https://github.com/GetStream/stream-chat-react/issues/1721)) ([dd8a457](https://github.com/GetStream/stream-chat-react/commit/dd8a4576483d114d1c8f0f6c9bb383896d926a97))
|
|
243
|
+
* **Vite:** add emoji-mart (emoji, picker) re-export ([#1724](https://github.com/GetStream/stream-chat-react/issues/1724)) ([c90cf4b](https://github.com/GetStream/stream-chat-react/commit/c90cf4bfc6b6aa74233fd041200e8180a70604e4))
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
### Features
|
|
247
|
+
|
|
248
|
+
* increase and support overriding jump to message limit ([#1718](https://github.com/GetStream/stream-chat-react/issues/1718)) ([8c720f4](https://github.com/GetStream/stream-chat-react/commit/8c720f41e349f753a126ad5e062c1475e3893771))
|
|
249
|
+
* **ThemingV2:** PopperTooltip component ([#1714](https://github.com/GetStream/stream-chat-react/issues/1714)) ([9b6301e](https://github.com/GetStream/stream-chat-react/commit/9b6301e9f7089560ba4cfe694583bd93c1aa10de))
|
|
250
|
+
|
|
251
|
+
# [10.0.0-theming-v2.2](https://github.com/GetStream/stream-chat-react/compare/v10.0.0-theming-v2.1...v10.0.0-theming-v2.2) (2022-08-22)
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
### Features
|
|
255
|
+
|
|
256
|
+
* add svg image class to attachment ([3d0237d](https://github.com/GetStream/stream-chat-react/commit/3d0237d3dad20b4aeb605c8bf78c7165f7469fd8))
|
|
257
|
+
|
|
258
|
+
# [10.0.0-theming-v2.1](https://github.com/GetStream/stream-chat-react/compare/v9.4.0...v10.0.0-theming-v2.1) (2022-08-18)
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
### Bug Fixes
|
|
262
|
+
|
|
263
|
+
* add str-chat__message--other class to MessageDeleted ([25f3190](https://github.com/GetStream/stream-chat-react/commit/25f3190cab15e190f13bcd67ad6b4776f5e5addc))
|
|
264
|
+
* **Card:** prefer title_link over og_scrape_url ([843990e](https://github.com/GetStream/stream-chat-react/commit/843990e034a1dcccac0ed17a5f3c86ff73200301))
|
|
265
|
+
* do not generate class names to contain string 'undefined', do not pass Media prop to Card ([40342fe](https://github.com/GetStream/stream-chat-react/commit/40342fe5ef4e78a228e653cda25a6cb08600ba7b))
|
|
266
|
+
* **EditMessageForm:** remove circular dependency ([6218a65](https://github.com/GetStream/stream-chat-react/commit/6218a651cbcd5df0a8f10dbf7874ee1abe1c2278))
|
|
267
|
+
* File attachment UI in theme-v1 ([0a80bef](https://github.com/GetStream/stream-chat-react/commit/0a80bef1948559ed10f1f7d2fa0bc542a727a4d9))
|
|
268
|
+
* File attachment UI in theme-v1 ([9604ca6](https://github.com/GetStream/stream-chat-react/commit/9604ca6f79fcd74d87c019352c8e5a155b00ab59))
|
|
269
|
+
* **FilePreviewItem:** add file type for correct file icons ([6e6fce5](https://github.com/GetStream/stream-chat-react/commit/6e6fce5cba110bcf92cc365219d038355879ce37))
|
|
270
|
+
* improve scrollToBottom with image attachments ([be8bb7a](https://github.com/GetStream/stream-chat-react/commit/be8bb7ae4a986cb6556674c1bec896c5539bb822))
|
|
271
|
+
* include mdast-util-find-and-replace into our CJS bundle ([#1702](https://github.com/GetStream/stream-chat-react/issues/1702)) ([61c4eec](https://github.com/GetStream/stream-chat-react/commit/61c4eecf5c03ab36109a94b7afa5f678e99fcc8b)), closes [#1698](https://github.com/GetStream/stream-chat-react/issues/1698)
|
|
272
|
+
* **MessageInput:** add container className ([a5e7908](https://github.com/GetStream/stream-chat-react/commit/a5e7908e0e7d9e86cfa0d82b52b274ee75ac3d65))
|
|
273
|
+
* **MessageInputFlat:** send button adjustments ([f456704](https://github.com/GetStream/stream-chat-react/commit/f456704a1b48a87612cc94b5bf0015a382e16783))
|
|
274
|
+
* **MessageInput:** remove useId, add quotedMessage patch ([64e07d3](https://github.com/GetStream/stream-chat-react/commit/64e07d36a8589c2ceb5344b7c23b808808580a39))
|
|
275
|
+
* **MessageInput:** update dropzone markup ([974802b](https://github.com/GetStream/stream-chat-react/commit/974802bebee8d0128772031e719868d9bfb4f797))
|
|
276
|
+
* **MessageList:** prevent redundant calls to scroll to bottom, don't use ResizeObserver ([363676e](https://github.com/GetStream/stream-chat-react/commit/363676ea91a31da1991504233add53e05f500581))
|
|
277
|
+
* **MessageStatus:** add V2 TooltipContainer component "shim" ([dcfbbfb](https://github.com/GetStream/stream-chat-react/commit/dcfbbfbc0d626df23f7e7cf8b53fab059fedbecd))
|
|
278
|
+
* move card caption to card content and rename to source link ([c44bcd7](https://github.com/GetStream/stream-chat-react/commit/c44bcd771ce5fd677bf27fd3949c1d503941495f))
|
|
279
|
+
* **QuotedMessagePreview:** use themingVersion instead of PreviewHeader property ([4f79b07](https://github.com/GetStream/stream-chat-react/commit/4f79b07d840c332ca14fc38fc5dd1dee43a4f1dd))
|
|
280
|
+
* reduce mount/unmount of image attachments ([34082a4](https://github.com/GetStream/stream-chat-react/commit/34082a4600281a77c8792a1aad8a3c75b7bcd3c5))
|
|
281
|
+
* replace FileReader with URL.createObjectURL ([#1701](https://github.com/GetStream/stream-chat-react/issues/1701)) ([c8a490e](https://github.com/GetStream/stream-chat-react/commit/c8a490ebc53da03c2b0f064de88c0cb634ed2a70))
|
|
282
|
+
* Responsive layout ([7551650](https://github.com/GetStream/stream-chat-react/commit/7551650b3541d8dbd221659b0059cfd1e79c73c8))
|
|
283
|
+
* **SuggestionList:** update trigger limits ([2e1f025](https://github.com/GetStream/stream-chat-react/commit/2e1f025e2261be1f1c22239a6f2d06584b767351))
|
|
284
|
+
* sync event listener keyDown type btw the image attachment and gallery modal ([51e7c14](https://github.com/GetStream/stream-chat-react/commit/51e7c14183c08b07792f7afb15606ab9affe9c34))
|
|
285
|
+
* **TypingIndicator:** adjust position of the indicator ([f5db199](https://github.com/GetStream/stream-chat-react/commit/f5db199593806e2f5ec46c742765d41f6c128547))
|
|
286
|
+
* **TypingIndicator:** use MessageListMainPanel to position the indicator ([865cbc8](https://github.com/GetStream/stream-chat-react/commit/865cbc8f2e0e600307e912b8d888441de3f9a1ac))
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
* Merge pull request #1697 from GetStream/theming-v2-user-testing ([2c133ad](https://github.com/GetStream/stream-chat-react/commit/2c133ad2a511773c0381d1edd9dbd7fe892e485e)), closes [#1697](https://github.com/GetStream/stream-chat-react/issues/1697)
|
|
290
|
+
* Remove useMobilePress and useBreakpoint hooks (#1648) ([430bf24](https://github.com/GetStream/stream-chat-react/commit/430bf24db033c7a9010f259dc5fc326b1c768206)), closes [#1648](https://github.com/GetStream/stream-chat-react/issues/1648)
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
### Features
|
|
294
|
+
|
|
295
|
+
* adapt MessageOptions to theming v2 ([23c2d93](https://github.com/GetStream/stream-chat-react/commit/23c2d93cc2452f5711625a5a198d01d1a2d9d7c0))
|
|
296
|
+
* adapt MessageStatus to theming v2 ([a5b0fae](https://github.com/GetStream/stream-chat-react/commit/a5b0fae589ae72eff24436ec06d49d16aad22106))
|
|
297
|
+
* add "str-chat__message--error-message" class to message error div ([c4f7520](https://github.com/GetStream/stream-chat-react/commit/c4f7520aa0a113547a1f44834dcf9636df42fc00))
|
|
298
|
+
* add Attachment icons for theming v2 ([97e8047](https://github.com/GetStream/stream-chat-react/commit/97e8047651b788d5eb588da99c9e7e0c67657873))
|
|
299
|
+
* add Card component for theming v2 ([5f5341f](https://github.com/GetStream/stream-chat-react/commit/5f5341ff112658c75675cbf2a77b76aa80f330a3))
|
|
300
|
+
* add class "str-chat__message-sender-avatar" to Avatar root to display it for sender only ([ecd0b4b](https://github.com/GetStream/stream-chat-react/commit/ecd0b4b255023d3f665dfebb651ea69e5b5885a2))
|
|
301
|
+
* add class str-chat__message-list-scroll to virtuoso root element ([7d2284e](https://github.com/GetStream/stream-chat-react/commit/7d2284ea0dbc9342d1b98247980b23b83aa80472))
|
|
302
|
+
* add common IconProps type ([3ff89bb](https://github.com/GetStream/stream-chat-react/commit/3ff89bb75a7204e0805e88ee61988a172932a394))
|
|
303
|
+
* add FileAttachment component for theming v2 ([52acd80](https://github.com/GetStream/stream-chat-react/commit/52acd80b6b7ccd939aae357b0019f1b99975f585))
|
|
304
|
+
* add group styles to virtualized message list items ([ff2044e](https://github.com/GetStream/stream-chat-react/commit/ff2044e7414bb57644767d3288d96cb76594646d))
|
|
305
|
+
* add Message icons for theming v2 - MessageDeliveredIcon, MessageErrorIcon ([9ff9034](https://github.com/GetStream/stream-chat-react/commit/9ff9034aa036a382326bb737fc68cc28664ed856))
|
|
306
|
+
* add ModalGallery to the ComponentContext ([27e149a](https://github.com/GetStream/stream-chat-react/commit/27e149a64ad0cbf05342e8a0132fb03c153da7eb))
|
|
307
|
+
* add realistic giphy attachment generator ([e4c2a7b](https://github.com/GetStream/stream-chat-react/commit/e4c2a7bde291a9fdad51b336abadd233998558ec))
|
|
308
|
+
* add str-chat__simple-message--error-failed class to str-chat__message-inner ([a5f8f94](https://github.com/GetStream/stream-chat-react/commit/a5f8f94a50239fbe8b3bc24c6cdb5c889d613193))
|
|
309
|
+
* add str-chat-react__modal__inner class to str-chat__modal__inner ([0234522](https://github.com/GetStream/stream-chat-react/commit/0234522547d7d68754ae4cc7ba1e1bcfab509626))
|
|
310
|
+
* add theme v2 class to CustomNotification ([037dc89](https://github.com/GetStream/stream-chat-react/commit/037dc89e7dd5035f162da610f02fbb575bd8efcb))
|
|
311
|
+
* add theme v2 to Reaction components, extract shared logic ReactionList & SimpleReactionList ([f6a12d0](https://github.com/GetStream/stream-chat-react/commit/f6a12d0ca7b2fa939ba2a3f4319d2e02ff4daabe))
|
|
312
|
+
* add themeVersion flag to ChatProps & ChatContext ([70cbfcb](https://github.com/GetStream/stream-chat-react/commit/70cbfcbce643b230d8f7c66f615b4cc9bde9b816))
|
|
313
|
+
* add ThemeVersion type to ChatContext ([695f30a](https://github.com/GetStream/stream-chat-react/commit/695f30a0f6137c4c84f07ef8528e97f6666a40db))
|
|
314
|
+
* add theming v2 changes for channel and channel header ([#1632](https://github.com/GetStream/stream-chat-react/issues/1632)) ([3f8fddb](https://github.com/GetStream/stream-chat-react/commit/3f8fddba0ad361fe00c39191324ec18de902ace5))
|
|
315
|
+
* add theming v2 classes to MessageActions elements ([d62e04a](https://github.com/GetStream/stream-chat-react/commit/d62e04a8791338c5a4eef4b44a5a1e210bd6e2d7))
|
|
316
|
+
* add theming v2 classes to QuotedMessage ([8c5d2ff](https://github.com/GetStream/stream-chat-react/commit/8c5d2ffd2517375dcad67a740207f0d76d720d4b))
|
|
317
|
+
* add theming v2 classes to ReactionSelector & ReactionList ([fbedb42](https://github.com/GetStream/stream-chat-react/commit/fbedb42cf565922ac59b64779d70c64ecc074511))
|
|
318
|
+
* add v2 classes to send and cancel button of EditMessageForm ([#1669](https://github.com/GetStream/stream-chat-react/issues/1669)) ([ab75c2c](https://github.com/GetStream/stream-chat-react/commit/ab75c2c8b51a54384d327fc97c0db3151ffaa10c))
|
|
319
|
+
* adjust Audio widget for theming v2 ([f08c6f5](https://github.com/GetStream/stream-chat-react/commit/f08c6f5f3d06d856f2e0946a6fda8475c9c637c8))
|
|
320
|
+
* adjust Gallery and Image widget for theming v2 ([de29a73](https://github.com/GetStream/stream-chat-react/commit/de29a7337d7472ac2a8541632a03f829beecee0c))
|
|
321
|
+
* adjust MessageRepliesCountButton to theming v2, add classes ([5076fd5](https://github.com/GetStream/stream-chat-react/commit/5076fd5163e3394a0881b5fe7c1ac0f1252038fc))
|
|
322
|
+
* adjust MessageSimple for theming v2 ([ebd4bd7](https://github.com/GetStream/stream-chat-react/commit/ebd4bd7758ae0afaf3547e281377f46b3b5dc6ab))
|
|
323
|
+
* allow card image enlargement in modal ([47bf301](https://github.com/GetStream/stream-chat-react/commit/47bf301d75c4ad71bcbbc8f19f2dd28ecd136364))
|
|
324
|
+
* apply theme-v2 to channel list and preview ([#1603](https://github.com/GetStream/stream-chat-react/issues/1603)) ([cc88f1f](https://github.com/GetStream/stream-chat-react/commit/cc88f1fe5937fd837b70281d642db2c8af6e4159))
|
|
325
|
+
* change the close icon for modal and remove Close text ([88a5f7c](https://github.com/GetStream/stream-chat-react/commit/88a5f7c6659e520b629bf735e3dba395c452ac5e))
|
|
326
|
+
* compute the themeVersion value, remove themeVersion Chat prop ([3421087](https://github.com/GetStream/stream-chat-react/commit/34210879aaede5ecf63dc4c85da47440372af058))
|
|
327
|
+
* convert attachment render functions into components, group attachments in order ([aeee078](https://github.com/GetStream/stream-chat-react/commit/aeee07884310043d08594a767b4a9c735bf2cfc6))
|
|
328
|
+
* do not sanitize attachment scrape urls ([aa1624a](https://github.com/GetStream/stream-chat-react/commit/aa1624a619a89351217ad8e5512b4471512db4ba))
|
|
329
|
+
* extract CardAudio and render only uploaded audio data in Audio component ([8027908](https://github.com/GetStream/stream-chat-react/commit/80279083cbd336cf3a8de2a5ce4658e1926aa838))
|
|
330
|
+
* include the parent message in virtualized scrollable message list ([dd63427](https://github.com/GetStream/stream-chat-react/commit/dd63427376460ca964b8560fc6086adbe8049fa2))
|
|
331
|
+
* message is considered top if it has reactions and bottom if the next message has reactions ([638aead](https://github.com/GetStream/stream-chat-react/commit/638aead0c3dd8202653d25351402f73c84f23909))
|
|
332
|
+
* **MessageInput:** add drag & drop upload functionality ([e731b67](https://github.com/GetStream/stream-chat-react/commit/e731b676af8a9b9bfc81e87a0a3b5af506ab4ea0))
|
|
333
|
+
* **ProgressBar:** add "seeking" feature to the progress bar ([0320864](https://github.com/GetStream/stream-chat-react/commit/032086456bb76a36f51fa701faf5f5fb60671548))
|
|
334
|
+
* **ProgressBar:** add onClick property ([4d9d06c](https://github.com/GetStream/stream-chat-react/commit/4d9d06c9fa3aa2426fb61d78dc331856db6a02da))
|
|
335
|
+
* remove avatar from the thread header ([dec0d8d](https://github.com/GetStream/stream-chat-react/commit/dec0d8ddaff5d87d130aa08e90f68b9270da145a))
|
|
336
|
+
* remove deprecated components: MessageCommerce, MessageLivestream, MessageTeam ([9d75fb8](https://github.com/GetStream/stream-chat-react/commit/9d75fb892e20cbdfd705cc94210c2ae12a5f9650))
|
|
337
|
+
* remove translations for deprecated components: MessageCommerce, MessageLivestream, MessageTeam ([e524d0a](https://github.com/GetStream/stream-chat-react/commit/e524d0a986c0f417d3a0c1106d1134856b32d5eb))
|
|
338
|
+
* render cards for each attachment with scraped data ([0a59806](https://github.com/GetStream/stream-chat-react/commit/0a598067bf1dad6a8bb4451ba2338ec3ec0d5d9c))
|
|
339
|
+
* show always ScrollToBottomButton on scroll up and show unread message count ([e554356](https://github.com/GetStream/stream-chat-react/commit/e5543560c8ae52c38980892cdc4bd86c201a9b58))
|
|
340
|
+
* stop using FixedHeightMessage as default VirtualMessage component ([fc67915](https://github.com/GetStream/stream-chat-react/commit/fc67915f36c31c4302b325250376d8de8cb26eb2))
|
|
341
|
+
* switch ladle to v2 ([ecd1cc6](https://github.com/GetStream/stream-chat-react/commit/ecd1cc6e2774ace8daed2e364a44db1d7ba48179))
|
|
342
|
+
* **theming-v2:** add channel search for theme v2 ([#1685](https://github.com/GetStream/stream-chat-react/issues/1685)) ([b735c30](https://github.com/GetStream/stream-chat-react/commit/b735c30817e0113aec58761aa166351fae5691b9)), closes [#1669](https://github.com/GetStream/stream-chat-react/issues/1669)
|
|
343
|
+
* **TypingIndicator:** add translations ([f079e26](https://github.com/GetStream/stream-chat-react/commit/f079e26a48942b1a945e2e00e09ae1f2810ae427))
|
|
344
|
+
* update message componets with theme v2 designs ([e5192d5](https://github.com/GetStream/stream-chat-react/commit/e5192d59b29625a3b961b4a130f1368de0f8a5d7))
|
|
345
|
+
* use FileIcon with version in UploadsPreview ([4d150b1](https://github.com/GetStream/stream-chat-react/commit/4d150b108ef8bc406800ad7bd7edc1c4f8afcc66))
|
|
346
|
+
* wrap ThreadHead content in a div to enable styling for class str-chat__parent-message-li ([9323edb](https://github.com/GetStream/stream-chat-react/commit/9323edb46aa0bf0c83d23817698756d9cbdf2da4))
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
### Reverts
|
|
350
|
+
|
|
351
|
+
* fix: File attachment UI in theme-v1 ([789dd27](https://github.com/GetStream/stream-chat-react/commit/789dd273b016be42f72baeeb0423f79f380e05eb))
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
### BREAKING CHANGES
|
|
355
|
+
|
|
356
|
+
* ThemingV2 - user testing and adjustments
|
|
357
|
+
* useMobilePress and useBreakpoint hooks are removed.
|
|
358
|
+
|
|
359
|
+
useMobilePress:
|
|
360
|
+
Historically, this hook programmatically handled the user interaction with Message components
|
|
361
|
+
by toggling `mobile-press` class upon user interaction.
|
|
362
|
+
The goal of this operation was to have the message actions displayed on the screen.
|
|
363
|
+
Internally, we found a better solution by offloading this behavior to the browser and
|
|
364
|
+
utilizing `:focus` and `:focus-within` CSS pseudo-selectors.
|
|
365
|
+
|
|
366
|
+
useBreakpoint:
|
|
367
|
+
This hook did hold the "programmatic" responsive UI breakpoints.
|
|
368
|
+
We realized they aren't always in line with our stylesheet breakpoints and possibly with our
|
|
369
|
+
customer's breakpoints. This misalignment was causing some inconsistencies and issues.
|
|
370
|
+
We are removing this hook because we believe defining UI breakpoints should be
|
|
371
|
+
responsibility of our customers.
|
|
372
|
+
|
|
373
|
+
SearchResults:
|
|
374
|
+
During the refactoring, we stumbled upon one side-effect where `popupResults` prop
|
|
375
|
+
wasn't always respected. The fix of it could be a breaking change for a small percentage
|
|
376
|
+
of our customers, but we believe this fix is the right thing to do.
|
|
377
|
+
|
|
378
|
+
## [9.5.1](https://github.com/GetStream/stream-chat-react/compare/v9.5.0...v9.5.1) (2022-09-08)
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
### Bug Fixes
|
|
382
|
+
|
|
383
|
+
* avoid race condition crash in jumping ([488a1b1](https://github.com/GetStream/stream-chat-react/commit/488a1b1981eeecedb5d26b22dff581f6cf9a5338))
|
|
384
|
+
|
|
385
|
+
# [9.5.0](https://github.com/GetStream/stream-chat-react/compare/v9.4.1...v9.5.0) (2022-08-29)
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
### Bug Fixes
|
|
389
|
+
|
|
390
|
+
* include mdast-util-find-and-replace into our CJS bundle ([#1702](https://github.com/GetStream/stream-chat-react/issues/1702)) ([61c4eec](https://github.com/GetStream/stream-chat-react/commit/61c4eecf5c03ab36109a94b7afa5f678e99fcc8b)), closes [#1698](https://github.com/GetStream/stream-chat-react/issues/1698)
|
|
391
|
+
* prevent double submissions in korean ([#1720](https://github.com/GetStream/stream-chat-react/issues/1720)) ([5d781d8](https://github.com/GetStream/stream-chat-react/commit/5d781d896cb9153bcf3554d04714215c0bbf5c12))
|
|
392
|
+
* replace FileReader with URL.createObjectURL ([#1701](https://github.com/GetStream/stream-chat-react/issues/1701)) ([c8a490e](https://github.com/GetStream/stream-chat-react/commit/c8a490ebc53da03c2b0f064de88c0cb634ed2a70))
|
|
393
|
+
* **Vite:** add emoji-mart (emoji, picker) re-export ([#1724](https://github.com/GetStream/stream-chat-react/issues/1724)) ([c90cf4b](https://github.com/GetStream/stream-chat-react/commit/c90cf4bfc6b6aa74233fd041200e8180a70604e4))
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
### Features
|
|
397
|
+
|
|
398
|
+
* increase and support overriding jump to message limit ([#1718](https://github.com/GetStream/stream-chat-react/issues/1718)) ([8c720f4](https://github.com/GetStream/stream-chat-react/commit/8c720f41e349f753a126ad5e062c1475e3893771))
|
|
399
|
+
|
|
400
|
+
## [9.4.1](https://github.com/GetStream/stream-chat-react/compare/v9.4.0...v9.4.1) (2022-08-04)
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
### Bug Fixes
|
|
404
|
+
|
|
405
|
+
* include mdast-util-find-and-replace into our CJS bundle ([#1702](https://github.com/GetStream/stream-chat-react/issues/1702)) ([#1703](https://github.com/GetStream/stream-chat-react/issues/1703)) ([8010889](https://github.com/GetStream/stream-chat-react/commit/801088972032dcfd0374b00aa424a5952b7e72ae)), closes [#1698](https://github.com/GetStream/stream-chat-react/issues/1698)
|
|
406
|
+
|
|
407
|
+
# [9.4.0](https://github.com/GetStream/stream-chat-react/compare/v9.3.0...v9.4.0) (2022-08-03)
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
### Bug Fixes
|
|
411
|
+
|
|
412
|
+
* detect mentions of users who have email as their name ([#1698](https://github.com/GetStream/stream-chat-react/issues/1698)) ([367b7c4](https://github.com/GetStream/stream-chat-react/commit/367b7c4cb30454140ff113e2b0a2671a14d9d276))
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
### Features
|
|
416
|
+
|
|
417
|
+
* allow to send custom message data when editing a message ([#1696](https://github.com/GetStream/stream-chat-react/issues/1696)) ([05eae28](https://github.com/GetStream/stream-chat-react/commit/05eae28cd04f1605ae3fb1cd5767fa4bbbd067d3))
|
|
418
|
+
|
|
419
|
+
# [9.3.0](https://github.com/GetStream/stream-chat-react/compare/v9.2.0...v9.3.0) (2022-07-29)
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
### Bug Fixes
|
|
423
|
+
|
|
424
|
+
* scroll to bottom on new message notification click after message list pagination ([#1689](https://github.com/GetStream/stream-chat-react/issues/1689)) ([d8f4bc5](https://github.com/GetStream/stream-chat-react/commit/d8f4bc57a602e5deeefeb0c8419658c61c7e695a))
|
|
425
|
+
* update types for suggestions ([#1691](https://github.com/GetStream/stream-chat-react/issues/1691)) ([bb7442c](https://github.com/GetStream/stream-chat-react/commit/bb7442cbf4bb709ac477fc59f0ee35afb60888d5)), closes [#1659](https://github.com/GetStream/stream-chat-react/issues/1659)
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
### Features
|
|
429
|
+
|
|
430
|
+
* **message-status:** extendable user information in read-by tooltip ([#1670](https://github.com/GetStream/stream-chat-react/issues/1670)) ([902029a](https://github.com/GetStream/stream-chat-react/commit/902029a3c9f7a720d0265dcfeb1957b17b8bdc9a))
|
|
431
|
+
|
|
432
|
+
# [9.2.0](https://github.com/GetStream/stream-chat-react/compare/v9.1.5...v9.2.0) (2022-07-26)
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
### Features
|
|
436
|
+
|
|
437
|
+
* add autoscrollToBottom to message context ([#1681](https://github.com/GetStream/stream-chat-react/issues/1681)) ([a616184](https://github.com/GetStream/stream-chat-react/commit/a6161843509c55e9b432f4f66dfb344f0faa8b18))
|
|
438
|
+
|
|
439
|
+
## [9.1.5](https://github.com/GetStream/stream-chat-react/compare/v9.1.4...v9.1.5) (2022-07-15)
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
### Bug Fixes
|
|
443
|
+
|
|
444
|
+
* align user role checks with channel membership, deprecate isModerator, isAdmin, isOwner ([#1666](https://github.com/GetStream/stream-chat-react/issues/1666)) ([31f0916](https://github.com/GetStream/stream-chat-react/commit/31f09168fafe054c102ea85905243a1915fb957d))
|
|
445
|
+
* allow quoting quoted messages ([#1662](https://github.com/GetStream/stream-chat-react/issues/1662)) ([36dbc82](https://github.com/GetStream/stream-chat-react/commit/36dbc82df0c17939f603f6f6c33acb472cd40f9b))
|
|
446
|
+
* **Channel:** allow usage of custom message ID in sendMessage ([#1663](https://github.com/GetStream/stream-chat-react/issues/1663)) ([41bae84](https://github.com/GetStream/stream-chat-react/commit/41bae841568e661339277e0b241be4cbe83b2030))
|
|
447
|
+
* initial load earlier in vml persists the position ([#1640](https://github.com/GetStream/stream-chat-react/issues/1640)) ([dd53d5c](https://github.com/GetStream/stream-chat-react/commit/dd53d5c1fe2707d8807cfec341fbbdd612ff7cfd)), closes [/github.com/petyosi/react-virtuoso/blob/master/e2e/prepend-items.test.ts#L27-L34](https://github.com//github.com/petyosi/react-virtuoso/blob/master/e2e/prepend-items.test.ts/issues/L27-L34)
|
|
448
|
+
|
|
449
|
+
## [9.1.4](https://github.com/GetStream/stream-chat-react/compare/v9.1.3...v9.1.4) (2022-06-22)
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
### Bug Fixes
|
|
453
|
+
|
|
454
|
+
* respect updates to messageActions prop, support messageActions overrides in Thread ([#1634](https://github.com/GetStream/stream-chat-react/issues/1634)) ([aed8e01](https://github.com/GetStream/stream-chat-react/commit/aed8e0159b12f221d8a8716c1998ccff29f5cc73)), closes [#1627](https://github.com/GetStream/stream-chat-react/issues/1627)
|
|
455
|
+
|
|
456
|
+
## [9.1.3](https://github.com/GetStream/stream-chat-react/compare/v9.1.2...v9.1.3) (2022-06-19)
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
### Bug Fixes
|
|
460
|
+
|
|
461
|
+
* correct calculation of scrollback with date separators ([#1628](https://github.com/GetStream/stream-chat-react/issues/1628)) ([88a4d64](https://github.com/GetStream/stream-chat-react/commit/88a4d6413c15b52d394ab338c8348664debfd1a2))
|
|
462
|
+
* upgrade react-player to its latest version ([#1629](https://github.com/GetStream/stream-chat-react/issues/1629)) ([8848700](https://github.com/GetStream/stream-chat-react/commit/88487001de49dceded0bd950f35d527a0c2526e1))
|
|
463
|
+
|
|
464
|
+
## [9.1.2](https://github.com/GetStream/stream-chat-react/compare/v9.1.1...v9.1.2) (2022-06-13)
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
### Bug Fixes
|
|
468
|
+
|
|
469
|
+
* add check if window is defined before using ResizeObserve ([f04e23e](https://github.com/GetStream/stream-chat-react/commit/f04e23e2f07edc2bba7bee85ac297e1a7b920c2b))
|
|
470
|
+
|
|
471
|
+
## [9.1.1](https://github.com/GetStream/stream-chat-react/compare/v9.1.0...v9.1.1) (2022-06-10)
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
### Bug Fixes
|
|
475
|
+
|
|
476
|
+
* calculate jumped-to-message position correctly by keeping the loading indicator mounted ([671375a](https://github.com/GetStream/stream-chat-react/commit/671375ab3ad89b4a4bd011748264f00021fe144b))
|
|
477
|
+
|
|
478
|
+
# [9.1.0](https://github.com/GetStream/stream-chat-react/compare/v9.0.0...v9.1.0) (2022-06-03)
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
### Bug Fixes
|
|
482
|
+
|
|
483
|
+
* filter out OG scraped images from attachments ([#1598](https://github.com/GetStream/stream-chat-react/issues/1598)) ([9d9c8b9](https://github.com/GetStream/stream-chat-react/commit/9d9c8b99339c58eb435dbe57703a991b8c671dd0))
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
### Features
|
|
487
|
+
|
|
488
|
+
* add optional renderChannels prop to ChannelList ([#1572](https://github.com/GetStream/stream-chat-react/issues/1572)) ([8edca9e](https://github.com/GetStream/stream-chat-react/commit/8edca9e64b7494d0900cafa5194186cf3c273cd1))
|
|
489
|
+
* lift channels query state to chat context ([#1606](https://github.com/GetStream/stream-chat-react/issues/1606)) ([ed4febc](https://github.com/GetStream/stream-chat-react/commit/ed4febc864f9a5e476e13a4bbcf434c167f3e8d7))
|
|
490
|
+
* use ResizeObserver to keep Channel scrolled to bottom on page load ([#1608](https://github.com/GetStream/stream-chat-react/issues/1608)) ([c33e155](https://github.com/GetStream/stream-chat-react/commit/c33e1552747ed8a60ffb7da1313451603db07d80))
|
|
491
|
+
|
|
492
|
+
## [9.0.0](https://github.com/GetStream/stream-chat-react/compare/v8.2.0...v9.0.0) (2022-05-17)
|
|
493
|
+
|
|
494
|
+
### Bug Fixes
|
|
495
|
+
|
|
496
|
+
* display textarea defaultValue in MessageInput ([#1570](https://github.com/GetStream/stream-chat-react/issues/1570)) ([516a56b](https://github.com/GetStream/stream-chat-react/commit/516a56b8b8a24739f66c0d7b47c159d6bca7d3be))
|
|
497
|
+
|
|
498
|
+
### Features
|
|
499
|
+
|
|
500
|
+
* **MessageInput:** add shouldSubmit, remove keycodeSubmitKeys ([8e2cddd](https://github.com/GetStream/stream-chat-react/pull/1534/commits/8e2cdddddd256ec1ab77ba2bc7d59a40cfba7b11)), closes [#1530](https://github.com/GetStream/stream-chat-react/issues/1530)
|
|
501
|
+
* add support for React 18 ([#1534](https://github.com/GetStream/stream-chat-react/issues/1534)) ([39cedcb](https://github.com/GetStream/stream-chat-react/commit/39cedcb8d0821e4bb6e8061349ae52132aa32c45))
|
|
502
|
+
|
|
503
|
+
### BREAKING CHANGES
|
|
504
|
+
|
|
505
|
+
* **MessageInput:** property has been fully removed and replaced by the property
|
|
506
|
+
which should handle custom submit "trigger" functionality.
|
|
507
|
+
Both `listener.js` and usage of key codes were outdated and caused unnecessary issues.
|
|
508
|
+
|
|
509
|
+
# [8.2.0](https://github.com/GetStream/stream-chat-react/compare/v8.1.3...v8.2.0) (2022-05-17)
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
### Bug Fixes
|
|
513
|
+
|
|
514
|
+
* display textarea defaultValue in MessageInput ([#1570](https://github.com/GetStream/stream-chat-react/issues/1570)) ([516a56b](https://github.com/GetStream/stream-chat-react/commit/516a56b8b8a24739f66c0d7b47c159d6bca7d3be))
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
### Features
|
|
518
|
+
|
|
519
|
+
* add support for React 18 ([#1534](https://github.com/GetStream/stream-chat-react/issues/1534)) ([39cedcb](https://github.com/GetStream/stream-chat-react/commit/39cedcb8d0821e4bb6e8061349ae52132aa32c45)), closes [#1530](https://github.com/GetStream/stream-chat-react/issues/1530)
|
|
520
|
+
|
|
521
|
+
## [8.1.3](https://github.com/GetStream/stream-chat-react/compare/v8.1.2...v8.1.3) (2022-05-15)
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
### Bug Fixes
|
|
525
|
+
|
|
526
|
+
* do not scroll thread message list when a new message is received ([#1568](https://github.com/GetStream/stream-chat-react/issues/1568)) ([b17c48a](https://github.com/GetStream/stream-chat-react/commit/b17c48ae87176ed8c7f54230ea67934774877210))
|
|
527
|
+
* propagate user update data to UI ([#1566](https://github.com/GetStream/stream-chat-react/issues/1566)) ([3376e4c](https://github.com/GetStream/stream-chat-react/commit/3376e4ca736c0ac722bf7f71a2345e59aedf0fe0))
|
|
528
|
+
|
|
529
|
+
## [8.1.2](https://github.com/GetStream/stream-chat-react/compare/v8.1.1...v8.1.2) (2022-04-27)
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
### Bug Fixes
|
|
533
|
+
|
|
534
|
+
* display overlay "X more" on Gallery only if more images uploaded than displayed ([#1526](https://github.com/GetStream/stream-chat-react/issues/1526)) ([ed47cd1](https://github.com/GetStream/stream-chat-react/commit/ed47cd1e0d2df6b2af72ae33e5c1b2efffec1591))
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
## [8.1.1](https://github.com/GetStream/stream-chat-react/compare/v8.1.0...v8.1.1) (2022-04-18)
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
### Bug Fixes
|
|
541
|
+
|
|
542
|
+
* prevent duplicate message id generation in message list ([#1516](https://github.com/GetStream/stream-chat-react/issues/1516)) ([b381402](https://github.com/GetStream/stream-chat-react/commit/b38140211582e6c80a3e0a8e9b5a6a34cb973f2e))
|
|
543
|
+
* update `stream-chat-js` to version 6.5.0 containing the `markRead` fix, add E2E tests ([#1514](https://github.com/GetStream/stream-chat-react/issues/1514)) ([b8e1084](https://github.com/GetStream/stream-chat-react/commit/b8e10844ba2db8dca898eeadac96c4f641e78432))
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
## [8.1.0](https://github.com/GetStream/stream-chat-react/compare/v8.0.0...v8.1.0) (2022-04-08)
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
### Bug Fixes
|
|
550
|
+
|
|
551
|
+
* adjust links to stories used by add-message e2e tests ([c6dc53a](https://github.com/GetStream/stream-chat-react/commit/c6dc53ae18c0b03905a1f05452bcec6a610a6ca5))
|
|
552
|
+
* autocomplete items clicking works on webkit ([#1494](https://github.com/GetStream/stream-chat-react/issues/1494)) ([4f73f14](https://github.com/GetStream/stream-chat-react/commit/4f73f145b877419a4d745c96f8b0096ac5a52ac3))
|
|
553
|
+
* correct german calendar translation strings ([#1468](https://github.com/GetStream/stream-chat-react/issues/1468)) ([2471d4b](https://github.com/GetStream/stream-chat-react/commit/2471d4bcd227c7c7991d5791bd304409605349ac)), closes [#1467](https://github.com/GetStream/stream-chat-react/issues/1467)
|
|
554
|
+
* fixed connection handling, updated configuration ([0face10](https://github.com/GetStream/stream-chat-react/commit/0face104ba81c3ca6495e63132af003a90228cc9))
|
|
555
|
+
* improve portuguese translations ([5e67a86](https://github.com/GetStream/stream-chat-react/commit/5e67a865a8211956c3a86980cc2896f4e3f059ff))
|
|
556
|
+
* improved German translations ([c4d71b6](https://github.com/GetStream/stream-chat-react/commit/c4d71b6f5b2e07ace0ee7644664ebabff2526138))
|
|
557
|
+
* improved German translations ([a6fe4fb](https://github.com/GetStream/stream-chat-react/commit/a6fe4fbed906c102728bb18f97fee21f978f322a))
|
|
558
|
+
* Slow mode role check and limitations ([a447ed5](https://github.com/GetStream/stream-chat-react/commit/a447ed5b2945e7f669d414ed820c2585bbdd04e9))
|
|
559
|
+
* Update channel preview on connection recovery ([92f81d9](https://github.com/GetStream/stream-chat-react/commit/92f81d9831e6c84501550ee259939d872a2c66a5))
|
|
560
|
+
* Update quoted message preview on message update ([#1503](https://github.com/GetStream/stream-chat-react/issues/1503)) ([f9a0081](https://github.com/GetStream/stream-chat-react/commit/f9a0081af3576f187883f649cf0a1f807b47ee44))
|
|
561
|
+
* update unread counts for each ChannelPreview on WS connection recovery ([b267a65](https://github.com/GetStream/stream-chat-react/commit/b267a65c31ac97ee60d3a2681b26cfc610501a38))
|
|
562
|
+
* Upload preview overflow in thread ([#1495](https://github.com/GetStream/stream-chat-react/issues/1495)) ([518d622](https://github.com/GetStream/stream-chat-react/commit/518d622f8b716a6c622a65816eae16f50e9545e5))
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
### Features
|
|
566
|
+
|
|
567
|
+
* support jump to message ([#1478](https://github.com/GetStream/stream-chat-react/issues/1478)) ([e297ffe](https://github.com/GetStream/stream-chat-react/commit/e297ffed906bd24ba68698cf704f9d08610d1314))
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
## [8.0.0](https://github.com/GetStream/stream-chat-react/releases/tag/v7.0.0) 2022-03-17
|
|
571
|
+
|
|
572
|
+
### Bug Fixes
|
|
573
|
+
|
|
574
|
+
* improve performance of VirtualizedMessageList ([d2f28af](https://github.com/GetStream/stream-chat-react/commit/d2f28af0efc26a029062c36790975d00cdcfde1d))
|
|
575
|
+
* maintain correct reference to values inside doMarkReadRequest ([#1442](https://github.com/GetStream/stream-chat-react/issues/1442)) ([30b79d6](https://github.com/GetStream/stream-chat-react/commit/30b79d6ff8270df1054dec644391eb313ada9dd7)), closes [#1324](https://github.com/GetStream/stream-chat-react/issues/1324)
|
|
576
|
+
* make scrollToLatestMessageOnFocus smarter ([f37b193](https://github.com/GetStream/stream-chat-react/commit/f37b1937ab2f20b95496a79f2b243168a5b13061)), closes [#1415](https://github.com/GetStream/stream-chat-react/issues/1415)
|
|
577
|
+
* move UploadsPreview outside textarea wrapper ([#1454](https://github.com/GetStream/stream-chat-react/issues/1454)) ([8ebbf29](https://github.com/GetStream/stream-chat-react/commit/8ebbf29fa6d3041d6357c2b373b8a71bac21186c))
|
|
578
|
+
* name from StreamChatType to StreamChatGenerics ([653aef3](https://github.com/GetStream/stream-chat-react/commit/653aef3d27078fa9659bb39afea4a06398b882f8))
|
|
579
|
+
* remove obsolete polyfill ([2b13594](https://github.com/GetStream/stream-chat-react/commit/2b13594c42d72e6b7de8ad1a0834579f73e8f949)), closes [#1375](https://github.com/GetStream/stream-chat-react/issues/1375)
|
|
580
|
+
* remove translation warning ([3d951f2](https://github.com/GetStream/stream-chat-react/commit/3d951f27ad550c0efb861f4bcb4f611efaf795e1))
|
|
581
|
+
|
|
582
|
+
### Features
|
|
583
|
+
|
|
584
|
+
* onBlur prop for ChatAutoComplete ([c9897f4](https://github.com/GetStream/stream-chat-react/commit/c9897f422d0d04d606f149965b510bee749e0151)), closes [#1345](https://github.com/GetStream/stream-chat-react/issues/1345)
|
|
585
|
+
* support choosing a giphy version ([0d97fc6](https://github.com/GetStream/stream-chat-react/commit/0d97fc62d4e5f166162e1d375689196305fad420))
|
|
586
|
+
|
|
587
|
+
### ⚠️ BREAKING CHANGES ⚠️
|
|
588
|
+
|
|
589
|
+
* All types now accept a single generic ([help article](https://getstream.io/chat/docs/sdk/react/customization/typescript_and_generics/))
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
## [7.0.0](https://github.com/GetStream/stream-chat-react/releases/tag/v7.0.0) 2022-02-10
|
|
593
|
+
|
|
594
|
+
### ⚠️ BREAKING CHANGES ⚠️
|
|
595
|
+
|
|
596
|
+
- Replace stale `react-images` dependency with `react-image-gallery`, removed `ModalImage` [#1318](https://github.com/GetStream/stream-chat-react/pull/1318)
|
|
597
|
+
- Add support for accessibility through the use of semantic HTML, ARIA attributes. Updates include changing HTML elements to different types as necessary [#1314](https://github.com/GetStream/stream-chat-react/pull/1314) and [#1294](https://github.com/GetStream/stream-chat-react/pull/1294)
|
|
598
|
+
|
|
599
|
+
### Feature
|
|
600
|
+
|
|
601
|
+
* Add support for `QuotedMessages` in a `Thread` [#1356](https://github.com/GetStream/stream-chat-react/pull/1356)
|
|
602
|
+
* Add `wordReplace` prop to `ChatAutoComplete` to override default behavior [#1347](https://github.com/GetStream/stream-chat-react/pull/1347)
|
|
603
|
+
|
|
604
|
+
### Chore
|
|
605
|
+
|
|
606
|
+
* Fix small documentation typo [#1312](https://github.com/GetStream/stream-chat-react/pull/1312)
|
|
607
|
+
* Improve compatibility with NextJS [#1315](https://github.com/GetStream/stream-chat-react/pull/1315)
|
|
608
|
+
* Use the `Avatar` from the `ComponentContext` in `QuotedMessagePreview` [#1311](https://github.com/GetStream/stream-chat-react/pull/1311)
|
|
609
|
+
* Set `ImagePreviewer` to disabled if multiple uploads is not allowed [#1330](https://github.com/GetStream/stream-chat-react/pull/1330)
|
|
610
|
+
* Export `QuotedMessagePreview` component [#1339](https://github.com/GetStream/stream-chat-react/pull/1339)
|
|
611
|
+
* Add guide on how to build a custom list with channel members and have real time updates of their online status [#1350](https://github.com/GetStream/stream-chat-react/pull/1350)
|
|
612
|
+
* Support URLs with encoded components [#1353](https://github.com/GetStream/stream-chat-react/pull/1353)
|
|
613
|
+
* Remove UNSAFE warning from `AutoCompleteTextarea` [#1354](https://github.com/GetStream/stream-chat-react/pull/1354)
|
|
614
|
+
* Add current text to `openMentionsList` method [#1360](https://github.com/GetStream/stream-chat-react/pull/1360)
|
|
615
|
+
* Update to `Window`'s `hideOnThread` prop to handle via CSS [#1363](https://github.com/GetStream/stream-chat-react/pull/1363)
|
|
616
|
+
* Upgrade stream-chat-css dependency to v2.2.1 [#1365](https://github.com/GetStream/stream-chat-react/pull/1365)
|
|
617
|
+
|
|
618
|
+
### Bug
|
|
619
|
+
|
|
620
|
+
* Fix the logic for the `VirtualizedMessageList`'s `firstOfGroup` prop [#1338](https://github.com/GetStream/stream-chat-react/pull/1338)
|
|
621
|
+
* Fix bug where on `channel.updated` event `own_capabilities` and `hidden` values are lost [#1346](https://github.com/GetStream/stream-chat-react/pull/1346)
|
|
622
|
+
* Add a fix so quotes (aka replies) are not still available in message options when quotes are disabled in configuration [#1364](https://github.com/GetStream/stream-chat-react/pull/1364)
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
## [6.12.2](https://github.com/GetStream/stream-chat-react/releases/tag/v6.12.2) 2021-12-09
|
|
626
|
+
|
|
627
|
+
### Feature
|
|
628
|
+
|
|
629
|
+
* Add `closeEmojiPickerOnClick` and added focus to input after Emoji or attachment selection [#1292](https://github.com/GetStream/stream-chat-react/pull/1292)
|
|
630
|
+
|
|
631
|
+
### Chore
|
|
632
|
+
|
|
633
|
+
* Update Japanese and Korean translations [#1296](https://github.com/GetStream/stream-chat-react/pull/1296)
|
|
634
|
+
* Fix broken documentation links [#1300](https://github.com/GetStream/stream-chat-react/pull/1300)
|
|
635
|
+
* Add updated scoped CSS dependency `stream-chat-css` NPM package [#1301](https://github.com/GetStream/stream-chat-react/pull/1301)
|
|
636
|
+
* Upgrade `stream-chat-css` dependency to v1.1.3 [#1306](https://github.com/GetStream/stream-chat-react/pull/1306)
|
|
637
|
+
* Upgrade `react-virtuoso` to improve stability [#1304](https://github.com/GetStream/stream-chat-react/pull/1304)
|
|
638
|
+
* Upgrade `stream-chat` dependency to v4.0.0
|
|
639
|
+
|
|
640
|
+
## [6.12.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.12.0) 2021-11-22
|
|
641
|
+
|
|
642
|
+
### Feature
|
|
643
|
+
|
|
644
|
+
* Add ability to manually open/close mentions list [#1261](https://github.com/GetStream/stream-chat-react/pull/1261)
|
|
645
|
+
* Support custom message group CSS classes [#1287](https://github.com/GetStream/stream-chat-react/pull/1287)
|
|
646
|
+
* Ability to drag and drop files to the entire window [#1283](https://github.com/GetStream/stream-chat-react/pull/1283)
|
|
647
|
+
* Add semantic release [#1293](https://github.com/GetStream/stream-chat-react/pull/1293)
|
|
648
|
+
|
|
649
|
+
### Chore
|
|
650
|
+
|
|
651
|
+
* Render reaction list for frozen channels [#1262](https://github.com/GetStream/stream-chat-react/pull/1262)
|
|
652
|
+
* Remove unsafe props from `Textarea` component [#1263](https://github.com/GetStream/stream-chat-react/pull/1263)
|
|
653
|
+
* Use context `Avatar` in `QuotedMessage` and `TypingIndicator` [#1264](https://github.com/GetStream/stream-chat-react/pull/1264)
|
|
654
|
+
* Pass `setChannels` state hook to list UI component [#1265](https://github.com/GetStream/stream-chat-react/pull/1265)
|
|
655
|
+
* Update user info in messages when subscribed to presence events [#1267](https://github.com/GetStream/stream-chat-react/pull/1267)
|
|
656
|
+
* File and image attachments are now filtered according [to the application settings](https://getstream.io/chat/docs/other-rest/app_setting_overview/#file-uploads) [#1291](https://github.com/GetStream/stream-chat-react/pull/1291)
|
|
657
|
+
* Check for already encoded URLs in a message [#1288](https://github.com/GetStream/stream-chat-react/pull/1288)
|
|
658
|
+
* Set reset state to false in `usePaginatedChannels` [#1289](https://github.com/GetStream/stream-chat-react/pull/1289)
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
* File and Image attachments are now filtered according [to the application settings](https://getstream.io/chat/docs/other-rest/app_setting_overview/#file-uploads) [#1291](https://github.com/GetStream/stream-chat-react/pull/1291)
|
|
662
|
+
* Check for already encoded URLs in a message [#1288](https://github.com/GetStream/stream-chat-react/pull/1288)
|
|
663
|
+
* Set reset state to false in `usePaginatedChannels` [#1289](https://github.com/GetStream/stream-chat-react/pull/1289)
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
## [6.11.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.11.0) 2021-10-28
|
|
667
|
+
|
|
668
|
+
### Feature
|
|
669
|
+
|
|
670
|
+
- Support custom notifications in the `VirtualizedMessageList` component [#1245](https://github.com/GetStream/stream-chat-react/pull/1245)
|
|
671
|
+
|
|
672
|
+
### Chore
|
|
673
|
+
|
|
674
|
+
- Update type definitions for `emoji-mart` and `moment` dependencies [#1254](https://github.com/GetStream/stream-chat-react/pull/1254)
|
|
675
|
+
- Add Vite app to examples directory [#1255](https://github.com/GetStream/stream-chat-react/pull/1255)
|
|
676
|
+
- Upgrade `react-virtuoso` to fix Safari v15 edge case [#1257](https://github.com/GetStream/stream-chat-react/pull/1257)
|
|
677
|
+
- Deprecate the `theme` prop on the `Chat` component [#1258](https://github.com/GetStream/stream-chat-react/pull/1258)
|
|
678
|
+
- Upgrade `mml-react` dependency [#1260](https://github.com/GetStream/stream-chat-react/pull/1260)
|
|
679
|
+
|
|
680
|
+
## [6.10.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.10.0) 2021-10-13
|
|
681
|
+
|
|
682
|
+
### Feature
|
|
683
|
+
|
|
684
|
+
- Export markdown utils functions used within `renderText` [#1228](https://github.com/GetStream/stream-chat-react/pull/1228)
|
|
685
|
+
- Use `own_capabilities` field on `channel` to determine connected user permissions [#1232](https://github.com/GetStream/stream-chat-react/pull/1232)
|
|
686
|
+
- Pass component names to custom context hooks for error tracing [#1238](https://github.com/GetStream/stream-chat-react/pull/1238)
|
|
687
|
+
|
|
688
|
+
### Chore
|
|
689
|
+
|
|
690
|
+
- Update German i18n translations [#1224](https://github.com/GetStream/stream-chat-react/pull/1224)
|
|
691
|
+
- Upgrade `react-virtuoso` for zoom fix [#1233](https://github.com/GetStream/stream-chat-react/pull/1233)
|
|
692
|
+
- Use optional `activeUnreadHandler` in `Channel` component's `markRead` function when provided [#1237](https://github.com/GetStream/stream-chat-react/pull/1237)
|
|
693
|
+
- Replace custom context hook error throws with console warnings [#1242](https://github.com/GetStream/stream-chat-react/pull/1242)
|
|
694
|
+
|
|
695
|
+
### Bug
|
|
696
|
+
|
|
697
|
+
- Fix UI header bug for Levenshtein autocomplete mention search [#1235](https://github.com/GetStream/stream-chat-react/pull/1235)
|
|
698
|
+
- Ensure `channelConfig` is updated when `Channel` mounts an unwatched channel [#1239](https://github.com/GetStream/stream-chat-react/pull/1239)
|
|
699
|
+
|
|
700
|
+
## [6.9.1](https://github.com/GetStream/stream-chat-react/releases/tag/v6.9.1) 2021-10-01
|
|
701
|
+
|
|
702
|
+
### Feature
|
|
703
|
+
|
|
704
|
+
- Add `chatContainer` custom CSS class name override [#1216](https://github.com/GetStream/stream-chat-react/pull/1216)
|
|
705
|
+
|
|
706
|
+
### Chore
|
|
707
|
+
|
|
708
|
+
- Add descriptive error messages to custom context consumer hooks [#1207](https://github.com/GetStream/stream-chat-react/pull/1207)
|
|
709
|
+
- Pass `value` prop to `SuggestionItem` component [#1207](https://github.com/GetStream/stream-chat-react/pull/1207)
|
|
710
|
+
- Update docs for custom `ChannelList` event handler example [#1209](https://github.com/GetStream/stream-chat-react/pull/1209)
|
|
711
|
+
- Add `cooldownInterval` to `MessageInput` context value memoization [#1209](https://github.com/GetStream/stream-chat-react/pull/1209)
|
|
712
|
+
- Reduce packaged CSS bundle size [#1219](https://github.com/GetStream/stream-chat-react/pull/1219)
|
|
713
|
+
|
|
714
|
+
### Bug
|
|
715
|
+
|
|
716
|
+
- Prevent user start/stop watching events from resetting the channel state [#1206](https://github.com/GetStream/stream-chat-react/pull/1206)
|
|
717
|
+
|
|
718
|
+
## [6.9.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.9.0) 2021-09-24
|
|
719
|
+
|
|
720
|
+
### Feature
|
|
721
|
+
|
|
722
|
+
- Add new virtual event example app [#1189](https://github.com/GetStream/stream-chat-react/pull/1189)
|
|
723
|
+
- Memoize object values injected into context providers [#1194](https://github.com/GetStream/stream-chat-react/pull/1194)
|
|
724
|
+
- Support emojis as the first character in a user name for the `Avatar` component's fallback [#1201](https://github.com/GetStream/stream-chat-react/pull/1201)
|
|
725
|
+
- Provide the option to pass additional props to the `Virtuoso` component in the `VirtualizedMessageList` [#1202](https://github.com/GetStream/stream-chat-react/pull/1202)
|
|
726
|
+
|
|
727
|
+
### Chore
|
|
728
|
+
- Improve documentation around approved attachment types [#1190](https://github.com/GetStream/stream-chat-react/pull/1190)
|
|
729
|
+
- Upgrade `react-virtuoso` dependency [#1194](https://github.com/GetStream/stream-chat-react/pull/1194)
|
|
730
|
+
- Refactor `ChannelList` pagination offset logic to handle channels being added/removed from the list [#1200](https://github.com/GetStream/stream-chat-react/pull/1200)
|
|
731
|
+
|
|
732
|
+
## [6.8.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.8.0) 2021-09-17
|
|
733
|
+
|
|
734
|
+
### Feature
|
|
735
|
+
|
|
736
|
+
- Improve user mention experience by ignoring diacritics, adding a `useMentionsTransliteration` prop to install an optional transliteration dependency, and using Levenshtein distance to match similar names [#1176](https://github.com/GetStream/stream-chat-react/pull/1176)
|
|
737
|
+
- Add event listener to `ChannelPreview` to handle `markAllRead` function calls on the client [#1178](https://github.com/GetStream/stream-chat-react/pull/1178)
|
|
738
|
+
- Add `setText` function to `MessageInputContext`, which overrides and sets the value of the `MessageInput` component's `textarea` element [#1184](https://github.com/GetStream/stream-chat-react/pull/1184)
|
|
739
|
+
- Add `activeUnreadHandler` prop to `Channel`, which runs when the active channel has unread messages [#1185](https://github.com/GetStream/stream-chat-react/pull/1185)
|
|
740
|
+
|
|
741
|
+
### Chore
|
|
742
|
+
- Remove all SCSS files and import library styles from `stream-chat-css` dependency. This is non-breaking as the build process injects the external styles into the exact distributed directory as before. [#1168](https://github.com/GetStream/stream-chat-react/pull/1168)
|
|
743
|
+
- Upgrade `stream-chat` and `react-file-utils` dependencies [#1178](https://github.com/GetStream/stream-chat-react/pull/1178)
|
|
744
|
+
|
|
745
|
+
## [6.7.2](https://github.com/GetStream/stream-chat-react/releases/tag/v6.7.2) 2021-09-15
|
|
746
|
+
|
|
747
|
+
### Feature
|
|
748
|
+
|
|
749
|
+
- Add optional `allowNewMessagesFromUnfilteredChannels` argument to `useNotificationMessageNewListener` and `useNotificationAddedToChannelListener` hooks to prevent channel from incrementing the list [#1175](https://github.com/GetStream/stream-chat-react/pull/1175)
|
|
750
|
+
|
|
751
|
+
### Bug
|
|
752
|
+
|
|
753
|
+
- Fix issue with autocomplete mentions displaying muted users [#1171](https://github.com/GetStream/stream-chat-react/pull/1171)
|
|
754
|
+
- Prevent user mention edge case crash [#1172](https://github.com/GetStream/stream-chat-react/pull/1172)
|
|
755
|
+
- Fix reaction handler edge case on mobile web use case [#1173](https://github.com/GetStream/stream-chat-react/pull/1173)
|
|
756
|
+
- Add missing default value for `publishTypingEvent` `MessageInput` prop [#1174](https://github.com/GetStream/stream-chat-react/pull/1174)
|
|
757
|
+
|
|
758
|
+
## [6.7.1](https://github.com/GetStream/stream-chat-react/releases/tag/v6.7.1) 2021-09-14
|
|
759
|
+
|
|
760
|
+
### Bug
|
|
761
|
+
|
|
762
|
+
- Prevent custom message data from being deleted on edit message request [#1169](https://github.com/GetStream/stream-chat-react/pull/1169)
|
|
763
|
+
- Fix issue with autocomplete mentions displaying muted users [#1170](https://github.com/GetStream/stream-chat-react/pull/1170)
|
|
764
|
+
|
|
765
|
+
## [6.7.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.7.0) 2021-09-10
|
|
766
|
+
|
|
767
|
+
### Feature
|
|
768
|
+
|
|
769
|
+
- Add ability to override high-level, CSS container classes via the `customClasses` prop on `Chat` [#1159](https://github.com/GetStream/stream-chat-react/pull/1159). See the [docs](https://getstream.io/chat/docs/sdk/react/customization/css_and_theming/#custom-container-classes) for more information.
|
|
770
|
+
- Allow custom message actions in the `VirtualizedMessageList` [#1166](https://github.com/GetStream/stream-chat-react/pull/1166)
|
|
771
|
+
- While using the `MessageSimple` UI component, allow message grouping in the `VirtualizedMessageList` via the `shouldGroupByUser` prop [#1166](https://github.com/GetStream/stream-chat-react/pull/1166)
|
|
772
|
+
- Add ability to customize the svg icons in the `MessageOptions` component [#1159](https://github.com/GetStream/stream-chat-react/pull/1159)
|
|
773
|
+
- Create a Capacitor sample app to test run the library natively [#1158](https://github.com/GetStream/stream-chat-react/pull/1158)
|
|
774
|
+
|
|
775
|
+
### Bug
|
|
776
|
+
|
|
777
|
+
- Fix edge case around custom message actions not showing up when default actions are disabled [#1161](https://github.com/GetStream/stream-chat-react/pull/1161)
|
|
778
|
+
|
|
779
|
+
## [6.6.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.6.0) 2021-08-30
|
|
780
|
+
|
|
781
|
+
### Feature
|
|
782
|
+
|
|
783
|
+
- Add optimistic response to pin message request [#1149](https://github.com/GetStream/stream-chat-react/pull/1149)
|
|
784
|
+
- Add option to close `ReactionSelector` component on reaction pick [#1150](https://github.com/GetStream/stream-chat-react/pull/1150)
|
|
785
|
+
|
|
786
|
+
### Chore
|
|
787
|
+
|
|
788
|
+
- Improve `ChannelSearch` types for channel and user filters [#1141](https://github.com/GetStream/stream-chat-react/pull/1141)
|
|
789
|
+
- Remove unnecessary `useMessageInputState` props [#1145](https://github.com/GetStream/stream-chat-react/pull/1145)
|
|
790
|
+
- Upgrade `react-virtuoso` dependency [#1148](https://github.com/GetStream/stream-chat-react/pull/1148)
|
|
791
|
+
- Add Rollup image plugin and upgrade `react-file-utils` [#1151](https://github.com/GetStream/stream-chat-react/pull/1151)
|
|
792
|
+
|
|
793
|
+
### Bug
|
|
794
|
+
|
|
795
|
+
- Hide URL link overflow in `MessageSimple` [#1147](https://github.com/GetStream/stream-chat-react/pull/1147)
|
|
796
|
+
|
|
797
|
+
## [6.5.1](https://github.com/GetStream/stream-chat-react/releases/tag/v6.5.1) 2021-08-13
|
|
798
|
+
|
|
799
|
+
### Feature
|
|
800
|
+
|
|
801
|
+
- Add option to pass `customMessageData` to the `ChannelActionContext` `sendMessage` function [#1123](https://github.com/GetStream/stream-chat-react/pull/1123)
|
|
802
|
+
|
|
803
|
+
### Chore
|
|
804
|
+
|
|
805
|
+
- Add support to quote a message with an attachment [#1118](https://github.com/GetStream/stream-chat-react/pull/1118)
|
|
806
|
+
- Upgrade `stream-chat` to major version 4 [#1120](https://github.com/GetStream/stream-chat-react/pull/1120)
|
|
807
|
+
|
|
808
|
+
### Bug
|
|
809
|
+
|
|
810
|
+
- Skip `MessageInput` slow mode cooldown for admin and moderator user roles [#1116](https://github.com/GetStream/stream-chat-react/pull/1116)
|
|
811
|
+
|
|
812
|
+
## [6.5.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.5.0) 2021-08-11
|
|
813
|
+
|
|
814
|
+
### Feature
|
|
815
|
+
|
|
816
|
+
- Add `defaultItemHeight` prop to `VirtualizedMessageList` to smooth rendering of long and differently sized lists. Also, prevent new message notification icon from flashing when switching channels. [#1112](https://github.com/GetStream/stream-chat-react/pull/1112)
|
|
817
|
+
|
|
818
|
+
### Chore
|
|
819
|
+
|
|
820
|
+
- Improve `EmojiContext` types and documentation [#1107](https://github.com/GetStream/stream-chat-react/pull/1107)
|
|
821
|
+
- Adjust `Attachment` component rendering in Message UI components for cases with no attachment array length [#1115](https://github.com/GetStream/stream-chat-react/pull/1115)
|
|
822
|
+
|
|
823
|
+
## [6.4.11](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.11) 2021-08-06
|
|
824
|
+
|
|
825
|
+
### Chore
|
|
826
|
+
|
|
827
|
+
- Upgrade `react-virtuoso` for tall last message edge case [#1102](https://github.com/GetStream/stream-chat-react/pull/1102)
|
|
828
|
+
- Upgrade `stream-chat` and example app dependencies [#1103](https://github.com/GetStream/stream-chat-react/pull/1103)
|
|
829
|
+
|
|
830
|
+
## [6.4.10](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.10) 2021-08-05
|
|
831
|
+
|
|
832
|
+
### Feature
|
|
833
|
+
|
|
834
|
+
- Clear message input text prior to successful message response and revert to original text if request fails [#1097](https://github.com/GetStream/stream-chat-react/pull/1097)
|
|
835
|
+
|
|
836
|
+
### Chore
|
|
837
|
+
|
|
838
|
+
- Update Japanese and Korean translations [#1091](https://github.com/GetStream/stream-chat-react/pull/1091) and [#1099](https://github.com/GetStream/stream-chat-react/pull/1099)
|
|
839
|
+
- Prevent `Avatar` component from being able to render its name as a number [#1097](https://github.com/GetStream/stream-chat-react/pull/1097)
|
|
840
|
+
|
|
841
|
+
### Bug
|
|
842
|
+
|
|
843
|
+
- Fix logic to show input send button on breakpoint change to mobile/tablet views [#1095](https://github.com/GetStream/stream-chat-react/pull/1095)
|
|
844
|
+
|
|
845
|
+
## [6.4.9](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.9) 2021-08-02
|
|
846
|
+
|
|
847
|
+
### Feature
|
|
848
|
+
|
|
849
|
+
- Add `defaultLanguage` prop to `Chat` component to specify fallback language for translation of UI components [#1086](https://github.com/GetStream/stream-chat-react/pull/1086)
|
|
850
|
+
|
|
851
|
+
### Chore
|
|
852
|
+
- Optimize `VirtualizedMessageList` message grouping and rendering logic [#1088](https://github.com/GetStream/stream-chat-react/pull/1088)
|
|
853
|
+
|
|
854
|
+
## [6.4.8](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.8) 2021-07-30
|
|
855
|
+
|
|
856
|
+
### Feature
|
|
857
|
+
|
|
858
|
+
- Add `SearchInput` UI prop to `ChannelSearch` component to override/extend default HTML `input` element [#1079](https://github.com/GetStream/stream-chat-react/pull/1079)
|
|
859
|
+
- Detect connected user's preferred language for translation when language not set by `Streami18n` instance [#1082](https://github.com/GetStream/stream-chat-react/pull/1082)
|
|
860
|
+
- Add Japanese and Korean to list of supported languages for auto translation [#1085](https://github.com/GetStream/stream-chat-react/pull/1085)
|
|
861
|
+
|
|
862
|
+
## [6.4.7](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.7) 2021-07-27
|
|
863
|
+
|
|
864
|
+
### Feature
|
|
865
|
+
|
|
866
|
+
- Add the ability to open/close list of available commands on click [#1072](https://github.com/GetStream/stream-chat-react/pull/1072)
|
|
867
|
+
- Add the ability to set custom active channel on mount even if it's not returned in the initial `queryChannels` response [#1078](https://github.com/GetStream/stream-chat-react/pull/1078)
|
|
868
|
+
|
|
869
|
+
### Chore
|
|
870
|
+
|
|
871
|
+
- Replace `replaceAll` method with `replace` and add global flag for older browser support [#1074](https://github.com/GetStream/stream-chat-react/pull/1074)
|
|
872
|
+
- Adjust `VirtualizedMessageList` CSS to support `MessageSimple` [#1075](https://github.com/GetStream/stream-chat-react/pull/1075)
|
|
873
|
+
|
|
874
|
+
## [6.4.6](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.6) 2021-07-23
|
|
875
|
+
|
|
876
|
+
### Chore
|
|
877
|
+
|
|
878
|
+
- Add error handling to `MessageInput` submit handler functions [#1068](https://github.com/GetStream/stream-chat-react/pull/1068)
|
|
879
|
+
- Upgrade `react-images` dependency for React 17 support [#1069](https://github.com/GetStream/stream-chat-react/pull/1069)
|
|
880
|
+
|
|
881
|
+
## [6.4.5](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.5) 2021-07-21
|
|
882
|
+
|
|
883
|
+
### Feature
|
|
884
|
+
|
|
885
|
+
- Provide option to use `VirtualizedMessageList` in `Thread` component via the `virtualized` boolean prop [#1065](https://github.com/GetStream/stream-chat-react/pull/1065)
|
|
886
|
+
|
|
887
|
+
### Chore
|
|
888
|
+
|
|
889
|
+
- Pass `message` object override prop to `MessageText` component [#1063](https://github.com/GetStream/stream-chat-react/pull/1063)
|
|
890
|
+
- Add fallback `name` for specific rendered `Avatar` components [#1066](https://github.com/GetStream/stream-chat-react/pull/1066)
|
|
891
|
+
|
|
892
|
+
## [6.4.4](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.4) 2021-07-20
|
|
893
|
+
|
|
894
|
+
### Bug
|
|
895
|
+
|
|
896
|
+
- Fix bundle issues with dependency CSS imports [#1061](https://github.com/GetStream/stream-chat-react/pull/1061)
|
|
897
|
+
|
|
898
|
+
## [6.4.3](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.3) 2021-07-20
|
|
899
|
+
|
|
900
|
+
### Feature
|
|
901
|
+
|
|
902
|
+
- Reload `ChannelList` component when `sort` prop changes [#1054](https://github.com/GetStream/stream-chat-react/pull/1054)
|
|
903
|
+
|
|
904
|
+
### Chore
|
|
905
|
+
|
|
906
|
+
- Add repo info to NPM page [#1051](https://github.com/GetStream/stream-chat-react/pull/1051)
|
|
907
|
+
- Export `MML` component [#1053](https://github.com/GetStream/stream-chat-react/pull/1053)
|
|
908
|
+
- Upgrade `react-virtuoso` dependency [#1057](https://github.com/GetStream/stream-chat-react/pull/1057)
|
|
909
|
+
- Revert removal of `EmptyStateIndicator` component for threads [#1058](https://github.com/GetStream/stream-chat-react/pull/1058)
|
|
910
|
+
- Move `mml-react` (optional dependency) CSS import to `MML` component [#1059](https://github.com/GetStream/stream-chat-react/pull/1059)
|
|
911
|
+
|
|
912
|
+
## [6.4.2](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.2) 2021-07-14
|
|
913
|
+
|
|
914
|
+
### Feature
|
|
915
|
+
|
|
916
|
+
- In the `VirtualizedMessageList`, add option to view the Giphy preview above the `MessageInput` (not as a message in the list) using the `separateGiphyPreview` prop [#1045](https://github.com/GetStream/stream-chat-react/pull/1045)
|
|
917
|
+
- Add optimistic response for sending reactions [#1048](https://github.com/GetStream/stream-chat-react/pull/1048)
|
|
918
|
+
|
|
919
|
+
### Chore
|
|
920
|
+
|
|
921
|
+
- Upgrade `typescript` and `stream-chat` dependencies [#1049](https://github.com/GetStream/stream-chat-react/pull/1049)
|
|
922
|
+
|
|
923
|
+
## [6.4.1](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.1) 2021-07-09
|
|
924
|
+
|
|
925
|
+
### Chore
|
|
926
|
+
|
|
927
|
+
- Upgrade `react-file-utils` to fix NextJS support [#1043](https://github.com/GetStream/stream-chat-react/pull/1043)
|
|
928
|
+
|
|
929
|
+
### Bug
|
|
930
|
+
|
|
931
|
+
- Fix `offset` increment issue for unwatched channels [#1038](https://github.com/GetStream/stream-chat-react/pull/1038)
|
|
932
|
+
|
|
933
|
+
## [6.4.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.4.0) 2021-07-07
|
|
934
|
+
|
|
935
|
+
### ⚠️ BREAKING CHANGES ⚠️ - The following values have been moved to the newly created [`EmojiContext`](https://getstream.io/chat/docs/sdk/react/contexts/emoji_context/):
|
|
936
|
+
|
|
937
|
+
- `Emoji` - moved from `ComponentContext`
|
|
938
|
+
- `emojiConfig` - moved from `ChannelStateContext`
|
|
939
|
+
- `EmojiIndex` - moved from `ComponentContext`
|
|
940
|
+
- `EmojiPicker` - moved from `ComponentContext`
|
|
941
|
+
|
|
942
|
+
### Feature
|
|
943
|
+
|
|
944
|
+
- Lazy load the `emoji-mart` dependency [#1037](https://github.com/GetStream/stream-chat-react/pull/1037)
|
|
945
|
+
|
|
946
|
+
### Chore
|
|
947
|
+
|
|
948
|
+
- Remove unused CSS [#1035](https://github.com/GetStream/stream-chat-react/pull/1035)
|
|
949
|
+
|
|
950
|
+
## [6.3.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.3.0) 2021-07-02
|
|
951
|
+
|
|
952
|
+
### ⚠️ BREAKING CHANGES ⚠️ - We've removed the following deprecated UI components [#1031](https://github.com/GetStream/stream-chat-react/pull/1031):
|
|
953
|
+
|
|
954
|
+
- `ChannelListTeam`
|
|
955
|
+
- `ChannelPreviewCompact`
|
|
956
|
+
- `ChannelPreviewCountOnly`
|
|
957
|
+
- `ChannelPreviewLastMessage`
|
|
958
|
+
- `MessageInputLarge`
|
|
959
|
+
- `MessageInputSimple`
|
|
960
|
+
|
|
961
|
+
### Feature
|
|
962
|
+
|
|
963
|
+
- Added option to view read states on all messages [#1014](https://github.com/GetStream/stream-chat-react/pull/1014)
|
|
964
|
+
- Added markdown rendering support for `ChannelPreview` component [#1021](https://github.com/GetStream/stream-chat-react/pull/1021)
|
|
965
|
+
- Added `sendChannelsToList` prop to `ChannelList` to pass `loadedChannels` to the `List` UI component [#1028](https://github.com/GetStream/stream-chat-react/pull/1028)
|
|
966
|
+
- Pass entire user object to `Avatar` component for custom component usage [#1030](https://github.com/GetStream/stream-chat-react/pull/1030)
|
|
967
|
+
- Send error notification to channel via `addNotification` method when file/image upload fails [#1032](https://github.com/GetStream/stream-chat-react/pull/1032)
|
|
968
|
+
- Conditionally render `SendButton` when attachments have been uploaded but no input text exists [#1033](https://github.com/GetStream/stream-chat-react/pull/1033)
|
|
969
|
+
|
|
970
|
+
### Chore
|
|
971
|
+
|
|
972
|
+
- Update `MessageInput` emoji icons [#1020](https://github.com/GetStream/stream-chat-react/pull/1020) and [#1029](https://github.com/GetStream/stream-chat-react/pull/1029)
|
|
973
|
+
- Upgrade `react-file-utils` dependency [#1027](https://github.com/GetStream/stream-chat-react/pull/1027)
|
|
974
|
+
|
|
975
|
+
## [6.2.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.2.0) 2021-06-24
|
|
976
|
+
|
|
977
|
+
### 🎉 CSS VARIABLES THEMING! 🎉
|
|
978
|
+
|
|
979
|
+
- We've replaced much of the library's hardcoded CSS with customizable variables [#927](https://github.com/GetStream/stream-chat-react/pull/927)
|
|
980
|
+
- Variable support has been added for fonts, colors, border radius, padding, and margin
|
|
981
|
+
- The `Chat` component now accepts a `customStyles` prop, an object type of CSS variables and value overrides
|
|
982
|
+
- See the [CSS and Theming](https://getstream.io/chat/docs/sdk/react/customization/css_and_theming/) section of our docs
|
|
983
|
+
for an example of how to implement
|
|
984
|
+
|
|
985
|
+
### Feature
|
|
986
|
+
|
|
987
|
+
- Added error notification handling for failed deleted messages [#1002](https://github.com/GetStream/stream-chat-react/pull/1002)
|
|
988
|
+
- Added UI component override prop for `MessageListNotifications` [#996](https://github.com/GetStream/stream-chat-react/pull/996)
|
|
989
|
+
|
|
990
|
+
### Chore
|
|
991
|
+
|
|
992
|
+
- Refactor typing of `Attachment` components [#995](https://github.com/GetStream/stream-chat-react/pull/995)
|
|
993
|
+
|
|
994
|
+
## [6.1.2](https://github.com/GetStream/stream-chat-react/releases/tag/v6.1.2) 2021-06-21
|
|
995
|
+
|
|
996
|
+
### Feature
|
|
997
|
+
|
|
998
|
+
- Refactor message permissions so they respect channel config [#986](https://github.com/GetStream/stream-chat-react/pull/986)
|
|
999
|
+
- Add limit option to default user mention behavior [#988](https://github.com/GetStream/stream-chat-react/pull/988)
|
|
1000
|
+
- Add additional customization for `ChannelSearch` component [#989](https://github.com/GetStream/stream-chat-react/pull/989)
|
|
1001
|
+
- Add `formatDate` prop override potential `DateSeparator` component [#992](https://github.com/GetStream/stream-chat-react/pull/992)
|
|
1002
|
+
|
|
1003
|
+
### Chore
|
|
1004
|
+
|
|
1005
|
+
- Refactor typing of `Attachment` component [#991](https://github.com/GetStream/stream-chat-react/pull/991)
|
|
1006
|
+
|
|
1007
|
+
## [6.1.1](https://github.com/GetStream/stream-chat-react/releases/tag/v6.1.1) 2021-06-16
|
|
1008
|
+
|
|
1009
|
+
### Chore
|
|
1010
|
+
|
|
1011
|
+
- Upgrade TypeScript dependencies [#982](https://github.com/GetStream/stream-chat-react/pull/982)
|
|
1012
|
+
|
|
1013
|
+
### Bug
|
|
1014
|
+
|
|
1015
|
+
- Add missing `onlySenderCanEdit` prop to `Message` component [#982](https://github.com/GetStream/stream-chat-react/pull/982)
|
|
1016
|
+
|
|
1017
|
+
## [6.1.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.1.0) 2021-06-15
|
|
1018
|
+
|
|
1019
|
+
### 🎉 UPDATED DOCS! 🎉
|
|
1020
|
+
|
|
1021
|
+
- We have completely re-written our [SDK docs](https://getstream.io/chat/docs/sdk/react/)
|
|
1022
|
+
- Component/props/context references are all complete
|
|
1023
|
+
- We'll continually add to the Custom Code Examples section for easier customization
|
|
1024
|
+
- The new docs are found on the [website](https://getstream.io/chat/docs/sdk/react/)
|
|
1025
|
+
|
|
1026
|
+
### Feature
|
|
1027
|
+
|
|
1028
|
+
- Refine edit message privileges and add `onlySenderCanEdit` prop to `MessageList` [#975](https://github.com/GetStream/stream-chat-react/pull/975)
|
|
1029
|
+
|
|
1030
|
+
### Chore
|
|
1031
|
+
|
|
1032
|
+
- Change attachment type for video messages [#976](https://github.com/GetStream/stream-chat-react/pull/976)
|
|
1033
|
+
- Adjust mouse event listener options [#980](https://github.com/GetStream/stream-chat-react/pull/980)
|
|
1034
|
+
|
|
1035
|
+
### Bug
|
|
1036
|
+
|
|
1037
|
+
- Prevent `EmptyStateIndicator` from showing up in `Thread` [#977](https://github.com/GetStream/stream-chat-react/pull/977)
|
|
1038
|
+
|
|
1039
|
+
## [6.0.7](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.7) 2021-06-14
|
|
1040
|
+
|
|
1041
|
+
### Feature
|
|
1042
|
+
|
|
1043
|
+
- Add support for custom reactions [#968](https://github.com/GetStream/stream-chat-react/pull/968)
|
|
1044
|
+
|
|
1045
|
+
### Chore
|
|
1046
|
+
|
|
1047
|
+
- Upgrade `stream-chat` dependency
|
|
1048
|
+
|
|
1049
|
+
### Bug
|
|
1050
|
+
|
|
1051
|
+
- Fix UI component conditional rendering in `Attachment` [#972](https://github.com/GetStream/stream-chat-react/pull/972)
|
|
1052
|
+
- Add needed params to `ChannelSearch` search function prop [#973](https://github.com/GetStream/stream-chat-react/pull/973)
|
|
1053
|
+
|
|
1054
|
+
## [6.0.6](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.6) 2021-06-02
|
|
1055
|
+
|
|
1056
|
+
### Chore
|
|
1057
|
+
|
|
1058
|
+
- Throttle send/remove message reaction functions [#953](https://github.com/GetStream/stream-chat-react/pull/953)
|
|
1059
|
+
and [#955](https://github.com/GetStream/stream-chat-react/pull/955)
|
|
1060
|
+
|
|
1061
|
+
### Bug
|
|
1062
|
+
|
|
1063
|
+
- Restore override props on `ChatAutoComplete` component [#952](https://github.com/GetStream/stream-chat-react/pull/952)
|
|
1064
|
+
|
|
1065
|
+
## [6.0.5](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.5) 2021-05-28
|
|
1066
|
+
|
|
1067
|
+
### Feature
|
|
1068
|
+
|
|
1069
|
+
- Add optional prop to override default `loadMore` function in `VirtualizedMessageList` [#950](https://github.com/GetStream/stream-chat-react/pull/950)
|
|
1070
|
+
|
|
1071
|
+
### Bug
|
|
1072
|
+
|
|
1073
|
+
- Prevent unnecessary members query when `disableMentions` is enabled on `MessageInput` [#949](https://github.com/GetStream/stream-chat-react/pull/949)
|
|
1074
|
+
|
|
1075
|
+
## [6.0.4](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.4) 2021-05-25
|
|
1076
|
+
|
|
1077
|
+
### Bug
|
|
1078
|
+
|
|
1079
|
+
- Add missing `Input` prop to `ComponentContext` value [#942](https://github.com/GetStream/stream-chat-react/pull/942)
|
|
1080
|
+
|
|
1081
|
+
## [6.0.3](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.3) 2021-05-25
|
|
1082
|
+
|
|
1083
|
+
### Chore
|
|
1084
|
+
|
|
1085
|
+
- Export browser bundle as `StreamChatReact` namespace [#940](https://github.com/GetStream/stream-chat-react/pull/940)
|
|
1086
|
+
- Use asset path scss variable [#939](https://github.com/GetStream/stream-chat-react/pull/939)
|
|
1087
|
+
|
|
1088
|
+
## [6.0.2](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.2) 2021-05-21
|
|
1089
|
+
|
|
1090
|
+
### Feature
|
|
1091
|
+
|
|
1092
|
+
- Add German auto translation support [#935](https://github.com/GetStream/stream-chat-react/pull/935)
|
|
1093
|
+
|
|
1094
|
+
### Chore
|
|
1095
|
+
|
|
1096
|
+
- Upgrade `react-file-utils` dependency for reduced bundle size [#933](https://github.com/GetStream/stream-chat-react/pull/933)
|
|
1097
|
+
|
|
1098
|
+
### Bug
|
|
1099
|
+
|
|
1100
|
+
- Prevent tree shaking from removing distributed CSS [#936](https://github.com/GetStream/stream-chat-react/pull/936)
|
|
1101
|
+
|
|
1102
|
+
## [6.0.1](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.1) 2021-05-19
|
|
1103
|
+
|
|
1104
|
+
### Feature
|
|
1105
|
+
|
|
1106
|
+
- Expose the `MessageContext` to the `VirtualizedMessageList`'s `Message` UI component [#924](https://github.com/GetStream/stream-chat-react/pull/924)
|
|
1107
|
+
|
|
1108
|
+
### Chore
|
|
1109
|
+
|
|
1110
|
+
- Reorganize component documentation for v6 [#926](https://github.com/GetStream/stream-chat-react/pull/926)
|
|
1111
|
+
|
|
1112
|
+
### Bug
|
|
1113
|
+
|
|
1114
|
+
- Prevent crash when navigate away from, and then back to, an empty channel [#931](https://github.com/GetStream/stream-chat-react/pull/931)
|
|
1115
|
+
|
|
1116
|
+
## [6.0.0](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.0) 2021-05-17
|
|
1117
|
+
|
|
1118
|
+
### ⚠️ BREAKING CHANGES ⚠️ - Please review our v6 [implementation guide](https://github.com/GetStream/stream-chat-react/wiki) prior to upgrading.
|
|
1119
|
+
|
|
1120
|
+
With this release, we've completely refactored how we share data in the component library. We've segmented our former `ChannelContext` into the following four sub-contexts:
|
|
1121
|
+
|
|
1122
|
+
- `ChannelActionContext` - provides the functions needed to operate a `Channel`
|
|
1123
|
+
- `ChannelStateContext` - provides the stateful data needed to operate a `Channel`
|
|
1124
|
+
- `ComponentContext` - provides the UI component overrides for all child components of a `Channel`
|
|
1125
|
+
- `TypingContext` - provides an object of users currently typing in the `Channel`
|
|
1126
|
+
|
|
1127
|
+
**NOTE:** The `ChannelContext` no longer exists, so all old references to `useChannelContext()` or `useContext(ChannelContext)` need to be replaced with the relevant context above. A list of all data found within each new context can be found [here](https://github.com/GetStream/stream-chat-react/wiki/Context-Overview-(v6.0.0)).
|
|
1128
|
+
|
|
1129
|
+
### Feature
|
|
1130
|
+
|
|
1131
|
+
- We've added a handful of new features in this release, check out this [wiki](https://github.com/GetStream/stream-chat-react/wiki/New-Features-(v.6.0.0)) for more details. New features include:
|
|
1132
|
+
- custom message actions
|
|
1133
|
+
- custom triggers
|
|
1134
|
+
- channel search
|
|
1135
|
+
- quoted messages
|
|
1136
|
+
- cooldown timer / slow mode UI
|
|
1137
|
+
- submit key override
|
|
1138
|
+
- The `Message` component now provides the `MessageContext` to its children. Reference this [guide](https://github.com/GetStream/stream-chat-react/wiki/How-to-Guide-for-Building-a-Custom-Message-(v.6.0.0)) for instructions on creating a custom message UI component.
|
|
1139
|
+
- The `MessageInput` component now provides the `MessageInputContext` to its children. Reference this [guide](https://github.com/GetStream/stream-chat-react/wiki/How-to-Guide-for-Building-a-Custom-MessageInput-and-Customizing-the-Default-MessageInput-(v.6.0.0)) for instructions on creating a custom input UI component.
|
|
1140
|
+
|
|
1141
|
+
## [5.4.0](https://github.com/GetStream/stream-chat-react/releases/tag/v5.4.0) 2021-05-13
|
|
1142
|
+
|
|
1143
|
+
### Feature
|
|
1144
|
+
|
|
1145
|
+
- Scroll to bottom of `MessageList` when the last message receives a reaction or reply [#916](https://github.com/GetStream/stream-chat-react/pull/916)
|
|
1146
|
+
|
|
1147
|
+
### Chore
|
|
1148
|
+
|
|
1149
|
+
- Preserve modules during build to optimize tree shaking potential [#919](https://github.com/GetStream/stream-chat-react/pull/919)
|
|
1150
|
+
- Support `'next-images'` dependency in NextJS sample app [#920](https://github.com/GetStream/stream-chat-react/pull/920)
|
|
1151
|
+
|
|
1152
|
+
## [5.3.2](https://github.com/GetStream/stream-chat-react/releases/tag/v5.3.2) 2021-05-03
|
|
1153
|
+
|
|
1154
|
+
### Feature
|
|
1155
|
+
|
|
1156
|
+
- Add `scrollToLatestMessageOnFocus` prop to `VirtualizedMessageList` to handle focus changes on browser tab switching [#892](https://github.com/GetStream/stream-chat-react/pull/892)
|
|
1157
|
+
- Add `MessageNotification` prop to `MessageList` components to allow customization of the new messages notification popup [#894](https://github.com/GetStream/stream-chat-react/pull/894)
|
|
1158
|
+
|
|
1159
|
+
### Bug
|
|
1160
|
+
|
|
1161
|
+
- Adjust URL parsing for duplicate entries [#893](https://github.com/GetStream/stream-chat-react/pull/893)
|
|
1162
|
+
|
|
1163
|
+
## [5.3.1](https://github.com/GetStream/stream-chat-react/releases/tag/v5.3.1) 2021-04-30
|
|
1164
|
+
|
|
1165
|
+
### Bug
|
|
1166
|
+
|
|
1167
|
+
- Add message memoization case for read states [#888](https://github.com/GetStream/stream-chat-react/pull/888)
|
|
1168
|
+
- Fix regex trigger for multiple mentions [#889](https://github.com/GetStream/stream-chat-react/pull/889)
|
|
1169
|
+
- Add message memoization case for muted user array [#891](https://github.com/GetStream/stream-chat-react/pull/891)
|
|
1170
|
+
|
|
1171
|
+
## [5.3.0](https://github.com/GetStream/stream-chat-react/releases/tag/v5.3.0) 2021-04-29
|
|
1172
|
+
|
|
1173
|
+
### Feature
|
|
1174
|
+
|
|
1175
|
+
- Added support for `user.deleted` and `user.updated` event handling [#884](https://github.com/GetStream/stream-chat-react/pull/884)
|
|
1176
|
+
- Requires `stream-chat >= 3.8.0`
|
|
1177
|
+
- In case of `user.deleted` event, messages from corresponding user will be marked as deleted
|
|
1178
|
+
- In case of `user.updated` event, user property on messages from corresponding user will be updated.
|
|
1179
|
+
|
|
1180
|
+
## [5.2.1](https://github.com/GetStream/stream-chat-react/releases/tag/v5.2.1) 2021-04-28
|
|
1181
|
+
|
|
1182
|
+
### Chore
|
|
1183
|
+
|
|
1184
|
+
- Adjust processed messages logic [#876](https://github.com/GetStream/stream-chat-react/pull/876)
|
|
1185
|
+
- Make `mml-react` an optional dependency and lazy load [#881](https://github.com/GetStream/stream-chat-react/pull/881)
|
|
1186
|
+
|
|
1187
|
+
### Bug
|
|
1188
|
+
|
|
1189
|
+
- Copy missing translations from built types [#879](https://github.com/GetStream/stream-chat-react/pull/879)
|
|
1190
|
+
|
|
1191
|
+
## [5.2.0](https://github.com/GetStream/stream-chat-react/releases/tag/v5.2.0) 2021-04-26
|
|
1192
|
+
|
|
1193
|
+
### Feature
|
|
1194
|
+
|
|
1195
|
+
- Add Spanish and Portuguese auto translation support [#874](https://github.com/GetStream/stream-chat-react/pull/874)
|
|
1196
|
+
|
|
1197
|
+
### Chore
|
|
1198
|
+
|
|
1199
|
+
- Adjust processed messages conditional logic for `VirtualizedMessageList` [#875](https://github.com/GetStream/stream-chat-react/pull/875)
|
|
1200
|
+
|
|
1201
|
+
## [5.1.8](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.8) 2021-04-21
|
|
1202
|
+
|
|
1203
|
+
### Chore
|
|
1204
|
+
|
|
1205
|
+
- Update message group styling defaults in message UI components [#860](https://github.com/GetStream/stream-chat-react/pull/860)
|
|
1206
|
+
- Refine pin message permission checking [#866](https://github.com/GetStream/stream-chat-react/pull/866)
|
|
1207
|
+
|
|
1208
|
+
### Bug
|
|
1209
|
+
|
|
1210
|
+
- Update `MessageActions` event listener types [#855](https://github.com/GetStream/stream-chat-react/pull/855)
|
|
1211
|
+
- Fix suggestion list command conditional check [#865](https://github.com/GetStream/stream-chat-react/pull/865)
|
|
1212
|
+
|
|
1213
|
+
## [5.1.7](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.7) 2021-04-13
|
|
1214
|
+
|
|
1215
|
+
### Feature
|
|
1216
|
+
|
|
1217
|
+
- Remove channel creator's ability to edit/delete other users' messages [#853](https://github.com/GetStream/stream-chat-react/pull/853)
|
|
1218
|
+
|
|
1219
|
+
### Chore
|
|
1220
|
+
|
|
1221
|
+
- Generalize event types to allow for greater action handler flexibility [#850](https://github.com/GetStream/stream-chat-react/pull/850)
|
|
1222
|
+
|
|
1223
|
+
## [5.1.6](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.6) 2021-04-10
|
|
1224
|
+
|
|
1225
|
+
### Feature
|
|
1226
|
+
|
|
1227
|
+
- Adjust message memoization for custom UI components [#849](https://github.com/GetStream/stream-chat-react/pull/849)
|
|
1228
|
+
|
|
1229
|
+
### Bug
|
|
1230
|
+
|
|
1231
|
+
- Fix CSS display issue for messages with reactions [#849](https://github.com/GetStream/stream-chat-react/pull/849)
|
|
1232
|
+
|
|
1233
|
+
## [5.1.5](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.5) 2021-04-09
|
|
1234
|
+
|
|
1235
|
+
### Chore
|
|
1236
|
+
|
|
1237
|
+
- Adjust submit handler types [#847](https://github.com/GetStream/stream-chat-react/pull/847)
|
|
1238
|
+
|
|
1239
|
+
### Bug
|
|
1240
|
+
|
|
1241
|
+
- Remove old CSS leading to Gatsby error [#846](https://github.com/GetStream/stream-chat-react/pull/846)
|
|
1242
|
+
|
|
1243
|
+
## [5.1.4](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.4) 2021-04-07
|
|
1244
|
+
|
|
1245
|
+
### Bug
|
|
1246
|
+
|
|
1247
|
+
- Filter falsey emoji search results [#843](https://github.com/GetStream/stream-chat-react/pull/843)
|
|
1248
|
+
|
|
1249
|
+
### Chore
|
|
1250
|
+
|
|
1251
|
+
- Adjust submit handler types [#844](https://github.com/GetStream/stream-chat-react/pull/844)
|
|
1252
|
+
|
|
1253
|
+
## [5.1.3](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.3) 2021-04-06
|
|
1254
|
+
|
|
1255
|
+
### Feature
|
|
1256
|
+
|
|
1257
|
+
- Optimize message list components by limiting excess `loadMore` calls [#841](https://github.com/GetStream/stream-chat-react/pull/841)
|
|
1258
|
+
|
|
1259
|
+
### Bug
|
|
1260
|
+
|
|
1261
|
+
- Fix `AutoCompleteTextarea` trigger highlighting bug [#839](https://github.com/GetStream/stream-chat-react/pull/839)
|
|
1262
|
+
|
|
1263
|
+
## [5.1.2](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.2) 2021-04-05
|
|
1264
|
+
|
|
1265
|
+
### Feature
|
|
1266
|
+
|
|
1267
|
+
- Provide option to hide `DateSeparator` component for new messages with the `hideNewMessageSeparator` prop on `MessageList` and `VirtualizedMessageList` components [#837](https://github.com/GetStream/stream-chat-react/pull/837)
|
|
1268
|
+
|
|
1269
|
+
### Bug
|
|
1270
|
+
|
|
1271
|
+
- Fix bad conditional in `useMentionsHandlers` custom hook [#836](https://github.com/GetStream/stream-chat-react/pull/836)
|
|
1272
|
+
|
|
1273
|
+
## [5.1.1](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.1) 2021-04-02
|
|
1274
|
+
|
|
1275
|
+
### Feature
|
|
1276
|
+
|
|
1277
|
+
- Show formatted date separator for new messages [#818](https://github.com/GetStream/stream-chat-react/pull/818)
|
|
1278
|
+
- Provide option to display flag emojis as images on Windows via `useImageFlagEmojisOnWindows` prop [#821](https://github.com/GetStream/stream-chat-react/pull/821)
|
|
1279
|
+
- Hide reaction icon when a message has reactions [#826](https://github.com/GetStream/stream-chat-react/pull/826)
|
|
1280
|
+
|
|
1281
|
+
### Chore
|
|
1282
|
+
|
|
1283
|
+
- Update types on `Chat` component [#825](https://github.com/GetStream/stream-chat-react/pull/825)
|
|
1284
|
+
- Update Prettier settings [#831](https://github.com/GetStream/stream-chat-react/pull/831)
|
|
1285
|
+
|
|
1286
|
+
### Bug
|
|
1287
|
+
|
|
1288
|
+
- Escape characters that break emoji regex [#823](https://github.com/GetStream/stream-chat-react/pull/823)
|
|
1289
|
+
- Fix autocomplete textarea text replace algorithm [#827](https://github.com/GetStream/stream-chat-react/pull/827)
|
|
1290
|
+
- Force close suggestions list on submit [#828](https://github.com/GetStream/stream-chat-react/pull/828)
|
|
1291
|
+
|
|
1292
|
+
## [5.1.0](https://github.com/GetStream/stream-chat-react/releases/tag/v5.1.0) 2021-03-30
|
|
1293
|
+
|
|
1294
|
+
### Feature
|
|
1295
|
+
|
|
1296
|
+
- Add type support for Moment.js date objects [#809](https://github.com/GetStream/stream-chat-react/pull/809)
|
|
1297
|
+
- Add i18n translation support for `ChannelPreview` [#810](https://github.com/GetStream/stream-chat-react/pull/810)
|
|
1298
|
+
- Allow `addNotification` function to be called anywhere within `Channel` [#811](https://github.com/GetStream/stream-chat-react/pull/811)
|
|
1299
|
+
- Hide `MessageActions` if no actions exist [#816](https://github.com/GetStream/stream-chat-react/pull/816)
|
|
1300
|
+
|
|
1301
|
+
### Chore
|
|
1302
|
+
|
|
1303
|
+
- Refactor failed message UI component [#811](https://github.com/GetStream/stream-chat-react/pull/811)
|
|
1304
|
+
- Remove extra `watchers` query [#817](https://github.com/GetStream/stream-chat-react/pull/817)
|
|
1305
|
+
- Prevent `queryUsers` from searching a null value [#817](https://github.com/GetStream/stream-chat-react/pull/817)
|
|
1306
|
+
|
|
1307
|
+
## [5.0.3](https://github.com/GetStream/stream-chat-react/releases/tag/v5.0.3) 2021-03-24
|
|
1308
|
+
|
|
1309
|
+
### Feature
|
|
1310
|
+
|
|
1311
|
+
- Add customization options for `renderText` function [#807](https://github.com/GetStream/stream-chat-react/pull/807)
|
|
1312
|
+
|
|
1313
|
+
## [5.0.2](https://github.com/GetStream/stream-chat-react/releases/tag/v5.0.2) 2021-03-23
|
|
1314
|
+
|
|
1315
|
+
### Bug
|
|
1316
|
+
|
|
1317
|
+
- Fix optimistic UI for mentions [#800](https://github.com/GetStream/stream-chat-react/pull/800)
|
|
1318
|
+
|
|
1319
|
+
## [5.0.1](https://github.com/GetStream/stream-chat-react/releases/tag/v5.0.1) 2021-03-23
|
|
1320
|
+
|
|
1321
|
+
### Chore
|
|
1322
|
+
|
|
1323
|
+
- Upgrade `react-file-utils` to v1.0.2
|
|
1324
|
+
|
|
1325
|
+
## [5.0.0](https://github.com/GetStream/stream-chat-react/releases/tag/v5.0.0) 2021-03-22
|
|
1326
|
+
|
|
1327
|
+
### 🎉 TYPESCRIPT 🎉
|
|
1328
|
+
|
|
1329
|
+
- The entire component library has been converted to TypeScript
|
|
1330
|
+
- Despite the major tag, this release is non-breaking
|
|
1331
|
+
- Read our [TypeScript Support](https://github.com/GetStream/stream-chat-react/wiki/Typescript-Support) wiki for guidance on instantiating a `StreamChat` client with your custom types via generics
|
|
1332
|
+
|
|
1333
|
+
### Feature
|
|
1334
|
+
|
|
1335
|
+
- Conversion to TypeScript [#797](https://github.com/GetStream/stream-chat-react/pull/797)
|
|
1336
|
+
|
|
1337
|
+
## [4.1.3](https://github.com/GetStream/stream-chat-react/releases/tag/v4.1.3) 2021-03-12
|
|
1338
|
+
|
|
1339
|
+
### Chore
|
|
1340
|
+
|
|
1341
|
+
- Remove legacy example apps [#766](https://github.com/GetStream/stream-chat-react/pull/766)
|
|
1342
|
+
- Handle soft deleted messages in `VirtualizedMessageList` [#773](https://github.com/GetStream/stream-chat-react/pull/773)
|
|
1343
|
+
|
|
1344
|
+
### Bug
|
|
1345
|
+
|
|
1346
|
+
- Add missing ChannelPreview helpers to exports [#775](https://github.com/GetStream/stream-chat-react/pull/775)
|
|
1347
|
+
|
|
1348
|
+
## [4.1.2](https://github.com/GetStream/stream-chat-react/releases/tag/v4.1.2) 2021-03-09
|
|
1349
|
+
|
|
1350
|
+
### Feature
|
|
1351
|
+
|
|
1352
|
+
- Export `ChannelPreview` utility functions [#750](https://github.com/GetStream/stream-chat-react/pull/750)
|
|
1353
|
+
- Memoize `ChannelList` `filters` to prevent extra channel queries [#752](https://github.com/GetStream/stream-chat-react/pull/752)
|
|
1354
|
+
|
|
1355
|
+
### Chore
|
|
1356
|
+
|
|
1357
|
+
- Update Customizing Styles section of README [#756](https://github.com/GetStream/stream-chat-react/pull/756)
|
|
1358
|
+
- Change `emoji-mart` imports to support server-side rendering [#764](https://github.com/GetStream/stream-chat-react/pull/764)
|
|
1359
|
+
|
|
1360
|
+
### Bug
|
|
1361
|
+
|
|
1362
|
+
- Close emoji picker on emoji icon click [#751](https://github.com/GetStream/stream-chat-react/pull/751)
|
|
1363
|
+
- Hide reaction tooltip on click [#753](https://github.com/GetStream/stream-chat-react/pull/753)
|
|
1364
|
+
|
|
1365
|
+
## [4.1.1](https://github.com/GetStream/stream-chat-react/releases/tag/v4.1.1) 2021-02-26
|
|
1366
|
+
|
|
1367
|
+
### Chore
|
|
1368
|
+
|
|
1369
|
+
- Upgrade `stream-chat` dependency to fix reaction caching issue [#742](https://github.com/GetStream/stream-chat-react/pull/742)
|
|
1370
|
+
|
|
1371
|
+
### Bug
|
|
1372
|
+
|
|
1373
|
+
- Fix markdown link rendering issues [#742](https://github.com/GetStream/stream-chat-react/pull/742)
|
|
1374
|
+
|
|
1375
|
+
## [4.1.0](https://github.com/GetStream/stream-chat-react/releases/tag/v4.1.0) 2021-02-25
|
|
1376
|
+
|
|
1377
|
+
### Chore
|
|
1378
|
+
|
|
1379
|
+
- Upgrade `react-virtuoso` dependency [#694](https://github.com/GetStream/stream-chat-react/pull/694)
|
|
1380
|
+
- Improved support for loading unevenly sized messages when scrolling back
|
|
1381
|
+
- Support smooth scrolling to bottom when new messages are posted (controlled through `stickToBottomScrollBehavior` property)
|
|
1382
|
+
- Adding reactions no longer cancels the automatic scrolling when new messages appear
|
|
1383
|
+
- Generate minified CSS output [#707](https://github.com/GetStream/stream-chat-react/pull/707)
|
|
1384
|
+
- Upgrade `stream-chat` dependency [#727](https://github.com/GetStream/stream-chat-react/pull/727)
|
|
1385
|
+
- Upgrade `mml-react` dependency [#728](https://github.com/GetStream/stream-chat-react/pull/728)
|
|
1386
|
+
- Upgrade `emoji-mart` dependency [#731](https://github.com/GetStream/stream-chat-react/pull/731)
|
|
1387
|
+
|
|
1388
|
+
### Feature
|
|
1389
|
+
|
|
1390
|
+
- Add `tabIndex` to emoji picker [#710](https://github.com/GetStream/stream-chat-react/pull/710)
|
|
1391
|
+
- Add `dispatch` function from `channelReducer` to `ChannelContext` [#717](https://github.com/GetStream/stream-chat-react/pull/717)
|
|
1392
|
+
- Improve mobile support for display of the `MessageOptions` component [#723](https://github.com/GetStream/stream-chat-react/pull/723)
|
|
1393
|
+
- Add key down a11y support for emoji picker [#726](https://github.com/GetStream/stream-chat-react/pull/726)
|
|
1394
|
+
- Add `scrolledUpThreshold` prop to `MessageList` [#734](https://github.com/GetStream/stream-chat-react/pull/734)
|
|
1395
|
+
|
|
1396
|
+
### Bug
|
|
1397
|
+
|
|
1398
|
+
- Fix reaction list click propagation issue [#722](https://github.com/GetStream/stream-chat-react/pull/722)
|
|
1399
|
+
- Fix reaction list non-breaking space issue [#725](https://github.com/GetStream/stream-chat-react/pull/725)
|
|
1400
|
+
- Fix URL markdown in code blocks [#733](https://github.com/GetStream/stream-chat-react/pull/733)
|
|
1401
|
+
|
|
1402
|
+
## [4.0.1](https://github.com/GetStream/stream-chat-react/releases/tag/v4.0.1) 2021-02-11
|
|
1403
|
+
|
|
1404
|
+
### Chore
|
|
1405
|
+
|
|
1406
|
+
- Add `usePinHandler` example to docs [#705](https://github.com/GetStream/stream-chat-react/pull/705)
|
|
1407
|
+
- Remove legacy APIs in mock data used for generating the docs [#704](https://github.com/GetStream/stream-chat-react/pull/704)
|
|
1408
|
+
|
|
1409
|
+
## [4.0.0](https://github.com/GetStream/stream-chat-react/releases/tag/v4.0.0) 2021-02-10
|
|
1410
|
+
|
|
1411
|
+
### ⚠️ BREAKING CHANGES ⚠️
|
|
1412
|
+
|
|
1413
|
+
- Removed the `seamless-immutable` dependency and its corresponding methods and types [#687](https://github.com/GetStream/stream-chat-react/pull/687)
|
|
1414
|
+
|
|
1415
|
+
- We also removed this dependency at the `stream-chat` JS client level, therefore immutable methods, such as `setIn`, no longer need to be run
|
|
1416
|
+
on the returned data [#602](https://github.com/GetStream/stream-chat-js/pull/602)
|
|
1417
|
+
- Responses from the Stream API will now return standard JS data structures, without the immutable wrapping
|
|
1418
|
+
- **When you upgrade to v4.0.0 of `stream-chat-react`, make sure you also upgrade to v3.0.0 of `stream-chat`**
|
|
1419
|
+
|
|
1420
|
+
### Feature
|
|
1421
|
+
|
|
1422
|
+
- Performance optimize and allow customization of the `emoji-mart` dependency [#530](https://github.com/GetStream/stream-chat-react/pull/530)
|
|
1423
|
+
- Add custom `image` prop to `ChannelHeader` component [#697](https://github.com/GetStream/stream-chat-react/pull/697)
|
|
1424
|
+
|
|
1425
|
+
### Chore
|
|
1426
|
+
|
|
1427
|
+
- Removed the SonarJS linting rules [#693](https://github.com/GetStream/stream-chat-react/pull/693)
|
|
1428
|
+
|
|
1429
|
+
### Bug
|
|
1430
|
+
|
|
1431
|
+
- Fix permissions bug with custom channel types [#695](https://github.com/GetStream/stream-chat-react/pull/695)
|
|
1432
|
+
- Fix `ChannelHeader` CSS alignment issue [#699](https://github.com/GetStream/stream-chat-react/pull/699)
|
|
1433
|
+
|
|
1434
|
+
## [3.6.0](https://github.com/GetStream/stream-chat-react/releases/tag/v3.6.0) 2021-02-02
|
|
1435
|
+
|
|
1436
|
+
### Feature
|
|
1437
|
+
|
|
1438
|
+
- Added support for pinned messages [#682](https://github.com/GetStream/stream-chat-react/pull/682)
|
|
1439
|
+
|
|
1440
|
+
- Save `pinnedMessages` to ChannelContext
|
|
1441
|
+
- Create `usePinHandler` custom hook for returning `canPin` value and `handlePin` function
|
|
1442
|
+
- Add Pin/Unpin as optional actions in `MessageActions`
|
|
1443
|
+
- Add `PinIndicator` UI component to `MessageLivestream` and `MessageTeam`
|
|
1444
|
+
- Add optional `"pinned-message"` CSS class to message UI components
|
|
1445
|
+
- Add `getPinMessageErrorNotification` and `pinPermissions` as `MessageList` props
|
|
1446
|
+
|
|
1447
|
+
- Hide `DateSeparator` component when all messages for a day are deleted [#689](https://github.com/GetStream/stream-chat-react/pull/689)
|
|
1448
|
+
|
|
1449
|
+
### Chore
|
|
1450
|
+
|
|
1451
|
+
- Refactor example apps to use `getInstance` and `connectUser` [#688](https://github.com/GetStream/stream-chat-react/pull/688)
|
|
1452
|
+
|
|
1453
|
+
### Bug
|
|
1454
|
+
|
|
1455
|
+
- Display auto-translated message text when it exists [#683](https://github.com/GetStream/stream-chat-react/pull/683)
|
|
1456
|
+
- Add missing export for `VirtualizedMessageList` type [#691](https://github.com/GetStream/stream-chat-react/pull/691)
|
|
1457
|
+
|
|
1458
|
+
## [3.5.3](https://github.com/GetStream/stream-chat-react/releases/tag/v3.5.3) 2021-01-26
|
|
1459
|
+
|
|
1460
|
+
### Feature
|
|
1461
|
+
|
|
1462
|
+
- `ChannelList` accepts an optional prop to filter/sort channels prior to render [#678](https://github.com/GetStream/stream-chat-react/pull/678)
|
|
1463
|
+
|
|
1464
|
+
## [3.5.2](https://github.com/GetStream/stream-chat-react/releases/tag/v3.5.2) 2021-01-21
|
|
1465
|
+
|
|
1466
|
+
### Fix
|
|
1467
|
+
|
|
1468
|
+
- Handle emoji picker event listener race condition [#675](https://github.com/GetStream/stream-chat-react/pull/675)
|
|
1469
|
+
- Adjust style for only emoji messages [#676](https://github.com/GetStream/stream-chat-react/pull/676)
|
|
1470
|
+
|
|
1471
|
+
## [3.5.1](https://github.com/GetStream/stream-chat-react/releases/tag/v3.5.1) 2021-01-19
|
|
1472
|
+
|
|
1473
|
+
### Fix
|
|
1474
|
+
|
|
1475
|
+
- Upload PSD attachments as file [#673](https://github.com/GetStream/stream-chat-react/pull/673)
|
|
1476
|
+
|
|
1477
|
+
### Chore
|
|
1478
|
+
|
|
1479
|
+
- Bump MML-React [#674](https://github.com/GetStream/stream-chat-react/pull/674)
|
|
1480
|
+
|
|
1481
|
+
## [3.5.0](https://github.com/GetStream/stream-chat-react/releases/tag/v3.5.0) 2021-01-15
|
|
1482
|
+
|
|
1483
|
+
## Feature
|
|
1484
|
+
|
|
1485
|
+
- Support typing indicator in Thread component [#662](https://github.com/GetStream/stream-chat-react/pull/662)
|
|
1486
|
+
- Add parent ID to typing events [#665](https://github.com/GetStream/stream-chat-react/pull/665)
|
|
1487
|
+
- Allow MessageInput emoji and file upload icon customization [#666](https://github.com/GetStream/stream-chat-react/pull/666)
|
|
1488
|
+
- Add optional `disableMentions` prop to MessageInput and update mentions UI [#669](https://github.com/GetStream/stream-chat-react/pull/669)
|
|
1489
|
+
|
|
1490
|
+
## Fix
|
|
1491
|
+
|
|
1492
|
+
- Fix maxLength paste text bug [#670](https://github.com/GetStream/stream-chat-react/pull/670)
|
|
1493
|
+
|
|
1494
|
+
## [3.4.6](https://github.com/GetStream/stream-chat-react/releases/tag/v3.4.6) 2021-01-08
|
|
1495
|
+
|
|
1496
|
+
## Feature
|
|
1497
|
+
|
|
1498
|
+
- Add SuggestionList as MessageInput prop to override default List and Item component to display trigger suggestions [#655](https://github.com/GetStream/stream-chat-react/pull/655)
|
|
1499
|
+
- Add allowNewMessagesFromUnfilteredChannels prop to ChannelList [#663](https://github.com/GetStream/stream-chat-react/pull/663)
|
|
1500
|
+
|
|
1501
|
+
## Fix
|
|
1502
|
+
|
|
1503
|
+
- Fix type for mentions handler [#660](https://github.com/GetStream/stream-chat-react/pull/660)
|
|
1504
|
+
|
|
1505
|
+
## Chore
|
|
1506
|
+
|
|
1507
|
+
- Convert Thread to functional component [#650](https://github.com/GetStream/stream-chat-react/pull/650)
|
|
1508
|
+
- Convert messaging sample app to functional component [#661](https://github.com/GetStream/stream-chat-react/pull/661)
|
|
1509
|
+
|
|
1510
|
+
## [3.4.5](https://github.com/GetStream/stream-chat-react/releases/tag/v3.4.5) 2021-01-07
|
|
1511
|
+
|
|
1512
|
+
## Feature
|
|
1513
|
+
|
|
1514
|
+
- Message components accept custom EditMessageInput component [#656](https://github.com/GetStream/stream-chat-react/pull/656)
|
|
1515
|
+
|
|
1516
|
+
## Fix
|
|
1517
|
+
|
|
1518
|
+
- Message actions default options doc [#654](https://github.com/GetStream/stream-chat-react/pull/654)
|
|
1519
|
+
- MessageList unread TypeError [#654](https://github.com/GetStream/stream-chat-react/pull/654)
|
|
1520
|
+
- ChannelHeader button css padding [#648](https://github.com/GetStream/stream-chat-react/pull/648)
|
|
1521
|
+
|
|
1522
|
+
## Chore
|
|
1523
|
+
|
|
1524
|
+
- Bump dependencies [#657](https://github.com/GetStream/stream-chat-react/pull/657) [#659](https://github.com/GetStream/stream-chat-react/pull/659)
|
|
1525
|
+
|
|
1526
|
+
## [3.4.4](https://github.com/GetStream/stream-chat-react/releases/tag/v3.4.4) 2020-12-23
|
|
1527
|
+
|
|
1528
|
+
## Addition
|
|
1529
|
+
|
|
1530
|
+
- Export the UploadsPreview component. [#647](https://github.com/GetStream/stream-chat-react/pull/647)
|
|
1531
|
+
|
|
1532
|
+
## [3.4.3](https://github.com/GetStream/stream-chat-react/releases/tag/v3.4.3) 2020-12-16
|
|
1533
|
+
|
|
1534
|
+
## Fix
|
|
1535
|
+
|
|
1536
|
+
- Browser bundle undefined variable
|
|
1537
|
+
|
|
1538
|
+
## [3.4.2](https://github.com/GetStream/stream-chat-react/releases/tag/v3.4.2) 2020-12-16
|
|
1539
|
+
|
|
1540
|
+
## Adjustment
|
|
1541
|
+
|
|
1542
|
+
- Changes default smiley face icon for reaction selector. [#645](https://github.com/GetStream/stream-chat-react/pull/645)
|
|
1543
|
+
|
|
1544
|
+
## [3.4.1](https://github.com/GetStream/stream-chat-react/releases/tag/v3.4.1) 2020-12-15
|
|
1545
|
+
|
|
1546
|
+
## Feature
|
|
1547
|
+
|
|
1548
|
+
- Adds custom UI component prop `ThreadHeader` to `Thread` to override the default header. [#642](https://github.com/GetStream/stream-chat-react/pull/642)
|
|
1549
|
+
|
|
1550
|
+
## [3.4.0](https://github.com/GetStream/stream-chat-react/releases/tag/v3.4.0) 2020-12-14
|
|
1551
|
+
|
|
1552
|
+
## Feature
|
|
1553
|
+
|
|
1554
|
+
- MML is supported by default in all Message components except `MessageLiveStream`. [#562](https://github.com/GetStream/stream-chat-react/pull/562)
|
|
1555
|
+
|
|
1556
|
+
For more detail about how to use MML please refer to [mml-react](https://getstream.github.io/mml-react/) docs.
|
|
1557
|
+
|
|
1558
|
+
## [3.3.2](https://github.com/GetStream/stream-chat-react/releases/tag/v3.3.2) 2020-12-11
|
|
1559
|
+
|
|
1560
|
+
## Fix
|
|
1561
|
+
|
|
1562
|
+
- Add error handling for `loadMoreThread` API request [#627](https://github.com/GetStream/stream-chat-react/pull/627)
|
|
1563
|
+
|
|
1564
|
+
## [3.3.1](https://github.com/GetStream/stream-chat-react/releases/tag/v3.3.1) 2020-12-9
|
|
1565
|
+
|
|
1566
|
+
## Fix
|
|
1567
|
+
|
|
1568
|
+
- Add additional user role check for `isModerator` boolean [#625](https://github.com/GetStream/stream-chat-react/pull/625)
|
|
1569
|
+
|
|
1570
|
+
## [3.3.0](https://github.com/GetStream/stream-chat-react/releases/tag/v3.3.0) 2020-12-3
|
|
1571
|
+
|
|
1572
|
+
## Feature
|
|
1573
|
+
|
|
1574
|
+
- Allow all instances of Avatar to be overridden with a custom component via props [#610](https://github.com/GetStream/stream-chat-react/pull/610)
|
|
1575
|
+
|
|
1576
|
+
## [3.2.4](https://github.com/GetStream/stream-chat-react/releases/tag/v3.2.4) 2020-11-19
|
|
1577
|
+
|
|
1578
|
+
## Fix
|
|
1579
|
+
|
|
1580
|
+
- Prevent firing LoadMore requests when browser is offline [#614](https://github.com/GetStream/stream-chat-react/pull/614)
|
|
1581
|
+
- Support muted channels in ChannelPreview [#608](https://github.com/GetStream/stream-chat-react/pull/608)
|
|
1582
|
+
- `ChannelContext.sendMessage` type accepts missing text [#613](https://github.com/GetStream/stream-chat-react/pull/613)
|
|
1583
|
+
|
|
1584
|
+
## [3.2.3](https://github.com/GetStream/stream-chat-react/releases/tag/v3.2.3) 2020-11-13
|
|
1585
|
+
|
|
1586
|
+
## Fix
|
|
1587
|
+
|
|
1588
|
+
- Email links are clickable [#607](https://github.com/GetStream/stream-chat-react/pull/607)
|
|
1589
|
+
- `message.own_reactions` passed into Reaction components [#604](https://github.com/GetStream/stream-chat-react/pull/604)
|
|
1590
|
+
|
|
1591
|
+
## [3.2.2](https://github.com/GetStream/stream-chat-react/releases/tag/v3.2.2) 2020-11-05
|
|
1592
|
+
|
|
1593
|
+
## Fix
|
|
1594
|
+
|
|
1595
|
+
- `VirtualizedMessageList` breaking the list for falsy messages [#602](https://github.com/GetStream/stream-chat-react/pull/602)
|
|
1596
|
+
- `FixedHeightMessage` action box not opening in React@17 [#602](https://github.com/GetStream/stream-chat-react/pull/602)
|
|
1597
|
+
- Missing custom hooks type [#601](https://github.com/GetStream/stream-chat-react/pull/601)
|
|
1598
|
+
|
|
1599
|
+
## [3.2.1](https://github.com/GetStream/stream-chat-react/releases/tag/v3.2.1) 2020-11-04
|
|
1600
|
+
|
|
1601
|
+
## Fix
|
|
1602
|
+
|
|
1603
|
+
- `VirtualizedMessageList` stick to bottom [#597](https://github.com/GetStream/stream-chat-react/pull/597)
|
|
1604
|
+
|
|
1605
|
+
## [3.2.0](https://github.com/GetStream/stream-chat-react/releases/tag/v3.2.0) 2020-11-04
|
|
1606
|
+
|
|
1607
|
+
## Chore
|
|
1608
|
+
|
|
1609
|
+
- Support React v17 [#588](https://github.com/GetStream/stream-chat-react/pull/588)
|
|
1610
|
+
|
|
1611
|
+
## [3.1.7](https://github.com/GetStream/stream-chat-react/releases/tag/v3.1.7) 2020-10-29
|
|
1612
|
+
|
|
1613
|
+
## Fix
|
|
1614
|
+
|
|
1615
|
+
- Improved errorHandling on failed uploads. [#596](https://github.com/GetStream/stream-chat-react/pull/596)
|
|
1616
|
+
- Escape special characters in mentioned_users names [#591](https://github.com/GetStream/stream-chat-react/pull/591)
|
|
1617
|
+
- Improve handling max files(10) in MessageInput [#593](https://github.com/GetStream/stream-chat-react/pull/593)
|
|
1618
|
+
|
|
1619
|
+
## [3.1.6](https://github.com/GetStream/stream-chat-react/releases/tag/v3.1.6) 2020-10-21
|
|
1620
|
+
|
|
1621
|
+
## Fix
|
|
1622
|
+
|
|
1623
|
+
- `displayActions` prop is respected in `MessageOptions` component [#587](https://github.com/GetStream/stream-chat-react/pull/587)
|
|
1624
|
+
|
|
1625
|
+
## Chore
|
|
1626
|
+
|
|
1627
|
+
- `stream-chat-js` required version bumped to `2.7.x` [#582](https://github.com/GetStream/stream-chat-react/pull/582)
|
|
1628
|
+
|
|
1629
|
+
## [3.1.5](https://github.com/GetStream/stream-chat-react/releases/tag/v3.1.5) 2020-10-19
|
|
1630
|
+
|
|
1631
|
+
## Feature
|
|
1632
|
+
|
|
1633
|
+
- Disable upload dropzone and input button in Input components based on channel config [#585](https://github.com/GetStream/stream-chat-react/pull/585)
|
|
1634
|
+
|
|
1635
|
+
## Fix
|
|
1636
|
+
|
|
1637
|
+
- Disable the upload dropzone and input button when the maximum number of allowed attachments is reached [#577](https://github.com/GetStream/stream-chat-react/pull/577)
|
|
1638
|
+
|
|
1639
|
+
## [3.1.4](https://github.com/GetStream/stream-chat-react/releases/tag/v3.1.4) 2020-10-19
|
|
1640
|
+
|
|
1641
|
+
## Fix
|
|
1642
|
+
|
|
1643
|
+
- Fixed a bug with ChannelList pagination with low limits or high thresholds [#583](https://github.com/GetStream/stream-chat-react/pull/583)
|
|
1644
|
+
|
|
1645
|
+
## Added
|
|
1646
|
+
|
|
1647
|
+
- Disable reactions based on channel config [#581](https://github.com/GetStream/stream-chat-react/pull/581)
|
|
1648
|
+
- Disable Thread based on channel config [#580](https://github.com/GetStream/stream-chat-react/pull/580)
|
|
1649
|
+
- Disable TypingIndicator based on channel config [#579](https://github.com/GetStream/stream-chat-react/pull/579)
|
|
1650
|
+
|
|
1651
|
+
## [3.1.3](https://github.com/GetStream/stream-chat-react/releases/tag/v3.1.3) 2020-10-15
|
|
1652
|
+
|
|
1653
|
+
## Fix
|
|
1654
|
+
|
|
1655
|
+
- Better handling of offsets during loadMore [#578](https://github.com/GetStream/stream-chat-react/pull/578)
|
|
1656
|
+
|
|
1657
|
+
## [3.1.2](https://github.com/GetStream/stream-chat-react/releases/tag/v3.1.2) 2020-10-14
|
|
1658
|
+
|
|
1659
|
+
# Fix
|
|
1660
|
+
|
|
1661
|
+
Event handler for `message.new` by default moves the channel to top of the list. But it didn't handle the case where channel was not already present in list. `useMessageNewHandler` has been updated to handle this case. [c563252](https://github.com/GetStream/stream-chat-react/commit/c5632521566fe8ad8c3a05a6648b4cdc3c4daafe)
|
|
1662
|
+
|
|
1663
|
+
## [3.1.1](https://github.com/GetStream/stream-chat-react/releases/tag/v3.1.1) 2020-10-14
|
|
1664
|
+
|
|
1665
|
+
## Fix
|
|
1666
|
+
|
|
1667
|
+
- FixedHeightMessage text overflow [#573](https://github.com/GetStream/stream-chat-react/pull/573)
|
|
1668
|
+
- Prevent state updates on unmounted Channel component [#566](https://github.com/GetStream/stream-chat-react/pull/566)
|
|
1669
|
+
|
|
1670
|
+
## [3.1.0](https://github.com/GetStream/stream-chat-react/releases/tag/v3.1.0) 2020-10-14
|
|
1671
|
+
|
|
1672
|
+
## Feature
|
|
1673
|
+
|
|
1674
|
+
- VirtualizedMessageList supports message grouping [#571](https://github.com/GetStream/stream-chat-react/pull/571)
|
|
1675
|
+
|
|
1676
|
+
```js
|
|
1677
|
+
<VirtualizedMessageList shouldGroupByUser />
|
|
1678
|
+
```
|
|
1679
|
+
|
|
1680
|
+
## Fix
|
|
1681
|
+
|
|
1682
|
+
- VirtualizedMessageList TypingIndicator is disabled by default [#571](https://github.com/GetStream/stream-chat-react/pull/571)
|
|
1683
|
+
|
|
1684
|
+
## [3.0.3](https://github.com/GetStream/stream-chat-react/releases/tag/v3.0.3) 2020-10-13
|
|
1685
|
+
|
|
1686
|
+
## Fix
|
|
1687
|
+
|
|
1688
|
+
- Security [issue](https://github.com/GetStream/stream-chat-react/issues/569) due to missing `rel="noopener noreferrer"` in rendered links [#570](https://github.com/GetStream/stream-chat-react/pull/570)
|
|
1689
|
+
|
|
1690
|
+
## [3.0.2](https://github.com/GetStream/stream-chat-react/releases/tag/v3.0.2) 2020-10-12
|
|
1691
|
+
|
|
1692
|
+
- Bump stream-chat to v2.6.0 [#568](https://github.com/GetStream/stream-chat-react/pull/568)
|
|
1693
|
+
|
|
1694
|
+
## [3.0.1](https://github.com/GetStream/stream-chat-react/releases/tag/v3.0.1) 2020-10-05
|
|
1695
|
+
|
|
1696
|
+
- Bumped dependencies [#558](https://github.com/GetStream/stream-chat-react/pull/558)
|
|
1697
|
+
|
|
1698
|
+
## Fix
|
|
1699
|
+
|
|
1700
|
+
- Fixed issues on docs [#556](https://github.com/GetStream/stream-chat-react/pull/556)
|
|
1701
|
+
- Fix type issues [#557](https://github.com/GetStream/stream-chat-react/pull/557)
|
|
1702
|
+
- Keep channel.members in sync [#561](https://github.com/GetStream/stream-chat-react/pull/561)
|
|
1703
|
+
|
|
1704
|
+
## Added
|
|
1705
|
+
|
|
1706
|
+
- Export EmojiPicker [#560](https://github.com/GetStream/stream-chat-react/pull/560)
|
|
1707
|
+
|
|
1708
|
+
## [3.0.0](https://github.com/GetStream/stream-chat-react/releases/tag/v3.0.0) 2020-09-30
|
|
1709
|
+
|
|
1710
|
+
### BREAKING CHANGES
|
|
1711
|
+
|
|
1712
|
+
- Image component renamed to ImageComponent [#554](https://github.com/GetStream/stream-chat-react/pull/554)
|
|
1713
|
+
|
|
1714
|
+
## [2.6.2](https://github.com/GetStream/stream-chat-react/releases/tag/v2.6.2) 2020-09-29
|
|
1715
|
+
|
|
1716
|
+
### Fix
|
|
1717
|
+
|
|
1718
|
+
- Fixed several type issues [#552](https://github.com/GetStream/stream-chat-react/pull/552)
|
|
1719
|
+
|
|
1720
|
+
## [2.6.1](https://github.com/GetStream/stream-chat-react/releases/tag/v2.6.1) 2020-09-29
|
|
1721
|
+
|
|
1722
|
+
### Fix
|
|
1723
|
+
|
|
1724
|
+
- Fixed an issue with MessageLivestream where mutes and flags were not happening [#551](https://github.com/GetStream/stream-chat-react/pull/551)
|
|
1725
|
+
|
|
1726
|
+
## [2.6.0](https://github.com/GetStream/stream-chat-react/releases/tag/v2.6.0) 2020-09-29
|
|
1727
|
+
|
|
1728
|
+
### Feature
|
|
1729
|
+
|
|
1730
|
+
- New messages date indicator in MessageList and VritualizedMessageList [#548](https://github.com/GetStream/stream-chat-react/pull/548)
|
|
1731
|
+
- Reply/Reactions are available in messageActions [#547](https://github.com/GetStream/stream-chat-react/pull/547)
|
|
1732
|
+
|
|
1733
|
+
### Fix
|
|
1734
|
+
|
|
1735
|
+
- Fix opacity on emoji in EditMessageForm [#540](https://github.com/GetStream/stream-chat-react/pull/540)
|
|
1736
|
+
- Sanitize URL image sources in Image component [#543](https://github.com/GetStream/stream-chat-react/pull/543)
|
|
1737
|
+
- Add first letter of display name to avatar [#545](https://github.com/GetStream/stream-chat-react/pull/545)
|
|
1738
|
+
|
|
1739
|
+
## [2.5.0](https://github.com/GetStream/stream-chat-react/releases/tag/v2.5.0) 2020-09-24
|
|
1740
|
+
|
|
1741
|
+
### Feature
|
|
1742
|
+
|
|
1743
|
+
- TypingIndicator component is added by default to both MessageList and VirtualizedMessageList components. This component can also be used by its own. [#535](https://github.com/GetStream/stream-chat-react/pull/535)
|
|
1744
|
+
|
|
1745
|
+
## [2.4.0](https://github.com/GetStream/stream-chat-react/releases/tag/v2.4.0) 2020-09-17
|
|
1746
|
+
|
|
1747
|
+
### Feature
|
|
1748
|
+
|
|
1749
|
+
- [VirtualizedMessageList](https://github.com/GetStream/stream-chat-react/blob/master/src/docs/VirtualizedMessageList.md) is a new component that can handle thousands of messages in a channel. It uses a virtualized list under the hood. #487
|
|
1750
|
+
|
|
1751
|
+
### Fix
|
|
1752
|
+
|
|
1753
|
+
- Typescript generics of stream chat js are ABC adjusted #521
|
|
1754
|
+
|
|
1755
|
+
## [2.3.3](https://github.com/GetStream/stream-chat-react/releases/tag/v2.3.3) 2020-09-15
|
|
1756
|
+
|
|
1757
|
+
- Refactored Attachment component to now also accept a Gallery prop that will handle when the attachments array contains multiple images.
|
|
1758
|
+
- Upgraded react-file-utils which fixes image previews not displaying on the EditMessageForm
|
|
1759
|
+
- Fix PropType errors
|
|
1760
|
+
- Fix an issue with the infinite scroll on the MessageList when the client is offline
|
|
1761
|
+
|
|
1762
|
+
## [2.3.2](https://github.com/GetStream/stream-chat-react/releases/tag/v2.3.2) 2020-09-10
|
|
1763
|
+
|
|
1764
|
+
- Upgrading stream-chat to 2.2.2
|
|
1765
|
+
|
|
1766
|
+
## [2.3.1](https://github.com/GetStream/stream-chat-react/releases/tag/v2.3.1) 2020-09-10
|
|
1767
|
+
|
|
1768
|
+
- Upgrading stream-chat to 2.2.1
|
|
1769
|
+
|
|
1770
|
+
## [2.3.0](https://github.com/GetStream/stream-chat-react/releases/tag/v2.3.0) 2020-09-10
|
|
1771
|
+
|
|
1772
|
+
- Upgraded `stream-chat` package to `v2.2.0`
|
|
1773
|
+
|
|
1774
|
+
- `stream-chat` package has been migrated to complete typescript in 2.x.x. There were no breaking change with underlying
|
|
1775
|
+
javascript api and also typescript except for [Event type](https://github.com/GetStream/stream-chat-js/blob/master/CHANGELOG.md#august-26-2020---200). We recommend you to check the changelog for stream-chat-js repository as well for more details
|
|
1776
|
+
if you are planning to upgrade from `stream-chat-react@2.2.x` to `stream-chat-react@2.3.x`
|
|
1777
|
+
- This PR which contains typescript related changes in stream-chat-react for given upgrade - https://github.com/GetStream/stream-chat-react/pull/499/files
|
|
1778
|
+
|
|
1779
|
+
## [2.2.2](https://github.com/GetStream/stream-chat-react/releases/tag/v2.2.2) 2020-08-21
|
|
1780
|
+
|
|
1781
|
+
- Separated ConnectionStatus component from MessageList [82c8927](https://github.com/GetStream/stream-chat-react/commit/82c892773cd4aebed275259c93829ba6cb34b0be)
|
|
1782
|
+
- Bug fix: When Channel component is standalone used (without ChannelList), mentions feature wouldn't work [4f64abc](https://github.com/GetStream/stream-chat-react/commit/4f64abcda95c77344a973b2972965a70b0cd8295)
|
|
1783
|
+
|
|
1784
|
+
## [2.2.1](https://github.com/GetStream/stream-chat-react/releases/tag/v2.2.1) 2020-07-31
|
|
1785
|
+
|
|
1786
|
+
- Added listener for channel.hidden event and prop to override the default behaviour onChannelHidden [643af50](https://github.com/GetStream/stream-chat-react/commit/33739bd730f61da62e6fbe305a2807575643af50)
|
|
1787
|
+
- Added listener for channel.visible event and prop to override the default behaviour onChannelVisible [56e1208](https://github.com/GetStream/stream-chat-react/commit/5066052d0948310582c74476d3981965b56e1208)
|
|
1788
|
+
|
|
1789
|
+
## [2.2.0](https://github.com/GetStream/stream-chat-react/releases/tag/v2.2.0) 2020-07-31
|
|
1790
|
+
|
|
1791
|
+
- Added doMarkReadRequest prop to Channel component, to override markRead api calls [49a058b8](https://github.com/GetStream/stream-chat-react/commit/49a058b8489699fb3de4fc5f7041a4d09d9acd39)
|
|
1792
|
+
|
|
1793
|
+
## [2.1.3](https://github.com/GetStream/stream-chat-react/releases/tag/v2.1.3) 2020-07-27
|
|
1794
|
+
|
|
1795
|
+
- Fix empty reaction showing bubble [#473](https://github.com/GetStream/stream-chat-react/pull/473)
|
|
1796
|
+
|
|
1797
|
+
## [2.1.2](https://github.com/GetStream/stream-chat-react/releases/tag/v2.1.2) 2020-07-27
|
|
1798
|
+
|
|
1799
|
+
- Add formatDate to docs [#469](https://github.com/GetStream/stream-chat-react/pull/469)
|
|
1800
|
+
- Allow reaction override in Message components [#470](https://github.com/GetStream/stream-chat-react/pull/470)
|
|
1801
|
+
- Fix runtime require in browser bundle [#472](https://github.com/GetStream/stream-chat-react/pull/472)
|
|
1802
|
+
|
|
1803
|
+
## [2.1.1](https://github.com/GetStream/stream-chat-react/releases/tag/v2.1.1) 2020-07-22
|
|
1804
|
+
|
|
1805
|
+
- Bumped `react-file-utils` to `0.3.15` which includes an upgraded version of `blueimp-load-image` which makes it easier to use this library in SSR apps.
|
|
1806
|
+
|
|
1807
|
+
## [2.1.0](https://github.com/GetStream/stream-chat-react/releases/tag/v2.1.0) 2020-07-22
|
|
1808
|
+
|
|
1809
|
+
- Rename exported component `File` to `FileAttachment` to avoid overriding `window.File` in bundled release
|
|
1810
|
+
|
|
1811
|
+
## [2.0.4](https://github.com/GetStream/stream-chat-react/releases/tag/v2.0.4) 2020-07-21
|
|
1812
|
+
|
|
1813
|
+
- Fixed type issues
|
|
1814
|
+
- Fixed an issue with the mobile navigation
|
|
1815
|
+
- Added the ability to customize the datetime stamp on Message components using the `formatDate` prop
|
|
1816
|
+
|
|
1817
|
+
## [2.0.3](https://github.com/GetStream/stream-chat-react/releases/tag/v2.0.3) 2020-07-20
|
|
1818
|
+
|
|
1819
|
+
- All components using mutes get them using the useContext hook.
|
|
1820
|
+
- Performance updates
|
|
1821
|
+
- Fix for document.title when read_events are disabled
|
|
1822
|
+
- Added docs on using included hooks
|
|
1823
|
+
|
|
1824
|
+
## [2.0.2](https://github.com/GetStream/stream-chat-react/releases/tag/v2.0.2) 2020-07-16
|
|
1825
|
+
|
|
1826
|
+
- Fixed some issues with editing messages
|
|
1827
|
+
- Fixed some issues with muting/unmuting messages
|
|
1828
|
+
|
|
1829
|
+
## [2.0.1](https://github.com/GetStream/stream-chat-react/releases/tag/v2.0.1) 2020-07-15
|
|
1830
|
+
|
|
1831
|
+
We’re bumping `stream-chat-react` to version 2.0.1 because over the past three months we’ve been doing a major refactor of our codebase. The foundational work includes:
|
|
1832
|
+
|
|
1833
|
+
- Major refactor and code cleanup
|
|
1834
|
+
- Components have been rewritten to use React Hooks
|
|
1835
|
+
- Added tests for all components
|
|
1836
|
+
- Performance improvements on MessageList
|
|
1837
|
+
- Upgraded dependencies
|
|
1838
|
+
|
|
1839
|
+
### Breaking changes
|
|
1840
|
+
|
|
1841
|
+
- Drop node 11, 13
|
|
1842
|
+
- Deprecating context HOC’s
|
|
1843
|
+
Since we moved our library to rely on React Hooks moved the following HOC’s to use `useContext` :
|
|
1844
|
+
- `withChannelContext`
|
|
1845
|
+
- `withChatContext`
|
|
1846
|
+
- `withTranslationContext`
|
|
1847
|
+
This means we now directly use the context values from the context and they’re not passed down from the props anymore.
|
|
1848
|
+
- The `updateMessage` on the channel context does not support extraState anymore.
|
|
1849
|
+
- There no longer is a ref inside a ref in ReactionsList. Instead, the ref of the container div is directly forwarded by the component.
|
|
1850
|
+
|
|
1851
|
+
### Addidtions
|
|
1852
|
+
|
|
1853
|
+
- Triggers on MessageInput can now be overwritten using the autocompleteTriggers prop on `MessageInput`
|
|
1854
|
+
|
|
1855
|
+
### Fixes
|
|
1856
|
+
|
|
1857
|
+
- Fixed styling on autocomplete suggestions
|
|
1858
|
+
- Fixed YouTube video rendering in messages
|
|
1859
|
+
- Fixed an issue that allowed you to send empty messages
|
|
1860
|
+
- Bugfix in groupStyles calculations
|
|
1861
|
+
|
|
1862
|
+
## [1.2.5](https://github.com/GetStream/stream-chat-react/releases/tag/v1.2.5) 2020-06-30
|
|
1863
|
+
|
|
1864
|
+
- Added `LoadingIndicator` prop to MessageList
|
|
1865
|
+
- Fixed some minor styling issues with SafeAnchor
|
|
1866
|
+
|
|
1867
|
+
## [1.2.4](https://github.com/GetStream/stream-chat-react/releases/tag/v1.2.4) 2020-06-30
|
|
1868
|
+
|
|
1869
|
+
- Refactor and improvements to the Gallery Modal component
|
|
1870
|
+
|
|
1871
|
+
## [1.2.3](https://github.com/GetStream/stream-chat-react/releases/tag/v1.2.3) 2020-06-30
|
|
1872
|
+
|
|
1873
|
+
- Fixing types
|
|
1874
|
+
|
|
1875
|
+
## [1.2.2](https://github.com/GetStream/stream-chat-react/releases/tag/v1.2.2) 2020-06-22
|
|
1876
|
+
|
|
1877
|
+
- Fixing types
|
|
1878
|
+
|
|
1879
|
+
## [1.2.1](https://github.com/GetStream/stream-chat-react/releases/tag/v1.2.1) 2020-06-17
|
|
1880
|
+
|
|
1881
|
+
- Fixed an issue with our type definitions introduced in `1.2.0`
|
|
1882
|
+
|
|
1883
|
+
## [1.2.0](https://github.com/GetStream/stream-chat-react/releases/tag/v1.2.0) 2020-06-16
|
|
1884
|
+
|
|
1885
|
+
- @mentions now use the queryMembers endpoint enabling mentions in channels of more that 100 members
|
|
1886
|
+
- Fix for .mov videos
|
|
1887
|
+
- Refactors and a lot of new tests
|
|
1888
|
+
- Some small bug fixes
|
|
1889
|
+
|
|
1890
|
+
## [1.1.2](https://github.com/GetStream/stream-chat-react/releases/tag/v1.1.2) 2020-06-11
|
|
1891
|
+
|
|
1892
|
+
- Fixes issue with File uploads on MessageInputLarge
|
|
1893
|
+
- Make sure to only render videos if the browser supports it
|
|
1894
|
+
|
|
1895
|
+
## [1.1.1](https://github.com/GetStream/stream-chat-react/releases/tag/v1.1.1) 2020-06-09
|
|
1896
|
+
|
|
1897
|
+
- Fixes links when written as markdown
|
|
1898
|
+
- Allows app:// protocol in markdown links
|
|
1899
|
+
|
|
1900
|
+
## [1.1.0](https://github.com/GetStream/stream-chat-react/releases/tag/v1.1.0) 2020-06-08
|
|
1901
|
+
|
|
1902
|
+
**Breaking Change**
|
|
1903
|
+
|
|
1904
|
+
- Migrated ChannelList component to functional component.
|
|
1905
|
+
|
|
1906
|
+
`ChannelList` component comes with some default handlers for following events.
|
|
1907
|
+
|
|
1908
|
+
1. notification.message_new
|
|
1909
|
+
2. notification.added_to_channel
|
|
1910
|
+
3. notification.removed_from_channel
|
|
1911
|
+
4. channel.updated
|
|
1912
|
+
5. channel.deleted
|
|
1913
|
+
6. channel.truncated
|
|
1914
|
+
|
|
1915
|
+
But these default event handlers can be overriden by providing corresponding
|
|
1916
|
+
prop functions for handling the event. For example, to override `notification.message_new` event,
|
|
1917
|
+
you can provide prop function - `onMessageNew`, to ChannelList component.
|
|
1918
|
+
|
|
1919
|
+
Until now, ChannelList component was class based, so function prop (e.g., `onMessageNew`) used to accept
|
|
1920
|
+
following 2 parameters:
|
|
1921
|
+
|
|
1922
|
+
1. thisArg - `this` reference of component. You could use this to update the state of the
|
|
1923
|
+
component as well. e.g., `thisArg.setState({ ... })`
|
|
1924
|
+
2. event - Event object
|
|
1925
|
+
|
|
1926
|
+
In this release, we have migrated ChannelList component to functional component and thus
|
|
1927
|
+
`thisArg` is no longer accessible. Instead we provide the setter (from `useState` hook) for channels.
|
|
1928
|
+
So updated params to these custom event handlers (prop functions) is as follow:
|
|
1929
|
+
|
|
1930
|
+
1. setChannels {function} Setter for channels.
|
|
1931
|
+
2. event {object} Event object
|
|
1932
|
+
|
|
1933
|
+
And same applies to all the rest of the custom event handlers:
|
|
1934
|
+
|
|
1935
|
+
- onMessageNew
|
|
1936
|
+
- onAddedToChannel
|
|
1937
|
+
- onRemovedFromChannel
|
|
1938
|
+
- onChannelUpdated
|
|
1939
|
+
- onChannelTruncated
|
|
1940
|
+
- onChannelDeleted
|
|
1941
|
+
|
|
1942
|
+
**Fixes:**
|
|
1943
|
+
|
|
1944
|
+
- Correctly set attachment type based on mime type
|
|
1945
|
+
- Fixes to audio component
|
|
1946
|
+
- Mentions: filter out no-longer-mentioned users on submit
|
|
1947
|
+
|
|
1948
|
+
**Other:**
|
|
1949
|
+
|
|
1950
|
+
- Type fixes
|
|
1951
|
+
- Tests
|
|
1952
|
+
- Refactors
|
|
1953
|
+
|
|
1954
|
+
## [1.0.0](https://github.com/GetStream/stream-chat-react/releases/tag/v1.0.0) 2020-05-15
|
|
1955
|
+
|
|
1956
|
+
We've already been on a v1 release for a while but never updated our versioning. Right now we're in the process of rewriting our components to be more future proof and we started using hooks, hence the v1.0.0 today.
|
|
1957
|
+
|
|
1958
|
+
**Breaking change:** `stream-chat-react` now relies on hooks and will need at least `v16.8.x` of `react` to work.
|
|
1959
|
+
|
|
1960
|
+
- Fixed some issues with mutes
|
|
1961
|
+
- Fixed issues with attachments
|
|
1962
|
+
- Added tests
|
|
1963
|
+
|
|
1964
|
+
## [0.12.1](https://github.com/GetStream/stream-chat-react/releases/tag/v0.12.1) 2020-05-12
|
|
1965
|
+
|
|
1966
|
+
- Render video uploads as videos, not files
|
|
1967
|
+
- Added tooltip to emoji and attachment buttons
|
|
1968
|
+
- Fix file/image upload preview layout
|
|
1969
|
+
- Added tests
|
|
1970
|
+
|
|
1971
|
+
## [0.12.0](https://github.com/GetStream/stream-chat-react/releases/tag/v0.12.0) 2020-05-08
|
|
1972
|
+
|
|
1973
|
+
- Refactor
|
|
1974
|
+
- First message in thread doesn't have a fixed position anymore
|
|
1975
|
+
- Upon if the active channel get's deleted, we now set the active channel to be empty
|
|
1976
|
+
- Removed some unused css
|
|
1977
|
+
- Fix for read indicators
|
|
1978
|
+
|
|
1979
|
+
## [0.11.18](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.18) 2020-05-06
|
|
1980
|
+
|
|
1981
|
+
- Better fallback avatar in ReactionSelector
|
|
1982
|
+
- Better scrolling after assets finish loading
|
|
1983
|
+
- Disabled truncation of email links
|
|
1984
|
+
- New props `onUserClick` and `onUserHover` on `Message` components
|
|
1985
|
+
|
|
1986
|
+
## [0.11.17](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.17) 2020-05-04
|
|
1987
|
+
|
|
1988
|
+
- Added prop MessageDeleted on Message components to override the default component displayed for deleted messages.
|
|
1989
|
+
|
|
1990
|
+
## [0.11.16](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.16) 2020-05-01
|
|
1991
|
+
|
|
1992
|
+
- Fixed an where read state indicators dissapeared
|
|
1993
|
+
|
|
1994
|
+
## [0.11.15](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.15) 2020-04-30
|
|
1995
|
+
|
|
1996
|
+
- Fixed an issue where the read by tooltip said: "x, x, and 0 more"
|
|
1997
|
+
- Fixed an issue where app might crash due to faulty read state
|
|
1998
|
+
- Fixed an issue where file attachments didn't get uploaded when also uploading images
|
|
1999
|
+
|
|
2000
|
+
## [0.11.14](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.14) 2020-04-29
|
|
2001
|
+
|
|
2002
|
+
- Adding direct messaging support for channel preview [b394079](https://github.com/GetStream/stream-chat-react/commit/b39407960fa908dc55b8ea48625f3c7095c37b56)
|
|
2003
|
+
- Fixed typescript for ChannelList component [576f5c8](https://github.com/GetStream/stream-chat-react/commit/576f5c85919bccf21fc803e917581e373dd241d5)
|
|
2004
|
+
- Fixed french translation file [308fcab](https://github.com/GetStream/stream-chat-react/commit/308fcab5fa891aad527cf94aeed8353a99d7dcb8)
|
|
2005
|
+
- Adding extra check for channel connection to avoid failing markRead call [317fb1f](https://github.com/GetStream/stream-chat-react/commit/317fb1fe31e21e253cdce95bfb5d19932f098e2b)
|
|
2006
|
+
|
|
2007
|
+
## [0.11.13](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.13) 2020-04-20
|
|
2008
|
+
|
|
2009
|
+
- Add check to fix optional activeChannel in ChannelPreview.
|
|
2010
|
+
|
|
2011
|
+
## [0.11.12](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.12) 2020-04-17
|
|
2012
|
+
|
|
2013
|
+
- Fixing typescript issue with `MessageInput` component prop - `additionalTextAreaProps` [92f2ae2](https://github.com/GetStream/stream-chat-react/commit/92f2ae29a3c66a683ea2b1ebd1c85854cfa41446)
|
|
2014
|
+
|
|
2015
|
+
## [0.11.11](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.11) 2020-04-15
|
|
2016
|
+
|
|
2017
|
+
- Adding missing translation key `{{ imageCount }} more` in Gallery component [5cea938](https://github.com/GetStream/stream-chat-react/commit/5cea938c5e80e781ae815f461e833f0b61b1a110)
|
|
2018
|
+
|
|
2019
|
+
## [0.11.10](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.10) 2020-04-09
|
|
2020
|
+
|
|
2021
|
+
- Fix crashing app when there's no active channel
|
|
2022
|
+
|
|
2023
|
+
## [0.11.9](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.9) 2020-04-09
|
|
2024
|
+
|
|
2025
|
+
- Fix issue with DateSeparator
|
|
2026
|
+
- added type definition for setActiveChannelOnMount
|
|
2027
|
+
|
|
2028
|
+
## [0.11.8](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.8) 2020-04-08
|
|
2029
|
+
|
|
2030
|
+
- Fix bug in ChannelHeader caused in version `0.11.4`
|
|
2031
|
+
|
|
2032
|
+
## [0.11.6](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.6) 2020-04-04
|
|
2033
|
+
|
|
2034
|
+
**NOTE** Please make sure to use `stream-chat@^1.7.0`
|
|
2035
|
+
|
|
2036
|
+
- Fixing moderator, owner, admin checks for message actions [71b3309](https://github.com/GetStream/stream-chat-react/commit/71b3309f53edd03a9eded293b3d77093be6359d5)
|
|
2037
|
+
|
|
2038
|
+
## [0.11.5](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.5) 2020-04-03
|
|
2039
|
+
|
|
2040
|
+
- Open url attachments in new tab [e6436fe](https://github.com/GetStream/stream-chat-react/commit/e6436fe2c8c09bba42ec3677771191e5acbf5d93)
|
|
2041
|
+
|
|
2042
|
+
## [0.11.4](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.4) 2020-04-02
|
|
2043
|
+
|
|
2044
|
+
- Reworked the mobile nav behaviour to be more flexible
|
|
2045
|
+
|
|
2046
|
+
## [0.11.3](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.3) 2020-04-02
|
|
2047
|
+
|
|
2048
|
+
- Have the mute action respect channel settings
|
|
2049
|
+
- Add supported markdown to docs
|
|
2050
|
+
|
|
2051
|
+
## [0.11.1](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.1) 2020-03-27
|
|
2052
|
+
|
|
2053
|
+
- Reverting optimistic reaction UI related changes
|
|
2054
|
+
|
|
2055
|
+
Reverted commits:
|
|
2056
|
+
|
|
2057
|
+
- [36f8fd0](https://github.com/GetStream/stream-chat-react/commit/36f8fd025f1f8f5bf8c825ba86c141893d69b662)
|
|
2058
|
+
- [393c3a5](https://github.com/GetStream/stream-chat-react/commit/393c3a5fb6d31bd5abf24af69b522a85f573e77f)
|
|
2059
|
+
|
|
2060
|
+
Reason: Please check the changelog for [v1.6.1](https://github.com/GetStream/stream-chat-js/blob/master/CHANGELOG.md#march-27-2020---161) stream-chat-js
|
|
2061
|
+
|
|
2062
|
+
## [0.11.0](https://github.com/GetStream/stream-chat-react/releases/tag/v0.11.0) 2020-03-27
|
|
2063
|
+
|
|
2064
|
+
- Improvements to reaction UX: Updating UI optimistically instead of waiting for reaction api
|
|
2065
|
+
call to succeed
|
|
2066
|
+
- [36f8fd0](https://github.com/GetStream/stream-chat-react/commit/36f8fd025f1f8f5bf8c825ba86c141893d69b662)
|
|
2067
|
+
- [393c3a5](https://github.com/GetStream/stream-chat-react/commit/393c3a5fb6d31bd5abf24af69b522a85f573e77f)
|
|
2068
|
+
- Fix for a bug: Flagging a message results in "`t is not a function`" error in console
|
|
2069
|
+
- commit [d537e78](https://github.com/GetStream/stream-chat-react/commit/d537e787b624b11f8f97f90075afe6f824be025e)
|
|
2070
|
+
- fixes issue [#181](https://github.com/GetStream/stream-chat-react/issues/181#issuecomment-604283175)
|
|
2071
|
+
- Adding support for `additionalTextareaProps` prop in MessageInput component
|
|
2072
|
+
- [5346f54](https://github.com/GetStream/stream-chat-react/commit/5346f548f9080d2b178b7ad215425361d433f95f)
|
|
2073
|
+
- [a6719bb](https://github.com/GetStream/stream-chat-react/commit/a6719bb8dc0b9209c45653c5b6fe6fe0e5e8bf32)
|
|
2074
|
+
- Filter out buggy emojis and updating emoji-mart [333ed77](https://github.com/GetStream/stream-chat-react/commit/333ed77ad7d4ebe5dbb2a80052ac3292eeb5e3ee)
|
|
2075
|
+
- Displaying DateSeperator before deleted messages. So far we didn't show it [8ed3ca5](https://github.com/GetStream/stream-chat-react/commit/8ed3ca508cdb3561d645455c7529d9ea7dceea9f)
|
|
2076
|
+
- Updating `stream-chat` version to 1.6.0 [d4b7c14](https://github.com/GetStream/stream-chat-react/commit/d4b7c143ae7e4d36fe8e76d1cf9fde78c1a1dc39)
|
|
2077
|
+
|
|
2078
|
+
## [0.10.2](https://github.com/GetStream/stream-chat-react/releases/tag/v0.10.2) 2020-03-26
|
|
2079
|
+
|
|
2080
|
+
- Bug fix - making sure translators are ready before rendering Chat component [1b0c07a65b88075d14b038977d42138ec7fdaa21](https://github.com/GetStream/stream-chat-react/commit/1b0c07a65b88075d14b038977d42138ec7fdaa21) Fixes [#181](https://github.com/GetStream/stream-chat-react/issues/181)
|
|
2081
|
+
- Fixing small styling issues with MessageInput
|
|
2082
|
+
- [a17300e](https://github.com/GetStream/stream-chat-react/commit/a17300e5a9b8cdcf6ba03c6260679dda3269c812)
|
|
2083
|
+
- [0f0bf0a](https://github.com/GetStream/stream-chat-react/commit/0f0bf0a304fdcea498878c9ab501dc18e63340d4)
|
|
2084
|
+
|
|
2085
|
+
## [0.10.1](https://github.com/GetStream/stream-chat-react/releases/tag/v0.10.1) 2020-03-25
|
|
2086
|
+
|
|
2087
|
+
- Added missing i18next dependency to dependency list [c7cf11f](https://github.com/GetStream/stream-chat-react/commit/c7cf11f32b5a0346889534387adcb99e06f5d90d)
|
|
2088
|
+
|
|
2089
|
+
## [0.10.0](https://github.com/GetStream/stream-chat-react/releases/tag/v0.10.0) 2020-03-24
|
|
2090
|
+
|
|
2091
|
+
- i18n support for library. Documentatio - https://getstream.github.io/stream-chat-react/#section-streami18n
|
|
2092
|
+
|
|
2093
|
+
## [0.9.0](https://github.com/GetStream/stream-chat-react/releases/tag/v0.9.0) 2020-03-21
|
|
2094
|
+
|
|
2095
|
+
- 20% bundle size reduction (use day.js instead of moment.js)
|
|
2096
|
+
|
|
2097
|
+
## [0.8.8](https://github.com/GetStream/stream-chat-react/releases/tag/v0.8.8) 2020-03-20
|
|
2098
|
+
|
|
2099
|
+
- Changing mute success notification to show name of user instead of id - [e5bab26](https://github.com/GetStream/stream-chat-react/commit/e5bab26958e9d3ff5ad53491ed5d964d02f95dab)
|
|
2100
|
+
- Bug fix: Cancel button on giphy command in thread failed to remove message - [e592a4e](https://github.com/GetStream/stream-chat-react/commit/e592a4e8c8738cd61549b14a40dc317934777ce5)
|
|
2101
|
+
- Fixing typing indicator to now show up when current user is typing - [c24dc7a](https://github.com/GetStream/stream-chat-react/commit/c24dc7a1ed0ec2b1dada780b32f899b00d59165a)
|
|
2102
|
+
- Fixing moderator role check function in Message.js - [311fab9](https://github.com/GetStream/stream-chat-react/commit/311fab9efb5bd8ebd90b86c8ed1c2a86db62d6f7)
|
|
2103
|
+
|
|
2104
|
+
## [0.8.7](https://github.com/GetStream/stream-chat-react/releases/tag/v0.8.7) 2020-03-19
|
|
2105
|
+
|
|
2106
|
+
- Fixed a bug where attachments got duplicated upon submitting an edited message [cb93b92](https://github.com/GetStream/stream-chat-react/commit/cb93b9274c94b1d813c2d061869251cc04f5f610)
|
|
2107
|
+
|
|
2108
|
+
## [0.8.6](https://github.com/GetStream/stream-chat-react/releases/tag/v0.8.6) 2020-03-17
|
|
2109
|
+
|
|
2110
|
+
- Allow `~~test~~` double tilde for strikethrough in messages - [6870194](https://github.com/GetStream/stream-chat-react/commit/6870194a778f95b3c896d76fa4d4b39e3114c692)
|
|
2111
|
+
- Fix issue where attachments got duplicated when editing messages - [eea7f61](https://github.com/GetStream/stream-chat-react/commit/eea7f61763359ca8b4dfb13feff294668455643d)
|
|
2112
|
+
|
|
2113
|
+
## [0.8.4](https://github.com/GetStream/stream-chat-react/releases/tag/v0.8.4) 2020-02-11
|
|
2114
|
+
|
|
2115
|
+
- Fixing `EmptyStateIndicator` prop for ChannelList component - [20d1672](https://github.com/GetStream/stream-chat-react/commit/20d1672969f030bc8f948aea5955706c6dcf757a)
|
|
2116
|
+
|
|
2117
|
+
## [0.8.3](https://github.com/GetStream/stream-chat-react/releases/tag/v0.8.3) 2020-02-11
|
|
2118
|
+
|
|
2119
|
+
- Fixing `LoadingIndicator` prop for InfiniteScrollPaginator component - [fb81d68](https://github.com/GetStream/stream-chat-react/commit/fb81d68deb2822b9cf2f0414a3d430b86277f024)
|
|
2120
|
+
|
|
2121
|
+
## [0.8.2](https://github.com/GetStream/stream-chat-react/releases/tag/v0.8.2) 2020-02-10
|
|
2122
|
+
|
|
2123
|
+
- Fixing `LoadingIndicator` prop for ChannelList component - [e6e2e9f](https://github.com/GetStream/stream-chat-react/commit/e6e2e9fdd280d183b4378996c926e4540e467c17)
|
|
2124
|
+
- Adding `LoadingErrorIndicator` prop for ChannelList component - [e6e2e9f](https://github.com/GetStream/stream-chat-react/commit/e6e2e9fdd280d183b4378996c926e4540e467c17)
|
|
2125
|
+
|
|
2126
|
+
## [0.8.1](https://github.com/GetStream/stream-chat-react/releases/tag/v0.8.1) 2020-02-07
|
|
2127
|
+
|
|
2128
|
+
- Fixing broken typescript file [cc86f6f](https://github.com/GetStream/stream-chat-react/commit/cc86f6fea998e8581121c7da42870b0c5d316d8c)
|
|
2129
|
+
|
|
2130
|
+
## [0.8.0](https://github.com/GetStream/stream-chat-react/releases/tag/v0.8.0) 2020-02-07
|
|
2131
|
+
|
|
2132
|
+
- Updated dependencies [dfe466d](https://github.com/GetStream/stream-chat-react/commit/dfe466d43e75b7213857fdf9a6e007ecfc3d4614)
|
|
2133
|
+
- Exported all the components and updated typescript types - [41e478f](https://github.com/GetStream/stream-chat-react/commit/41e478fc1d37aad8994b9b1075ce9a576a1497f0)
|
|
2134
|
+
|
|
2135
|
+
## [0.7.20](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.20) 2020-01-14
|
|
2136
|
+
|
|
2137
|
+
- When you change the filters prop on the ChannelList component this now we will refresh the channels with the new query
|
|
2138
|
+
|
|
2139
|
+
## [0.7.17](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.17) 2020-01-02
|
|
2140
|
+
|
|
2141
|
+
- Added `maxRows` props to MessageInput component
|
|
2142
|
+
|
|
2143
|
+
## [0.7.16](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.16) 2020-01-02
|
|
2144
|
+
|
|
2145
|
+
- Removed inline styles from multiple locations
|
|
2146
|
+
- Exporting new component `ChatAutoComplete` (Advanced usage only)
|
|
2147
|
+
|
|
2148
|
+
## [0.7.15](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.15) 2019-12-30
|
|
2149
|
+
|
|
2150
|
+
- Added the following props on the `Thread` component so the underlying MessageList, MessageInput and Message components can be customized using props:
|
|
2151
|
+
- `additionalParentMessageProps`
|
|
2152
|
+
- `additionalMessageListProps`
|
|
2153
|
+
- `additionalMessageInputProps`
|
|
2154
|
+
- Added the following props to the `Channel` component:
|
|
2155
|
+
- `doUpdateMessageRequest` to override the update(edit) message request (Advanced usage only)
|
|
2156
|
+
- `doSendMessageRequest` to override the send message request (Advanced usage only)
|
|
2157
|
+
|
|
2158
|
+
## [0.7.13](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.13) 2019-12-03
|
|
2159
|
+
|
|
2160
|
+
- Handling and updating channel list on `channel.truncated` and `channel.deleted` event.
|
|
2161
|
+
|
|
2162
|
+
## [0.7.12](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.12) 2019-11-22
|
|
2163
|
+
|
|
2164
|
+
- Adding prop `MessageSystem` to customize system messages
|
|
2165
|
+
|
|
2166
|
+
## [0.7.11](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.11) 2019-11-05
|
|
2167
|
+
|
|
2168
|
+
- Fixed z-index issue on MessageInputLarge component https://github.com/GetStream/stream-chat-react/commit/f78b0bf6566fe587da62a8162ab5f1b3d799a10e
|
|
2169
|
+
|
|
2170
|
+
## [0.7.10](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.10) 2019-10-16
|
|
2171
|
+
|
|
2172
|
+
- Added `customActiveChannel` prop on `ChannelList` to specify a custom channel to be moved to the top and set to active upon mounting.
|
|
2173
|
+
|
|
2174
|
+
## [0.7.9](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.9) 2019-10-16
|
|
2175
|
+
|
|
2176
|
+
- Changing prop name for MessageSimple from openThread to handleOpenThread.
|
|
2177
|
+
- Fixing scroll issue on messagelist. Related to issue [#67](https://github.com/GetStream/stream-chat-react/issues/67)
|
|
2178
|
+
|
|
2179
|
+
## [0.7.8](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.8) 2019-10-11
|
|
2180
|
+
|
|
2181
|
+
- Bug fix with dateseperator in messagelist
|
|
2182
|
+
|
|
2183
|
+
## [0.7.7](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.7) 2019-10-11
|
|
2184
|
+
|
|
2185
|
+
- Adding intro message to messagelist
|
|
2186
|
+
|
|
2187
|
+
## [0.7.6](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.6) 2019-10-08
|
|
2188
|
+
|
|
2189
|
+
- Fixed unbinding of visibility listener
|
|
2190
|
+
|
|
2191
|
+
## [0.7.5](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.5) 2019-10-07
|
|
2192
|
+
|
|
2193
|
+
- Updated js-client with fix for failing fileuploads
|
|
2194
|
+
|
|
2195
|
+
## [0.7.4](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.4) 2019-10-07
|
|
2196
|
+
|
|
2197
|
+
- Fixed styling issues for SendButton
|
|
2198
|
+
|
|
2199
|
+
## [0.7.3](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.3) 2019-10-02
|
|
2200
|
+
|
|
2201
|
+
- Added SendButton prop to MessageInput. This only shows on mobile to make sure you're able to submit the form without having a return button.
|
|
2202
|
+
|
|
2203
|
+
## [0.7.2](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.2) 2019-09-30
|
|
2204
|
+
|
|
2205
|
+
- Updating js-client version
|
|
2206
|
+
|
|
2207
|
+
## [0.7.1](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.1) 2019-09-30
|
|
2208
|
+
|
|
2209
|
+
- Fix - Adding typescript declaration files in production build
|
|
2210
|
+
|
|
2211
|
+
## [0.7.0](https://github.com/GetStream/stream-chat-react/releases/tag/v0.7.0) 2019-09-27
|
|
2212
|
+
|
|
2213
|
+
- Adding typescript declaration file
|
|
2214
|
+
|
|
2215
|
+
## [0.6.27](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.27) 2019-09-20
|
|
2216
|
+
|
|
2217
|
+
- Added `EmptyStateIndicator` prop to [ChannelList](https://getstream.github.io/stream-chat-react/#!/ChannelList) and [MessageList](https://getstream.github.io/stream-chat-react/#!/MessageList)
|
|
2218
|
+
- Added `watchers` prop to [ChannelList](https://getstream.github.io/stream-chat-react/#!/ChannelList) to specify [watchers pagination query](https://getstream.io/chat/docs/#channel_pagination) on `setActiveChannel`, including this makes one extra query on selecting a channel from the ChannelList
|
|
2219
|
+
- Updated react-images to version `1.0.0`
|
|
2220
|
+
|
|
2221
|
+
## [0.6.26](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.26) 2019-09-10
|
|
2222
|
+
|
|
2223
|
+
- Add IE 11 support for MessageInput
|
|
2224
|
+
- Fixing pagination issue when oldest message is not received yet
|
|
2225
|
+
- Fixing issue that didn't display unread count correctly on initial load
|
|
2226
|
+
|
|
2227
|
+
## [0.6.25](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.25) 2019-09-05
|
|
2228
|
+
|
|
2229
|
+
- The built in MessageInput components now use native emoji to create consistent rendering between the picker and the message
|
|
2230
|
+
|
|
2231
|
+
## [0.6.22](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.22) 2019-08-15
|
|
2232
|
+
|
|
2233
|
+
- Adding support for loading error indicator
|
|
2234
|
+
- Adding fallback as thumb_url for image attachments
|
|
2235
|
+
|
|
2236
|
+
## [0.6.21](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.21) 2019-08-05
|
|
2237
|
+
|
|
2238
|
+
- Syncing and improvements in styleguide
|
|
2239
|
+
|
|
2240
|
+
## [0.6.19](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.19) 2019-07-31
|
|
2241
|
+
|
|
2242
|
+
- Fix issue raised in 0.6.17
|
|
2243
|
+
|
|
2244
|
+
## [0.6.18](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.18) 2019-07-31
|
|
2245
|
+
|
|
2246
|
+
- Improve message options UX in messaging theme
|
|
2247
|
+
|
|
2248
|
+
## [0.6.17](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.17) 2019-07-30
|
|
2249
|
+
|
|
2250
|
+
- Export LoadingChannels component
|
|
2251
|
+
- Fix connectivity issue with threads
|
|
2252
|
+
- Better check for user roles
|
|
2253
|
+
|
|
2254
|
+
## [0.6.16](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.16) 2019-07-29
|
|
2255
|
+
|
|
2256
|
+
- Adding visual response (notification) for flag message and mute user functionality
|
|
2257
|
+
- Fixing broken mute user functionality
|
|
2258
|
+
|
|
2259
|
+
## [0.6.15](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.15) 2019-07-23
|
|
2260
|
+
|
|
2261
|
+
- Fixing Message actions for livestream and team chat.
|
|
2262
|
+
- Fixing flag/mute functionality. Earlier only admins were allowed to flag or mute the message. This was wrong. Every user should be able to
|
|
2263
|
+
flag or mute any message (other than his own message)
|
|
2264
|
+
|
|
2265
|
+
## [0.6.14](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.14) 2019-07-20
|
|
2266
|
+
|
|
2267
|
+
- Adding prop `messageActions` to MessageList
|
|
2268
|
+
|
|
2269
|
+
## [0.6.13](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.13) 2019-07-18
|
|
2270
|
+
|
|
2271
|
+
- Adding prop function `onChannelUpdated` as callback for event `channel.updated`
|
|
2272
|
+
- Bug fix - Channel list component doesn't update when custom data on channel is updated.
|
|
2273
|
+
|
|
2274
|
+
## [0.6.0](https://github.com/GetStream/stream-chat-react/releases/tag/v0.6.0) 2019-05-13
|
|
2275
|
+
|
|
2276
|
+
- Added Pagination to ChannelList
|
|
2277
|
+
- Standard pagination with Load More button (`LoadMorePaginator`)
|
|
2278
|
+
- Also includes a infinte scroll paginator (`InfiniteScrollPaginator`)
|
|
2279
|
+
- **Important** Because of this change we moved the channelquery logic to `ChannelList` this means you need to pass your `filters`, `sort`, and `options`.
|
|
2280
|
+
|
|
2281
|
+
## [0.3.11](https://github.com/GetStream/stream-chat-react/releases/tag/v0.3.11) - 2019-04-23
|
|
2282
|
+
|
|
2283
|
+
### Added
|
|
2284
|
+
|
|
2285
|
+
- `MessageInput` and `Channel` now accept the following props
|
|
2286
|
+
- `multipleUploads={false}`
|
|
2287
|
+
- `acceptedFiles={['image/*']}`
|
|
2288
|
+
- `maxNumberOfFiles={1}`
|
|
2289
|
+
|
|
2290
|
+
## [0.3.10](https://github.com/GetStream/stream-chat-react/releases/tag/v0.3.10) - 2019-04-19
|
|
2291
|
+
|
|
2292
|
+
### Added
|
|
2293
|
+
|
|
2294
|
+
- Support for @mentions for @mention interactions `Channel` now accepts the following props
|
|
2295
|
+
- `onMentionsHover={(event, user) => console.log(event, user)}`
|
|
2296
|
+
- `onMentionsClick={(event, user) => console.log(event, user)}`
|