Skip to content

chore(deps): update dependency @redocly/cli to v2.57.0 - #7455

Merged
otavio merged 1 commit into
masterfrom
renovate/redocly-cli-2.x
Oct 12, 2026
Merged

otavio merged 1 commit into
masterfrom
renovate/redocly-cli-2.x

Conversation

@renovate

@renovate renovate Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@redocly/cli 2.31.5 → 2.57.0 age adoption passing confidence

Release Notes

Redocly/redocly-cli (@​redocly/cli)

v2.57.0

Compare Source

Minor Changes
  • Added const checking to the no-enum-type-mismatch rule: a const value must conform to the schema's type, the same way every enum value does.

    Note: linting output may include new errors for schemas whose const value doesn't match their type.

Patch Changes
  • Fixed an issue where no-enum-type-mismatch dropped violations and reported a wrong location when type was written as an array.
  • Updated @​redocly/openapi-core to v2.57.0.

v2.56.1

Compare Source

Patch Changes

v2.56.0

Compare Source

Minor Changes
  • Added support for applying Overlay documents to the bundle command output.
    Pass overlays with the new --overlay option or list them under overlays for an API in redocly.yaml.
  • Added support for linting Overlay 1.1 and 1.2 documents, including the copy action field, the $self field, and reusable actions in components.actions.
    The spec-ref-siblings rule now checks the fields next to a reusable action $ref in Overlay documents.
Patch Changes

v2.55.0

Compare Source

Minor Changes
  • Added the --replace option to the push command.
    --replace removes the files under the mount path that are not part of the push.
Patch Changes
  • Fixed respect so known secrets are masked in non-JSON request bodies, such as application/x-www-form-urlencoded token requests.
  • Fixed respect so a step fails with a clear error when a runtime expression embedded in a string has no value, such as Bearer {$outputs.accessToken}.
  • Updated @​redocly/openapi-core to v2.55.0.
  • Updated @​redocly/respect-core to v2.55.0.
  • Updated @​redocly/reunite-integration to v2.55.0.
  • Fixed an issue where the workflow-dependsOn rule reported a duplicate when different workflows listed the same workflow in dependsOn.

v2.54.3

Compare Source

Patch Changes
  • Fixed an issue where generated clients attempted to parse compressed archives (application/gzip, application/x-tar), PDF files, Office documents, audio, video and font responses as JSON instead of decoding them as binary.
  • Added the value of the REDOCLY_ENVIRONMENT environment variable to the user-agent header of the login, push, and push-status requests.
  • Updated @​redocly/client-generator to v0.4.16.
  • Updated @​redocly/reunite-integration to v2.54.3.

v2.54.2

Compare Source

Patch Changes

v2.54.1

Compare Source

v2.54.0

Compare Source

v2.53.3

Compare Source

Patch Changes
  • Fixed respect so a same-workflow goto no longer cleared $steps outputs from steps that already ran.
    Previously, this broke $steps expressions in the target step.
  • Updated @​redocly/respect-core to v2.53.3.

v2.53.2

Compare Source

Patch Changes
  • Added start and end line and column positions to each problem location in the --format=json lint output.
  • Updated @​redocly/openapi-core to v2.53.2.

v2.53.1

Compare Source

Patch Changes
  • Added a deprecation warning to the build-docs command about the upcoming switch to Redoc 3.

v2.53.0

Compare Source

Minor Changes
  • Added a disallowDefault option to the operation-2xx-response rule, which requires an explicit 2xx response when enabled.
    There is no change in current behavior.
Patch Changes

v2.52.1

Compare Source

Patch Changes
  • Updated redoc to the 2.5.4 version to fix accessibility problems in the HTML produced by build-docs.
    Added the lang attribute to the default build-docs template.

v2.52.0

Compare Source

Minor Changes
  • Added agent skills for AI coding assistants: redocly-cli for everyday CLI usage, redocly-lint-rules for writing configurable rules and custom plugins.
    Install them with npx skills add https://redocly.com.
  • Added an experimental inspect-node-types command to navigate the Redocly's node type tree of an API description.
    inspect-node-types helps pick the correct subject types for a configurable rule or the correct visitor for a custom plugin.
  • Added a strategy option to the component-name-unique rule, matching the --component-names-strategy option of the bundle command.
  • Added an experimental introspect-mcp command that analyzes a running MCP server and records its tools, prompts, resources, and capabilities.
    introspect-mcp records its findings in the x-mcp extension of an OpenAPI description.
