From 4b73e7a6af4d29582a0c7717d4f176d90fc9ee9e Mon Sep 17 00:00:00 2001 From: fern-support <126544928+fern-support@users.noreply.github.com> Date: Sun, 5 Jul 2026 07:13:25 +0000 Subject: [PATCH] update changelogs --- .../sdks/generators/go/changelog/2026-07-05.mdx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 fern/products/sdks/generators/go/changelog/2026-07-05.mdx diff --git a/fern/products/sdks/generators/go/changelog/2026-07-05.mdx b/fern/products/sdks/generators/go/changelog/2026-07-05.mdx new file mode 100644 index 000000000..aaae10ab7 --- /dev/null +++ b/fern/products/sdks/generators/go/changelog/2026-07-05.mdx @@ -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. + +