Skip to content

Releases: tjtanjin/react-chatbotify

v2.0.0-beta.6

24 Aug 14:15
d0cae97
Compare
Choose a tag to compare

Fixed:

  • Fixed an issue where chat icon will not fit in the button correctly
  • Fixed an issue where baseUrl was wrongly named base_url

Added:

  • Added caching of themes locally to improve performance
  • Added optional cacheDuration field when specifying themes which specifies in seconds the duration to cache the theme for (defaults to 30 days)

v2.0.0-beta.5

15 Aug 11:57
Compare
Choose a tag to compare

Fixed:

  • Fixed an issue where cursor disabled icon was not showing up on mac devices

Added:

  • Added a bunch of new style props for buttons and icons to improve convenience in styling:
// new button styles
audioButtonStyle?: React.CSSProperties;
audioButtonDisabledStyle?: React.CSSProperties;
closeChatButtonStyle?: React.CSSProperties;
emojiButtonStyle?: React.CSSProperties;
emojiButtonDisabledStyle?: React.CSSProperties;
fileAttachmentButtonStyle?: React.CSSProperties;
fileAttachmentButtonDisabledStyle?: React.CSSProperties;
notificationButtonStyle?: React.CSSProperties;
notificationButtonDisabledStyle?: React.CSSProperties;
voiceButtonStyle?: React.CSSProperties;
voiceButtonDisabledStyle?: React.CSSProperties;

// new icon styles
chatIconStyle?: React.CSSProperties;
audioIconStyle?: React.CSSProperties;
audioIconDisabledStyle?: React.CSSProperties;
closeChatIconStyle?: React.CSSProperties;
emojiIconStyle?: React.CSSProperties;
emojiIconDisabledStyle?: React.CSSProperties;
fileAttachmentIconStyle?: React.CSSProperties;
fileAttachmentIconDisabledStyle?: React.CSSProperties;
notificationIconStyle?: React.CSSProperties;
notificationIconDisabledStyle?: React.CSSProperties;
voiceIconStyle?: React.CSSProperties;
voiceIconDisabledStyle?: React.CSSProperties;
sendIconStyle?: React.CSSProperties;

Note:
There were minor shifting of a few classes to better separate buttons and icons. This should not be an issue for the vast majority of users, but if you've done very specific changes to button/icon styles by targeting the CSS classes, it is advisable to visually check the appearance of said buttons/icons.

v2.0.0-beta.4

01 Aug 16:36
Compare
Choose a tag to compare

Fixed:

  • Fixed an issue where disabling chatInput globally cannot be overriden by block-level chatDisabled attribute

v2.0.0-beta.3

27 Jul 16:19
Compare
Choose a tag to compare

Fixed:

  • Fixed an issue where themes will override the current isOpen value in settings, causing it to open/close unexpectedly

v2.0.0-beta.2

25 Jul 16:11
Compare
Choose a tag to compare

Fixed:

  • Fixed an issue where theme conflicts are not properly resolved
  • Fixed an issue where invalid sections are not caught in themes
  • Fixed an issue where sensitive inputs permanently mask the remaining conversations
  • Fixed an issue where chatbot loses focus in text area when transitioning from a previously disabled state

v2.0.0-beta.1

25 Jul 09:12
Compare
Choose a tag to compare

Note:
v2.0.0-beta.1 is a major release with breaking changes. All details are available in the migration guide.

v1.7.0

09 Jun 17:45
Compare
Choose a tag to compare

Added:

  • Added a new language property to the voice section for managing voice input language
  • Added a new flowStartTrigger property to the theme section for managing when flow starts

Fixed:

  • Fixed an issue where embedded chatbot notifications are played while chatbot is visible

Note:

This release has a minor breaking change for developers who are using advance custom paths. If you are currently initializing paths with ["start"], note that specifying the start block is no longer needed. This means you can simply use [] as shown in the updated custom paths example here.

v1.6.3

05 Jun 12:53
Compare
Choose a tag to compare

Fixed:

  • Fixed a rare issue where streaming of messages can sometimes cause undefined to appear.

v1.6.2

24 May 16:52
Compare
Choose a tag to compare

Added:

  • Added a new allowNewline property to the chatInput section which determines if user input can contain newline (\n)
  • The notifications feature is now properly supported for embedded chatbots and will chime only if the chatbot is scrolled out of view

Fixed:

  • Fixed an issue where voice detection may not be properly disabled while the chatbot is still streaming messages
  • Fixed an issue where shift + enter submits user input instead of attempting to add newline
  • Fixed an issue where newline is automatically converted to whitespace in user and bot bubbles

v1.6.1

19 May 12:20
Compare
Choose a tag to compare

Added:

  • Added a new showCount property to the notification section which allows showing/hiding of unread message count on the top right corner of chatbot button

Fixed:

  • Improved performance for streaming messages
  • Fixed an issue where streaming messages while dangerouslySetInnerHtml is set to true will pause briefly on encountering html tags
  • Fixed an issue where notification sound may occasionally chime when chatbot is embedded
  • Fixed an issue where textarea styles may be inconsistent when disabled/focused
  • Fixed an issue where the bot may crash on rare occasions when users spam the voice button
  • Fixed an issue where embedded chatbot will force input focus on new messages even when scrolled out of page view