File tree Expand file tree Collapse file tree
cli-api-reference/cli-changelog
sdks/generators/typescript/changelog Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
39pagination and OAuth client generation by default instead of silently disabling them. Previously
Original file line number Diff line number Diff line change 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)
322when the API has paginated endpoints, matching the client which always returns ` core.Page ` .
You can’t perform that action at this time.
0 commit comments