3.74.0
(feat): Support resumable flag in SSE streaming endpoints. When an endpoint has
x-fern-streaming.resumable: true, the generated SDK now includes resumable: true
in the stream event shape, plumbing the flag through to the runtime for use by
reconnection logic. Adds stream: { reconnectionEnabled, maxReconnectionAttempts }
request options for runtime control of reconnection behavior.
3.73.4
(fix): Treat null values identically to undefined when serializing query string
parameters. Previously, null values in objects and arrays were serialized as
empty strings (e.g. key=); they are now omitted from the query string,
matching the existing behavior for undefined values and the
QueryStringBuilder API.
3.73.3
(fix): Fix SSE event parsing to buffer data and yield on blank lines per the SSE spec.
Previously, the parser yielded events immediately on data: lines, causing
id: and retry: fields that follow the data: line to be missed or
associated with the wrong event.
3.73.2
(fix): Fix a request-wrapper collision when an inlined path parameter (inlinePathParameters: true)
shares its property name with an inlined request-body property (e.g. a {idType} path
parameter and an idType body field). Previously the generated interface emitted a duplicate
member and the client destructured the path parameter out of the request, dropping the body
property from the payload. The colliding property is now emitted once and used for both the
URL path and the request body.
(fix): Fix a naming collision in generated wire tests when the configured client class
name (naming.client) matches the error namespace export. Previously the client
class import and the error namespace import shared a single binding, which shadowed
each other and made error references (e.g. Client.namespace.SomeError) unresolvable.
The error namespace is now imported under an alternate alias when a collision is detected.
The same collision also produced a duplicate identifier in the root index.ts (the client
class re-export clashed with export * as <name> from "./api/index.js"); the colliding root
client re-export is now omitted (the client remains importable from ./Client.js).
3.73.1
(fix): Fix generated wire tests failing to parse when a header example value contains
special characters (e.g. double quotes or backticks). Header values in the
generated mock-server .header(...) calls are now emitted as properly escaped
string literals via JSON.stringify, instead of being interpolated raw into a
double-quoted string.