Commit 4defdcf
authored
Upgrade: [dependabot] - bump @redocly/cli from 1.34.5 to 2.0.0 (#1964)
Bumps [@redocly/cli](https://github.com/Redocly/redocly-cli) from 1.34.5
to 2.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Redocly/redocly-cli/releases"><code>@redocly/cli</code>'s
releases</a>.</em></p>
<blockquote>
<h2><code>@redocly/cli</code><a
href="https://github.com/2"><code>@2</code></a>.0.0</h2>
<h3>Major Changes</h3>
<ul>
<li>Removed backward compatibility for the <code>spec</code> rule. Use
<code>struct</code> instead.</li>
<li>Removed support for the deprecated <code>apiDefinitions</code>
option in the Redocly config. Use <code>apis</code> instead.
Removed the <code>labels</code> field within the <code>apis</code>
section, which was associated with the legacy Redocly API Registry
product.</li>
<li>Removed support for default config file names other than
<code>redocly.yaml</code>.</li>
<li>Removed support for the deprecated <code>features.openapi</code> and
<code>features.mockServer</code> configuration options. Use
<code>openapi</code> and <code>mockServer</code> directly instead.</li>
<li>Removed backward compatibility for the deprecated <code>lint</code>
and <code>styleguide</code> options in the Redocly config.
Use <code>rules</code>, <code>decorators</code> and other related
options on the root level instead.</li>
<li>Removed the deprecated <code>disallowAdditionalProperties</code>
option support in rules. Use <code>allowAdditionalProperties</code>
instead.</li>
<li>Removed support for the deprecated <code>theme</code> property of
Redocly config.
All the properties of <code>theme</code> are now available in the config
root.</li>
<li>Removed the deprecated <code>path-excludes-patterns</code> and
<code>info-license-url</code> rules.</li>
<li>Removed the deprecated <code>undefined</code> assertion. Use
<code>defined</code> instead.</li>
<li>Removed support for the legacy Redocly API Registry in favor of the
new Reunite platform.
Reunite provides improved API management capabilities and better
integration with Redocly's tooling ecosystem.
Migrated the <code>login</code> and <code>push</code> commands to work
exclusively with Reunite.
Removed the <code>preview-docs</code> command as part of platform
modernization.
Use the <code>preview</code> command instead.</li>
<li>Removed support for the deprecated <code>referenceDocs</code>
option, which was related to the legacy Reference docs product.</li>
<li>Removed support for the deprecated <code>assert/</code> prefix in
configurable rules. Use <code>rule/</code> prefix instead.</li>
<li>Migrated the codebase to ES Modules from CommonJS, bringing improved
code organization and better support for modern JavaScript features.
Update to Node.js version 20.19.0+, 22.12.0+, or 23+.</li>
</ul>
<h3>Minor Changes</h3>
<ul>
<li>
<p>Added <code>x-security</code> extension for Respect that enables
secure handling of authentication in Arazzo workflows.
Use this extension to:</p>
<ul>
<li>Define security schemes at the step level using either predefined
schemes or inline definitions</li>
<li>Pass values of secrets (passwords, tokens, API keys)</li>
<li>Support multiple authentication types including API Key (query,
header, or cookie), Basic Authentication, Bearer Token, Digest
Authentication, OAuth2, and OpenID Connect</li>
<li>Automatically transform security parameters into appropriate HTTP
headers or query parameters</li>
</ul>
</li>
<li>
<p>Added environment variable support for CLI arguments using Yargs
<code>.env()</code> method to parse environment variables with matching
prefixes.</p>
</li>
<li>
<p>Added validation for JSON Schema format.</p>
</li>
<li>
<p>Extracted <code>nullable</code> validation from the
<code>struct</code> rule into a new <code>nullable-type-sibling</code>
rule for OpenAPI 3.0. This allows users to disable <code>nullable</code>
validation separately from other structural checks.</p>
</li>
<li>
<p>Configured the <code>spec</code> ruleset for OpenAPI, AsyncAPI,
Arazzo, and Overlay specifications.
This ruleset is designed to strictly follow the specifications.</p>
</li>
<li>
<p>Added the <code>no-duplicated-tag-names</code> rule to check for
duplications in the <code>tags</code> field in API descriptions.</p>
</li>
<li>
<p>Enabled <code>no-required-schema-properties-undefined</code>,
<code>no-schema-type-mismatch</code>, and
<code>no-enum-type-mismatch</code> rules for <strong>AsyncAPI</strong>
and <strong>Arazzo</strong> specifications.
Adjusted the rules' severities in the <code>recommended</code> and
<code>minimal</code> rulesets. Refer to the following table:</p>
<p>| Rule \ Ruleset | recommended | minimal |</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Redocly/redocly-cli/commit/f1c8186fc9cf6224ce60b77c0a99fa2469674075"><code>f1c8186</code></a>
chore: 🔖 release new versions (<a
href="https://redirect.github.com/Redocly/redocly-cli/issues/2219">#2219</a>)</li>
<li><a
href="https://github.com/Redocly/redocly-cli/commit/d2d6f17fc972a75532c7bcd2cc71818bbc863761"><code>d2d6f17</code></a>
chore: exit the changeset pre mode (<a
href="https://redirect.github.com/Redocly/redocly-cli/issues/2217">#2217</a>)</li>
<li><a
href="https://github.com/Redocly/redocly-cli/commit/40f1974f6bfcd701b67c2b66d200d403d7f45ab5"><code>40f1974</code></a>
chore: 🔖 release new versions (next) (<a
href="https://redirect.github.com/Redocly/redocly-cli/issues/2216">#2216</a>)</li>
<li><a
href="https://github.com/Redocly/redocly-cli/commit/ababf85ab326eec0f0a450c114c470aae44d55ef"><code>ababf85</code></a>
chore!: remove the deprecated theme config property (<a
href="https://redirect.github.com/Redocly/redocly-cli/issues/2215">#2215</a>)</li>
<li><a
href="https://github.com/Redocly/redocly-cli/commit/999ff8992407b3c28b97c1d474e8298abe52edf3"><code>999ff89</code></a>
chore: 🔖 release new versions (next) (<a
href="https://redirect.github.com/Redocly/redocly-cli/issues/2212">#2212</a>)</li>
<li><a
href="https://github.com/Redocly/redocly-cli/commit/2a71a4eac4a8edfc59fc5b9bcec25cfc54c123f0"><code>2a71a4e</code></a>
fix: fix plugins in resolvedConfig (<a
href="https://redirect.github.com/Redocly/redocly-cli/issues/2213">#2213</a>)</li>
<li><a
href="https://github.com/Redocly/redocly-cli/commit/b097294a60d661241a63799265e3152e5df0c0ed"><code>b097294</code></a>
refactor!: replace enums with types (<a
href="https://redirect.github.com/Redocly/redocly-cli/issues/2208">#2208</a>)</li>
<li><a
href="https://github.com/Redocly/redocly-cli/commit/e4016d3a51edf48b07175be7517c6ea804d1490e"><code>e4016d3</code></a>
chore: remove duplications (<a
href="https://redirect.github.com/Redocly/redocly-cli/issues/2207">#2207</a>)</li>
<li><a
href="https://github.com/Redocly/redocly-cli/commit/1716a8ec305d2d102e00f7e6238026de680f9c24"><code>1716a8e</code></a>
feat: remove node dependencies from respect-core (<a
href="https://redirect.github.com/Redocly/redocly-cli/issues/2159">#2159</a>)</li>
<li><a
href="https://github.com/Redocly/redocly-cli/commit/dd1ea549411fa7f8893c268e065ce6430fd36ea4"><code>dd1ea54</code></a>
tests: speed up test by removing slow external call (<a
href="https://redirect.github.com/Redocly/redocly-cli/issues/2186">#2186</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/Redocly/redocly-cli/compare/@redocly/cli@1.34.5...@redocly/cli@2.0.0">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 86bf16a commit 4defdcf
2 files changed
Lines changed: 441 additions & 323 deletions
0 commit comments