- `default_open` parameter to the step decorator/class
Fixed - Input should not replace <,>,& - Starters should be disabled if no ws connection - Prevent orphaned thread record when deleting active conversation
2.2.0
Not secure
Added
- You can now add custom buttons in the header
Fixed
- Step open/close is now animated - prevent unstyled flash when streaming code blocks - Docking/undocking scroll while streaming show now work better
2.1.2
Not secure
Fixed - The default loader should now be displayed if the chat is running and no response is yet sent - Pasting HTML in the chat input show now work - React warnings and accessibility issues - Command filtering now works with `includes` instead of `startWith` - The submit button should be disabled in the chat input is empty
2.1.1
Not secure
Fixed
- Reintroduce including URL location after UI refactor - Ensure SAS token start time is set to UTC - Prevent showing 0's on resumed thread if AskAction/File was used - Remove 22px element ref height - Update Microsoft OAuth offline_access scope to be fully qualified with the prefix
2.1.0
Not secure
Added
- You can now send toasts with `cl.context.emitter.send_toast` - Markdown now supports alerts - Theme options are now translatable - Copilot can now load custom css
Fixed
- Mounting Chainlit as a sub app should no longer break the parent's app endpoints - Pasting text in the chat input should now remove extra formatting and preserve new lines
2.1.dev0
Pre-release: developer preview.
Added - New `data_layer` decorator for configuring custom data layers declaratively - Unit tests for `get_data_layer()` and `data_layer` functionality
Changed - Data layer configuration system now prioritizes `data_layer` decorator over environment variables - Data layer initialization is now more explicit and testable through the decorator pattern - Updated example code in `/cypress/e2e/custom_data_layer` and `/cypress/e2e/data_layer` to use the new decorator
Developer Experience - Improved test infrastructure with new fixtures for data layer mocking - Added comprehensive tests for data layer configuration scenarios