Skip to content

Releases: sendbird/sendbird-uikit-react

[v3.1.1] (Aug 17 2022)

17 Aug 07:42
Compare
Choose a tag to compare

Features:

  • Add channel handlers to the open channel settings
    • Add an open channel handler into the OpenChannelSettings component
    • Use operators property to render operator list on the OpenChannelSetting
      instead of fetching operators
  • Export handlers through @sendbird/uikit-react/handlers, this is a workaround
    to fix an issue where inhertiance chains break custom handler implementation
    • ConnectionHandler -> @sendbird/uikit-react/handlers/ConnectionHandler
    • GroupChannelHandler -> @sendbird/uikit-react/handlers/GroupChannelHandler
    • OpenChannelHandler -> @sendbird/uikit-react/handlers/OpenChannelHandler
    • UserEventHandler -> @sendbird/uikit-react/handlers/UserEventHandler
    • Example: https://codesandbox.io/s/test-3-1-1-rc-5-f94w7i

Fixes:

  • Update SendableMessage to UserMessage and FileMessage
  • Change the type of MessageHandler.onFailed to FailedMessageHandler
  • Add missing type defns into scripts/index_d_ts
  • Typo in creating channelHandlerId on the ChannelList

[v3.1.0] (Aug 03 2022)

03 Aug 07:55
6f680cd
Compare
Choose a tag to compare

Features:

  • Support moderation in OpenChannel
    • Provide moderations: mute, unmute, ban, and unban on the OpenChannelSettings
    • Provide moderations: register and unregister operator on the OpenChannelSettings
    • Add MutedParticipantList and MutedParticipantsModal into the OpenChannelSettings
    • Add BannedUserList and BannedUsersModal into the OpenChannelSettings
    • Add OperatorList and OperatorsModal into the OpenChannelSettings
    • Add AddOperatorsModal into the OpenChannelSettings

Full Changelog: v3.0.2...v3.1.0

[v3.0.2] (Aug 03 2022)

03 Aug 02:34
Compare
Choose a tag to compare

Fixes:

  • Explicitly export library as esm-module
    ESM library should have "type": "module" (package.json file that is going to /dist)
    This fixes Cannot use import outside module issue in next.js
  • Add optional chaining for createApplicationUserList
  • Fix QueryInProgress warning:
    React 18 strict mode glitch that causes useEffect to run twice
  • Cannot connect sometimes when customApiHost is empty
    Connection couldnt be established with no error message when customApiHost and customWebSocketHost
    were passed as empty string
  • Handle all chances of command not received error
    Handle chances of command not recieved error in markAsRead
    Experimental markasread handling -> longer times, no more call after unmount
  • Move typing handler in channellist into local variable

[v3.0.2-beta.0] (July 31 2022)

31 Jul 00:37
46bc211
Compare
Choose a tag to compare
Pre-release

Fixes:

  • Explicitly export library as esm-module
    ESM library should have "type": "module" (package.json file that is going to /dist)
    This fixes Cannot use import outside module issue in next.js
  • Add optional chaining for createApplicationUserList
  • Cannot connect sometimes when customApiHost is empty
    Connection couldnt be established with no error message when customApiHost and customWebSocketHost
    were passed as empty string
  • Handle all chances of command not received error
    Handle chances of command not recieved error in markAsRead
    Experimental markasread handling -> longer times, no more call after unmount
  • Move typing handler in channellist into local variable

[v3.0.1] (July 28 2022)

28 Jul 05:56
ab7918f
Compare
Choose a tag to compare

Features:

  • Accept customApiHost & customWebSocketHost as props to SendbirdProvider
  • Add basic TS project sample

Fixes:

  • Improve URL detection in OG message
  • Add onCloseClick to MessageSearchProps
  • Safe call removeGroupChannelHandler in TypingIndicator
  • Apply userListQuery
  • Type definition for channellist and setting

[2.7.2] (July 27 2022)

27 Jul 08:18
b4d5056
Compare
Choose a tag to compare
  • Bugfix
    • Fix: Improve URL detection in messages

[v3.0.0] (July 12 2022)

12 Jul 04:45
24c01d7
Compare
Choose a tag to compare

Features:

  • Support modules and components in the UIKit
  • Upgraded to @sendbird/chat@4
  • Support react 18
  • See the Migration Guide for Converting V2 to V3. [details]
  • See more details and breaking changes. [details]

[3.0.0-beta.6] (June 03 2022)

03 Jun 09:48
Compare
Choose a tag to compare
Pre-release

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)]

24 May 09:21
Compare
Choose a tag to compare
Pre-release

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)

19 May 09:32
Compare
Choose a tag to compare
Pre-release

Fixes:

  • Rate limit markAsDelivered call
  • Do not render date separator when renderCustomSeparator is null

Misc:

  • Update Chat SDK minimum version to 3.1.13