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

## 4.0.0-rc9

**`(fix):`** 所有 Pydantic V2 警告已被解决

### 已修复内容

* json_encoders 已从 Pydantic V2 中移除，并替换为 `model_serializer` 方法。
* 在不使用 pydantic 字段别名时添加了额外的模型构造函数，允许用户从 JSON 构造模型，无需自己对对象进行去别名处理。