> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 3.0.0-rc1

**`(fix):`** 测试套件中的 `expected_types` 现在类型化为 `Tuple[typing.Any, typing.Any]`。

### 已修复的问题

* 有时 mypy 会对测试套件中 `expected_types` 的类型化报错，尽管它们被标记为 `typing.Any`。这将元组的类型更新为 `typing.Tuple[tying.Any, typing.Any]` 来满足 mypy。

## 3.0.0-rc0

**`(break):`** 生成的模型现在直接支持 Pydantic V2，不再使用 `pydantic.v1` 模型。

### 已更改的内容

* 生成的模型现在直接支持 Pydantic V2，不再使用 `pydantic.v1` 模型。
* 之前以 `_` 为前缀的公共字段现在以 `f_` 为前缀（Pydantic V2 不允许公共字段使用 `_` 前缀，Python 也不允许数字前缀）

### 已移除的功能

* Pydantic V1 之外的包装别名
* Pydantic V1 之外的自定义根验证器