From c63b1a5300049a0e52e62c237cda719928c2ac8e Mon Sep 17 00:00:00 2001 From: jsklan <100491078+jsklan@users.noreply.github.com> Date: Thu, 26 Mar 2026 21:12:38 +0000 Subject: [PATCH] update changelogs --- .../cli-api-reference/cli-changelog/2026-03-26.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) 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