> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 1.29.1

**`(fix):`** Remove redundant `req.WithContext(ctx)` call in the generated HTTP caller.
`http.NewRequestWithContext` already sets the context on the request, so
the subsequent `req.WithContext(ctx)` was creating an unnecessary shallow
copy of the request with the same context.

## 1.29.0

**`(feat):`** Bump the default streaming buffer size from 64KB to 1MB and add a new
`WithMaxStreamBufSize` request option so SDK users can configure the
maximum buffer size for streaming responses at runtime. This controls
the maximum size of a single SSE event (in bytes) that the stream can
process. Also fixes a bug where `SseStreamReader` would return a
misleading `io.EOF` error instead of the underlying `bufio.ErrTooLong`
when a message exceeded the buffer limit.

## 1.28.7

**`(fix):`** Re-throw errors after logging for README.md and reference.md generation failures.
Documentation generation errors now break the generation flow so they are treated
as important to fix.

## 1.28.6

**`(fix):`** Fix dynamic snippets to include global headers in generated code examples.
Previously, required global headers (e.g., `X-Organization-ID`) configured via
`x-fern-global-headers` were missing from dynamic snippet output. Also fixes
header value lookup to use wire values instead of a non-existent property.