Skip to content

chore(main): release 7.2.0#716

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
release-please--branches--main--components--deepgram-sdk
Open

chore(main): release 7.2.0#716
github-actions[bot] wants to merge 1 commit into
mainfrom
release-please--branches--main--components--deepgram-sdk

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 15, 2026

🤖 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

Bug fixes

think/models routed to agent_rest#715

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 Exception for custom transports, optional message= defaults on control sends:

Agent settings — callable AgentV1SettingsAgent(...) wrapper (generator now emits a Union[AgentV1SettingsAgentContext, str] alias, which would break callable usage), broadened AgentV1Settings.agent union (accepts wrapper + context + agent-id string), legacy messages= validator + read-side property, legacy TypedDict shapes in agent/v1/requests/agent_v1settings.py. agent_v1settings_audio_output.container kept as Optional[str] instead of the regenerated AgentV1SettingsAudioOutputContainer enum.

Misccore/query_encoder.py bool → lowercase coercion before urlencode; wire test tests/wire/test_manage_v1_projects_keys.py restored CreateKeyV1RequestOneParams alias coverage; 7 package __init__.py files restored compat re-exports for CreateKeyV1RequestOne(+Params), AgentV1HistoryContent(+Params), AgentV1HistoryFunctionCalls(+Params), AgentV1SettingsAgentContextMessagesItem*(+Params).

Near miss (from #715)

Initial review classified agent/v1/types/agent_v1settings.py and agent/v1/requests/agent_v1settings.py as droppable (the new generator declares agent: AgentV1SettingsAgent and AgentV1SettingsAgent is now itself Union[AgentV1SettingsAgentContext, str], structurally equivalent). Pytest caught the issue: because we patch AgentV1SettingsAgent back to a class for callable backward compat, the bare agent: AgentV1SettingsAgent field rejects string values. Both patches restored to broaden to Union[AgentV1SettingsAgent, AgentV1SettingsAgentContext, str]. tests/custom/test_compat_aliases.py covers 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 in tests/manual/, untouched by regen).

Cross-SDK reference

The agent_rest env fix has equivalents in deepgram/deepgram-js-sdk#499 and deepgram/deepgram-java-sdk#59. The JS SDK additionally needed a src/Client.ts patch because client.fetch() passthrough started defaulting to agentRest instead of base. Python has no equivalent passthrough in the hand-maintained client.py, so no analogous patch was required here.


This PR was generated with Release Please. See documentation.

@github-actions github-actions Bot requested a review from lukeocodes as a code owner May 15, 2026 14:19
@GregHolmes GregHolmes self-assigned this May 18, 2026
@github-actions github-actions Bot force-pushed the release-please--branches--main--components--deepgram-sdk branch from 430bd52 to 4abde2d Compare May 18, 2026 09:12
lukeocodes
lukeocodes previously approved these changes May 18, 2026
@GregHolmes GregHolmes force-pushed the release-please--branches--main--components--deepgram-sdk branch from 4abde2d to 854c278 Compare May 19, 2026 08:32
@GregHolmes GregHolmes requested a review from lukeocodes May 19, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants