2.9.3

Chainlit/chainlit2.9.3Dec 4, 2025by hayescode

AI Summary

Release 2.9.3 brings multiple improvements including native video support in markdown, language configuration options, and various bug fixes and optimizations.

Key Highlights

  • Native video support in markdown rendering
  • Language configuration option to override browser language
  • Optimized chat message rendering with memoization
  • Fix for chainlit setting logging while acting as a library
  • LangChain imports updated for v1.x compatibility
  • Websocket session environ restoration fix

New Features

  • Native video support in markdown rendering
  • Language configuration option
  • Memoization for chat message rendering

Full Release Notes

## What's Changed
* test: add missing oauth providers test by @codomposer in https://github.com/Chainlit/chainlit/pull/2687
* test: add test for message by @OxLeOx in https://github.com/Chainlit/chainlit/pull/2664
* Update chainlit data layer with metadata merging by @jfperusse in https://github.com/Chainlit/chainlit/pull/2688
* Bug: Fix page blinking after login by @ADWasHere in https://github.com/Chainlit/chainlit/pull/2640
* Update useChatSession.ts by @tosokr in https://github.com/Chainlit/chainlit/pull/2657
* Fix: Fix CI issue introduced in #2640 by @hayescode in https://github.com/Chainlit/chainlit/pull/2711
* fix(socket): set environ when restoring websocket session by @daniel-oronsi in https://github.com/Chainlit/chainlit/pull/2689
* docs: Move hello.py to avoid import shadowing by @RoyBA in https://github.com/Chainlit/chainlit/pull/2702
* feat: Add native video support in markdown rendering by @RoyBA in https://github.com/Chainlit/chainlit/pull/2704
* Optimize chat message rendering and message-tree updates with memoization by @SimonEOA in https://github.com/Chainlit/chainlit/pull/2706
* fix: do not show share thread button if allow_threadsharing is set to false by @eiseleMichael in https://github.com/Chainlit/chainlit/pull/2708
* feat: Add language configuration option to override browser language by @RoyBA in https://github.com/Chainlit/chainlit/pull/2703
* fix: fix chainlit sets logging while act as a library by @goatwu1993 in https://github.com/Chainlit/chainlit/pull/2683
* fix: Update LangChain imports for v1.x compatibility by @RoyBA in https://github.com/Chainlit/chainlit/pull/2700
* feat: improve icon name formatting by @eiseleMichael in https://github.com/Chainlit/chainlit/pull/2693
* chore:release by @hayescode in https://github.com/Chainlit/chainlit/pull/2712

## New Contributors
* @OxLeOx made their first contribution in https://github.com/Chainlit/chainlit/pull/2664
* @daniel-oronsi made their first contribution in https://github.com/Chainlit/chainlit/pull/2689
* @SimonEOA made their first contribution in https://github.com/Chainlit/chainlit/pull/2706
* @goatwu1993 made their first contribution in https://github.com/Chainlit/chainlit/pull/2683

**Full Changelog**: https://github.com/Chainlit/chainlit/compare/2.9.2...2.9.3