From 5f53cc02afea0a8153dc5a057bb805aa2ca602e5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 12 Aug 2026 12:36:34 +0000 Subject: [PATCH 1/2] chore(main): release 7.7.0 --- .fern/metadata.json | 2 +- .github/.release-please-manifest.json | 2 +- CHANGELOG.md | 13 +++++++++++++ pyproject.toml | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.fern/metadata.json b/.fern/metadata.json index b4a8cece..713ca3a1 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -20,5 +20,5 @@ "originGitCommit": "03f06776bbb692c49f8d76c4230bca7f4bc4bca7", "originGitCommitIsDirty": true, "invokedBy": "manual", - "sdkVersion": "7.6.1" + "sdkVersion": "7.7.0" } \ No newline at end of file diff --git a/.github/.release-please-manifest.json b/.github/.release-please-manifest.json index 8e11baae..01f6bba7 100644 --- a/.github/.release-please-manifest.json +++ b/.github/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "7.6.0" + ".": "7.7.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index ec518e84..b5d5ff18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [7.7.0](https://github.com/deepgram/deepgram-python-sdk/compare/v7.6.0...v7.7.0) (2026-08-12) + + +### Features + +* **regen:** listen v2 force-end-turn and redaction, listen v1 diarize metadata ([#750](https://github.com/deepgram/deepgram-python-sdk/issues/750)) ([4678f0e](https://github.com/deepgram/deepgram-python-sdk/commit/4678f0e230d590e1ad473ae2f3452619d21d3d6b)) +* **regen:** speak v2 barge-in and speed/expressivity controls, listen v2 redaction ([#758](https://github.com/deepgram/deepgram-python-sdk/issues/758)) ([aab1eae](https://github.com/deepgram/deepgram-python-sdk/commit/aab1eae8704d50aba5d8823ef09b7278ff03580c)) + + +### Reverts + +* listen v2 force-end-turn/redaction + diarize regen ([#750](https://github.com/deepgram/deepgram-python-sdk/issues/750)) ([#757](https://github.com/deepgram/deepgram-python-sdk/issues/757)) ([48c88fc](https://github.com/deepgram/deepgram-python-sdk/commit/48c88fcd7a319fb57c579201fc392936d7c8d97e)) + ## [7.6.0](https://github.com/deepgram/deepgram-python-sdk/compare/v7.5.0...v7.6.0) (2026-07-22) diff --git a/pyproject.toml b/pyproject.toml index 41703540..161a61e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ dynamic = ["version"] [tool.poetry] name = "deepgram-sdk" -version = "7.6.1" +version = "7.7.0" description = "" readme = "README.md" authors = [] From 120791af3e6dc49e5367e368d4fba20ecd3c8180 Mon Sep 17 00:00:00 2001 From: Greg Holmes Date: Wed, 12 Aug 2026 13:50:30 +0100 Subject: [PATCH 2/2] docs(changelog): rewrite 7.7.0 notes to match PR description Replace the auto-generated 7.7.0 entry with the clean feature summary used in the PR description. Drops the Reverts section and the superseded #750 feature line so the published changelog reads as the net GA surface. --- CHANGELOG.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5d5ff18..6adf85e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,16 +2,21 @@ ## [7.7.0](https://github.com/deepgram/deepgram-python-sdk/compare/v7.6.0...v7.7.0) (2026-08-12) +Flux TTS streaming controls and Listen v2 redaction. + ### Features -* **regen:** listen v2 force-end-turn and redaction, listen v1 diarize metadata ([#750](https://github.com/deepgram/deepgram-python-sdk/issues/750)) ([4678f0e](https://github.com/deepgram/deepgram-python-sdk/commit/4678f0e230d590e1ad473ae2f3452619d21d3d6b)) -* **regen:** speak v2 barge-in and speed/expressivity controls, listen v2 redaction ([#758](https://github.com/deepgram/deepgram-python-sdk/issues/758)) ([aab1eae](https://github.com/deepgram/deepgram-python-sdk/commit/aab1eae8704d50aba5d8823ef09b7278ff03580c)) +* **Speak v2 (Flux TTS streaming):** barge-in via `send_interrupt()` (optional `playback_offset`, `{type: "time_ms", value: N}`), answered by a `SpeechInterrupted` server message whose metadata carries the new `controls_applied.breaks_applied` counter; mid-stream `send_configure()` to change `speed`, acknowledged by `ConfigureSuccess` / `ConfigureFailure`; new `speed` and `expressivity` connect query parameters. Inline pause and pronunciation controls are not applied at launch — they are stripped before synthesis and support is coming soon. ([#758](https://github.com/deepgram/deepgram-python-sdk/issues/758)) ([aab1eae](https://github.com/deepgram/deepgram-python-sdk/commit/aab1eae8704d50aba5d8823ef09b7278ff03580c)) +* **Listen v2:** `redact` connect parameter (`ListenV2Redact`: `numbers`, `aggressive_numbers`); `send_configure()` is now properly typed (`ListenV2Configure` + `ListenV2ConfigureSuccess` in the response union), replacing the previous `typing.Any` shim. ([#758](https://github.com/deepgram/deepgram-python-sdk/issues/758)) ([aab1eae](https://github.com/deepgram/deepgram-python-sdk/commit/aab1eae8704d50aba5d8823ef09b7278ff03580c)) +* **Other:** `GoogleThinkProviderVersion` adds `ai-studio-v1beta` and `gemini-enterprise-agent-v1`; `AgentV1UpdateListenListenProvider` discriminated union (`_V1` / `_V2`, discriminant `version`); `client_wrapper` now derives its version from `importlib.metadata` rather than a hardcoded string. ([#758](https://github.com/deepgram/deepgram-python-sdk/issues/758)) ([aab1eae](https://github.com/deepgram/deepgram-python-sdk/commit/aab1eae8704d50aba5d8823ef09b7278ff03580c)) -### Reverts +### Compatibility -* listen v2 force-end-turn/redaction + diarize regen ([#750](https://github.com/deepgram/deepgram-python-sdk/issues/750)) ([#757](https://github.com/deepgram/deepgram-python-sdk/issues/757)) ([48c88fc](https://github.com/deepgram/deepgram-python-sdk/commit/48c88fcd7a319fb57c579201fc392936d7c8d97e)) +* No breaking changes against v7.6.0: 0 removed public exports, 0 deleted modules, baseline socket-client signatures intact, and enum changes are widenings only. +* The `deepgram` speak provider `version` widens from `Literal["v1"]` to `str`. +* `AgentV1UpdateListenListen.provider` moves from a bare `DeepgramListenProviderV2` to a required discriminated union; a compatibility validator coerces a legacy provider instance or bare dict into the new shape (both serialize to `version: "v2"`), so existing callers are unaffected. ## [7.6.0](https://github.com/deepgram/deepgram-python-sdk/compare/v7.5.0...v7.6.0) (2026-07-22)