Repository navigation
chore(main): release 7.21.0 - #839
Merged
GregHolmes merged 2 commits intoDec 2, 2026
Merged
Conversation
github-actions
Bot
requested review from
deepgram-kiley,
dg-coreylweathers and
jasondielman-dg
as code owners
November 30, 2026 11:13
github-actions
Bot
force-pushed
the
release-please--branches--main--components--deepgram-sdk
branch
from
November 30, 2026 12:29
325fa34 to
b5821e3
Compare
Contributor
Author
|
GregHolmes
approved these changes
Dec 2, 2026
GregHolmes
deleted the
release-please--branches--main--components--deepgram-sdk
branch
December 2, 2026 10:22
Contributor
Author
|
🤖 Created releases: 🌻 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 I have created a release beep boop
7.21.0 (2026-11-30)
Features
ssml_to_deepgram()andTextBuilder.from_ssml()now keep a<break>pause when the tag carries other attributes or spaces around=, such as<break strength="medium" time="500ms"/>or<break time = "500ms"/>. These spellings previously failed to match and were deleted by the generic tag stripper, so the pause silently vanished from the text sent for synthesis. Behavior change: a<break>with extra attributes is now validated like a bare<break time="...">, and raisesValueErrorwhen the duration is below 500ms, above 3000ms or off the 100ms grid, when a document holds more than eight pauses, or when it is combined with a pronunciation. Also fixes a hang present in 7.20.0 and earlier: the<break>and<phoneme>SSML matchers backtracked cubically on an unterminated tag (about 22 seconds on a 4 KB input), which could stall any caller passing user-supplied SSML; both now return in under a millisecond at 20,000 characters. Known limitation: atime=written inside another attribute's quoted value is still read as the real one. (#809) (dc7e585)Bug Fixes
TextBuilder.text()with an inline pronunciation, andTextBuilder.from_ssml(), now count the spoken word of a pronunciation toward the 2,000-character limit, matching the fluentpronunciation()call. Previously the whole control, including the word, was removed before counting, so the same text could be rejected through the fluent API but accepted at 2,001 characters through inline or SSML input. The word is counted by its decoded length, so Unicode and JSON-escaped quotes and backslashes are measured as spoken; pause controls still contribute no text. Inputs just over the limit that were previously accepted now raiseValueError. (#807) (373d43c)This PR was generated with Release Please. See documentation.