> This page is for SDKs, 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.0.2

**`(fix):`** Fix binary file upload for wrapped request endpoints (endpoints with
query parameters alongside an `application/octet-stream` body). The body
type is now `byte[]` instead of `String`, and the request is sent via
`InputStreamRequestBody` instead of `String.valueOf().getBytes(UTF_8)`,
which was corrupting binary data.

## 4.0.1

**`(fix):`** Fix generated snippets producing `OptionalNullable.of(...)` for fields
that are only optional (not nullable) when `collapse-optional-nullable`
is enabled.