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

## 3.40.1

**`(fix):`** 修复 `Rfc2822DateTimeDeserializer` 可见性问题。该类生成时使用了包私有访问，当其他包中的类型通过 `@JsonDeserialize(using = ...)` 引用它时会导致编译错误。该类现在是 `public` 的。

**`(fix):`** 修复 URI/路径分页生成 `String` 而不是 `Optional<String>` 作为下一页令牌的问题。`UriPage.create` 和 `PathPage.create` 期望 `Optional<String>`，但 `getNestedPropertySnippet` 通过 `.orElse(null)` 解包了可选值。生成器现在直接构建获取器链以保留 `Optional<String>` 类型。

## 3.40.0

**`(feat):`** 添加 `DATE_TIME_RFC_2822` 原始类型支持。带有 `format: date-time-rfc-2822` 的字段（例如 Twilio 的 `dateCreated`、`dateSent`、`dateUpdated`）现在生成为 `OffsetDateTime`，带有每个字段的 `@JsonDeserialize(using = Rfc2822DateTimeDeserializer.class)` 注解，通过 `DateTimeFormatter.RFC_1123_DATE_TIME` 解析 RFC 2822 日期。

## 3.39.1

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