Patch Changes

v2.51.2

Compare Source

Patch Changes
  • Updated fast-uri to the 3.1.7 version to resolve CVE-2026-75931, CVE-2026-75975, CVE-2026-75899, and CVE-2026-76172.
  • Fixed drift and coverage failing to match a path template whose segment mixes literal text with parameters, such as /instances/{worldId}:{instanceId}.
  • Fixed an issue where Redocly config resolution failed when plugins used ESM syntax.
  • Updated @​redocly/openapi-core to v2.51.2.

v2.51.1

Compare Source

Patch Changes
  • Fixed an issue where generate-arazzo produced a malformed remote description URL in sourceDescriptions (https:// collapsed to https:/) when --output-file was provided.
  • Fixed an issue where $faker.string.email() used without options generated addresses at the undefined.com domain.
  • Updated @​redocly/respect-core to v2.51.1.
  • Updated @faker-js/faker to the 10.6.0 version to resolve the high severity advisory GHSA-qxc2-j82w-r537.

v2.51.0

Compare Source

Minor Changes
  • Enhanced the generate-arazzo command to print a ready-to-run respect command after generation, including an --input placeholder for every workflow input.
  • Added --with-ai, --ai-provider, --ai-model, --ai-concurrency, and --max-workflows options to the generate-arazzo command.
    --with-ai uses a local AI CLI (claude, codex, or cursor) and OpenAPI descriptions to redesign the generated one-workflow-per-operation skeleton into multi-step workflows.
    The AI designs at most --max-workflows workflows (default 10), and the generated file is marked as AI-inferred.
    For descriptions that don't fit a single prompt, the AI first selects scenarios from a compact operation index, then it designs each workflow separately.
Patch Changes
  • Fixed an issue where respect and the x-security-scheme-required-values rule incorrectly rejected x-security HTTP schemes written with non-lowercase casing (such as Basic, Bearer, or Digest).
    RFC 7235 scheme names are case-insensitive.
  • Updated @​redocly/openapi-core to v2.51.0.
  • Updated @​redocly/respect-core to v2.51.0.

v2.50.0

Compare Source

Minor Changes
  • Added a new schema assertion for configurable rules.
    The assertion validates a property value against a JSON Schema.
Patch Changes

v2.49.1

Compare Source

Patch Changes
  • Fixed an issue where rule incorrectly reported a duplicate parameter when two or more $refs pointed to the same path item.
  • Updated @​redocly/openapi-core to v2.49.1.

v2.49.0

Compare Source

Minor Changes
  • Added the no-illogical-composition-keywords rule.

    Note: the rule is set to warn in the recommended ruleset and to error in recommended-strict. Existing API descriptions may report new problems.

Patch Changes
  • Fixed an issue where telemetry silently failed to send when npm was not available.
  • Updated @​redocly/openapi-core to v2.49.0.

v2.48.0

Compare Source

Minor Changes
  • Added agent-friendly client generation: python, go, php, and cli generators beside the TypeScript client, each self-documenting with --docs, configurable per generator, and available as source in your own repository through eject-generator.
Patch Changes
  • Fixed an issue where the bundle command didn't resolve $refs inside an AsyncAPI 3 Multi Format Schema Object.
  • Fixed an issue where respect --har-output recorded an empty postData for every request.
    Request bodies are written to the HAR.
    Captures replayed through drift can have their request bodies validated instead of silently passing.
  • Updated @​redocly/client-generator to v0.4.0.
  • Updated @​redocly/openapi-core to v2.48.0.

v2.47.0

Compare Source

Minor Changes
  • Added a Vendor Extensions metric to the stats command that reports how many distinct x- extensions a description file uses and how often each one occurs.
Patch Changes
  • Fixed the stats command reporting wrong parameter count for AsyncAPI descriptions.
  • Updated @​redocly/openapi-core to v2.47.0.

v2.46.2

Compare Source

Patch Changes

v2.46.1

Compare Source

Patch Changes

v2.46.0

Compare Source

Minor Changes
  • Added the spec-ref-siblings rule that reports properties placed next to a $ref which the specification does not allow.
Patch Changes

v2.45.0

Compare Source

Minor Changes
  • Fixed the bundle command losing schema keywords (such as title, properties, or required) written next to a $ref when the referenced schemas started with their own $ref.
Patch Changes

v2.44.2

Compare Source

Patch Changes
  • Changed the severity of the security-defined rule for AsyncAPI 2.x and 3.x in the recommended ruleset from error to warn.
    AsyncAPI descriptions with undefined or unresolved security no longer fail linting by default.
  • Updated @​redocly/openapi-core to v2.44.2.

v2.44.1

Compare Source

Patch Changes
  • Updated undici to the 6.28.0 version.
  • Fixed an issue where the operation-4xx-problem-details-rfc7807 rule incorrectly reported the type and title properties inherited through allOf as missing.
  • Updated @​redocly/openapi-core to v2.44.1.

v2.44.0

Compare Source

Minor Changes
  • Added the no-duplicated-enum-values rule that requires all values in an enum to be unique.
    The rule is enabled at the warn level in the recommended ruleset.

    Note: linting output may include new warnings for API descriptions that contain duplicated enum values.

  • Added the no-unsafe-markdown rule that disallows potentially executable content in description fields.
    The rule is enabled at the warn level in the recommended ruleset.

    Note: linting output may include new warnings for description fields that contain potentially executable content.

Patch Changes

v2.43.3

Compare Source

Patch Changes

v2.43.2

Compare Source

Patch Changes

v2.43.1

Compare Source

Patch Changes

v2.43.0

Compare Source

Patch Changes

v2.42.0

Compare Source

Minor Changes
  • Added an experimental generate-client command that generates a typed, zero-dependency TypeScript client from an OpenAPI description — auth, retries, middleware, typed SSE streaming, pagination, and multipart included — plus optional companion generators for Zod validation, TanStack Query and SWR hooks, MSW mocks, and date transformers.
    See the generate-client command reference and the Use the generated client guide.
Patch Changes

v2.41.2

Compare Source

Patch Changes
  • Updated js-yaml from 5.2.1 to 5.2.2 to resolve a vulnerability in YAML parsing.

  • Added support for the Arazzo spec-compliant workflow reference form $sourceDescriptions.<name>.<workflowId> in dependsOn, step workflowId, and success/failure action workflowId.

    Unresolvable workflow references fail only the affected workflow with a clear error message, and no longer abort the whole run or pass unnoticed.

  • Updated @​redocly/openapi-core to v2.41.2.

  • Updated @​redocly/respect-core to v2.41.2.

v2.41.1

Compare Source

Patch Changes
  • Fixed an issue where the drift command's schema-consistency rule reported false-positive findings for oneOf schemas with a discriminator.
    Payloads are validated only against the branch selected by the discriminator value instead of every oneOf branch.
    Schemas whose discriminator does not meet Ajv's structural requirements keep the previous behavior.
  • Extended the drift command's built-in undocumented-header ignore list with x-amz-, x-amzn- and x-github- prefixes, and the x-hub-signature / x-hub-signature-256 webhook signature headers.

v2.41.0

Compare Source

Minor Changes
  • Added a new built-in rule security-scopes-defined that requires every scope used in a security requirement to be defined in the corresponding OAuth2 security scheme.
    The rule supports OpenAPI 2.0/3.x and AsyncAPI 2.6/3.0, suggests the closest defined scope for typos, and has an opt-in requireScopes option that requires OAuth2 security requirements to list at least one scope.
Patch Changes
  • Fixed an issue in respect where the execution of parent workflow's steps didn't halt after a step that referenced another workflow had failed.
  • Fixed an issue where the cursor AI provider of the generate-spec command sent only the instructions to the model and the operation to refine never reached it.
  • Updated @​redocly/openapi-core to v2.41.0.
  • Updated @​redocly/respect-core to v2.41.0.

v2.40.0

Compare Source

Minor Changes
  • Added an --ignore-headers option to the experimental drift and proxy commands.
    It takes a comma-separated list of header names to skip in undocumented-header checks, and a trailing * matches by prefix (for example x-consumer-*).
    Use it to silence headers a gateway or proxy adds that are not part of the API contract.
  • Added an experimental generate-spec command that infers an OpenAPI description from recorded HTTP traffic.
Patch Changes
  • Fixed the drift command's schema-consistency rule reporting false-positive "Undocumented query parameter" findings for deepObject-style query parameters.
    Traffic keys like namespace[id]=...&namespace[name]=... are now matched to the documented namespace parameter, and the reconstructed object is validated against the parameter schema.

  • Fixed an issue where the drift command's schema-consistency rule reported false-positive request findings for exchanges the server rejected with a 4xx client error.
    For example: missing required parameter, missing required body, request-body schema mismatch.
    A 4xx response means the server never accepted the request.
    Validating it against the operation's success-path contract flagged the server's own correct rejection as drift.
    Response-side validation still runs, so a documented error response whose shape differs from reality is still reported.

  • Fixed an issue where the join command silently dropped path-level x-* extensions with non-string values.

  • Updated js-yaml from 4.2.0 to 5.2.1.
    Fixed an issue where strings that look like numbers with underscores (for example '12_34') had quotation marks removed by the bundle command.
    These strings stay quoted in the output.

    Note: YAML parsing is stricter: a multi-line flow collection whose closing bracket is not indented deeper than its parent key is now a parse error.
    Parse errors are reported at the offending token instead of the end of the document.

  • Fixed an issue where the drift command's security-baseline rule reported false-positive "credential exposure over insecure HTTP transport" warnings for traffic captured against loopback hosts, for example: localhost, *.localhost, 127.0.0.0/8, [::1].
    Sandboxed recordings no longer produce transport warnings.

  • Fixed an issue where the bundle command rewrote internal $refs pointing to other $refs.
    The issue caused AsyncAPI 3 operation messages references to point to components instead of channel messages.

  • Updated @​redocly/openapi-core to v2.40.0.

v2.39.0

Compare Source

Minor Changes
  • Added support for AsyncAPI 3.1.0 descriptions.
  • Fixed the struct rule to validate the contents of AsyncAPI protocol-specific bindings.
    Added typed definitions for the sns, sqs, ibmmq, googlepubsub, pulsar and ros2 bindings.
Patch Changes

v2.38.0

Compare Source

Minor Changes
  • Added an experimental drift command that compares recorded HTTP traffic (HAR, Kong, Nginx/Apache JSON, NDJSON) against an OpenAPI description and reports undocumented endpoints, schema mismatches, and security findings.
  • Added an experimental proxy command that captures live HTTP traffic through a reverse proxy into a HAR file and optionally validates it against an OpenAPI description in real time.
Patch Changes

v2.37.0

Compare Source

Minor Changes
  • Added experimental support for linting GraphQL SDL schema files (.graphql / .gql).
Patch Changes

v2.36.0

Compare Source

Minor Changes
  • Added a Subresource Integrity (SRI) hash to the Redoc standalone script tag in the HTML produced by build-docs, ensuring the script's integrity.

v2.35.1

Compare Source

Patch Changes
  • Updated undici to the 6.27.0 version.

v2.35.0

Compare Source

Minor Changes
  • Added support for validating Arazzo 1.1.0 descriptions syntax in the lint command.
  • Added the spec-step-mutually-exclusive-fields Arazzo rule to flag steps that use more than one mutually exclusive operation field (operationId, operationPath, workflowId, channelPath, or x-operation).

v2.34.0

Compare Source

Minor Changes
  • Improved CLI install speed by bundling the CLI into a dependency-free package.

    Warning: The published package no longer ships runtime dependencies in node_modules.
    Plugins that relied on importing packages hoisted from the CLI (such as @redocly/openapi-core) must now declare those packages as their own dependencies.

v2.33.2

Compare Source

Patch Changes
  • Fixed a path traversal in the split command that might have written files outside the chosen --outDir.
  • Updated @​redocly/openapi-core to v2.33.2.

v2.33.1

Compare Source

Patch Changes

v2.33.0

Compare Source

Minor Changes
  • Added the --component-names-strategy option to the bundle command.
    This option allows a choice of how inline Schema components are named: basename (default) or title (from each schema's title field).
Patch Changes

v2.32.2

Compare Source

Patch Changes

v2.32.1

Compare Source

Patch Changes

v2.32.0

Compare Source

Minor Changes
  • Added support for junit output in the lint command.
Patch Changes

v2.31.6

Compare Source

Patch Changes
  • Fixed lint --format=checkstyle to produce a single combined XML document when multiple APIs are passed to the command, instead of concatenated per-file documents.
  • Updated redoc to v2.5.3, styled-components to v6.4.2, and react to v19.2.7.
  • Updated @​redocly/openapi-core to v2.31.6.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner October 10, 2026 21:03
@renovate
renovate Bot force-pushed the renovate/redocly-cli-2.x branch from 0fb9c12 to 3b66beb Compare October 11, 2026 23:15
@otavio
otavio merged commit eca898a into master Oct 12, 2026
51 checks passed
@otavio
otavio deleted the renovate/redocly-cli-2.x branch October 12, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant