Skip to content

Releases: tjtanjin/react-chatbotify

v.1.3.2

16 Mar 15:58
Compare
Choose a tag to compare

Fixed:

  • Fixed an issue where chat window auto-scrolling does not work for streamed messages
  • Fixed an issue where loading chat history caused current scroll position to shift
  • Fixed an issue where extremely long words get abruptly cut-off at the tail end of the message bubble

v1.3.1

14 Mar 00:39
Compare
Choose a tag to compare

A minor patch to clean up the previous release.

Added:

  • Added simStream and streamSpeed options for user bubble to be consistent with bot bubble

Fixed:

  • Fixed an issue where users can quickly click on options or checkboxes in rapid succession resulting in multiple inputs
  • Fixed an issue where simulating stream messages would ignore the blockSpam option

v1.3.0

12 Mar 18:04
Compare
Choose a tag to compare

This version brings about significant updates/changes, the details have laid out below:

Added:

  • New simStream and streamSpeed options within botBubble to simulate streaming of messages
  • New params.streamMessage parameter that allows real-time streaming of messages (great for integration with LLMs)

Modified:

  • The isUser field within messages has been updated to sender
  • Both params.injectMessage and params.streamMessage are now async functions (previously, params.injectMessage was non-async)
  • Internally, logic for chat history, notifications and a few other minor areas have been updated to support stream messages
  • Documentation website has been updated to reflect all the latest information

Note: A possible "breaking" change would be params.injectMessage which is now async. Depending on your existing usage, there might not be a need to make any changes. However, if you are using multiple params.injectMessage in quick succession, this could mean multiple messages are being sent at once without the use of await.

v1.2.0

12 Feb 13:26
Compare
Choose a tag to compare
  • Fixed chatbot window resizing on mobile devices (previously window is out of view on some devices/browsers)
  • Fixed chatbot window orientation (previously chatbot would not re-orientate on phone rotation)

The above fixes are important for users who wish to properly support the chatbot on mobile devices. While there has been significantly more mobile view tests done for these fixes, it is near-impossible to exhaustively run through all devices/browsers. Should anyone still encounter issues with mobile view, please do not hesitate to reach out.

v1.1.0

28 Jan 11:32
Compare
Choose a tag to compare
  • Added support for enforcing & showing character count/limit via the following options:

    • chatInput.showCharacterCount: false
    • chatInput.characterLimit: -1
  • Added support for styling the above character limit display via the following styles:

    • characterLimitStyle
    • characterLimitReachedStyle

The above additions have been updated on the documentation website for reference.

v1.0.6

10 Sep 08:48
Compare
Choose a tag to compare
  • Fixed async file uploads
  • Disabled speech recognition on unsupported browsers (e.g. Opera)

v1.0.5

31 Aug 12:13
Compare
Choose a tag to compare
  • Fixed missing support for user defined async functions (important fix if you wish to make use of API calls and wait for completion)

v1.0.4

12 Aug 19:51
Compare
Choose a tag to compare
  • Fixed module export (imports by consumers should work properly for both cjs and mjs)

v1.0.3

04 Aug 19:23
Compare
Choose a tag to compare
  • Fixed a bug where embedded chat windows resize on mobile
  • Added desktopEnabled and mobileEnabled options under the theme section to allow developers to control chatbot visibility based on platform

v1.0.2

02 Aug 18:43
Compare
Choose a tag to compare
  • Fixed missing export in package.json