Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docs/changelogs/2025-02-18.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Changelog (2025-02-17 - 2025-02-18)

## Overview
This release focuses on enhancing error handling, improving speech processing and TTS streaming, and refining logging and telemetry capabilities. These changes aim to increase system robustness, performance, and observability.

## πŸ› Bug Fixes
β€’ Improved handling of speech transcription and text-to-speech (TTS) streaming in the `TaskGather` and `TtsStreamingBuffer` classes. This includes addressing issues with incomplete data capture and refining low-confidence speech recognition events. [πŸ”—](https://github.com/quantstruct/jambonz-feature-server/commit/122d267816879fb515d128522e44aef50a1641c9)

## ⚑ Performance Improvements
β€’ Refactored the TTS streaming buffer to use a structured queue for managing text tokens, enhancing the buffer's ability to handle high water marks and process flush commands correctly. This change improves the reliability and efficiency of TTS streaming. [πŸ”—](https://github.com/quantstruct/jambonz-feature-server/commit/122d267816879fb515d128522e44aef50a1641c9)

## πŸ“š Documentation
β€’ Reduced logging for normalized transcripts to avoid clutter, improving the clarity of logs related to speech processing. [πŸ”—](https://github.com/quantstruct/jambonz-feature-server/commit/122d267816879fb515d128522e44aef50a1641c9)

## πŸ”§ Maintenance
β€’ Enhanced the `updateCall` method in `call-session.js` by wrapping logic in a `try-catch` block to improve error handling and prevent application crashes. This change increases robustness and reliability in call session management. [πŸ”—](https://github.com/quantstruct/jambonz-feature-server/commit/e8a7366526bc1db785f809875281766d938a892a)

β€’ Updated the `_addStreamingTtsAttributes` method in `lib/tasks/say.js` to accept a `vendor` parameter, allowing for more granular logging of TTS response times with vendor-specific tags. This enhances telemetry and monitoring capabilities. [πŸ”—](https://github.com/quantstruct/jambonz-feature-server/commit/33bca8e67c8f29bd86558f2831e8fb80b5074c1f)

β€’ Improved error handling and control flow logic in the `TaskDial` class within `lib/tasks/dial.js`. This includes clearer error logging and refined loop conditions to ensure correct task execution. [πŸ”—](https://github.com/quantstruct/jambonz-feature-server/commit/9c05fd3deba941637b3f1bd2d83ace2652d050a6)