Chainlit

Latest version: v2.4.400

Safety actively analyzes 723650 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 16

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

2.0.603

Not secure
Added

- Data layer initialization to the telemetry

Fixed

- Gap between the word `Used` and tool name in step name

2.0.602

Not secure
Fixed

- Chat input should now auto focus
- When unfolding a step, the `Output` title should only show if there is an input to display

2.0.601

Not secure
Fixed

- Element sidebar should take full height

2.0.6

Not secure
Added

- The element sidebar is now controllable from the python code

Fixed
- The auth cookie no longer has a maximal size
- Pasting text in the chat input should now work
- Long text in AskAction buttons are now gracefully displayed
- Server connection error translation path

Page 3 of 16

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.