Skip to content

chore: bump Speakeasy to 1.803.2 and Go to 1.26.10 - #1060

Merged
christineschen merged 4 commits into
mainfrom
devin/1793215325-speakeasy-1.803.2
Oct 28, 2026
Merged

christineschen merged 4 commits into
mainfrom
devin/1793215325-speakeasy-1.803.2

Conversation

@christineschen

@christineschen christineschen commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Bumps speakeasyVersion 1.787.0 → 1.803.2 and regenerates. The main reason is Speakeasy 1.803.0's fix that keeps spaces in Mintlify per-tag page titles (APIKeys → API Keys). Since 1.803.1, Speakeasy generates Go SDKs that require Go 1.26.10, so this PR also raises the module minimum.

Breaking change (call out in release notes): components.BatchListTimestamp is removed and the ListBatches CreatedAfter / CreatedBefore params are now untyped. Code that references components.BatchListTimestamp won't compile. The new CLI treats the spec's non-unique oneOf as any. We're accepting this to match the TypeScript SDK; the Python SDK has the same change in OpenRouterTeam/python-sdk#1164.

Go version (consumer-facing):

  • The generator only bumped the root go.mod (go 1.25.10 → go 1.26.10). I bumped go.work and every examples/*/go.mod by hand; otherwise the workspace doesn't load.
  • Updated the "Go 1.25 or higher" text in README.md, OVERVIEW.md, and examples/README.md. The README line sits inside the generated [requirements] section, and the regen itself left it at 1.25, so a later regen may revert it.
  • CI picks the new version up through go-version-file: go.mod, and the devcontainer is already on Go 1.26.
  • Consumers on Go 1.25 either get Go 1.26.10 auto-downloaded or fail with GOTOOLCHAIN=local. Worth a release-notes line.

Other generated behavior changes:

  • When an error response doesn't match the declared error schema, operations now return *sdkerrors.ResponseValidationError instead of the raw decode error. It wraps the original error (Unwrap), so errors.Is and errors.As on the cause still work.
  • Streaming responses now take ownership of the request context's cancel (stream.WithCancel).
  • Generated union UnmarshalJSON methods restore the previous value when decoding fails.
  • Dependency changes: ajson 0.8.0 → 0.9.6; the unused testify require is dropped.

Verified locally with Go 1.26.10: go build ./..., go test ./..., and all 8 examples build. go vet reports "unreachable code" warnings, but main has the same warnings and CI doesn't run vet.

Link to Devin session: https://openrouter.devinenterprise.com/sessions/bc8bb271041644498372880d927279ed
Open in Devin Desktop: https://openrouter.devinenterprise.com/desktop/session/bc8bb271041644498372880d927279ed?variant=devin
Requested by: @christineschen

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access that start with 'Devin'.

  • Disable automatic comment, CI, and merge conflict monitoring

Original prompt from Christine

check the latest speakeasy release, we were having an issue with items in the sidebar for docs losing spacing but that should be fixed now

@mintlify

mintlify Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
openrouter-production 🟢 Ready View Preview Oct 28, 2026, 7:24 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@mintlify

mintlify Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
openrouter-staging 🟢 Ready View Preview Oct 28, 2026, 7:24 PM

@christineschen
christineschen merged commit 31ffb84 into main Oct 28, 2026
4 checks passed
@christineschen
christineschen deleted the devin/1793215325-speakeasy-1.803.2 branch October 28, 2026 22:36
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.

1 participant