From 25e187137daddce9ba1930ec418958acc37482a3 Mon Sep 17 00:00:00 2001 From: jsklan <100491078+jsklan@users.noreply.github.com> Date: Tue, 16 Jun 2026 06:42:18 +0000 Subject: [PATCH] update changelogs --- fern/products/cli-api-reference/cli-changelog/2026-06-16.mdx | 4 ++++ .../sdks/generators/typescript/changelog/2026-06-16.mdx | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 fern/products/cli-api-reference/cli-changelog/2026-06-16.mdx create mode 100644 fern/products/sdks/generators/typescript/changelog/2026-06-16.mdx diff --git a/fern/products/cli-api-reference/cli-changelog/2026-06-16.mdx b/fern/products/cli-api-reference/cli-changelog/2026-06-16.mdx new file mode 100644 index 0000000000..6dd2581cae --- /dev/null +++ b/fern/products/cli-api-reference/cli-changelog/2026-06-16.mdx @@ -0,0 +1,4 @@ +## 5.49.2 +**`(fix):`** `infer-discriminated-union-base-properties` now lifts properties that every variant inherits via a shared `allOf $ref` parent. Previously these were dropped to protect TypeScript's `_Base` from colliding with the real parent interface, which left Go and C# unions missing common fields like `id`, `name`, and `display_name`. + + diff --git a/fern/products/sdks/generators/typescript/changelog/2026-06-16.mdx b/fern/products/sdks/generators/typescript/changelog/2026-06-16.mdx new file mode 100644 index 0000000000..ed3275354e --- /dev/null +++ b/fern/products/sdks/generators/typescript/changelog/2026-06-16.mdx @@ -0,0 +1,4 @@ +## 3.72.4 +**`(fix):`** The TypeScript SDK generator now suppresses lifted base properties from a discriminated union's synthesized `_Base` interface when every variant already inherits them via its `extends` chain. Pairs with the parser change that lifts shared-parent properties so non-structural-typing SDKs (Go, C#) can expose them; keeps the TypeScript output stable and avoids TS2320 collisions on optionality. + +