Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .fern/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
"originGitCommit": "e252995bcdb25f3e12d46ae342a2b93d0c1085f9",
"originGitCommitIsDirty": true,
"invokedBy": "manual",
"sdkVersion": "7.11.0"
"sdkVersion": "7.12.0"
}
2 changes: 1 addition & 1 deletion .github/.release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "7.11.0"
".": "7.12.0"
}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## [7.12.0](https://github.com/deepgram/deepgram-python-sdk/compare/v7.11.0...v7.12.0) (2026-10-01)


### Features

* **Speak v2 (Flux TTS):** Add inline pause markers for batch requests and IPA pronunciation overrides for Flux batch, Flux WebSocket, and Aura-2 requests. Pronunciation is Early Access; pause markers are Flux batch-only. See [Speed, Pause, Pronunciation](https://developers.deepgram.com/docs/tts-voice-controls). ([#797](https://github.com/deepgram/deepgram-python-sdk/issues/797)) ([d2b5514](https://github.com/deepgram/deepgram-python-sdk/commit/d2b5514eab37761332fcebed75ced20e54088337))
* **TextBuilder:** Emit the Flux marker syntax the API accepts: pauses as `\{pause:500ms\}` and pronunciations as `\{"word": "...", "pronounce": "<IPA>"\}`. The 7.11.0 markers (`{pause:500}` and the unescaped pronunciation form) are rejected by `/v2/speak` with `BREAK_SYNTAX_INVALID` or ignored, so upgrade to use TextBuilder with Flux TTS. Limits now match Flux batch: pauses 500-3000 ms in 100 ms steps (was 500-5000) and at most 8 per request (was 50). `pause()`, `from_ssml()`, and `build()` raise `ValueError` for out-of-range or off-grid durations (previously rounded), for malformed markers, and for pause-plus-pronunciation combinations, instead of sending a request the API would reject.
* **Listen v2 (Flux):** Add typed `Warning` responses while preserving dict-style response access during the 7.x transition.

### Compatibility

* **Topics and Intents:** `SharedTopics` and `SharedIntents` now type the direct `segments` response shape returned by the API. Deprecated `results` facades, legacy import paths, and legacy construction remain available in v7.

## [7.11.0](https://github.com/deepgram/deepgram-python-sdk/compare/v7.10.0...v7.11.0) (2026-09-23)


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dynamic = ["version"]

[tool.poetry]
name = "deepgram-sdk"
version = "7.11.0"
version = "7.12.0"
description = ""
readme = "README.md"
authors = []
Expand Down
2 changes: 1 addition & 1 deletion src/deepgram/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_headers(self) -> typing.Dict[str, str]:
try:
_sdk_version = _fern_importlib_metadata.version("deepgram-sdk")
except _fern_importlib_metadata.PackageNotFoundError:
_sdk_version = "7.11.0" # x-release-please-version
_sdk_version = "7.12.0" # x-release-please-version

headers: typing.Dict[str, str] = {
"User-Agent": "deepgram-sdk/" + _sdk_version,
Expand Down
Loading