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

## 4.61.0

**`(feat):`** 新增对 `DATE_TIME_RFC_2822` 原始类型的支持。OpenAPI 规范中格式为 `format: date-time-rfc-2822` 的字段现在生成为 `Rfc2822DateTime`（`datetime.datetime` 的子类），该类使用 Python 的 `email.utils.parsedate_to_datetime` 解析 RFC 2822 日期字符串（例如："Wed, 02 Oct 2002 13:00:00 GMT"）。兼容 Pydantic V1（`__get_validators__`）和 V2（`__get_pydantic_core_schema__`），通过 mypy 严格类型检查。

**`(fix):`** 修复了 RFC 2822 日期时间字段的代码片段生成，现在使用 `email.utils.parsedate_to_datetime()` 和 RFC 2822 格式字符串，而不是使用 `datetime.fromisoformat()` 和 ISO 8601 格式。

## 4.60.2

**`(fix):`** 修复了数组类型的 `explode: false` 查询参数序列化。当 OpenAPI 规范在数组查询参数上设置 `explode: false` 时，生成的 SDK 现在将值序列化为逗号分隔的字符串（例如 `tags=A,B,C`），而不是重复的键（例如 `tags=A&tags=B&tags=C`）。这适用于常规和流式端点。

## 4.60.1

**`(chore):`** 直接使用 generator-cli JS API，而不是生成子进程。从 Docker 镜像中移除了 generator-cli，因为它现在通过 esbuild 捆绑。