chore(main): release 7.2.0#716
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
430bd52 to
4abde2d
Compare
lukeocodes
previously approved these changes
May 18, 2026
4abde2d to
854c278
Compare
lukeocodes
approved these changes
May 19, 2026
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.2.0 — what's in this release
This release bundles two Fern SDK regenerations (2026-05-14 and 2026-05-15) plus the manual patches re-applied on top of each.
See the full changelog:
v7.1.1...v7.2.0.Features
Diarization v2 batch GA — #714
DeepgramListenProviderV1,DeepgramListenProviderV2,DeepgramListenProviderV2LanguageHint(plus matching TypedDicts undersrc/deepgram/requests/).src/deepgram/agent/v1/types/andsrc/deepgram/agent/v1/requests/for bothAgentV1SettingsAgentContextListenProvider{V1,V2,V2LanguageHint}andAgentV1SettingsAgentListenProvider{V1,V2}, so the rename is fully backward-compatible. All 10 added to.fernignoreas permanently frozen; regression coverage intests/custom/test_compat_aliases.py.Bug fixes
think/models routed to
agent_rest— #715agent/v1/settings/think/models/raw_client.pynow resolves the base URL viaenvironment.agent_rest.DeepgramClientEnvironmentreshape supports this:DeepgramClientEnvironment.AGENTwas dropped and a newagent_restkwarg was added toDeepgramClientEnvironment.__init__. This is corrective rather than breaking — the old.AGENTenv routed REST traffic to the wrong host, soagent.v1.settings.think.models.list()and any other caller of that endpoint was already broken. Callers building a custom environment should pass the newagent_rest=slot.Patches preserved through regen
Both regens re-applied 20 hand-maintained patches (still listed in
.fernignore). No patches dropped this cycle.Socket clients — broad
except Exceptionfor custom transports, optionalmessage=defaults on control sends:agent/v1/socket_client.py— also restored_sanitize_numeric_types(float→int sanitizer).listen/v1/socket_client.py.listen/v2/socket_client.py— also keptsend_configureas a rawtyping.Anyshim andtyping.Anyin the response Union (generator now emitsListenV2Configure/ListenV2ConfigureSuccessbut we don't yet have evidence the new typed models are wire-correct).speak/v1/socket_client.py.Agent settings — callable
AgentV1SettingsAgent(...)wrapper (generator now emits aUnion[AgentV1SettingsAgentContext, str]alias, which would break callable usage), broadenedAgentV1Settings.agentunion (accepts wrapper + context + agent-id string), legacymessages=validator + read-side property, legacy TypedDict shapes inagent/v1/requests/agent_v1settings.py.agent_v1settings_audio_output.containerkept asOptional[str]instead of the regeneratedAgentV1SettingsAudioOutputContainerenum.Misc —
core/query_encoder.pybool → lowercase coercion beforeurlencode; wire testtests/wire/test_manage_v1_projects_keys.pyrestoredCreateKeyV1RequestOneParamsalias coverage; 7 package__init__.pyfiles restored compat re-exports forCreateKeyV1RequestOne(+Params),AgentV1HistoryContent(+Params),AgentV1HistoryFunctionCalls(+Params),AgentV1SettingsAgentContextMessagesItem*(+Params).Near miss (from #715)
Initial review classified
agent/v1/types/agent_v1settings.pyandagent/v1/requests/agent_v1settings.pyas droppable (the new generator declaresagent: AgentV1SettingsAgentandAgentV1SettingsAgentis now itselfUnion[AgentV1SettingsAgentContext, str], structurally equivalent). Pytest caught the issue: because we patchAgentV1SettingsAgentback to a class for callable backward compat, the bareagent: AgentV1SettingsAgentfield rejects string values. Both patches restored to broaden toUnion[AgentV1SettingsAgent, AgentV1SettingsAgentContext, str].tests/custom/test_compat_aliases.pycovers this regression.Validation
uv run pytest -q— 199 passed / 4 skipped (aiohttp/client autodetect cases, not regen-related).uv run mypy src— clean (801 files).uv run ruff check src— clean (the 57 pre-existing errors live intests/manual/, untouched by regen).Cross-SDK reference
The
agent_restenv fix has equivalents in deepgram/deepgram-js-sdk#499 and deepgram/deepgram-java-sdk#59. The JS SDK additionally needed asrc/Client.tspatch becauseclient.fetch()passthrough started defaulting toagentRestinstead ofbase. Python has no equivalent passthrough in the hand-maintainedclient.py, so no analogous patch was required here.This PR was generated with Release Please. See documentation.