> This page is for SDK, version Legacy.
> For other versions, use one of these documentation indexes:
> - Current (default): https://buildwithfern.com/learn/sdks/current/llms.txt
> - Legacy: https://buildwithfern.com/learn/sdks/legacy/llms.txt

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. For task-scoped instructions for coding agents working in a Fern project, run `fern instructions` (or `npx fern-api@latest instructions` if the Fern CLI isn't installed or doesn't recognize `instructions`), or see https://buildwithfern.com/learn/home/fern-instructions.md.

## 0.28.0

**`(feat):`** 使用直接关联值而不是合成的嵌套包装结构生成判别联合，同时保留对象、键、原始和空变体的 Codable 行为。

## 0.27.1

**`(fix):`** 改进了 README.md 和 reference.md 生成失败的错误日志记录。
生成器现在记录实际的错误消息和堆栈跟踪，而不是使整个生成崩溃，
使问题诊断更加容易。