Skip to content

Commit 2e9569b

Browse files
authored
Changelog for realtime (#1410)
* Add changelog entry for realtime audio (#1401). * Bump version to 2.0.dev0.
1 parent 8882619 commit 2e9569b

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,42 @@ All notable changes to Chainlit will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

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+
743
## [1.3.0rc0] - 2024-10-02
844

945
### Added

backend/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "chainlit"
3-
version = "1.3.0rc1"
3+
version = "2.0.dev0"
44
keywords = [
55
'LLM',
66
'Agents',

0 commit comments

Comments
 (0)