Skip to content

Releases: Chainlit/chainlit

0.7.1

29 Sep 14:01
c4af86e
Compare
Choose a tag to compare

Added

  • Pydantic v2 support
  • Okta auth provider
  • Auth0 auth provider
  • Prompt playground support for mix of template/formatted prompts
  • @cl.on_chat_end decorator
  • Textual comments to user feedback

Fixed

  • Langchain errors are now correctly indented
  • Langchain nested chains prompts are now correctly displayed
  • Langchain error TypeError: 'NoneType' object is not a mapping.
  • Actions are now displayed on mobile
  • Custom logo is now working as intended

0.7.0

14 Sep 14:56
238f7fc
Compare
Choose a tag to compare

Changed

  • Authentication is now unopinionated:
    1. @cl.password_auth_callback for login/password auth
    2. @cl.oauth_callback for oAuth auth
    3. @cl.header_auth_callback for header auth
  • Data persistence is now enabled through CHAINLIT_API_KEY env variable

Removed

  • @cl.auth_client_factory (see new authentication)
  • @cl.db_client_factory (see new data persistence)

Added

  • disable_human_feedback parameter on cl.Message
  • Configurable logo
  • Configurable favicon
  • Custom CSS injection
  • GCP Vertex AI LLM provider
  • Long message collpasing feature flag
  • Enable Prompt Playground feature flag

Fixed

  • History page filters now work properly
  • History page does not show empty conversations anymore
  • Langchain callback handler Message errors

0.6.402

01 Sep 18:43
c71a3f0
Compare
Choose a tag to compare

Fix

  • Prevent langchain to be imported by default

0.6.401

01 Sep 15:22
3985c9e
Compare
Choose a tag to compare

Fix

  • follow_symlink for asset mount now defaults to False and is configurable
  • cl.Message now attempts to stringify the content if content is not a string and not a dict

0.6.4

01 Sep 09:42
9efa918
Compare
Choose a tag to compare

Added

  • @cl.on_file_upload to enable spontaneous file uploads
  • LangchainGenericProvider to add any Langchain LLM in the Prompt Playground
  • cl.Message content now support dict (previously only supported string)
  • Long messages are now collapsed by default

Fixed

  • Deadlock in the Llama Index callback handler
  • Langchain MessagesPlaceholder and FunctionMessage are now correctly supported

0.6.3

22 Aug 03:23
Compare
Choose a tag to compare

Added

  • Complete rework of the Prompt playground. Now supports custom LLMs, templates, variables and more
  • Enhanced Langchain final answer streaming
  • remove_actions method on the Message class
  • Button to clear message history

Fixed

  • Chainlit CLI performance issue
  • Llama Index v0.8+ callback handler. Now supports messages prompts
  • Tasklist display, persistence and .remove()
  • Custom headers growing infinitely large
  • Action callback can now handle multiple actions
  • Langflow integration load_flow_from_json
  • Video and audio elements on Safari

0.6.2

06 Aug 14:16
829e12f
Compare
Choose a tag to compare

Added

  • Make the chat experience configurable with Chat Settings
  • Authenticate users based on custom headers with the Custom Auth client

Fixed

  • Author rename now works with all kinds of messages
  • Create message error with chainlit cloud (chenjuneking)

0.6.1

24 Jul 14:40
ad87b09
Compare
Choose a tag to compare

Added

Security improvements
Haystack callback handler
Theme customizability

Fixed

Allow multiple browser tabs to connect to one Chainlit app
Sidebar blocking the send button on mobile

0.6.0

20 Jul 16:38
4ac6a11
Compare
Choose a tag to compare

Breaking changes

Factories, run and post process decorators are removed.
langchain_rename becomes author_rename and works globally
Message.update signature changed
Migration guide available here.

Added

Langchain final answer streaming
Redesign of chainlit input elements
Possibility to add custom endpoints to the fast api server
New File Element
Copy button in code blocks

Fixed

Persist session between websocket reconnection
The UI is now more mobile friendly
Avatar element Path parameter
Increased web socket message max size to 100 mb
Duplicated conversations in the history tab

0.5.2

10 Jul 17:43
a0c8eba
Compare
Choose a tag to compare
Update pyproject.toml