Skip to content

7.4.2

Latest

Choose a tag to compare

@rany2 rany2 released this 30 Nov 13:15
· 6 commits to master since this release
Immutable release. Only release title and notes can be modified.

Bug fixes

  • A custom connector now stays open between requests. Communicate.stream() opens one aiohttp session per request, and aiohttp closes a connector when the session using it closes. If you passed your own connector, any text longer than one chunk, and any retry, failed with Session is closed. list_voices had the same problem and is fixed too.

    By @imeerkhurram and @rany2 in #532.

⚠️ Behaviour change

  • If you pass in a connector, edge-tts no longer closes it, so closing it is now up to you.