Skip to content

Releases: sendbird/chat-ai-widget

v1.6.5

18 Jun 05:49
Compare
Choose a tag to compare

[1.6.5] (Jun 18, 2024)

Feat:

  • Added botStudioEditProps.styles.toggleButtonUrl to customize the toggle button image.
  • Exported WidgetButton component.

Fix:

  • Fixed the disabled placeholder for waiting suggested replies.
  • Fixed the issue where JavaScript would run when a link was ctrl + clicked.

v1.6.4

13 Jun 05:28
Compare
Choose a tag to compare

[1.6.4] (Jun 13, 2024)

Fix:

  • Fixed an issue where the link text color did not change according to the theme.

v1.6.3

11 Jun 05:28
Compare
Choose a tag to compare

[1.6.3] (Jun 11, 2024)

Fix:

  • Fixed the positioning of the scroll-to-bottom button.
  • Fixed the positioning of the "powered by" banner.
  • Added an underline to links in messages.

v1.6.2

07 Jun 08:48
Compare
Choose a tag to compare

[1.6.2] (Jun 7, 2024)

Feat:

  • Added video message support for bot messages. The widget now supports video messages sent by the bot.
  • Added support for using new channels in widget_setting when a new channel is created.
  • Added sessionToken prop for managing manual sessions.

Fix:

  • Fixed a bug where the widget would not connect to the bot when the cached channel is not found and now creates a new channel.
  • Fixed a bug where the feedback did not work according to the option set in the dashboard.

Chore:

  • Removed the default value of false for mentions in self-service.

v1.6.1

04 Jun 09:59
Compare
Choose a tag to compare

[1.6.1] (Jun 4, 2024)

change:

  • Removed auto focusing of message input when disabled state changes to false

v1.6.0

31 May 06:28
Compare
Choose a tag to compare

[1.6.0] (May 31, 2024)

Feat:

  • Added messageInputControls to Constant. It allows to control enabled/disabled state of the message input
  • Added dateLocale to Constant. It is applied to string values of message timestamp and date separator
  • Added the enableHideWidgetForDeactivatedUser to Constant. It is used to decide whether the chatbot widget is hidden or not when the user is deactivated
import { ar } from 'date-fns/locale';

<ChatAiWidget
  applicationId={props.applicationId}
  botId={props.botId}
  messageInputControls={{
    blockWhileBotResponding: 30000, // Change force unblock timeout to 30 seconds. Default value is 10 seconds.
  }}
  dateLocale={ar} // Applies Arabic locale.
  enableHideWidgetForDeactivatedUser={true}
/>

Refer to Available props section in README.md file for details.

Fix:

  • Fixed a bug where multiple timestamps of messages are not grouped into one when should be if botStudioEditProps.welcomeMessages is given

v1.5.12

28 May 01:39
Compare
Choose a tag to compare

[1.5.12] (May 28, 2024)

Feat:

  • Added horizontal suggested replies support.

Fix:

  • Fixed a bug where the configure session functionality was not working correctly.

Chore:

  • Displayed MessageDataContent for the last message only.
  • Updated the custom session guide.

v1.5.11

23 May 08:55
Compare
Choose a tag to compare

[1.5.11] (May 23 2024)

Feat:

  • Mssage input is now being disabled upon sending a message until a reply message is received from the bot and finished streaming

Chore:

  • Expand button is now being displayed only when callbacks.onWidgetExpandStateChange is given

Deprecated:

  • The autoOpen setting from the dashboard has been deprecated and is no longer being considered internally due to its use-case removal.

v1.5.10

23 May 03:56
Compare
Choose a tag to compare

[1.5.10] (May 23 2024)

Fix:

  • Fixed a bug where the widget was not working when configureSession was set.

Chore:

  • Removed a @tanstack/react-query dependency

v1.5.9

22 May 05:06
1228f1e
Compare
Choose a tag to compare

[1.5.9] (May 22 2024)

Feat:

Carousel message

Widget now supports carousel message for commercial shop items. Message with valid extendedMessagePayload?.commerce_shop_items value is displayed as carousel component that is interactable.

Others

  • Added enableResetHistoryOnConnect in Constant for allowing to reset chat history
  • Added onWidgetExpandStateChange to Constant.callbacks that will be called upon expanded state change event

Fix:

  • Fixed a bug where botStudioEditProps.botInfo.profileUrl is not applied to typing indicator bubble
  • Fixed a bug where suggested replies of botStudioEditProps.welcomeMessages are not being removed after a message is sent
  • Fixed a bug where injected welcome messages are not displayed when there is no message in the channel
  • Adjusted margins of message timestamp
  • Fixed a bug where message bubble width is incorrectly displayed depending on the length of text

Permanently removed

  • Following Constant properties are removed because they were not being considered internally:
    • instantConnect
    • botNickName
    • enableMobileView (use deviceType instead)