> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 1.42.0

**`(feat):`** Add streaming reconnect options on every Go SDK request:
`option.WithMaxStreamReconnectAttempts(uint)`, `option.WithoutStreamReconnection()`,
and `option.WithoutRetries()`.

For SSE endpoints whose Fern definition sets `response-stream.resumable: true`
(or whose OpenAPI sets `x-fern-streaming.resumable: true`), the generated
streaming methods now reconnect transparently on mid-stream connection drops
using SSE `Last-Event-ID` semantics, honoring server-sent `retry:` directives
and capped by `MaxStreamReconnectAttempts` (default 5).

No behavior change for endpoints that do not opt into `resumable: true`. The
new option constructors are emitted unconditionally and have no effect on
those endpoints.