Change8

2.3.0

📦 chainlitView on GitHub →
3 features🐛 13 fixes🔧 3 symbols

Summary

This release introduces new features like command buttons and improved message placement, alongside numerous bug fixes addressing Docker paths, file uploads, data layer queries, and cookie handling.

✨ New Features

  • Commands can now be rendered as buttons.
  • New user messages are now placed/scrolled to the top of the chat interface.
  • Implemented functionality to send user messages directly from custom elements.

🐛 Bug Fixes

  • Added missing 'key' prop to ButtonLink components in the header.
  • Allowed setting a custom cookie name via environment variables.
  • Included element 'props' in SQLAlchemyDataLayer queries for elements.
  • Addressed issues related to the root path configuration in Docker deployments.
  • File extensions for uploads are now checked in lowercase.
  • Fixed Element mime type by correcting the from_dict() implementation.
  • Resolved an issue where server-side upload failures resulted in an undefined error message on the frontend.
  • Enabled markdown alert syntax support when 'unsafe_allow_html = true' is set.
  • Ensured clear_auth_cookie uses the correct secure and samesite settings.
  • Corrected threadId assignment to the first user message.
  • Fixed thread history groups to sort in a fixed order.
  • Resolved root path issues specifically in Docker environments.
  • Fixed chat settings not resuming correctly when resuming a thread on the react client.

🔧 Affected Symbols

ButtonLinkSQLAlchemyDataLayerclear_auth_cookie