Change8

Migrating to Chainlit 2.7.0

Version 2.7.0 introduces 1 breaking change. This guide details how to update your code.

Released: 8/21/2025

1
Breaking Changes
1
Migration Steps
2
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

AskFileButtonStreamable HTTP MCP

Breaking Changes

Issue #1

The authentication mechanism for requiring login has changed. It now checks for the environment variable CHAINLIT_AUTH_SECRET instead of CHAINLIT_CUSTOM_AUTH.

Solution

Update your deployment configuration to use the CHAINLIT_AUTH_SECRET environment variable if you rely on custom authentication secrets.

Migration Steps

  1. 1
    If you use custom authentication, change the environment variable from CHAINLIT_CUSTOM_AUTH to CHAINLIT_AUTH_SECRET.

Release Summary

This release introduces Slack Socket Mode, dynamic configuration for ChatProfiles, and modernizes the chat input interface. It also updates the authentication secret environment variable used for custom login requirements.

Need More Details?

View the full release notes and all changes for Chainlit 2.7.0.

View Full Changelog