diff --git a/fern/products/cli-api-reference/cli-changelog/2026-03-26.mdx b/fern/products/cli-api-reference/cli-changelog/2026-03-26.mdx index df1c51e8d..0e35f39f4 100644 --- a/fern/products/cli-api-reference/cli-changelog/2026-03-26.mdx +++ b/fern/products/cli-api-reference/cli-changelog/2026-03-26.mdx @@ -1,3 +1,13 @@ +## 4.46.3 +**`(fix):`** Fix OpenAPI-to-Fern conversion producing malformed discriminated union +definitions when `x-fern-discriminator-context` is set. The context +value was placed as a sibling of `discriminant` instead of being nested +inside it, so the information was silently lost during IR generation. +This caused generated SDKs to always use the default discriminator context +of `data` and never use the alternate `protocol` which is used in SSE when +the SSE envelope's event field is the discriminant. + + ## 4.46.2 **`(fix):`** Fix Go SDK auto-versioning returning incorrect versions for modules with major version >= 2. The Go module proxy treats `github.com/owner/repo` and