Skip to content

Commit 09b0581

Browse files
authored
Update changelogs from fern repo (#6949)
Co-authored-by: thesandlord <8902396+thesandlord@users.noreply.github.com>
1 parent 035b424 commit 09b0581

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

fern/products/cli-api-reference/cli-changelog/2026-09-14.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 5.121.2
2+
**`(fix):`** Autogenerated examples now include required nullable properties with an explicit `null` instead of omitting them.
3+
Previously these properties were treated as optional, so generated SDK examples and wire tests could omit a key
4+
that the serialization layer requires.
5+
6+
17
## 5.121.1
28
**`(fix):`** `fern generate --local` without a `FERN_TOKEN` (and air-gapped remote generation) now enables
39
pagination and OAuth client generation by default instead of silently disabling them. Previously

fern/products/sdks/generators/typescript/changelog/2026-09-14.mdx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
## 3.94.0
2+
**`(feat):`** Add a `websocketHandlerMode` config option (`"replace" | "accumulate"`, defaults to `"replace"`)
3+
for generated WebSocket `Socket` classes. With `accumulate`, multiple `on()` handlers for the same
4+
event are all kept and run in registration order instead of the last one replacing the previous.
5+
Generated sockets now also expose `off(event, callback)` to detach a handler in both modes.
6+
Defaults to `replace`, so generated output is unchanged unless the option is enabled.
7+
8+
9+
**`(fix):`** Fix the generated README/reference pagination snippet, which assigned `page.getNextPage()`
10+
without `await` and therefore did not type-check.
11+
12+
13+
**`(feat):`** Add an optional `shouldReconnect(event: CloseEvent) => boolean` option to `ReconnectingWebSocket` and to the
14+
generated WebSocket `connect()` args. Return `false` to treat a close as terminal and suppress the automatic
15+
reconnect (e.g. after the client sent an end-of-stream message and the server closed with a non-1000 code).
16+
Defaults to the existing behaviour of reconnecting on any close code other than 1000. Also clarifies the
17+
`reconnectAttempts` docstring (defaults to 30; set to 0 to disable reconnecting).
18+
19+
120
## 3.93.1
221
**`(fix):`** The generated README now always includes a Pagination section (and pagination usage snippets)
322
when the API has paginated endpoints, matching the client which always returns `core.Page`.

0 commit comments

Comments
 (0)