> 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.

## 1.5.1-rc5

**`(fix):`** 代码片段模板现在为对象类型生成正确的导入语句。

## 1.5.1-rc4

**`(fix):`** SDK 现在正确生成判别联合代码片段模板。

## 1.5.1-rc3

**`(chore):`** 联合类型利用 fern 感知基础模型来包含 JSON 和 Dict 函数重写。

## 1.5.1-rc2

**`(fix):`** 原版 pydantic 基础模型现在遵守 `require_optional_fields`

### 已修复的问题

* 原版 pydantic 基础模型现在遵守 `require_optional_fields`，这在 1.5.1-rc0 版本中成为回归问题，当时我们开始内联联合属性，这会利用原版基础模型。

## 1.5.1-rc1

**`(fix):`** 改进代码片段模板中的格式化。

### 已修复的问题

* 解决代码片段模板的格式化问题，我们现在会从原始代码片段中去除换行符，并将缩进元数据传递到之前缺少的地方。