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

**`(feat):`** Enable `--push-diff` flag for `fern sdk preview` to push a preview diff
branch to the SDK repo in addition to publishing to the preview registry.
Adds `diff_url` to the JSON and text output for use by CI integrations.

## 4.69.0

**`(feat):`** Improve auto-versioning prompts for better SDK version bump determination and changelog quality.
Commit type now matches version bump severity, per-chunk changelog entries use category tags,
consolidation prompt deduplicates aggressively, and version context is passed to consolidation.

## 4.68.5

**`(chore):`** Migrate CLI to a unified error system using a shared CliError class with typed error codes.
Error codes drive Sentry reporting eligibility; unclassified errors are temporarily suppressed
from Sentry until all call sites are migrated.

## 4.68.4

**`(fix):`** Deduplicate global headers when merging IRs from multiple OpenAPI specs. Previously, if multiple specs shared the same `globalHeaderOverrides` from `generators.yml`, the same header would appear once per spec in the merged IR.

## 4.68.3

**`(fix):`** Fix global headers from `generators.yml` not appearing in documentation endpoints. The new OpenAPI v3 parser (`openapi-to-ir`) had a TODO placeholder but never converted `globalHeaderOverrides` into IR headers.

## 4.68.2

**`(fix):`** Fix an issue where `api:<apiName>:METHOD/path` links worked on published docs sites but did not resolve in `fern docs dev`.