Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions fern/products/sdks/generators/go/changelog/2026-07-05.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## 1.46.4
**`(fix):`** Align SSE stream auto-reconnection with the reference TypeScript implementation:
(1) Do not reconnect when no stream terminator is configured (prevents reconnect
storms on clean EOF). (2) Apply a default 1 s minimum backoff between reconnects
when the server sends no `retry:` directive. (3) Only commit `Last-Event-ID` on
dispatched events (blank-line boundary), not on parsed-but-undispatched ids from
incomplete events dropped mid-stream — fixes silent event loss on reconnect.
(4) Reset the consecutive-reconnect-attempt counter on progress (each yielded
event). (5) Gracefully handle failed/nil-body reconnect responses by consuming
an attempt and retrying instead of surfacing the error immediately. (6) Do not
reconnect when no event ID has been dispatched — reconnecting with an empty
Last-Event-ID would replay the entire stream (duplicate events). (7) Guard
against nil *http.Response from reconnectFn to prevent nil-pointer panics.
(8) Close response body when reconnectFn returns both a response and an error.


Loading