Releases: sendbird/sendbird-uikit-react
Releases · sendbird/sendbird-uikit-react
[3.0.0-beta.6] (June 03 2022)
Feature:
- Show profile on clicking a mention
- Visual highlight when user is mention
- Add session handler interface
// its recommended to memoize configureSession function
const memoizedConfigureSession = (sb) => {
const sessionHandler = new sb.SessionHandler();
sessionHandler.onSessionTokenRequired = (onSuccess, onError) => {
};
return sessionHandler;
};
// see: https://sendbird.com/docs/chat/v3/javascript/guides/authentication
<SendbirdProvider
configureSession={memoizedConfigureSession}
/>
Fix:
- Change the front-weight of Subtitle2 from 600 to 500
- Modify mention badge position on the ChannelListItem component
- Change Info Icon size to 20px on the SuggestedMentionListItem component
Fix: Mention related stuff - Modify the onMouseOver event on the SuggestedMentionList component
- Filter 'html' text when pasting text to the MessageInput component
- Hide and apply ellipsis for overflowing text on the SuggestedMentionListItem component
- Deactivate the MessageInput component when the current user is muted or the current channel is frozen
- Reset the mention states of the current channel when changing channel and closing the edit MessageInput component
[3.0.0-beta.5] (May 24 2022)]
Fixes:
- Export useChannelList
- Active disableAutoSelect props
- Remove empty CSS file to fix source map warning
DOC:
- Add info about webpack 5 breaking changes
[3.0.0-beta.3] (May 19 2022)
Fixes:
- Rate limit markAsDelivered call
- Do not render date separator when renderCustomSeparator is null
Misc:
- Update Chat SDK minimum version to
3.1.13
[2.7.1] (May 11 2022)
[2.7.1] (May 11 2022)
- Bugfix
- Add rate limit to markAsDelivered call
- Thumbnail message shouldnt be clikced while loading
- Fix sample: corrected groupChannel sample setting placement
[3.0.0-beta.2] (April 29 2022)
Feature:
-
Mention
- Add isMentionEnabled props to the and
- Add userMention into the config props of the andd
- <SendbirdProvider config={{ userMention: { maxMentionCount: 10, maxSuggestionCount: 15 } }} />
- maxMentionCount: A maximum count that you can mention in the message input
- maxSuggestionCount: A maximum user count that the SuggestedMentionList suggests for user mention
- Create SuggestedMentionList component under the Channel smart component
- Create SuggestedUserMentionItem component
- Create MentionUserLabel ui component
- Add string set
- MENTION_NAME__NO_NAME: '(No name)'
- MENTION_COUNT__OVER_LIMIT: 'You can mention up to %d times per message.'
Fix:
-
Type definition file fix for TS project
For typescript projects, addnode_modules/@sendbird/uikit-react/index.d.ts
to yourincludesection in tsconfig file to get type definitions -
Move font import to top of CSS file
Some bundlers such as parcel throw error:
@import rules must precede all rules aside from @charset and @layer statements
Resolve this issue by moving the line to the top
[2.7.0] (Mar 22 2022)
- Features
- Add props disableAutoSelect into the
- A flag to allow or disallow the channel auto select feature
- Add progressHandler into the getSendFileMessage hook
- getSendFileMessage = (store) => (channelUrl, fileMessageParams, progressHandler)
- Add props disableAutoSelect into the
- Bugfix
- Modify difinition type of renderUserProfile props in the
- Update message receipts on real time basis
- Suppress an intermittent NO_ACK Error
[2.7.0-alpha] (Mar 11 2022)
- Minor Update
- Use commonjs module as default - jest expects commonjs module
- Builds are now saved to \dist instead of \release
- Use commonjs module as default - jest expects commonjs module
- Features
- Add progressHandler into the GetSendFileMessage hook
- Provide an auto select flag in the channel list
- Bugfix
- Localization parameter for some format calls
- Exclude the optional param when locale is undefined in the dateFns utils
- Appear MessageStatus component in Safari
[2.7.0-alpha] (Mar 11 2022)
- Minor Update
- Use commonjs module as default - jest expects commonjs module
- Builds are now saved to \dist instead of \release
- Use commonjs module as default - jest expects commonjs module
- Features
- Add progressHandler into the GetSendFileMessage hook
- Provide an auto select flag in the channel list
-Bugfix - localization parameter for some format calls
- Exclude the optional param when locale is undefined in the dateFns utils
- Disappearing MessageStatus component in Safari
[2.6.0] (Feb 8 2022)
- Features
- Setup date localization
- Bugfix
- Add sortChannelList props to the ChannelListProps
- Appear message status icon in Safari
- Fix complication issue: Element not defined
- Fix event leakage issues (scroll and pop-up)
[2.5.3] (Jan 19 2022)
[2.5.3] (Jan 19 2022)
[2.5.3-alpha] (Jan 19 2022)
- Bugfix
- Modify type of
renderChatItemto function - Modify dependencies of react and react-dom libraries
- Do not update current user info when
nicknameanduserProfileUrlprops are empty
- Modify type of
[2.5.3-alpha] (Jan 19 2022)
[2.5.3-alpha] (Jan 19 2022)
- Bugfix
- Modify type of
renderChatItemto function - Modify dependencies of react and react-dom libraries
- Do not update current user info when
nicknameanduserProfileUrlprops are empty
- Modify type of