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

## 5.9.0

**`(feat):`** 添加 `retryStatusCodes` 配置，包含 `"legacy"` 和 `"recommended"` 模式。Legacy（默认）保留当前行为（408、409、429、>= 500）。Recommended 仅重试瞬态代码（408、409、429、502、503、504），避免 500 引起的幂等性问题。6.0.0 迁移会自动将升级用户固定为 legacy。

## 5.8.4

**`(chore):`** 将 @fern-api/generator-cli 升级到 0.9.21，该版本包含 @fern-api/replay 0.14.0，修复了 apply 和 resolve 路径中静默丢失自定义内容的问题、按补丁区域的 diff 以及干净的后续补丁保留。