跳到导航

5.230.4

(fix): fern check no longer reports broken links inside <If versions> or <If products> blocks (including not and nested <If>) for versions and products where the block is not rendered.

5.230.3

(fix): The docs starter that fern init creates now links its “Open Fern Editor” button with <Button href>, so it renders as one link button without a stray external-link icon next to it.

5.230.2

(fix): Fix OpenAPI imports where a header with an inline enum is on most endpoints and is promoted to a global header. The enum is now declared in the root package, so the IR no longer references a type that does not exist and SDK generation no longer fails with “type not found”.

5.230.1

(fix): A spec loaded from a URL in sdk-config.yml (for example from fern init --openapi <url>) now has relative servers URLs resolved against the spec URL, so a hosted MCP server deploys without extra config. For a local spec file, an MCP target with a relative servers URL and no api.baseUrl now fails with a message that names servers and api.baseUrl.

5.230.0

(feat): fern generate --docs can publish from GitHub Actions without a stored FERN_TOKEN. When neither FERN_TOKEN nor a saved login is present and the job has permissions: id-token: write, the CLI exchanges the run’s GitHub OIDC token for a 1-hour organization token, provided an organization admin has trusted the repository. FERN_TOKEN and a saved login keep precedence, and other commands are unchanged.

5.229.0

(feat): Add a repeatable --ignore <pattern> option to fern docs link check. Links whose URL matches a pattern (* matches any characters) are left out of the results and no longer fail the run, e.g. fern docs link check --ignore 'https://mcp.example.com/*'.

5.228.2

(fix): SDK Config targets delivered to GitHub now forward Maven and crates.io publish credential ${NAME} expressions to sdk-gen-api as repository secret names (usernameEnvironmentVariable, passwordEnvironmentVariable, signatureEnvironmentVariables, tokenEnvironmentVariable), so the generated release workflow publishes with the configured secrets. Literal credentials are not forwarded.

5.228.1

(fix): fern generate --docs now registers the OpenAPI or AsyncAPI info.version with the API definition, so the /openapi.json, /openapi/<api>.json and AsyncAPI downloads on a docs site show the source spec’s version instead of 1.0.0.

5.228.0

(feat): MCP targets now accept an egress block in the SDK Config generation config (@postman/sdk-config 0.26.0): egress.policy (open | allowlist) and egress.allowedUpstreams. This is an opt-in outbound allow-list that restricts which hosts a generated MCP server’s tools may call. Previously these keys were rejected during SDK Config validation.

5.227.0

(feat): Read the CLI’s code snippets from sdk-gen for the docs, the way the SDK snippets are read, behind the ALLOW_CLI_SNIPPETS=true environment variable (off by default). With it set, the cli entry of the docs.yml snippets: section looks up the snippets of the CLI built from the sdk-config.yml.

5.226.2

(fix): Keep OpenAPI error responses whose only content type is non-JSON (e.g. text/plain) in the IR instead of dropping them. They now appear in API reference docs and .md exports like error responses that declare no body.

5.226.1

(fix): Direct Maven publishing with an empty or missing password (for example a custom registry that accepts anonymous or token-less uploads) now goes through sdk-gen-api instead of falling back to legacy Fiddle generation. The CLI sends the password as an empty string; the username is still required.

5.226.0

(fix): fern generate now writes every file of a generated SDK on Node 24. Before, unpacking the download could stop partway through a large file without an error, so the files after it were missing (for example, a generated CLI missing src/output.rs and failed to compile) while the command still reported success.

(feat): fern init on its own in a terminal now starts the setup wizard: it finds your API spec and coding agents, checks your organization name, and sets up the project, a docs site with your company’s branding, coding-agent instructions, docs publishing, and SDKs, asking before each step. fern init with flags, or outside a terminal, works as before.

5.225.0

(feat): MCP targets now accept instructions and appendInstructions in the SDK Config generation block (@postman/sdk-config 0.25.0). instructions replaces the server instructions returned on initialize; appendInstructions appends to the generated ones. Previously these keys were rejected during SDK Config validation.

5.224.0

(feat): Add a show-scopes option to API Reference sections in docs.yml. When set to true, the CLI publishes the scopes from each endpoint’s security requirements, and the endpoint’s Authentication section lists them under the scheme that requires them (for example Required scopes: audiences:read). Off by default.

5.223.2

(fix): Raise the sdk-gen-api upload limits so large APIs can generate remotely: runtime bundles may now be 64 MiB compressed each (128 MiB across a build) and 512 MiB decoded each (2 GiB across a build), uploads may total 160 MiB in a 170 MiB request, and the request timeout is 180 seconds. When sdk-gen-api rejects a build as too large (HTTP 413), the CLI now reports the upload sizes it computed and suggests upgrading the Fern CLI or retrying later.

5.223.1

(fix): C/C++ library docs keep existing URLs stable when a symbol with a colliding name is added. The plain URL goes to the name it represents most closely (foo_bar over foo__bar, public names over _-prefixed ones); every other colliding symbol, header, or group gets a short suffix derived from its own name instead of -2, -3, so adding or removing a symbol never moves another page. One-time change on upgrade: pages that ended in -2, -3 move to the new suffix, and in a few existing collisions the plain URL changes owner (e.g. sa_b now takes sab from s_a_b).

5.223.0

(feat): Add fern sdk add-tool <name> and fern sdk add-hook to scaffold MCP custom-tool and hook modules into fern/custom/ and register them under the MCP target’s generation block in sdk-config.yml. The scaffolded modules import the authoring contract from the new @fern-api/mcp-tooling package (so they type-check before fern generate runs) and call context.fetch.

5.222.1

(fix): On Node 26, fern generate could stop partway through unpacking the output of a remote generation and still exit with code 0. The rest of the output was never written, and the steps after it never ran, such as deploying a hosted MCP server. The CLI now uses yauzl 3.4.0, whose read streams work on Node 26.

5.222.0

(feat): fern generate now uploads an MCP target’s customer-authored custom-tool and hook modules (the files referenced by customTools/hooks in the SDK Config) so they reach the generator and are emitted into the generated MCP server.