feat: sdk regeneration 2026-04-30#491
Merged
Merged
Conversation
Restore the projects.keys.create compatibility patch and legacy CreateKeyV1RequestOne alias, and keep generated browser artifacts out of lint while cleaning hand-maintained examples so the regenerated branch remains source-compatible and releasable.
lukeocodes
previously approved these changes
May 5, 2026
Adds a regression test (tests/unit/compat-aliases.test.ts) that uses a compile-time type-equality check to enforce that CreateKeyV1RequestOne stays identical to CreateKeyV1Request, both via the flat re-export and the Deepgram namespace. If the alias is ever dropped during regen, the file fails to compile and the unit run goes red. Adds a manual smoke script (tests/manual/compat.ts) that proves the alias still resolves at the type level and round-trips against the real API via keys.create + keys.delete. Run with `pnpm tsx tests/manual/compat.ts`. Freezes both files in .fernignore and documents them in AGENTS.md.
b989fa7 to
b139966
Compare
lukeocodes
approved these changes
May 5, 2026
GregHolmes
added a commit
that referenced
this pull request
May 12, 2026
🤖 I have created a release *beep* *boop* --- ## [5.2.0](v5.1.0...v5.2.0) (2026-05-12) ### Features * alias AgentV1SettingsAgentListenProvider to *AgentContextListenProvider ([150e663](150e663)) * preserve AgentV1Settings.Agent sub-types after regen ([2efab2d](2efab2d)) * preserve SDK compatibility after regen ([d2b8d62](d2b8d62)) * restore Agent interface, add AgentReference for string-id flow ([4c72d31](4c72d31)) * sdk regeneration 2026-04-30 ([#491](#491)) ([a618282](a618282)) * sdk regeneration 2026-05-06 with backward-compat preserved ([#497](#497)) ([2aed53e](2aed53e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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.
Summary
5.1.1with the updated Fern generator outputlisten.v2.language_hintand voice-agent injectbehavior, and serialize repeatedlisten.v2array query params correctlymanage.v1.projects.keys.create(projectId)and the legacyCreateKeyV1RequestOnetype alias, and document/freeze those manual patches for future regens.gitignoreand clean up the hand-maintained browser examples so generated browser artifacts do not fail lintVerification
pnpm build✅pnpm lint✅ (353warnings,3infos, no error-level diagnostics)DEEPGRAM_PROJECT_ID=3d8f1f2b-92d0-4663-8b7a-6ae230fb2a20 pnpm test✅ (674/674tests passing)