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

## 2.1.0

**`(fix):`** 修复具有必需构造函数字段的类型的 wire 测试生成。之前，
测试生成器在没有为必需字段提供示例值时会传递空数组 `[]` 作为构造函数参数（例如 `new SomeType([])`）。现在根据每个字段的类型生成适当的占位符值（例如 `new SomeType(['ids' => [1]])`）。

**`(feat):`** 添加对 fileDownload（application/octet-stream）和 bytes 响应类型的支持。
之前，返回二进制数据的端点会在运行时抛出错误，因为没有生成成功处理。现在这些端点将原始响应体作为字符串返回。