Skip to content

Commit 518d5b2

Browse files
fern-supportjsklan
andauthored
Update changelogs from fern repo (#4577)
Co-authored-by: jsklan <100491078+jsklan@users.noreply.github.com>
1 parent 39789b3 commit 518d5b2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

fern/products/cli-api-reference/cli-changelog/2026-03-26.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 4.46.3
2+
**`(fix):`** Fix OpenAPI-to-Fern conversion producing malformed discriminated union
3+
definitions when `x-fern-discriminator-context` is set. The context
4+
value was placed as a sibling of `discriminant` instead of being nested
5+
inside it, so the information was silently lost during IR generation.
6+
This caused generated SDKs to always use the default discriminator context
7+
of `data` and never use the alternate `protocol` which is used in SSE when
8+
the SSE envelope's event field is the discriminant.
9+
10+
111
## 4.46.2
212
**`(fix):`** Fix Go SDK auto-versioning returning incorrect versions for modules with
313
major version >= 2. The Go module proxy treats `github.com/owner/repo` and

0 commit comments

Comments
 (0)