> 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. For task-scoped instructions for coding agents working in a Fern project, see https://buildwithfern.com/learn/home/fern-instructions.md.

## 1.40.4

**`(fix):`** README generation in self-hosted GitHub mode can clone a private repository with a personal
access token again. Upgrades `@fern-api/generator-cli` to 0.12.1, which also sends the token as an
`Authorization` header. Before this, git in the generator image (libcurl 8.23+) dropped the token
from the clone URL and failed with `could not read Username`.