Skip to content

Releases: sendbird/sendbird-uikit-react

[v3.14.8] (May 30, 2024)

30 May 07:57
28c6dfe
Compare
Choose a tag to compare

Fixes

  • Resolved the issue of storybook user leaving the channel
  • Added a workaround to reset IME in mobile webkit for better input handling
    • This fix involves creating a ghost input to manage focus transitions, preventing the virtual keyboard from closing and ensuring the proper composition of characters like Hangul
    • The ghost input is used to reset the IME context, and focus is moved back to the original input using requestAnimationFrame to avoid delays
  • Retry connection when failed with a token expired error
  • Ensure scroll to the bottom of the list when mounted before painting
  • Minor bug fixes and adjustments for SuggestedReplyItem component:
    • Fixed a bug where horizontal suggested reply items contents are not wrapping to multiple lines
    • Adjusted bubble size
    • Added missing margin

Features

  • Added support for rendering .mov file type only in Safari browser

[v3.14.7] (May 23, 2024)

23 May 06:16
Compare
Choose a tag to compare

Fixes

  • Fixed issue where files that failed to compress were not being sent
  • Cleaned up the props of the ChannelSettings component to ensure all missed props are applied
  • Exported the ChannelSettingsHeader component as default
    import ChannelSettingsHeader from '@sendbird/uikit-react/ChannelSettings/components/ChannelSettingsHeader'
    
  • Fixed the issue where the mention feature did not work properly in the input component
  • Fixed the issue where unnecessary spaces were added between mention texts when editing an already mentioned message
  • Improved the scroll position flickering issue when loading previous messages
  • Implemented an attempt to load based on screen size threshold
  • Added data-testid to the UI components for making it easily to select them in the QE test

Features

  • Added MESSAGE_INPUT__PLACE_HOLDER__FROZEN to StringSet: 'Chat is unavailable in this channel'

v3.14.6

10 May 07:54
Compare
Choose a tag to compare

[v3.14.6] (May 10, 2024)

Fixes

  • Fixed a bug where import statements are not located at the top of the extracted index.css file

v3.14.5

04 May 05:55
Compare
Choose a tag to compare

[v3.14.5] (May 04, 2024)

Fixes

  • Fixed a bug where channel scroll to bottom is not called internally when last message is updated with suggested replies

v3.14.4

02 May 06:47
Compare
Choose a tag to compare

[v3.14.4] (May 02, 2024)

Features

  • Added suggestedRepliesDirection global option which serves as vertical/horizontal scroll option for SuggestedReplies
    • How to use?
    <App
      appId={appId}
      userId={userId}
      uikitOptions={{
        groupChannel: {
          // Below turns on the `SuggestedReplies` feature (see v3.8.0 release changelog). Default value is false.
          enableSuggestedReplies: true,
          // Below changes scroll direction from horizontal to vertical.
          suggestedRepliesDirection: 'vertical'
        }
      }}
    />
  • Added a new ui component Header (import Header from '@sendbird/uikit-react/ui/Header') which replaced all existing header components
  • Added modal.onMounted handler to global eventHandlers. This event handler is triggered within the useEffect of the Modal component at mounting time.

Fixes

  • Fixed a bug where suggested replies are incorrectly displayed when showSuggestedRepliesFor is set to 'last_message_only'

[v3.14.3] (Apr 19, 2024)

19 Apr 09:16
Compare
Choose a tag to compare

Features

  • Add outputFormat to the image compression options
    <SendbirdProvider
      ...
      imageCompression={{
        outputFormat: 'preserve' | 'png' | 'jpeg',
      }}
    >
    </SendbirdProvider>

Fixes

  • Set the message list padding with 12px in the mobile mode

[v3.14.2] (Apr 18, 2024)

18 Apr 09:52
Compare
Choose a tag to compare

Fixes

  • Fixed a bug where right padding is added to messages sent by me in mobile devices
  • Removed image section in the OGMessageItemBody if there is no og image
  • Fixed that safely opens URL to prevent XSS
  • Fixed that copying URI-list issue in the iOS device/Safari
  • Fixed that channel badge count is not updated on iOS Webview

[v3.14.1] (Apr 12, 2024)

12 Apr 08:33
Compare
Choose a tag to compare

Fixes

  • Fixed a bug where injecting an optional property with null value not rendering the expected default component
  • Updated the type of renderMessage in the OpenChannel module
  • Deprecated the renderInput prop and add a new renderMessageInput prop

v3.14.0

05 Apr 07:41
b2cea9f
Compare
Choose a tag to compare

[v3.14.0] (Apr 5, 2024)

Feature

  • TemplateMessageItemBody now supports CarouselView type template
  • Added 'wide' width support for MessageContent when value exists in message.extendedMessagePayload['ui']['container_type']
  • Added template version validation for TemplateMessageItemBody

Message template fixes/updates

  • Fixed a bug where argb color values are not converted to rgba
  • Fixed a bug where style properties expecting numeric values are set with string values
  • Removed default values of borderRadius, backgroundColor, and color for message template items

Other fixes

  • Fixed a bug where scroll bar is displayed in message sender name container

[v3.13.5] (Apr 5, 2024)

05 Apr 05:57
Compare
Choose a tag to compare

Fixes

  • Add a logger to the GroupChannelProvider for failing get channel
  • Reduce the OGTag height in the mobile layout
  • Prevent force refreshing of the ChannelSettings
  • Keep context menu when failing the member operations (register/unregister operator, mute/unmute)
  • Keep profile image during member operations on the MembersModal