Skip to content

Releases: Chainlit/chainlit

1.1.300rc0

27 May 16:06
4e0baab
Compare
Choose a tag to compare
1.1.300rc0 Pre-release
Pre-release

Added

  • Debug mode when starting with -d. Only available if the data layer supports it. This replaces the Prompt Playground.
  • @cl.set_starters and cl.Starter to suggest conversation starters to the user
  • default theme config in config.toml
  • If only one OAuth provider is set, automatically redirect the user to it

Changed

  • [BREAKING] Avatars have been reworked. cl.Avatar has been removed, instead place your avatars by name in /public/avatars/*
  • [BREAKING] The running, took_one and took_other translations have been replaced by used.
  • [BREAKING] root attribute of cl.Step has been removed. Use cl.Message to send root level messages.
  • Chain of Thought has been reworked. Only steps of type tool will be displayed if hide_cot is false
  • The show_readme_as_default config has been removed
  • No longer collapse root level messages

Fixed

  • The Chat Profile description should now disappear when not hovered.
  • Error handling of steps has been improved
  • No longer stream the first token twice
  • Copilot should now work as expected even if the user is closing/reopening it
  • Copilot CSS should no longer leak/be impacted by the host website CSS
  • Fix various cl.Context errors

1.1.202

22 May 11:48
fc89469
Compare
Choose a tag to compare

Added

  • Support for video players like youtube or vimeo

Fixed

  • Fix audio capture on windows browsers

1.1.201

21 May 19:28
Compare
Choose a tag to compare

Fixed

  • Intermediary steps button placement

1.1.200

21 May 16:41
9468afe
Compare
Choose a tag to compare

Changed

  • User message UI has been updated
  • Loading indicator has been improved and visually updated
  • Icons have been updated
  • Dark theme is now the default

Fixed

  • Scroll issues on mobile browsers
  • Github button now showing

1.1.101

14 May 12:32
Compare
Choose a tag to compare

Added

  • The discord bot now shows "typing" while responding

Fixed

  • Discord and Slack bots should no longer fail to respond if the data layer fails

1.1.0

13 May 14:01
357f2cd
Compare
Choose a tag to compare

Added

  • You can know serve your Chainlit app as a Slack bot
  • You can know serve your Chainlit app as a Discord bot
  • cl.on_audio_chunk decorator to process incoming the user incoming audio stream
  • cl.on_audio_end decorator to react to the end of the user audio stream
  • The cl.Audio element now has an auto_play property
  • layout theme config, wide or default
  • http_referer is now available in cl.user_session

Changed

  • The UI has been revamped, especially the navigation
  • The arrow up button has been removed from the input bar, however pressing the arrow up key still opens the last inputs menu
  • The user session will no longer be persisted as metadata if > 1mb
  • [breaking] the send() method on cl.Message now returns the message instead of the message id
  • [breaking] The multi_modal feature has been renamed spontaneous_file_upload in the config
  • Element display property now defaults to inline instead of side
  • The SQL Alchemy data layer logging has been improved

Fixed

  • Fixed a bug disconnecting the user when loading the chat history
  • Elements based on an URL should now have a mime type
  • Stopping a task should now work better (using asyncio task.cancel)

1.1.0rc1

06 May 13:03
Compare
Choose a tag to compare
1.1.0rc1 Pre-release
Pre-release

Changed

  • bumped literalai package version to 0.0.600

1.1.0rc0

06 May 12:31
329e14a
Compare
Choose a tag to compare
1.1.0rc0 Pre-release
Pre-release

Added

  • cl.on_audio_chunk decorator to process incoming the user incoming audio stream
  • cl.on_audio_end decorator to react to the end of the user audio stream
  • The cl.Audio element now has an auto_play property
  • http_referer is now available in cl.user_session

Changed

  • The UI has been revamped, especially the navigation
  • The arrow up button has been removed from the input bar, however pressing the arrow up key still opens the last inputs menu
  • [breaking] the send() method on cl.Message now returns the message instead of the message id
  • [breaking] The multi_modal feature has been renamed spontaneous_file_upload in the config
  • Element display property now defaults to inline instead of side

Fixed

  • Stopping a task should now work better (using asyncio task.cancel)

1.0.506

30 Apr 14:01
8a59f43
Compare
Choose a tag to compare

What's Changed

  • pasting from microsoft products generates text instead of an image by @tpatel in #934
  • add support for multiline option in TextInput chat settings field input by @kevinwmerritt in #945
  • do not prevent thread revalidation by @kevinwmerritt in #944
  • display the label instead of the value for menu item by @kevinwmerritt in #943
  • disable gzip middleware to prevent a compression issue on safari by @tpatel in #952

Full Changelog: 1.0.505...1.0.506

1.0.505

23 Apr 14:53
5102fae
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.504...1.0.505