Generator changes (9)
:wrench: Fixes
go
consider inexact count of open enums when deserializing unions
Chores
javav2
mark setRedactedHeaders as stable
New features
mcp-typescript
add responseFormat config for backward compatibility
Bug fixes
pythonv2
sanitize Python reserved keywords in method names to prevent syntax errors
New features
pythonv2
add support for Retry-After header
New features
terraform
Consider entity missing codes as success for delete API operations instead of returning as API error
:wrench: Fixes
terraform
consider inexact count of open enums when deserializing unions
New features
typescriptv2
forwardCompatibleEnumsByDefault is now configurable via gen.yaml. When true, any enum which is used on a response will be automatically open/forward compatible - i.e. unknown values will be tolerated. Single value enums won't be automatically opened. Individual enums can be controlled with x-speakeasy-unknown-values: allow/disallow.
New features
typescriptv2
Support for lax mode deserialization. Configurable via gen.yaml laxMode: lax | strict. Missing required fields will not throw zod response validation errors but instead fallback to a zero value. eg for a string the zero value is "". Lax mode also introduces non-lossy coercion where possible eg a boolean field will tolerate the string "true".