Skip to navigation

Dynamic OG images on by default

Sites that set no site-wide og:image or twitter:image now get a generated preview image for every page, so links shared in Slack, X, and LinkedIn show a card image instead of a blank placeholder. Pages with their own og:image in frontmatter keep it. Set og:dynamic: false under metadata in docs.yml to opt out.

Read the docs
seo

Draggable Ask AI chat widget

Visitors can now move the standalone AskAiChat widget anywhere on the page. Drag the card by its header, or drag the launcher button itself and the card follows. The widget stays inside the viewport, and the card opens above or below the launcher depending on where there’s room. Dragging is on by default in @fern-api/search-widget 0.6.0; pass draggableCard={false} to keep the chat pinned to its placement corner.

aicomponents

Sort endpoints by availability

You can now order endpoints in your API Reference by their availability with the sort-by-availability option. Listed values come first, in the order you provide, followed by any remaining values in the default order. Use unset to position endpoints that have no availability. Combine it with alphabetized: true to sort endpoints alphabetically within each availability.

api-referencedocs.yml

PHP filter for llms.txt and Markdown output

You can now pass lang=php to /llms.txt and to per-page .md and .mdx URLs to return only PHP SDK code examples. php joins node, python, java, ruby, go, csharp, and swift as accepted values for the lang query parameter.

Example
/llms.txt?lang=php
/plants/create-plant.md?lang=php
Read the docs
ai

Exclude changelogs from llms.txt

You can now omit changelog sections from llms.txt by adding the excludeChangelog=true query parameter. This keeps the index small for sites with long release histories. It combines with the existing lang and excludeSpec parameters, for example /llms.txt?lang=python&excludeSpec=true&excludeChangelog=true.

Read the docs
ai

More page suggestions in agent 404 responses

Requests for a nonexistent .md URL now return up to five “Similar pages” suggestions instead of three, so agents on large sites are more likely to find the page they were looking for.

Read the docs
ai

Split response example selector

When an endpoint has multiple examples for the same status code, the response snippet now renders two dropdowns side by side instead of one flat list: a status code dropdown on the left and an example dropdown to its right. The example dropdown only appears when the selected status code has more than one example — status codes with a single example show only the status code dropdown, keeping the UI uncluttered for the common case.

api-reference

Site-level changelog for multi-product sites

Multi-product sites can now have a single changelog shared by every product. Add a top-level changelog key in docs.yml next to products and the changelog is served at /changelog, without a product slug prefix and without appearing in the product switcher. This replaces the workaround of a dedicated “Changelog” product hidden with CSS.

docs.yml
products:
- display-name: Ferns
path: ./products/ferns.yml
- display-name: Cacti
path: ./products/cacti.yml
changelog:
navigationdocs.yml

Reference API specs directly from docs.yml

You can now point an api navigation item straight at your OpenAPI, AsyncAPI, or GraphQL specification files with a specs list, without creating a generators.yml. Each entry takes a type and a path (relative to the configuration file), plus optional overrides, overlays, and namespace. Existing api-name setups are unchanged.

docs.yml
navigation:
- api: API Reference
specs:
- type: openapi
path: ./openapi.yml
api-referencedocs.yml

Custom Ask Fern disclaimer

You can now replace the default Ask Fern disclaimer (“Responses are generated using AI and may contain mistakes.”) with your own wording. Set ai-search.disclaimer in docs.yml and the text appears beneath answers in the chat panel, standalone modal, mobile drawer, and search widget, so the disclaimer can match your legal or privacy requirements.

docs.yml
ai-search:
disclaimer: Answers are generated by a third-party AI model and may be inaccurate.
aidocs.yml

Playground-only authentication descriptions

You can now add auth instructions that appear only in the API Explorer, such as where to generate a token, without changing the Authorization description in your API Reference. Set x-fern-playground-description on a security scheme in your OpenAPI spec, or playground-docs on an auth scheme in a Fern Definition. The text renders as an info callout beneath the matching auth input and supports links, inline code, and paragraphs.

api-reference

Custom search metadata for faceting

You can now attach your own key-value metadata to a page with the search-metadata frontmatter object. Fern copies the block onto every Algolia record for that page and declares each key for faceting, so a custom search integration can group and filter results by your own taxonomy.

Read the docs
searchfrontmatter

Per-deployment values in self-hosted docs

A self-hosted container can now resolve environment variables in the pages it serves, on each request. A ${VAR} whose name is listed in FERN_RUNTIME_ENV_VARS is deferred past generation instead of being substituted with its build-time value, so one image serves deployments that differ only in those values.

Read the docs
self-hostedcustomization

Fern Agent automations

You can now put Fern Agent on a schedule. Create an automation on the Automations page in the Fern Dashboard. You can also describe the recurring work in the chat panel or Slack, and Fern Agent will set up an automation for you. Automations can review your reader feedback, unanswered Ask Fern questions, search queries, or analytics, report back what it found, and open a pull request when the prompt asks for a change.

ai

GraphQL types in API References

GraphQL API References now include a page for every named type in your schema, collected under a Types section at the API Reference root and grouped by kind: Objects, Inputs, Enums, Scalars, Interfaces, and Unions. Interface pages list the interface’s fields and the types that implement it.

Read the docs
api-reference

Card images in Fern Editor

You can now configure a Card’s image title, link, source, position, and badge directly in Fern Editor. Repo-relative image paths resolve in the Editor, and the preview matches the published Card component.

Read the docs
developer-toolscomponents

GraphQL schemas split across multiple files

You can now generate a single GraphQL API Reference from a schema split across several SDL files, including Apollo Federation subgraphs. List each file as its own spec in generators.yml with the same name, and Fern compiles them into one schema.

Read the docs
api-referencegenerators.yml

Blog layouts for changelogs

You can now present a changelog as a blog, with dated entries rendered as cards in a grid or list, tag filters, search, and author bylines on each post. Use this layout when a changelog functions more like a series of announcement posts than a list of releases. Set layout: blog and blog-layout in the changelog overview frontmatter.

Cards, tag filters, and search on a blog, with author bylines on the post page. Try the live example site.

navigationcustomization

Redirects in separate files

You can now keep redirects in a separate YAML file and reference it from docs.yml. You can also split redirects across multiple files.

docs.yml
redirects: ./redirects.yml
Read the docs
seodocs.yml

Fern Agent

Fern Agent edits your documentation and analyzes your organization’s Fern data. Talk to it in the Fern Dashboard chat panel, or integrate it with your Slack or your coding agent (via MCP) in one click.

Read the docs
ai