feat(go,terraform): x-speakeasy-discriminator extension; fix(go,csharp,typescript,all): security hoisting, unions, namespace collisions, formatter perf (#1987)
Generator changes (30)
Bug fixes
cli
bump staticcheck to v0.7.0 to support go 1.25 modules
Bug fixes
csharp
render bigint const values with `BigInteger.Parse(...)` instead of oversized integer literals
New features
csharp
Improved formatter memory allocations for faster performance when `enableFormatting` is enabled
Bug fixes
csharp
allow method security hoisting when both global and operation-level security are optional
Bug fixes
go
avoid double-pointer wrapping for nullable optional const getters
Bug fixes
go
reserve s as an SDK keyword to prevent path parameter name collisions
Bug fixes
go
resolve field/method name collision when property name starts with `Get`
Bug fixes
go
preserve parent type/format for flattened `oneOf` const schemas and flatten multi-const variants into enums
Bug fixes
go
allow method security hoisting when both global and operation-level security are optional
New features
go
add x-speakeasy-discriminator extension for clean identifier names on discriminator mappings
Bug fixes
go
handle nullable discriminator fields in union factory functions
Bug fixes
javav2
allow method security hoisting when both global and operation-level security are optional
Bug fixes
mcp-typescript
allow method security hoisting when both global and operation-level security are optional
Bug fixes
mockserver
handle nullable discriminator fields in union factory functions
Bug fixes
mockserver
resolve field/method name collision when property name starts with Get
Bug fixes
mockserver
preserve pointer-backed bigint and decimal types in optional nullable const getters
New features
mockserver
add x-speakeasy-discriminator extension for clean identifier names on discriminator mappings
Bug fixes
php
allow method security hoisting when both global and operation-level security are optional
Bug fixes
postman
allow method security hoisting when both global and operation-level security are optional
Bug fixes
pythonv2
reserve datetime for pythonv2 fields
Bug fixes
pythonv2
allow method security hoisting when both global and operation-level security are optional
New features
ruby
Improved formatter memory allocations for faster performance when `enableFormatting` is enabled
Bug fixes
ruby
allow method security hoisting when both global and operation-level security are optional
Bug fixes
terraform
reserve s as an SDK keyword to prevent path parameter name collisions
Bug fixes
terraform
allow method security hoisting when both global and operation-level security are optional
New features
terraform
add x-speakeasy-discriminator extension for clean identifier names on discriminator mappings
New features
terraform
support preApplyUnionDiscriminators to remove redundant discriminator fields from Terraform schema
Bug fixes
typescriptv2
resolve collision-resistant import aliases for model namespaces
Bug fixes
typescriptv2
allow method security hoisting when both global and operation-level security are optional
Bug fixes
unity
allow method security hoisting when both global and operation-level security are optional