diff --git a/fern/products/sdks/overview/typescript/changelog/2025-10-03.mdx b/fern/products/sdks/overview/typescript/changelog/2025-10-03.mdx index d562e2ff7..b0585d4da 100644 --- a/fern/products/sdks/overview/typescript/changelog/2025-10-03.mdx +++ b/fern/products/sdks/overview/typescript/changelog/2025-10-03.mdx @@ -1,3 +1,29 @@ +## 3.3.7 +**`(fix):`** Dynamically build type for enums based on the const to reduce generated code. + +Before: +```ts +export type Operand = + | ">" + | "=" + | "<"; +export const Operand = { + GreaterThan: ">", + EqualTo: "=", + LessThan: "<", +} as const; +``` +After: +```ts +export const Operand = { + GreaterThan: ">", + EqualTo: "=", + LessThan: "<", +} as const; +export type Operand = (typeof Operand)[keyof typeof Operand]; +``` + + ## 3.3.6 **`(fix):`** Fix basic auth password parsing to support colons in passwords.