npm / @redocly/cli
@redocly/cli
What changed in @redocly/cli 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
52 breaking13 security5 deprecations95 new APIs and options3 performance32 behavior and defaults10 tooling142 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@redocly/cli 2343 changes
Breaking changes 52
Only error responses contribute to error clarity, so their schemas and examples no longer affect other operation metrics.
Backslashes in string literals are read as written, so
"a\nb"no longer contains a newline.The generated PHP client no longer retries
POSTorPATCHwithout anIdempotency-Key, or retries status 501 and 505–599; its default retry follows the other generated clients.Generated clients rename a schema with this name to avoid a clash with usage telemetry code; update code that uses the generated type.
Pages built with
build-docsnow send Redoc telemetry from readers' browsers by default.The
--disableGoogleFontoption was removed because Redoc 3 pages load no Google Fonts.The
--theme.openapioption was removed; use--openapiinstead.The rule now reports properties on any non-object type and items on any non-array type. Because it is an error in the recommended ruleset, descriptions that passed before may now fail.
Generated TypeScript, Python, Go, and PHP clients send stream bodies as-is in one attempt, and the caller's Content-Type takes precedence over the API description.
Preserves content when names conflict by adding an order-based -n suffix to each later output file; split output may differ from older releases.
Gains a required descriptionRules field; library code that builds this object by hand must set it.
The rule now checks that a const value conforms to the schema's type, which may produce new linting errors.
A step now fails with a clear error when a runtime expression embedded in a string has no value.
Adds a rule that warns in the recommended ruleset and errors in recommended-strict; existing API descriptions may report new problems.
A multi-line flow collection whose closing bracket is not indented deeper than its parent key is now a parse error, reported at the offending token.
Plugins that relied on importing packages hoisted from the CLI must now declare those packages as their own dependencies.
With --format=checkstyle, multiple APIs now produce a single combined XML document instead of concatenated per-file documents.
The decorator now removes unused components containing
allOf, so it may remove more unused components than before.When referenced components share a name but have different content, bundle renames one with a numeric suffix instead of prefixing the file name; this applies to every component type and changes bundled $ref paths.
The option now detects conflicts when components in different files share a name but have different content. Autogenerated component names and $ref paths in bundled documents may differ from older releases.
The scorecard-classic project URL is now restricted to the .redocly.com domain.
Added to the recommended ruleset, so it is enabled when using that ruleset.
The apiDefinitions configuration option was removed; use apis instead.
The labels field was removed from the apis section.
Configurable rules use the rule/ prefix instead of assert/.
The deprecated option is no longer supported in rules; use allowAdditionalProperties instead.
Plugins must use ES Modules syntax, or use the .cjs extension for CommonJS files.
The deprecated features.mockServer configuration option is no longer supported; use mockServer directly instead.
The features.openapi configuration structure was removed; configure openapi directly instead.
The info-license-url rule was removed; use info-license-strict instead.
join no longer merges servers into the root level; each path item retains servers from its source description.
Support for the legacy Redocly API Registry was removed in favor of Reunite.
Backward compatibility for the deprecated lint config option was removed; use rules, decorators and related options at the root level.
The login command now works exclusively with the Reunite platform.
This rule is enabled for AsyncAPI and Arazzo; recommended changes from warn to error and minimal from off to warn.
Redocly CLI v2 requires Node.js 20.19.0+, 22.12.0+, or later.
The path-excludes-patterns rule was removed; use a configurable rule instead.
The preview-docs command was removed; use preview instead.
The push command now works exclusively with the Reunite platform.
Redoc 3 renamed or removed some Redoc 2 options and replaced the theme object with CSS custom properties, so settings and custom templates may need review.
The command renders documentation with Redoc 3 instead of Redoc 2.
Use
--openapiin place of the removed--theme.openapioption.redocly.yaml is now the only default configuration file name; other names must be specified with --config.
The legacy .redocly.yaml name is no longer the default configuration file name and must be renamed or explicitly specified with --config.
The deprecated referenceDocs option, related to the legacy Reference docs product, is no longer supported.
Sensitive fields such as tokens and passwords are automatically masked in response bodies to prevent accidental exposure in logs and outputs.
The spec rule was replaced with struct; use the new spec ruleset for specification compliance.
Backward compatibility for the deprecated styleguide config option was removed; use rules, decorators and related options at the root level.
The deprecated theme property is no longer supported; its properties are available at the config root.
The theme.openapi configuration structure was removed; configure openapi directly instead.
The undefined configurable-rules assertion was removed; use defined: true instead.
YAML parsing uses the latest specification, changing interpretation of some features: numbers with underscores are strings and mixed YAML/JSON indentation is stricter.
Security 11
Respect masks password-format fields in request bodies and responses described under wildcard media types.
Masks secret path parameters of an x-operation URL in the request URL shown in verbose output.
Runtime expression evaluation no longer runs API response values or step outputs as code.
HTTP Digest Authorization headers now send a random client nonce instead of cnonce="undefined".
Known secrets are now masked in non-JSON request bodies, including application/x-www-form-urlencoded token requests.
Adds a rule disallowing potentially executable content in description fields; it is enabled at warn level in the recommended ruleset.
Updated js-yaml to resolve a vulnerability in YAML parsing.
Adds a Subresource Integrity (SRI) hash to the Redoc standalone script tag in generated HTML, ensuring the script's integrity.
Redocly CLI: Path traversal when using
splitcommandResolved the vulnerability by updating dependency versions.
Respect supports the x-security extension for secure authentication in Arazzo workflows, including step-level schemes, secret values, multiple authentication types, and parameter transformation.
Deprecations 5
Deprecated options now produce a warning;
platformreplacesreunite.The --product option is deprecated.
Node.js 20.x receives a deprecation warning; update to Node.js 22.12.0 or higher.
The command now warns about the upcoming switch to Redoc 3.
Deprecated in favor of
spec-example-values.
New APIs and options 91
Adds an Arazzo rule that reports a success or failure action using both stepId and workflowId.
Adds an Arazzo rule that reports workflow or step output names that do not match the specification's required regular expression.
The experimental diff command accepts --extends to replace the configuration file's extends list for one run.
The experimental command accepts <revision>:<path> arguments and reads the API description and referenced files from that revision.
The respect command supports the Arazzo 1.1.0 and OpenAPI 3.2 querystring parameter location, which sets the whole request query string.
Adds a rule for Arazzo 1.1.0 descriptions that reports steps with multiple querystring parameters or a mix of querystring and query parameters, counting workflow parameters.
The
access.rbac.platformscope is now supported inredocly.yaml.The
platformoption is now supported inredocly.yaml.The new option writes a JSON file containing each API's operations and run warnings, each with a stable kind.
The spec ruleset adds this rule for OpenAPI 3.1 and 3.2 descriptions where the specification requires a non-empty
enumcontaining thedefaultvalue.Generated Go, Python, and PHP clients now include the
onSettledhook.Custom or ejected generators receive
reportFindingin theirruninput to add warnings to the report;wrappableOperationstakes it as its third argument.Generated Go, Python, and PHP clients now include usage telemetry.
An experimental command compares two API descriptions, reports changes, and rates each change by the required semver bump.
Verifies that info.version was bumped accordingly.
Sets the impact level that causes the diff command to fail.
The generate-client command now supports the java generator.
Set this environment variable to true to turn off announcements.
Added an early access command to open a pull request in Redocly platform for the current branch of a cloned project.
Added an early access command to show the status of a pull request for the current branch of a cloned project.
Adds the
--asyncapioption.Adds the
--graphqloption.Adds the
--inlineBundleoption.Adds the
--openapioption for passing Redoc options.The rule accepts an excludedMethods option to skip operations that use the listed HTTP methods.
Adds a command that installs Redocly CLI agent skills for AI coding agents.
The generate-spec command accepts --openapi-version to choose OpenAPI 3.1 or 3.2 for the generated description; 3.2 is the default.
The generate-client command adds the client.telemetry option.
The generated TypeScript client adds the onSettled middleware hook.
The command supports the body-link pagination style, which follows the next page URL from a response field.
The tanstack-query generator creates infinite query options for operations using body-link pagination.
The nextLink option sets the response field containing the next page URL for body-link pagination.
An early access command can clone a Redocly-hosted Reunite project as a Git repository.
Adds an option to control how the split command reports file name conflicts.
The bundle command accepts Overlay documents through the new --overlay option, allowing overlays to be applied to its output.
Overlays can be listed under overlays for an API in redocly.yaml to apply them to bundle command output.
The push command accepts --replace to remove files under the mount path that are not part of the push.
The rule now supports disallowDefault, which requires an explicit 2xx response when enabled; current behavior is unchanged.
The rule accepts a
strategyoption matching the--component-names-strategyoption of thebundlecommand.An experimental command navigates the API description node type tree to help choose subject types for configurable rules or visitors for custom plugins.
An experimental command analyzes a running MCP server and records its tools, prompts, resources, and capabilities in the
x-mcpextension of an OpenAPI description.An agent skill for writing configurable rules and custom plugins is available for AI coding assistants and can be installed with the skills CLI.
Adds an option to configure AI concurrency.
Adds an option to the command for configuring the AI model.
Adds an option to the command for configuring the AI provider.
Limits the number of workflows the AI designs; the default is 10.
Uses a local AI CLI and OpenAPI descriptions to redesign the generated one-workflow-per-operation skeleton into multi-step workflows.
Configurable rules can use a new assertion to validate a property value against a JSON Schema.
A CLI client generator is available alongside the TypeScript client.
Client generators can self-document with the
--docsoption.Generators can be made available as source in your own repository through
eject-generator.A Go client generator is available alongside the TypeScript client.
A PHP client generator is available alongside the TypeScript client.
A Python client generator is available alongside the TypeScript client.
The command reports how many distinct x- extensions a description file uses and how often each one occurs.
Added a rule that reports properties placed next to a $ref which the specification does not allow.
Adds a rule requiring unique enum values; it is enabled at warn level in the recommended ruleset.
Adds an experimental command to generate a typed, zero-dependency TypeScript client from an OpenAPI description, with optional companion generators for validation, hooks, mocks, and date transformers.
Adds a built-in rule that checks security requirement scopes against the corresponding OAuth2 security scheme and suggests the closest defined scope for typos.
Adds the opt-in requireScopes option to require OAuth2 security requirements to list at least one scope.
The experimental drift command accepts a comma-separated list of header names to skip in undocumented-header checks; a trailing * matches by prefix.
An experimental command infers an OpenAPI description from recorded HTTP traffic.
The experimental proxy command accepts a comma-separated list of header names to skip in undocumented-header checks; a trailing * matches by prefix.
Adds an experimental command to compare recorded HTTP traffic against an OpenAPI description and report undocumented endpoints, schema mismatches, and security findings.
Adds an experimental command to capture live HTTP traffic through a reverse proxy into a HAR file and optionally validate it against an OpenAPI description in real time.
Adds experimental support for linting GraphQL SDL schema files with
.graphqland.gqlextensions.This Arazzo rule flags steps that use more than one mutually exclusive operation field.
The bundle command accepts --component-names-strategy to name inline Schema components using basename or title.
The lint command supports junit output, allowing lint results to be emitted in that format.
Adds a command to analyze OpenAPI 3.x descriptions and produce an AI Agent Readiness score with subscores, operation metrics, and hotspot explanations.
Supports stylish output by default and JSON output through the --format option.
The scorecard-classic command supports junit output.
The rule adds an excludedPaths option to exclude specific paths from evaluation.
Adds a rule that warns when schemas use both maximum and exclusiveMaximum or both minimum and exclusiveMinimum keywords in OpenAPI 3.1+, AsyncAPI, and Arazzo.
Added the targets property to override scorecardClassic rules for a specific API.
The scorecard-classic command now supports the checkstyle format.
Adds an option to filter through specific target nodes, PathItem or Operation.
Adds an option to filter through specific target nodes, PathItem or Operation.
Adds support for the NO_PROXY environment variable.
Adds a rule that prevents mixing query and querystring parameters and limits each operation or path to one querystring parameter.
Adds support for Media Types in the Components model.
The bundle command adds an option to control how naming conflicts are reported when bundling API descriptions with external references.
Added basic support for OpenRPC specifications.
Adds a command to evaluate API descriptions against project scorecard configurations.
Added support for modeling XML in OpenAPI 3.2.
Added configuration of Respect mTLS certificates on a per-domain basis.
Adds a rule for validating OpenAPI 3.2 description files and replaces
no-example-value-and-externalValue.Adds a rule for validating OpenAPI 3.2 description files.
CLI arguments can now be supplied through environment variables with matching prefixes, parsed using Yargs .env().
A new rule separates nullable validation from other struct checks for OpenAPI 3.0, allowing nullable validation to be disabled independently.
The respect command gained CLI options to improve test execution control.
Performance 3
The rule reuses validators for referenced or repeated schemas, improving performance.
Overall startup performance was improved.
The CLI is bundled into a dependency-free package, improving install speed; the published package no longer ships runtime dependencies in node_modules.
Behavior and default changes 31
The experimental command recommends edits ranked by simulated impact, shows the score all safe edits reach together, and lists design findings that documentation edits cannot fix.
Warns when workflow inputs do not match the workflow's inputs schema; the workflow still runs with the inputs as given.
Redocly CLI shows a one-time announcement about agent skills and the skills command the first time it runs.
The command now prints its execution time in milliseconds.
The command now uses Redoc 3 and supports AsyncAPI descriptions and GraphQL schemas.
The command now applies decorators and preprocessors configured in the configuration file.
The command now runs @redocly/framework; projects listing @redocly/realm, @redocly/redoc, @redocly/revel, @redocly/reef, or a blend still preview with that package.
The command accepts the pro, scale, and enterprise plans with the --plan option.
The respect command passes parameters from Arazzo 1.1.0 success and failure actions to the referenced workflow as inputs.
The experimental command supports in: querystring parameters, validating the whole query string against the parameter schema; in --coverage, each form-urlencoded schema key counts as a separate parameter.
Now lints description fields of API descriptions and reports findings with source line and column; findings can be suppressed by file, rule, and pointer, or rules can be adjusted for descriptions only.
The rule now checks fields next to a reusable action $ref in Overlay documents.
The value of this environment variable is now included in the
user-agentheader oflogin,push, andpush-statusrequests.Lint problem locations in JSON output now include start and end line and column positions.
The default build-docs template now adds the lang attribute to improve accessibility of the generated HTML.
After generation, the command prints a ready-to-run respect command with an --input placeholder for every workflow input.
respect --har-outputnow writes request bodies to the HAR, allowing replayed captures to have their request bodies validated bydrift.The security-defined rule in the recommended ruleset changes from error to warn for AsyncAPI 2.x and 3.x, so undefined or unresolved security no longer fails linting by default.
Added support for this Arazzo spec-compliant workflow reference form in
dependsOn, stepworkflowId, and success/failure actionworkflowId.The drift command now ignores undocumented headers with the x-amz-, x-amzn- and x-github- prefixes, and the x-hub-signature and x-hub-signature-256 names.
The rule now validates unused security schemes.
The default fetch timeout used by the push command increased to better support slower uploads.
Top-level keys in AsyncAPI documents are ordered during bundling for improved consistency and readability.
With --generate-ignore-file, lint updates only entries related to the file being linted and leaves other files' entries unchanged.
The split command now supports AsyncAPI v2 and v3.
The nonEmpty assertion now supports arrays, and an empty array is treated as empty during linting.
References can now use data: URLs to embed inline base64-encoded or URL-encoded schemas and other content.
Added to the spec ruleset, so it is enabled when using that ruleset.
This rule is enabled for AsyncAPI and Arazzo, and its recommended and minimal ruleset severities change from off to warn.
Redoc options come from the configuration key matching the API description type:
openapi,asyncapi, orgraphql.The spec ruleset is configured for OpenAPI, AsyncAPI, Arazzo, and Overlay specifications to strictly follow their specifications.
Tooling 10
The experimental command supports MCP protocol version 2026-07-28 and records that version when a server supports it alongside an earlier version.
Linting now supports Overlay 1.1 and 1.2 documents, including the copy action field, the $self field, and reusable actions in components.actions.
An agent skill for everyday CLI usage is available for AI coding assistants and can be installed with the skills CLI.
Added support for AsyncAPI 3.1.0 descriptions.
The lint command now supports validating Arazzo 1.1.0 description syntax.
Added an npm alias dependency to satisfy peer dependency requirements and prevent installation warnings.
Redocly CLI now validates JSON schema formats, such as email.
A new rule checks for duplicate tag names in an API description.
This rule is enabled for AsyncAPI and Arazzo; its recommended severity is error and its minimal severity is warn.
A new spec ruleset enforces OpenAPI specification compliance.
Fixes and other changes 140
Misconfiguration errors now name the rule and are reported even when the API description has no node of the rule's subject type.
No longer reports valid decimal values such as 98.8 for multipleOf: 0.1 as schema mismatches.
Preserves long YAML strings and literal multiline style instead of folding strings across lines or changing them to folded style.
Reports problems instead of stopping with an error when Arazzo list fields are not lists or contain an empty item.
Accepts valid decimal examples that differ from a multiple by less than one millionth of multipleOf.
Accepts valid decimal examples that differ from a multiple by less than one millionth of multipleOf.
Accepts valid decimal examples that differ from a multiple by less than one millionth of multipleOf.
Fixes generated TypeScript client type errors when the project's tsconfig.json does not include the DOM lib.
Includes runs of workflows listed in dependsOn in the results.
Reports a global timeout error when an execution timeout stops a workflow in a dependsOn list, rather than an unexpected error.
Excludes steps that sent no request, including steps skipped after an execution timeout, from totalRequests in JSON output.
Accepts valid decimal values in responses and workflow inputs.
Reports empty successCriteria or criteria lists, and Arazzo workflows or descriptions with empty steps or workflows lists.
Criteria and onSuccess/onFailure action parameters for workflow-calling steps read the called workflow's outputs as $outputs.
When a workflow-calling step cannot resolve one of its outputs, it runs onFailure actions instead of onSuccess actions or subsequent steps; the workflow ends if it has no onFailure actions.
After an execution timeout ends a retry, Respect no longer waits for a retry or runs a sub-workflow step, and reports the timeout in JSON output.
A step that calls a workflow is no longer counted as a request when the step reports a failed check of its own.
Prevents a request from being counted and listed twice in JSON output when an execution timeout ends a step's retries.
Operations without a response body no longer have their example coverage lowered or get reported as missing response examples.
Shared responses and request bodies are counted for every operation that references them.
The command skips a skills path that is a file or broken symbolic link with a warning and installs skills into other folders.
For a step calling a workflow with workflowId, criteria are checked against the called workflow's $outputs; failures fail the step and run onFailure actions.
Respect applies its own lint rules, including no-criteria-xpath and x-security rules, to Arazzo 1.1.0 descriptions.
Respect can find an operation by operationId even when an empty path item or operation precedes it in the OpenAPI description.
An AsyncAPI source description no longer fails with an unknown description name; Respect reports that AsyncAPI is not yet supported and links to the repository.
Checks the content type for responses described only by the default response.
Respect evaluates runtime expressions embedded in string values inside other braces, and a $faker call no longer removes the surrounding braces.
Respect correctly checks response status codes described with a range and continues to content type and schema checks.
Respect checks a response against the most specific matching wildcard media type; application/* takes precedence over */* regardless of order.
Respect handles top-level defaults, defaults at the top of env, and keywords not defined by JSON Schema without failing.
The command now explains why a deployment failed by listing failed checks and including the link checker result.
The command now explains why a deployment failed by listing failed checks and including the link checker result.
JSON Pointers accept every character allowed by the Arazzo grammar; put a space before
&&when it follows a pointer.JSON Pointers support
~0and~1escapes, allowing pointers to reach keys containing~or/.When a workflow output is unresolved,
respectreports the failed step that caused it and stops the other workflows in the file.HTTP Digest authentication now works when the server's WWW-Authenticate header has no opaque parameter.
HTTP Digest authentication now works when values in the server's WWW-Authenticate header contain
=or,.Fixed generated PHP client type names being duplicated when a discriminated union member is itself a union, which PHP rejects.
Fixed a generated PHP client
TypeErroron responses with aoneOforanyOfvalue without a discriminator.lint no longer reports Media Type Objects under components.mediaTypes in OpenAPI 3.2 descriptions as invalid.
Configurable-rule messages and codeframes in json output no longer carry terminal color codes.
The rule now checks nested Encoding Objects in OpenAPI 3.2 descriptions.
The rule no longer reports a $ref to a Media Type Object in a content entry of OpenAPI 3.2 descriptions.
The generated PHP client now reports a transport error for a refused connection instead of throwing
TimeoutError.TypeScript usage telemetry now counts an aborted call before its first attempt so events do not report fewer attempts than calls.
Respect now uses the dataValue field of OpenAPI 3.2 examples when a step takes parameters or a request body from the API description.
Respect now uses parameters defined on a path item when a step uses operationId and takes request data from the API description.
Usage telemetry counts are retained when the telemetry endpoint is unreachable or returns a 408, 429, or 5xx status, and are added to the next send.
The rule no longer reports discriminator mapping values that are schema names as unresolved references; it still reports names that do not match a schema in components.schemas.
The command now reads a local-file $ref in an overlay from disk when the API description is a URL, rather than trying to download it from the API description's server.
The command no longer crashes with a stack trace when the traffic file or folder does not exist.
The command no longer crashes with a stack trace when the traffic file or folder does not exist or when the traffic has no matching HTTP exchanges.
Fixed generated code that failed strict type checks.
Fixed mock data that broke the API description.
Fixed writeOnly properties in response types.
The respect command retries a step when its retry failure action has no retryLimit.
The respect command no longer skips a retry failure action after an earlier retry action for the same step uses up its retries.
The struct rule reports Arazzo 1.1.0 success and failure actions whose parameters lack a workflowId or include an in field.
Fixed the command retaining step inputs in the workflow file, which caused later runs to use them instead of --input values or schema defaults.
Fixed generated PHP and Python clients failing when a discriminator mapping points to a schema that is itself a oneOf.
The rule no longer incorrectly reports an error for type: file in response schemas of OpenAPI 2.0 API descriptions.
The capitalization assertion in recheck rules now names the style, such as "sentence case", instead of printing "$sentence".
The report now lists only findings that remain after fixes, not findings that were just fixed.
The summary prints inserted text containing a line break as \n instead of breaking the output line.
Fixed the command crashing on OpenAPI 3.2 descriptions with a deviceAuthorization OAuth flow and non-empty scopes.
Fixed the command altering string values in runtime expressions containing a dot followed by a digit.
The generated Go client no longer sends duplicate query parameters when following a next page link.
Older browsers without AbortSignal.timeout() or AbortSignal.any() now correctly throw TimeoutError for timed-out requests instead of AbortError in Chrome 103–123.
The respect command now honors --mtls certificates when a request goes through a proxy.
The login and push commands now exit after a request through a proxy times out.
The login, push, and other Reunite commands no longer fail on Node.js 26.
Fixed Git credential helper discovery after running the command with npx or pnpm dlx.
The schema-consistency rule no longer reports a required readOnly property in a parameter schema as missing from the request.
Fixed an Undefined constant "OPERATIONS" error when OPcache preload is enabled.
Fixed dropped violations and incorrect reported locations when type is written as an array.
Fixed an unexpected error for steps with an unprefixed operationId when the Arazzo file also lists an arazzo source description; those operationIds are looked up only in openapi source descriptions.
The rule no longer reports a duplicate when different workflows list the same workflow in dependsOn.
Generated clients now decode compressed archives, PDFs, Office documents, audio, video, and font responses as binary instead of attempting to parse them as JSON.
A same-workflow goto no longer clears $steps outputs from steps that already ran, preserving $steps expressions in the target step.
Updated fast-uri to resolve four CVEs.
Fixed Redocly config resolution when plugins use ESM syntax.
Fixed coverage failing to match path templates whose segment mixes literal text with parameters.
Fixed drift failing to match path templates whose segment mixes literal text with parameters.
Using
$faker.string.email()without options no longer generates addresses at theundefined.comdomain.Fixed malformed remote description URLs in sourceDescriptions when --output-file is provided.
The rule no longer incorrectly rejects x-security HTTP schemes with non-lowercase casing, consistent with RFC 7235 case-insensitivity.
Fixed incorrect duplicate parameter reports when two or more $refs point to the same path item.
The
bundlecommand now resolves$refs inside an AsyncAPI 3 Multi Format Schema Object.The command now reports the correct parameter count for AsyncAPI descriptions.
The bundle command no longer loses schema keywords written next to a $ref when the referenced schemas start with their own $ref.
Fixed the rule so it no longer reports type and title properties inherited through allOf as missing.
Unresolvable workflow references fail only the affected workflow with a clear error message, rather than aborting the whole run or passing unnoticed.
The schema-consistency rule validates payloads only against the oneOf branch selected by the discriminator, avoiding false-positive findings. Discriminators that do not meet Ajv's structural requirements retain the previous behavior.
The cursor AI provider now sends the operation to refine to the model along with the instructions.
Parent workflow steps now halt after a step referencing another workflow fails.
Strings that look like numbers with underscores retain their quotation marks in bundled output.
Internal $refs that point to other $refs are no longer rewritten, preventing AsyncAPI 3 operation messages references from pointing to components instead of channel messages.
DeepObject-style query traffic keys are matched to the documented parameter, and the reconstructed object is validated against its schema, avoiding false-positive findings.
Request-side validation no longer reports false-positive drift for exchanges rejected by the server with a 4xx error; response-side validation still runs.
Loopback-host traffic no longer produces false-positive warnings about credential exposure over insecure HTTP transport.
The join command no longer silently drops path-level x-* extensions with non-string values.
The rule now validates contents of AsyncAPI protocol-specific bindings, with typed definitions for sns, sqs, ibmmq, googlepubsub, pulsar and ros2 bindings.
The decorator now removes unused security schemes; the bundler may remove more unused components than before.
The Respect command now honors HTTP_PROXY, HTTPS_PROXY, and NO_PROXY when loading remote source descriptions and resolving external $refs.
The rule now highlights unused schemas containing
allOf.Fixed a hard crash when no API was provided via the command argument or configuration.
Fixed a status code mismatch when using --har-output with the respect command.
Redocly config validation now checks for typos in built-in decorator names.
Bare local file names in discriminator mapping values are now resolved during build.
The push command is more stable.
The discriminator's
defaultMappingproperty is now resolved when bundling.The decorator now runs after bundling, so components made unused by $ref resolution are correctly removed.
The rule now reports when a required property is not defined in every oneOf or anyOf branch.
The rule correctly resolves existing schema names, preventing incorrect validation results.
The rule traverses composite schemas to find required properties.
The rule treats
defaultMappingvalues as schema$refs.The rule resolves
$refs correctly across files.The rule handles cyclic schema dependencies.
Fixed a misleading missing-configuration message shown when the --extends option was provided.
Invalid discriminator mapping values no longer cause linting to fail.
Fixed an issue that caused formData to be submitted empty.
Fixed incorrect rewriting of discriminator mapping refs when schema names contained the same substring as the prefix.
Error messaging is improved when a path parameter referenced via $ref is not used in the path.
Fixed an issue where scorecardClassic configurations were not resolved.
Fixes a ReferenceError: React is not defined message when running CLI commands.
Fixed false positive errors for OpenAPI 3.0.x and OpenAPI 2.x examples.
Fixed incorrect warnings when examples combine required with readOnly or writeOnly properties.
Bundling problems, including lint errors and warnings, are sent to stderr instead of stdout to avoid interfering with bundled output.
The linter no longer fails when OpenAPI examples are improperly structured.
Fixed Markdown formatting for multi-line lint error messages.
Corrected JSON encoding of request bodies for custom content-types containing numbers.
The split command now correctly maps root-level paths to the specified path separator, preventing incorrect file structure and broken links.
Fixed a compatibility issue with the HTTP_PROXY environment variable for the push command.
Credentials created by the login command are no longer deleted by the Redocly VS Code extension when VS Code opens.
Multiple --mtls options in the Respect command now merge as expected.
Fixed a crash when this rule encounters unresolved $refs.
Fixed the rule for schemas using
anyOforoneOf.Content of
$refs inside example values is no longer erroneously resolved during bundling and linting.The mount-path option is now validated, preventing errors when used with an empty path or a path identical to the project path.
Proxy settings are now applied during Respect execution.
@redocly/cli 19 changes
Security 2
The notifier requests the latest Redocly CLI version from the npm registry over HTTPS.
Updated js-yaml to resolve a denial-of-service vulnerability in YAML parsing.
New APIs and options 4
Allow a product that no API reference page names to remain visible.
Match a product without an
apiIdto an OpenAPI page whose title equals the product's display name.Set the Apigee API product name in the API configuration as an alternative to the OpenAPI description.
Name the Apigee API product in the OpenAPI description so the portal can connect it to the API reference page.
Behavior and default changes 1
Try it fills in the API's
apiKeyand OAuth 2.0 client credentials security schemes, which must be declared in the API description.
Fixes and other changes 2
Fixed the command displaying a blank page by loading Redoc 2 instead of Redoc 3.
The portal offers a product only to developers who can open its linked page, links it on the API keys page, and displays a Request access or Credentials button in the reference sidebar.