Skip to content

Releases: tjtanjin/react-chatbotify

v2.0.0-beta.31

25 Feb 17:29
Compare
Choose a tag to compare

Deprecated:

  • Removed botBubble.dangerouslySetInnerHtml and userBubble.dangerouslySetInnerHtml properties, whose logic has now been shifted to the newly published HTML Renderer plugin

Added:

  • Added a new rcb-start-audio-speak event
  • Added a new optional tags property to Message component, targeted at plugins looking to add identifiers to messages (for example, to know when a message was processed by a plugin)
  • Added a new simStreamChunker data field to rcb-pre-inject-message event, which allows custom parsing of simulated stream
  • Added a new hasChatHistoryLoaded state to the useChatHistory hook to determine if chat history has been loaded

v2.0.0-beta.30

19 Feb 00:54
Compare
Choose a tag to compare

v2.0.0-beta.30 (19-02-2025)

Fixed:

  • Fixed an issue introduced in the previous version where custom components are wrapped in chat bubbles

v2.0.0-beta.29

18 Feb 17:52
Compare
Choose a tag to compare

Fixed:

  • Fixed issues with stream message events

Added:

  • Added a new optional contentWrapper property to Message component, targeting niche use cases where additional parsing/rendering of strings for a message are required before it is wrapped in a chat message bubble

Note:
The addition of the niche property contentWrapper is not typical - in general, we avoid niche implementations in the core library. In this case however, it provides an elegant solution for supporting plugins that need to render messages in specific formats. For example, the newly published Markdown Renderer uses this new property.

v2.0.0-beta.28

12 Feb 18:13
Compare
Choose a tag to compare

Fixed:

  • Fixed an issue with redundant styles being applied
  • Fixed an issue where specific static svg imports are missing in the final build

v2.0.0-beta.27

11 Feb 19:01
Compare
Choose a tag to compare

Fixed:

  • Fixed an issue where updateStyles may not reflect updates for certain components
  • Fixed an issue where restart flow does not properly reset isSensitive attribute
  • Fixed an issue where restart flow does not sync live history messages with storage

Added:

  • Added a new blurTextArea utility function to the useTextArea hook
  • Added a new chatWindow.showTypingIndicator setting to allow configuration for whether bot typing indicator is shown (defaults to true)
  • Extended the voice.timeoutPeriod setting which can now be disabled with a value of 0 (i.e. voice stays on until user turns it off manually)

v2.0.0-beta.26

24 Nov 10:32
Compare
Choose a tag to compare

Fixed:

  • Fixed a bug introduced in v2.0.0-beta.25 that caused simulate streaming of messages to fail

v2.0.0-beta.25

24 Nov 10:07
Compare
Choose a tag to compare

Fixed:

  • Fixed an issue with z-index causing display issues in embedded chatbots
  • Fixed and improved stream logic for messages

Note:
The message sender field now defaults to being fully capitalized (i.e. bot -> BOT). However, it is also no longer case sensitive so no action is required.

v2.0.0-beta.24

13 Nov 15:08
Compare
Choose a tag to compare

Fixed:

  • Fixed an issue where toasts showed up incorrectly positioned in embedded chatbots

v2.0.0-beta.23

07 Nov 15:44
Compare
Choose a tag to compare

Minor Breaking Change:

  • All functions in params are now async, with the addition of these functions in this version:
    • params.showToast
    • params.dismissToast
    • params.goToPath
    • params.setTextAreaValue
    • params.openChat
  • The following functions from hooks are now async:
    • showToast
    • dismissToast
    • toggleAudio
    • toggleNotifications
    • toggleVoice
    • toggleChatWindow
    • goToPath
    • setTextAreaValue

Fixed:

  • Fixed stale values in toggle events
  • Fixed an issue with toasts not being positioned properly
  • Fixed an issue where new message prompts are not dismissed in embedded chatbots
  • Fixed an issue with the chatbot potentially crashing in react native webview
  • Fixed warning messages when loading chat history

Added:

  • Added support for async event handlers (push promises into event.promises for them to be awaited till resolved)
  • Added Plugin type as an export
  • Improved logic for simulating stream messages

v2.0.0-beta.22

31 Oct 12:41
Compare
Choose a tag to compare

Fixed:

  • Fixed a rare issue where the latest message sent may not be saved into chat history
  • Fixed error messages in console when chat history loads options or checkboxes

Added:

  • Added a new storageType property to settings.chatHistory that allows users to specify LOCAL_STORAGE or SESSION_STORAGE for storing chat messages
  • Improved plugin experience by allowing plugin developers to include auto-setups
  • Toasts styles are now handled independently, allowing different toasts to show up concurrently