2.9.4
Chainlit/chainlit2.9.4Dec 25, 2025by asvishnyakov
AI Summary
Release 2.9.4 is a significant update that adds Modes functionality, includes security vulnerability fixes, and requires a database migration for persistence users.
Key Highlights
- Breaking change: Database migration required (ALTER TABLE steps ADD COLUMN IF NOT EXISTS modes JSONB)
- Security vulnerability fix
- Add Modes feature
- New option to disable auto-scroll of assistant messages
- Security fix: sanitization for custom thread element update
Breaking Changes
- Database migration required for persistence users: ALTER TABLE steps ADD COLUMN IF NOT EXISTS modes JSONB
New Features
- Add Modes
- New option to disable auto-scroll of assistant messages
- Icon for shared threads
Full Release Notes
## What's Changed ⚠️ This release contains: * **Breaking change**, if you use persistence: you need to run `ALTER TABLE steps ADD COLUMN IF NOT EXISTS modes JSONB;` to migrate * **Security vulnerability fix** ### Added * Added an icon for shared threads by @Allaoua9 in https://github.com/Chainlit/chainlit/pull/2715 * New option to allow disabling auto-scroll of assistant messages by @jfperusse in https://github.com/Chainlit/chainlit/pull/2724 * feat: Add Modes by @hayescode in https://github.com/Chainlit/chainlit/pull/2734 ### Fixed * fix: tiny error avatar for long messages by @jfperusse in https://github.com/Chainlit/chainlit/pull/2725 * security: add sanitization for custom thread element update by @asvishnyakov in https://github.com/Chainlit/chainlit/pull/2737 ### Other * chore: bump watchfiles by @hayescode in https://github.com/Chainlit/chainlit/pull/2733 * chore: update uv.lock after watchfiles changes by @asvishnyakov in https://github.com/Chainlit/chainlit/pull/2735 * chore: release by @asvishnyakov in https://github.com/Chainlit/chainlit/pull/2738 **Full Changelog**: https://github.com/Chainlit/chainlit/compare/2.9.3...2.9.4