Migrating to Chainlit 2.6.6
Version 2.6.6 introduces 1 breaking change. This guide details how to update your code.
Released: 8/5/2025
1
Breaking Changes
1
Migration Steps
4
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
CHAINLIT_COOKIE_PATHCHAINLIT_AUTH_COOKIE_PATHCHAINLIT_ROOT_PATHCopilot widget configurationBreaking Changes
●Issue #1
The environment variable for authentication cookies has been renamed from `CHAINLIT_COOKIE_PATH` to `CHAINLIT_AUTH_COOKIE_PATH`. Update any environment variable usage accordingly.
Migration Steps
- 1If you were using the environment variable `CHAINLIT_COOKIE_PATH`, rename it to `CHAINLIT_AUTH_COOKIE_PATH` in your environment setup.
Release Summary
This release introduces support for Slack emoji reactions, adds a language parameter to the Copilot widget, and fixes an issue where user-provided HTML was incorrectly rendered.
Need More Details?
View the full release notes and all changes for Chainlit 2.6.6.
View Full Changelog