Skip to content

v1.6.0

Compare
Choose a tag to compare
@tjtanjin tjtanjin released this 11 May 08:11
· 514 commits to main since this release

Added:

  • Added a new sensitiveInput configuration section to cater for sensitive information (refer to API documentation)
  • Added a new autoLoad property to the chatHistory section which allows chat history messages to be automatically loaded on start
  • Added a new dangerouslySetInnerHtml property to both userBubble and botBubble which allows setting of raw HTML content (use with caution)

Fixed:

  • Fixed several type definitions within the library itself
  • Fixed an issue where the load chat history button can appear distorted if given a long text string
  • Fixed an issue where some chat history messages may not be saved when using real-time stream
  • Fixed an issue where chat input textarea may resize when focused on some occasions
  • Fixed selection of emoji causing textarea to lose focus
  • Improved performance for saving chat history
  • Further reduced assets file size

Note:
This update contains significant additions which have been documented on the API documentation. You will also find new live examples for Sensitive Input and Markup Message. This will be one of the last few (if not the last) release before v2.0.0 arrives. Feel free to join discord to stay up to date!