Repository navigation
7.4.0
⚠️ Breaking changes
- Python 3.9 or newer is now required. CI tests every version from 3.9 to 3.14, and also runs 3.9 with each dependency at its lowest allowed version.
edge_tts.utilandedge_tts.data_classeshave been removed. Their code moved into new modules:text,protocol,network,config(TTSConfig) andcli.UtilArgsis nowCLIArgs. By @rany2 in #525
Bug fixes
stream_syncnow raises errors instead of hanging. By @chenshu007 in #501split_text_by_byte_lengthkeeps every chunk withinbyte_length, even when the text has no whitespace. By @b84330808 in #506receive_timeoutnow applies to WebSocket reads. By @uzunenes in #515- The CLI reports the real filesystem error when it can't open the output file. By @adityajai119 in #520
- Subtitle content no longer ends with a trailing newline. By @adityajai119 in #521
TTSConfigrejects rate, volume and pitch values that end in a newline (for example"+10%\n"). Reported by @adityajai119 in #524edge-playbackexits with an error whenedge-ttsfails, instead of trying to play an empty file. Reported by @adityajai119 in #526- Calling
VoicesManager.create()on a subclass now returns that subclass. Co-authored by @adityajai119 - SRT output now comes from a small built-in writer (
srt.py) that replaces the vendoredsrt_composer.
Typing
Documentation and examples
- New troubleshooting guide for
NoAudioReceived. By @rany2 in #523 - Shorter README, and uv is now the documented way to install and run edge-tts.
- New examples: a quickstart, voice discovery, subtitles, low-latency playback, resumable batch conversion and a streaming HTTP server.
- Wording fix in the README. By @Christinauebungkonto in #518
Tooling
- Package metadata moved to
pyproject.toml(PEP 621). The project now uses ruff and pre-commit instead of black, isort and pylint. - Development uses uv, with a committed
uv.lock. - Releases are published to PyPI from GitHub Actions using trusted publishing.
- The test suite was reorganized and expanded, and now runs in CI.
New Contributors
- @chenshu007 made their first contribution in #501
- @Christinauebungkonto made their first contribution in #518
- @b84330808 made their first contribution in #506
- @5j9 made their first contribution in #514
- @uzunenes made their first contribution in #515
- @adityajai119 made their first contribution in #520
Full Changelog: 7.3.1...7.4.0