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

## 5.17.1

**`(fix):`** Fix publish to respect FERN_FDR_ORIGIN environment variable override.

## 5.17.0

**`(internal):`** Attach `fern_run_id` and `github_run_id` as PostHog properties on every CLI
event so PostHog dashboards can correlate analytics with the FERN_RUN_ID set
by the GitHub Actions wrappers and the matching Sentry tags.

## 5.16.1

**`(fix):`** `fern check` now accepts changelog navigation entries whose URL has any
allowlisted segment (e.g. `whats-new`, `release-notes`, `changelog`),
not just the trailing one. This means a changelog page like
`/whats-new/product-updates` no longer raises a false-positive error
about RSS / Atom / JSON feeds 404ing — the docs server matches the
same loosened rule when serving feeds.

## 5.16.0

**`(feat):`** cli-v2: `fern check` now prints rich, Rust-style errors for MDX/Markdown
parse failures. Each error includes a stable error code (e.g. `E0301`),
a `--> path:line:col` location, two surrounding source lines with a
caret pointer, and an inline `fix:` suggestion when one is available.

**`(feat):`** cli-v2: add interactive AI-assisted fixes for MDX/Markdown parse errors.
`fern check` now offers to apply a fix when run interactively — using a
deterministic string-replace when the parser's `fix:` hint matches the
file, and falling back to a configured AI provider otherwise. Provider
is selected via `fern config ai set-provider <anthropic|openai|bedrock>`
and credentials via `fern config ai set-key <key>` (Bedrock uses the
standard AWS environment). Prompts are skipped automatically when
running inside a Claude Code session (`CLAUDECODE=1`).

**`(feat):`** cli-v2: when `fern check` finds multiple MDX errors, prompt once for a
batch action ("apply all", "review each", "skip all") instead of
prompting once per error.

## 5.15.3

**`(fix):`** Fix `fern check` to respect `x-fern-ignore` when validating duplicate SDK method names. Operations marked with `x-fern-ignore: true` are now excluded from the duplicate override check.

## 5.15.2

**`(fix):`** Fix dynamic IR upload and check endpoints to pass correct field names (version, snippetConfiguration) matching the FDR server contract, resolving 500 errors during SDK generation.