Releases: sendbird/chat-ai-widget
Releases · sendbird/chat-ai-widget
v1.5.9
[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
inConstant
for allowing to reset chat history - Added
onWidgetExpandStateChange
toConstant.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)
1.5.8
v1.5.7
1.5.6
v1.5.5
[1.5.5] (May 10 2024)
Feat:
- Added
botStudioEditProps
inConstant
. Supports real time update of various injected states such asbotInfo
,aiAttributes
,welcomeMessages
, andstyles
Fix:
- Fixed a bug where sender name is overflowing in a bot message
- Fixed a bug where message input is not being disabled when last message has a suggested replies
- Fixed a bug where multi-line message data content is displayed incorrectly
Chore:
- Increased channel header button sizes in mobile view
autoOpen
is now applied in the mobile view as well
v1.5.4
[1.5.4] (May 8 2024)
Feat:
- Added a new optional property
deviceType
to Constant. When given, the app fixates its view type accordingly irregardless of change of screen width
Fix:
- Fixed a bug where initial scroll position is not at the bottom when last message has suggested replies
- Fixed a bug where margin between neighboring messages is not always
16px
- Fixed a bug where users join empty channels when a bot is recreated with the same ID
- Fixed a bug where modal components being rendered beneath chat component
v1.5.3
1.5.2
1.5.1
Chore:
- Reduced chat-ai-widget bundle size 402.12 kB -> 292.90 kB (gzip); 27.36%
- Removed
@sendbird/uikit-react
dependency frompackage.json
. - Linked the necessary code from
sendbird/uikit-react
github repository directly intopackages/uikit/
dir through a Git submodule. - Updated our build process(Github workflow / Circleci config) to initialize and update the Git submodule, ensuring that the latest version of the code is always used.
- Removed
[Deprecated] [v1.5.0]
Deprecated version