> This page is for Fern CLI.

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

**`(feat):`** Add `--retry-rate-limited` flag to `fern generate` that automatically retries
with exponential backoff and jitter when receiving 429 Too Many Requests responses.
Retries up to 3 times (2s, 4s, 8s base delays, capped at 120s).

## 4.3.4

**`(fix):`** Support repository-based GitHub configurations in `fern replay init`.
Previously, replay init required a self-hosted GitHub config with explicit
`uri` and `token` fields. Now it also accepts standard `repository`-based
configs (pull-request, push, commit-and-release modes) and reads the token
from the `GITHUB_TOKEN` environment variable or the `--token` CLI flag.

## 4.3.3

**`(fix):`** Skip AI example enhancement when the pruned OpenAPI spec for an endpoint
exceeds 40,000 characters, avoiding unnecessary timeouts on large specs.
Additionally, downgrade retry-failure log messages from warn to debug level
to reduce noise in CLI output.

## 4.3.2

**`(fix):`** Fix `getLatestTag` to use the GitHub "get latest release" endpoint instead
of `listTags`. The `listTags` API sorts by commit date, so backport tags
(e.g. v1.0.1 pushed after v2.0.0) could be incorrectly selected as the
latest version, causing `semver.inc` to produce a lower version than already
exists.

## 4.3.1

**`(fix):`** Fix `fern add` resolving outdated generator versions when FDR returns a
version older than the hardcoded fallback. This could happen when the dev
CLI (version 0.0.0) queries FDR, which returns an old version incompatible
with CLI v4. The resolved version is now guaranteed to be at least as new
as the hardcoded fallback version shipped with the CLI.