Releases: Chainlit/chainlit
Releases · Chainlit/chainlit
2.0.602
What's Changed
- fix: auto focus chat input by @willydouhard in #1811
Full Changelog: 2.0.601...2.0.602
2.0.601
2.0.6
What's Changed
- Use asgi root path to handle mount point by @amol- in #1723
- Increase Cypress E2E test timeout by @dokterbob in #1768
- feat: source maps by @asvishnyakov in #1609
- fix: copy paste of text by @willydouhard in #1772
- build(deps-dev): bump vite from 5.4.8 to 5.4.12 in /frontend by @dependabot in #1780
- Fix required status checks on CI / enable merge queue by @dokterbob in #1782
- Routine security updates. by @dokterbob in #1781
- Wrap text content of AskActionButton by @dan-serendipity in #1786
- Chunk long cookies by @jpolvto in #1758
- Willy/sidebar by @willydouhard in #1779
- fix: add conflict strategy to create_element by @desaxce in #1794
- feat: Add generic OAuth provider by @tcx4c70 in #1784
- Use ruff version from pyproject by @dokterbob in #1769
- fix: correct translator path by @hexart in #1796
- Move CONTRIBUTING.md to project root by @dokterbob in #1583
- chore: prepare release by @willydouhard in #1800
New Contributors
- @amol- made their first contribution in #1723
- @asvishnyakov made their first contribution in #1609
- @dan-serendipity made their first contribution in #1786
- @tcx4c70 made their first contribution in #1784
Full Changelog: 2.0.5...2.0.6
2.0.5
What's Changed
- fix translator path in ThreadList.tsx by @hexart in #1738
- fix: uvicorn version constraint by @willydouhard in #1739
- chore: update element.py by @eltociear in #1750
- fix: JSX Compatibility for SVG Attribute by @ishaansehgal99 in #1753
- Willy/commands by @willydouhard in #1744
- fix: update file upload MIME types to use standard format by @hexart in #1757
- fix: simplify translation files by @willydouhard in #1760
- feat(i18n): Add translations for thread menu options by @hexart in #1762
- chore: prepare release by @willydouhard in #1765
New Contributors
- @eltociear made their first contribution in #1750
- @ishaansehgal99 made their first contribution in #1753
Full Changelog: 2.0.4...2.0.5
2.0.4
What's Changed
- docs: improve MIME types configuration guide by @hexart in #1715
- Update zh-CN.json by @hexart in #1714
- fix: only make the body of chat settings modal scroll by @willydouhard in #1718
- fix: linting by @willydouhard in #1719
- Feat/add translation on feedback by @mame7777 in #1701
- fix: store show input as string by @desaxce in #1721
- add json file to translate into japanese by @myksyut in #1720
- feat: improve element ref styling by @willydouhard in #1722
- fix: use config value for cookie max age by @willydouhard in #1717
- fix: prevent rerendering of the custom element by @willydouhard in #1731
- fix: match file id with element id by @willydouhard in #1727
- fix: optimize thread date grouping logic by @hexart in #1732
- fix: limit thread name by @desaxce in #1733
- fix: frontend build failures (closes #1702) by @dokterbob in #1703
- Add i18n Support for Chat Components by @hexart in #1729
- chore: prepare release by @willydouhard in #1734
New Contributors
Full Changelog: 2.0.3...2.0.4
2.0.3
What's Changed
- fix: a tool message should count as the start of a thread by @willydouhard in #1680
- fix: element.update by @willydouhard in #1686
- fix: force poetry-core <2.0 for buildC by @willydouhard in #1689
- fix: don't auth until ready by @willydouhard in #1691
- feat: add translation on copy bottun by @mame7777 in #1657
- fix: bad type conversion by @willydouhard in #1693
- fix: data layer create_element by @ale-delfo in #1700
- chore: bump and changelog by @willydouhard in #1705
New Contributors
- @mame7777 made their first contribution in #1657
- @ale-delfo made their first contribution in #1700
Full Changelog: 2.0.2...2.0.3
2.0.2
What's Changed
- feat: Allow HTML for markdown_description in Welcome Screen by @hayescode in #1660
- fix: update thread batch size to BATCH_SIZE to ensure scroll on large… by @willydouhard in #1666
- fix: make chat settings modal scroll if too tall by @willydouhard in #1667
- fix: gracefully handle thread resume error by @willydouhard in #1671
- fix: only use credentials include for chainlit requestsC by @willydouhard in #1672
- fix: allow AskFileMessage even if spontaneous uploads are disabled by @willydouhard in #1668
- feat: add http_cookie to WebsocketSession and UserSession by @5enxia in #1653
- chore: prepare release by @willydouhard in #1674
- fix: data layers by @desaxce in #1670
New Contributors
Full Changelog: 2.0.1...2.0.2
2.0.1
What's Changed
- fix: remove unused endpoint by @willydouhard in #1628
- fix: raw block code by @willydouhard in #1632
- fix: remove numpy by @willydouhard in #1633
- fix: remove time.sleep by @willydouhard in #1634
- fix: text input value should update by @willydouhard in #1643
- fix: attachment should not show if not enabled by @willydouhard in #1644
- feat: add function on window to toggle the copilot by @willydouhard in #1645
- feat: display chat profile icon/description is available instead of t… by @willydouhard in #1646
- fix: actions should trigger first_interaction by @willydouhard in #1647
- chore: debug ci by @willydouhard in #1648
- chore: prepare release by @willydouhard in #1650
Full Changelog: 2.0.0...2.0.1
2.0.0
The Chainlit UI (including the copilot) has been completely re-written with Shadcn/Tailwind. This brings several advantages:
- The codebase is simpler and more contribution friendly.
- It enabled the new custom element feature.
- The theme customisation is more powerful.
Added
- Custom Elements (code your own elements)
Cmd+k
thread search- Thread rename
- Official PostGres open source data layer
- New
@data_layer
decorator for configuring custom data layers declaratively
Changed
- Authentication is now based on cookies. Cross Origins are disallowed unless added in
allow_origins
in theconfig.toml
file - No longer need to click on
resume
to resume a thread - [breaking]: Theme customisation is now handled in
public/theme.json
instead ofconfig.toml
. - [breaking]: Changed fields on the
Action
class:- The
value
field has replaced withpayload
which accepts a Python dict - The
description
field has been renamedtooltip
- The field
icon
has been added - The
collapsed
field has been removed.
- The
- [breaking]: Completely revamped audio implementation (#1401, #1410):
- Replaced
AudioChunk
withInputAudioChunk
andOutputAudioChunk
- Changed default audio sampling rate from 44100 to 24000
- Removed several audio configuration options (
min_decibels
,initial_silence_timeout
,silence_timeout
,chunk_duration
,max_duration
)
- Replaced
Fixed
- Autoscaling of Chainlit app behind a load balancer should now work. Don't forget to enable sticky sessions
2.0rc1
What's Changed
- fix: pass headers when connecting sockets by @willydouhard in #1575
- Cookie-based auth by @dokterbob in #1521
Full Changelog: 2.0.dev2...2.0rc1