Skip to content

Commit 0a65e7b

Browse files
authored
Merge pull request #974 from GetStream/updgrade-stream-chat
upgrade stream chat
2 parents 39d4e40 + 5cb3bf9 commit 0a65e7b

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## [6.0.7](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.7) 2021-06-14
4+
5+
### Feature
6+
7+
- Add support for custom reactions [#968](https://github.com/GetStream/stream-chat-react/pull/968)
8+
9+
### Chore
10+
11+
- Upgrade `stream-chat` dependency
12+
13+
### Bug
14+
15+
- Fix UI component conditional rendering in `Attachment` [#972](https://github.com/GetStream/stream-chat-react/pull/972)
16+
- Add needed params to `ChannelSearch` search function prop [#973](https://github.com/GetStream/stream-chat-react/pull/973)
17+
318
## [6.0.6](https://github.com/GetStream/stream-chat-react/releases/tag/v6.0.6) 2021-06-02
419

520
### Chore

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
"rollup-plugin-visualizer": "^4.2.0",
152152
"sass": "^1.29.0",
153153
"sass-loader": "^10.1.0",
154-
"stream-chat": "3.10.0",
154+
"stream-chat": "3.11.0",
155155
"style-loader": "^2.0.0",
156156
"stylelint": "^13.8.0",
157157
"stylelint-config-recommended-scss": "^4.2.0",

src/components/Message/QuotedMessage.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ export const QuotedMessage = <
3535
if (!quoted_message) return null;
3636

3737
const quotedMessageText =
38-
// @ts-expect-error
3938
quoted_message.i18n?.[`${userLanguage}_text` as `${TranslationLanguages}_text`] ||
4039
quoted_message.text;
4140

@@ -49,7 +48,6 @@ export const QuotedMessage = <
4948

5049
return (
5150
<div className={`${isMyMessage() ? 'quoted-message mine' : 'quoted-message'}`}>
52-
{/* @ts-expect-error */}
5351
<Avatar image={quoted_message?.user?.image} size={20} />
5452
<div className='quoted-message-inner'>
5553
{quotedMessageAttachment && <Attachment attachments={[quotedMessageAttachment]} />}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11400,10 +11400,10 @@ stream-browserify@^2.0.1:
1140011400
inherits "~2.0.1"
1140111401
readable-stream "^2.0.2"
1140211402

11403-
stream-chat@3.10.0:
11404-
version "3.10.0"
11405-
resolved "https://registry.yarnpkg.com/stream-chat/-/stream-chat-3.10.0.tgz#d985a88263f39e4841cd2254bb1b65a68ba1b3d4"
11406-
integrity sha512-naEJTHqV3JvRGx9sDR2VoN5hoGtFbwj2PBsmldQGW8N0Cn9zC2+dcgIGCzQNcMysBlpdkrNSsDprkix5qAwyzQ==
11403+
stream-chat@3.11.0:
11404+
version "3.11.0"
11405+
resolved "https://registry.yarnpkg.com/stream-chat/-/stream-chat-3.11.0.tgz#d26db68e9fac4dd2e79bbf3f2b058b2b7cdb6ad1"
11406+
integrity sha512-4LSLJ/ENM5jPBjKJkHjS+ilLcbjaf2R4bIwSNp9huSD1vj0jpwQXTlD+4QogliTnZMLWvIS5B6UHl8q8q1VYwA==
1140711407
dependencies:
1140811408
"@babel/runtime" "^7.13.10"
1140911409
"@types/jsonwebtoken" "^8.5.0"

0 commit comments

Comments
 (0)