@@ -4,6 +4,42 @@ All notable changes to Chainlit will be documented in this file.
4
4
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) .
6
6
7
+ ## [ 2.0.dev0] - 2024-10-08
8
+
9
+ ### Breaking Changes
10
+
11
+ - Completely revamped audio implementation:
12
+ - Removed ` AudioChunk ` type, replaced with ` InputAudioChunk ` and ` OutputAudioChunk `
13
+ - Changed audio sampling rate from 44100 to 24000
14
+ - Removed several audio configuration options (` min_decibels ` , ` initial_silence_timeout ` , ` silence_timeout ` , ` chunk_duration ` , ` max_duration ` )
15
+ - Introduced new ` on_audio_start ` callback
16
+ - Modified ` on_audio_end ` callback to no longer accept file elements as arguments
17
+
18
+ ### Added
19
+
20
+ - New audio connection signaling with ` on ` and ` off ` states
21
+ - Introduced ` AudioPresence ` component for visual representation of audio state
22
+ - Added ` WavRecorder ` and ` WavStreamPlayer ` classes for improved audio handling
23
+ - New ` startConversation ` and ` endConversation ` methods in ` useAudio ` hook
24
+ - Implemented audio interruption functionality
25
+
26
+ ### Changed
27
+
28
+ - Updated ` useChatInteract ` hook to include ` startAudioStream ` method
29
+ - Modified ` useChatSession ` to handle new audio streaming functionality
30
+ - Updated UI components to reflect new audio implementation, including new microphone icons and audio presence indicators
31
+ - Refactored ` InputBoxFooter ` to display audio presence when active
32
+
33
+ ### Removed
34
+
35
+ - Eliminated ` RecordScreen ` component
36
+ - Removed several audio-related configuration options from ` config.toml `
37
+
38
+ ### Development
39
+
40
+ - Added new wavtools directory with various audio processing utilities
41
+ - Implemented new AudioWorklet processors for more efficient audio handling
42
+
7
43
## [ 1.3.0rc0] - 2024-10-02
8
44
9
45
### Added
0 commit comments