Skip to content

Releases: sendbird/sendbird-uikit-react

[v3.6.0] (June 28 2023)

28 Jun 07:51
Compare
Choose a tag to compare

Feat:

  • Official support for Feature Configuration
    • You can now configure the features of UIKit through the uikitOptions prop of <SendbirdProvider /> or <App /> component. You can also find the detailed sample usage from SAMPLE.md#UIKit-Configuration-Samples
    • The minimum @sendbird/chat version has been increased to 4.9.2.
  <SendbirdProvider
    uikitOptions={{
      common: {
        enableUsingDefaultUserProfile: true,
      },
      groupChannel: {
        enableMention: false,
        enableOgtag: true,
        enableReaction: true,
        enableTypingIndicator: true,
        input: {
          camera: {
            enablePhoto: true,
            enableVideo: true,
          },
          gallery: {
            enablePhoto: true,
            enableVideo: true,
          },
          enableDocument: true,
        },
      },
      groupChannelList: {
        enableTypingIndicator: true,
        enableMessageReceiptStatus: true,
      },
      groupChannelSettings: {
        enableMessageSearch: true,
      },
      openChannel: {
        enableOgtag: true,
        input: {
          camera: {
            enablePhoto: true,
            enableVideo: true,
          },
          gallery: {
            enablePhoto: true,
            enableVideo: true,
          },
          enableDocument: true,
        },
      },
    }}
  />

[v3.5.2] (June 23 2023)

23 Jun 06:16
a9ce88e
Compare
Choose a tag to compare

Fixes:

  • Allow to reduce the mobile app height
    It was not able to reduce the height of the mobile app with some wrapper components
  • Do not display the UnreadCount(new message notification) comp when unreadSince is null
  • Improve sampling and bitrate of Voice Recording
    • sampling rate: 11025
    • bit rate: 12000
  • Move scroll every time when message height changes
    It moved scroll only when the last message height changes

v3.6.0-feature-config-rc-0

20 Jun 08:41
06bfe35
Compare
Choose a tag to compare
Pre-release

Some small changes are included after 3.5.1 released

  • #648 : fix: Race condition in disconnect/connect
  • #650 : feat: add uikitOptions prop to App & SendbirdProvider

[v3.5.1] (June 15 2023)

15 Jun 07:45
Compare
Choose a tag to compare

Fixes:

  • Set fallback values \w global configs in App comp
  • Use global config's replyType if channel one is undefined
  • Use global disableUserProfile if each context's one is defined
  • Clear scrollBottom on channel state loading
  • Fixes a runtime error
    caused by clicking "Reply in thread" menu from a parent message
  • Check if the message.type property is empty
    and return false when it is empty in the isVoiceMessage function

[v3.5.0] (June 14 2023)

14 Jun 07:14
Compare
Choose a tag to compare

Release UIKit React v3.5.0 (Mobile Web Support)

Feat:

  • Mobile Browser UX Revamp
    We have revamped the UX to support mobile devices -

    • Revamped Modals
    • Revamped Context Menu -> Long press to open context menu
    • Revamped Message Input

    This feature is disabled by default. To enable this feature, add the following prop to SendBirdProvider & App component.

    breakpoint?: string | boolean

    Example:

    <SendBirdProvider breakpoint="768px">
    const isMobile = /iPhone|iPad|iPod|Android/i.test(navigator.userAgent);
    return (
      <SendbirdProvider breakpoint={isMobile} />
        {
          isMobile
            ? <MobileChatLayout />
            : <DesktopChatLayout />
        }
      </SendbirdProvider>
    )

    Other props:

    • SendbirdProvider?.onUserProfileMessage?: (channel: GroupChannel) => void
      Callback for handling when user sends a user profile message.
    • Channel?.onBackClick?: () => void
      Callback for handling when user clicks on back button in channel.
      This is only applicable for mobile devices.
  • Configure UIKit through Dashboard(not released yet)
    We are doing groundwork to support configuring UIKit through
    the dashboard. This will allow you to configure UIKit without
    having to add props to each component. This feature will not be a
    breaking change and will be backwards compatible.

Chore:

  • TSC error in typescript sample
  • Samples -> Upgrade vite to 4.3.9

Fixes:

  • Connection
    • Disconnect SDK on Sendbird provider component unmount
  • Message
    • Desktop - allow text select on Labels
    • Remove loading placeholder on ThumbnailMessage
    • OGMessage width overflow while adding reaction
    • Center align & remove ellipsis from admin message
  • Voice Message
    • Hide download option for voice message
    • Show warning when there is no voice recording permission
    • Race condition in playing audio files simultaneously
    • Stop voice player when recorder exits
    • Pause voice when component is removed from layout
  • Replies
    • Quoted text alignment for reply messages
    • MessageList: Triggering of random clicks while scroll to parent
  • Thread
    • Improve parent message detection
    • Emoji reactions overflow in message
  • Settings
    • : Show context menu on click
  • Open Channel
    • OpenChannel Context menu click leak
    • Vertical scroll on labels in open channel list

v3.5.0-feature-config-rc-2

13 Jun 02:27
Compare
Choose a tag to compare
Pre-release

The RC contains below feature config related changes

  • #626: apply app attr impacted configs' value
  • #630: make integrated toggle config options resettable
  • #636: make sdk disconnected on Sendbird component umount
  • #638: use global config's replyType if channel one is undefined
  • #639: use global disableUserProfile if each context's one is defined
  • #640: set fallback values \w global configs in App component

v3.5.0-mobile-web-5

14 Jun 04:25
4204a35
Compare
Choose a tag to compare
v3.5.0-mobile-web-5 Pre-release
Pre-release
  • place holder

v3.5.0-mobile-rc-4

09 Jun 05:07
Compare
Choose a tag to compare
v3.5.0-mobile-rc-4 Pre-release
Pre-release
  • #613: apply groupChannel & openChannel.enableDocument config
  • #619: apply groupChannel.threadReplySelectType config
  • #622: upgrade Vite version used for Sample Apps to resolve the security issue in old ver of Vite
  • #623: reset default value of duplicated configs in modules/App

v3.5.0-mobile-rc-3

08 Jun 06:15
Compare
Choose a tag to compare
v3.5.0-mobile-rc-3 Pre-release
Pre-release
  • #618: added breakpoint prop
  • #614: replaced UIKitConfigProvider \w @sendbird/uikit-tools
  • #616 & #617: applied enableMessageSearch & enableTypingIndicator UIKit Dashboard config

v3.5.0-mobile-rc-2