Skip to content

chore: update Speakeasy OpenAPI generator to v2.965.1 - #197

Merged
copybara-service[bot] merged 1 commit into
mainfrom
copybara/1017739788
Nov 25, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
copybara/1017739788

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

chore: update Speakeasy OpenAPI generator to v2.965.1

Syncs generated SDKs and CLI to Speakeasy v2.965.1 (from v2.959.1).

Behavior notes:

  • Python SDK: Base64EncodedString fields now always base64-encode raw bytes; pass str for pre-encoded base64.
  • TypeScript SDK: allowReserved path params now percent-encode ? and #.

@copybara-service
copybara-service Bot requested a review from a team November 10, 2026 01:24
copybara-service Bot pushed a commit that referenced this pull request Nov 10, 2026
Upstream changes (v2.959.1 -> v2.960.7):
- python: resolve enum discriminator tags in dict union input (#204)
- go: read nested and inferred error messages in typed errors (#202)
- java: read nested and inferred error messages in typed errors (#201)
- cli: compose continuation recipes across command modes (#190)
- cli: preserve error formats for raw artifact responses (#197)
- cli: classify invalid path parameters as usage errors (#198)
- typescript: type-check event streams against async-disposable ReadableStream iterators (#196)
- csharp: add bodyVariantOverloads option for union request bodies (#188)
- typescript,python,mcp: parse the debug environment variable as a boolean flag (#194)

PiperOrigin-RevId: 1017739788
copybara-service Bot pushed a commit that referenced this pull request Nov 10, 2026
Upstream changes (v2.959.1 -> v2.960.7):
- python: resolve enum discriminator tags in dict union input (#204)
- go: read nested and inferred error messages in typed errors (#202)
- java: read nested and inferred error messages in typed errors (#201)
- cli: compose continuation recipes across command modes (#190)
- cli: preserve error formats for raw artifact responses (#197)
- cli: classify invalid path parameters as usage errors (#198)
- typescript: type-check event streams against async-disposable ReadableStream iterators (#196)
- csharp: add bodyVariantOverloads option for union request bodies (#188)
- typescript,python,mcp: parse the debug environment variable as a boolean flag (#194)

PiperOrigin-RevId: 1017739788
copybara-service Bot pushed a commit that referenced this pull request Nov 10, 2026
Upstream changes (v2.959.1 -> v2.960.7):
- python: resolve enum discriminator tags in dict union input (#204)
- go: read nested and inferred error messages in typed errors (#202)
- java: read nested and inferred error messages in typed errors (#201)
- cli: compose continuation recipes across command modes (#190)
- cli: preserve error formats for raw artifact responses (#197)
- cli: classify invalid path parameters as usage errors (#198)
- typescript: type-check event streams against async-disposable ReadableStream iterators (#196)
- csharp: add bodyVariantOverloads option for union request bodies (#188)
- typescript,python,mcp: parse the debug environment variable as a boolean flag (#194)

PiperOrigin-RevId: 1017739788
@copybara-service
copybara-service Bot force-pushed the copybara/1017739788 branch 2 times, most recently from b5652ed to 5ef4333 Compare November 16, 2026 01:01
copybara-service Bot pushed a commit that referenced this pull request Nov 16, 2026
Upstream changes (v2.959.1 -> v2.961.2):
- go: fall back on empty error messages and prefix inferred messages with the error code (#215)
- go,cli,mockserver,terraform: bump staticcheck to v0.8.2 for Go 1.27.2 (#214)
- cli: keep auto-assigned flag shorthands stable across regenerations (#208)
- python: base64-encode raw bytes passed to base64 file input fields (#200)
- ruby: stop sub-SDKs named after Ruby or SDK constants from shadowing them (#206)
- python: resolve enum discriminator tags in dict union input (#204)
- go: read nested and inferred error messages in typed errors (#202)
- java: read nested and inferred error messages in typed errors (#201)
- cli: compose continuation recipes across command modes (#190)
- cli: preserve error formats for raw artifact responses (#197)
- cli: classify invalid path parameters as usage errors (#198)
- typescript: type-check event streams against async-disposable ReadableStream iterators (#196)
- csharp: add bodyVariantOverloads option for union request bodies (#188)
- typescript,python,mcp: parse the debug environment variable as a boolean flag (#194)

PiperOrigin-RevId: 1017739788
@copybara-service copybara-service Bot changed the title chore: update Speakeasy OpenAPI generator to v2.960.7 chore: update Speakeasy OpenAPI generator to v2.961.2 Nov 16, 2026
copybara-service Bot pushed a commit that referenced this pull request Nov 16, 2026
Upstream changes (v2.959.1 -> v2.961.2):
- go: fall back on empty error messages and prefix inferred messages with the error code (#215)
- go,cli,mockserver,terraform: bump staticcheck to v0.8.2 for Go 1.27.2 (#214)
- cli: keep auto-assigned flag shorthands stable across regenerations (#208)
- python: base64-encode raw bytes passed to base64 file input fields (#200)
- ruby: stop sub-SDKs named after Ruby or SDK constants from shadowing them (#206)
- python: resolve enum discriminator tags in dict union input (#204)
- go: read nested and inferred error messages in typed errors (#202)
- java: read nested and inferred error messages in typed errors (#201)
- cli: compose continuation recipes across command modes (#190)
- cli: preserve error formats for raw artifact responses (#197)
- cli: classify invalid path parameters as usage errors (#198)
- typescript: type-check event streams against async-disposable ReadableStream iterators (#196)
- csharp: add bodyVariantOverloads option for union request bodies (#188)
- typescript,python,mcp: parse the debug environment variable as a boolean flag (#194)

PiperOrigin-RevId: 1017739788
copybara-service Bot pushed a commit that referenced this pull request Nov 17, 2026
Upstream changes (v2.959.1 -> v2.961.2):
- go: fall back on empty error messages and prefix inferred messages with the error code (#215)
- go,cli,mockserver,terraform: bump staticcheck to v0.8.2 for Go 1.27.2 (#214)
- cli: keep auto-assigned flag shorthands stable across regenerations (#208)
- python: base64-encode raw bytes passed to base64 file input fields (#200)
- ruby: stop sub-SDKs named after Ruby or SDK constants from shadowing them (#206)
- python: resolve enum discriminator tags in dict union input (#204)
- go: read nested and inferred error messages in typed errors (#202)
- java: read nested and inferred error messages in typed errors (#201)
- cli: compose continuation recipes across command modes (#190)
- cli: preserve error formats for raw artifact responses (#197)
- cli: classify invalid path parameters as usage errors (#198)
- typescript: type-check event streams against async-disposable ReadableStream iterators (#196)
- csharp: add bodyVariantOverloads option for union request bodies (#188)
- typescript,python,mcp: parse the debug environment variable as a boolean flag (#194)

Behavior note (Python SDK, #200):
`Base64EncodedString` (`format: byte`) fields — including inline media `data`
and step `signature` fields — now always treat `bytes`, `bytearray`, and
`memoryview` inputs as raw binary bytes and base64-encode them. Callers who
previously passed pre-encoded ASCII base64 `bytes` (e.g.
`base64.b64encode(raw)` or `sig.encode()` without `.decode()`) relying on
Pydantic lax UTF-8 coercion must pass a `str` instead to avoid double-encoding.

PiperOrigin-RevId: 1017739788
copybara-service Bot pushed a commit that referenced this pull request Nov 17, 2026
Upstream changes (v2.959.1 -> v2.961.2):
- go: fall back on empty error messages and prefix inferred messages with the error code (#215)
- go,cli,mockserver,terraform: bump staticcheck to v0.8.2 for Go 1.27.2 (#214)
- cli: keep auto-assigned flag shorthands stable across regenerations (#208)
- python: base64-encode raw bytes passed to base64 file input fields (#200)
- ruby: stop sub-SDKs named after Ruby or SDK constants from shadowing them (#206)
- python: resolve enum discriminator tags in dict union input (#204)
- go: read nested and inferred error messages in typed errors (#202)
- java: read nested and inferred error messages in typed errors (#201)
- cli: compose continuation recipes across command modes (#190)
- cli: preserve error formats for raw artifact responses (#197)
- cli: classify invalid path parameters as usage errors (#198)
- typescript: type-check event streams against async-disposable ReadableStream iterators (#196)
- csharp: add bodyVariantOverloads option for union request bodies (#188)
- typescript,python,mcp: parse the debug environment variable as a boolean flag (#194)

Behavior note (Python SDK, #200):
`Base64EncodedString` (`format: byte`) fields — including inline media `data`
and step `signature` fields — now always treat `bytes`, `bytearray`, and
`memoryview` inputs as raw binary bytes and base64-encode them. Callers who
previously passed pre-encoded ASCII base64 `bytes` (e.g.
`base64.b64encode(raw)` or `sig.encode()` without `.decode()`) relying on
Pydantic lax UTF-8 coercion must pass a `str` instead to avoid double-encoding.

PiperOrigin-RevId: 1017739788
copybara-service Bot pushed a commit that referenced this pull request Nov 17, 2026
Upstream changes (v2.959.1 -> v2.964.1):
- cli: keep response metadata and issuing-hop bindings in continuation results (#219)
- cli: add continuation primitives for omitted fields, request-shape skips, stalled tokens, and combined results (#218)
- typescript: defer schema construction and add lazy Node entry point (#210)
- typescript: validate request parameters against schema patterns (#212)
- typescript,mcp: reject path parameters that form dot segments (#211)
- go: fall back on empty error messages and prefix inferred messages with the error code (#215)
- go,cli,mockserver,terraform: bump staticcheck to v0.8.2 for Go 1.27.2 (#214)
- cli: keep auto-assigned flag shorthands stable across regenerations (#208)
- python: base64-encode raw bytes passed to base64 file input fields (#200)
- ruby: stop sub-SDKs named after Ruby or SDK constants from shadowing them (#206)
- python: resolve enum discriminator tags in dict union input (#204)
- go: read nested and inferred error messages in typed errors (#202)
- java: read nested and inferred error messages in typed errors (#201)
- cli: compose continuation recipes across command modes (#190)
- cli: preserve error formats for raw artifact responses (#197)
- cli: classify invalid path parameters as usage errors (#198)
- typescript: type-check event streams against async-disposable ReadableStream iterators (#196)
- csharp: add bodyVariantOverloads option for union request bodies (#188)
- typescript,python,mcp: parse the debug environment variable as a boolean flag (#194)

Behavior note (Python SDK, #200):
`Base64EncodedString` (`format: byte`) fields — including inline media `data`
and step `signature` fields — now always treat `bytes`, `bytearray`, and
`memoryview` inputs as raw binary bytes and base64-encode them. Callers who
previously passed pre-encoded ASCII base64 `bytes` (e.g.
`base64.b64encode(raw)` or `sig.encode()` without `.decode()`) relying on
Pydantic lax UTF-8 coercion must pass a `str` instead to avoid double-encoding.

PiperOrigin-RevId: 1017739788
@copybara-service copybara-service Bot changed the title chore: update Speakeasy OpenAPI generator to v2.961.2 chore: update Speakeasy OpenAPI generator to v2.964.1 Nov 17, 2026
@copybara-service copybara-service Bot changed the title chore: update Speakeasy OpenAPI generator to v2.964.1 chore: update Speakeasy OpenAPI generator to v2.965.1 Nov 18, 2026
copybara-service Bot pushed a commit that referenced this pull request Nov 18, 2026
Upstream changes (v2.959.1 -> v2.965.1):
- cli,typescript,mcp: bound JSON number parsing and harden path parameter URLs (#220)
- mcp: document HTTP auth for MCP Registry publishing in generated README (#199)
- typescript: compile MCP server when the document defines no servers (#216)
- cli: quote installer temporary directory in EXIT trap (#217)
- cli: keep response metadata and issuing-hop bindings in continuation results (#219)
- cli: add continuation primitives for omitted fields, request-shape skips, stalled tokens, and combined results (#218)
- typescript: defer schema construction and add lazy Node entry point (#210)
- typescript: validate request parameters against schema patterns (#212)
- typescript,mcp: reject path parameters that form dot segments (#211)
- go: fall back on empty error messages and prefix inferred messages with the error code (#215)
- go,cli,mockserver,terraform: bump staticcheck to v0.8.2 for Go 1.27.2 (#214)
- cli: keep auto-assigned flag shorthands stable across regenerations (#208)
- python: base64-encode raw bytes passed to base64 file input fields (#200)
- ruby: stop sub-SDKs named after Ruby or SDK constants from shadowing them (#206)
- python: resolve enum discriminator tags in dict union input (#204)
- go: read nested and inferred error messages in typed errors (#202)
- java: read nested and inferred error messages in typed errors (#201)
- cli: compose continuation recipes across command modes (#190)
- cli: preserve error formats for raw artifact responses (#197)
- cli: classify invalid path parameters as usage errors (#198)
- typescript: type-check event streams against async-disposable ReadableStream iterators (#196)
- csharp: add bodyVariantOverloads option for union request bodies (#188)
- typescript,python,mcp: parse the debug environment variable as a boolean flag (#194)

Behavior notes:
- Python SDK (#200): `Base64EncodedString` (`format: byte`) fields — including
  inline media `data` and step `signature` fields — now always treat `bytes`,
  `bytearray`, and `memoryview` inputs as raw binary bytes and base64-encode
  them. Callers who previously passed pre-encoded ASCII base64 `bytes` (e.g.
  `base64.b64encode(raw)` or `sig.encode()` without `.decode()`) relying on
  Pydantic lax UTF-8 coercion must pass a `str` instead to avoid double-encoding.
- TypeScript SDK (#220): `allowReserved` path parameters containing `?` or `#`
  are now sent percent-encoded (`%3F`, `%23`), matching Go's `reservedPathChars`.

PiperOrigin-RevId: 1017739788
@copybara-service
copybara-service Bot force-pushed the copybara/1017739788 branch 5 times, most recently from 3c7ddee to 05e3ef9 Compare November 25, 2026 00:16
Syncs generated SDKs and CLI to Speakeasy v2.965.1 (from v2.959.1).

Behavior notes:
- Python SDK: `Base64EncodedString` fields now always base64-encode raw `bytes`; pass `str` for pre-encoded base64.
- TypeScript SDK: `allowReserved` path params now percent-encode `?` and `#`.

PiperOrigin-RevId: 1029423344
@copybara-service
copybara-service Bot merged commit 9f0d2c9 into main Nov 25, 2026
4 checks passed
@copybara-service
copybara-service Bot deleted the copybara/1017739788 branch November 25, 2026 00:24
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.

0 participants