Skip to content

feat: sdk regeneration 2026-04-30#491

Merged
GregHolmes merged 5 commits into
mainfrom
gh/sdk-gen-2026-04-30
May 5, 2026
Merged

feat: sdk regeneration 2026-04-30#491
GregHolmes merged 5 commits into
mainfrom
gh/sdk-gen-2026-04-30

Conversation

@GregHolmes

@GregHolmes GregHolmes commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • regenerate the JavaScript SDK to 5.1.1 with the updated Fern generator output
  • add the regenerated public API surface for listen.v2.language_hint and voice-agent inject behavior, and serialize repeated listen.v2 array query params correctly
  • restore JavaScript/TypeScript source compatibility for manage.v1.projects.keys.create(projectId) and the legacy CreateKeyV1RequestOne type alias, and document/freeze those manual patches for future regens
  • make Biome honor .gitignore and clean up the hand-maintained browser examples so generated browser artifacts do not fail lint
  • fix flaky browser example tests that logged immediate placeholder output before the final success state was rendered

Verification

  • pnpm build
  • pnpm lint ✅ (353 warnings, 3 infos, no error-level diagnostics)
  • DEEPGRAM_PROJECT_ID=3d8f1f2b-92d0-4663-8b7a-6ae230fb2a20 pnpm test ✅ (674/674 tests passing)

@fern-api fern-api Bot requested a review from lukeocodes as a code owner April 30, 2026 14:37
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.
@GregHolmes GregHolmes changed the title chore: SDK regeneration 2026-04-30 feat: add v2 listen language hints and compatibility fixes Apr 30, 2026
@GregHolmes GregHolmes changed the title feat: add v2 listen language hints and compatibility fixes feat: SDK regeneration 2026-04-30 Apr 30, 2026
@GregHolmes GregHolmes changed the title feat: SDK regeneration 2026-04-30 feat: sdk regeneration 2026-04-30 Apr 30, 2026
@GregHolmes GregHolmes self-assigned this Apr 30, 2026
Comment thread tests/manual/compat.ts Fixed
Comment thread tests/manual/compat.ts Fixed
lukeocodes
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.
@GregHolmes GregHolmes merged commit a618282 into main May 5, 2026
8 checks passed
@GregHolmes GregHolmes deleted the gh/sdk-gen-2026-04-30 branch May 5, 2026 11:18
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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants