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..6adf85e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## [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 + +* **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)) + + +### Compatibility + +* 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) 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 = []