Skip to content

Commit 9c869a1

Browse files
authored
Update changelogs from fern repo (#4298)
1 parent e4b2f67 commit 9c869a1

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## 4.30.1
2+
**`(fix):`** Fix duplicate request wrapper name when using `x-fern-streaming` with
3+
`stream-condition` on an endpoint whose request body is a `$ref` to a
4+
named schema. Both the streaming and non-streaming endpoint variants
5+
previously resolved to the same wrapper name (e.g. `ChatRequest`),
6+
causing TypeScript SDK generation to fail with "already declared in this
7+
file". Streaming variants now automatically receive a `Streaming` suffix
8+
(e.g. `ChatRequest``ChatRequestStreaming`), aligned with the V3
9+
importer convention. Users can also explicitly set the streaming request
10+
name via the new `stream-request-name` property inside
11+
`x-fern-streaming`.
12+
13+

0 commit comments

Comments
 (0)