Commit ec2a409
chore(deps): update dependency @redocly/cli to v2 (#1723)
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [@redocly/cli](https://redirect.github.com/Redocly/redocly-cli) |
[`^1.27.1` ->
`^2.0.0`](https://renovatebot.com/diffs/npm/@redocly%2fcli/1.34.5/2.5.0)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>Redocly/redocly-cli (@​redocly/cli)</summary>
###
[`v2.5.0`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.5.0)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.4.0...@redocly/cli@2.5.0)
##### Minor Changes
- Added response size to the `Respect` terminal and JSON file outputs.
##### Patch Changes
- Updated
[@​redocly/respect-core](https://redirect.github.com/redocly/respect-core)
to v2.5.0.
###
[`v2.4.0`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.4.0)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.3.1...@redocly/cli@2.4.0)
##### Minor Changes
- Added the `no-secrets-masking` option to the respect command, allowing
raw (unmasked) output to be generated.
##### Patch Changes
- Updated
[@​redocly/respect-core](https://redirect.github.com/redocly/respect-core)
to v2.4.0.
###
[`v2.3.1`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.3.1)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.3.0...@redocly/cli@2.3.1)
##### Patch Changes
- Fixed an issue where JSONPath-based success criteria did not support
property names with hyphens in `Respect`.
- Updated
[@​redocly/openapi-core](https://redirect.github.com/redocly/openapi-core)
to v2.3.1.
###
[`v2.3.0`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.3.0)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.2.3...@redocly/cli@2.3.0)
##### Minor Changes
- Added basic support for **OpenAPI 3.2** specification.
##### Patch Changes
- Updated
[@​redocly/openapi-core](https://redirect.github.com/redocly/openapi-core)
to v2.3.0.
###
[`v2.2.3`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/openapi-core%402.2.3)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.2.2...@redocly/cli@2.2.3)
##### Patch Changes
- Fixed an issue where the Respect workflow separator did not render
correctly in GitHub CI environments.
###
[`v2.2.2`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/openapi-core%402.2.2)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.2.1...@redocly/cli@2.2.2)
##### Patch Changes
- Resolved an issue with CLI dependencies to ensure proper package
resolution.
###
[`v2.2.1`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.2.1)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.2.0...@redocly/cli@2.2.1)
##### Patch Changes
- Fixed an issue where the `remove-unused-components` decorator was not
functioning when configured at the API level.
- Updated
[@​redocly/openapi-core](https://redirect.github.com/redocly/openapi-core)
to v2.2.1.
###
[`v2.2.0`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.2.0)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.1.5...@redocly/cli@2.2.0)
##### Minor Changes
- Adjusted the calculation of Respect's workflow-level `totalTimeMs` to
sum the network request times of all steps.
##### Patch Changes
- Updated
[@​redocly/respect-core](https://redirect.github.com/redocly/respect-core)
to v2.2.0.
###
[`v2.1.5`](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/openapi-core@2.1.4...@redocly/openapi-core@2.1.5)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.1.4...@redocly/cli@2.1.5)
###
[`v2.1.4`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.1.4)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.1.3...@redocly/cli@2.1.4)
##### Patch Changes
- Fixed undefined variable used in the `remove-unused-components`
decorator, which prevented an invalid reference error from being
reported.
- Updated
[@​redocly/openapi-core](https://redirect.github.com/redocly/openapi-core)
to v2.1.4.
###
[`v2.1.3`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.1.3)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.1.2...@redocly/cli@2.1.3)
##### Patch Changes
- Updated authentication logic to get the residency from
`scorecard.fromProjectUrl`.
- Updated
[@​redocly/openapi-core](https://redirect.github.com/redocly/openapi-core)
to v2.1.3.
###
[`v2.1.2`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.1.2)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.1.1...@redocly/cli@2.1.2)
##### Patch Changes
- Updated
[@​redocly/openapi-core](https://redirect.github.com/redocly/openapi-core)
to v2.1.2.
###
[`v2.1.1`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.1.1)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.1.0...@redocly/cli@2.1.1)
##### Patch Changes
- Updated
[@​redocly/openapi-core](https://redirect.github.com/redocly/openapi-core)
to v2.1.1.
###
[`v2.1.0`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.1.0)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.0.8...@redocly/cli@2.1.0)
##### Minor Changes
- Updated authentication logic to ensure consistency with the VS Code
extension's behavior.
##### Patch Changes
- Improved error reporting and handling for Digest authentication
failures in Respect. Now users receive clearer feedback when required
headers or status codes are missing.
- Fixed `push` and `push-status` commands mistakenly requiring the
`--max-execution-time` option.
- Fixed an issue where wildcard file patterns were not recognized in the
Docker image.
- Updated
[@​redocly/respect-core](https://redirect.github.com/redocly/respect-core)
to v2.1.0.
###
[`v2.0.8`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.0.8)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.0.7...@redocly/cli@2.0.8)
##### Patch Changes
- Updated
[@​redocly/openapi-core](https://redirect.github.com/redocly/openapi-core)
to v2.0.8.
###
[`v2.0.7`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.0.7)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.0.6...@redocly/cli@2.0.7)
##### Patch Changes
- Improved Respect verbose logs to display response headers.
- Updated
[@​redocly/respect-core](https://redirect.github.com/redocly/respect-core)
to v2.0.7.
###
[`v2.0.6`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.0.6)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.0.5...@redocly/cli@2.0.6)
##### Patch Changes
- Fixed an issue where files specified in decorators parameters were not
always resolved correctly.
The resolution logic now properly locates the specified files relative
to the config file for `info-description-override`,
`media-type-examples-override`, `operation-description-override`, and
`tag-description-override` decorators.
- Improved messaging to clarify when API alias configuration is
implicitly applied during linting or bundling by filename.
- Updated the `retryAfter` property in Respect to use seconds (instead
of milliseconds) for consistency with the Arazzo specification.
- Updated
[@​redocly/openapi-core](https://redirect.github.com/redocly/openapi-core)
to v2.0.6.
###
[`v2.0.5`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.0.5)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.0.4...@redocly/cli@2.0.5)
##### Patch Changes
- Fixed an issue where the root config was not properly merged with the
`apis` config.
- Resolved an issue that caused configuration parsing to fail when the
config value was set to `null`.
- Improved join command server handling for specifications with
differing servers.
- Updated
[@​redocly/respect-core](https://redirect.github.com/redocly/respect-core)
to v2.0.5.
###
[`v2.0.4`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.0.4)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.0.3...@redocly/cli@2.0.4)
##### Patch Changes
- Fixed an issue where the `openapi` config options were ignored when
running the `build-docs` command.
- Ensure `externalRefResolver` option is correctly passed to nested
workflow contexts.
- Updated
[@​redocly/respect-core](https://redirect.github.com/redocly/respect-core)
to v2.0.4.
###
[`v2.0.3`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/cli%402.0.3)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.0.2...@redocly/cli@2.0.3)
##### Patch Changes
- Fixed type definitions for Respect `input` and `server` options to
support both string and string\[] values.
- Fixed binary response data in `Respect` results by properly encoding
it as base64.
- Updated
[@​redocly/respect-core](https://redirect.github.com/redocly/respect-core)
to v2.0.3.
###
[`v2.0.2`](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/openapi-core@2.0.1...@redocly/openapi-core@2.0.2)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.0.1...@redocly/cli@2.0.2)
###
[`v2.0.1`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/openapi-core%402.0.1)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@2.0.0...@redocly/cli@2.0.1)
##### Patch Changes
- Fixed an issue where the `no-required-schema-properties-undefined`
rule incorrectly resolved nested `$ref`s relative to the file in which
they were defined.
###
[`v2.0.0`](https://redirect.github.com/Redocly/redocly-cli/releases/tag/%40redocly/openapi-core%402.0.0)
[Compare
Source](https://redirect.github.com/Redocly/redocly-cli/compare/@redocly/cli@1.34.5...@redocly/cli@2.0.0)
##### Major Changes
- Removed backward compatibility for the `spec` rule. Use `struct`
instead.
- Removed support for the deprecated `apiDefinitions` option in the
Redocly config. Use `apis` instead.
Removed the `labels` field within the `apis` section, which was
associated with the legacy Redocly API Registry product.
- Replaced the `SpecVersion`, `SpecMajorVersion`, `OPENAPI3_METHOD`, and
`OPENAPI3_COMPONENT` enums with types for improved flexibility and type
safety.
Removed the unused `OasVersion` enum.
- Removed support for default config file names other than
`redocly.yaml`.
- Removed support for the deprecated `features.openapi` and
`features.mockServer` configuration options. Use `openapi` and
`mockServer` directly instead.
- Removed backward compatibility for the deprecated `lint` and
`styleguide` options in the Redocly config.
Use `rules`, `decorators` and other related options on the root level
instead.
- Removed the deprecated `disallowAdditionalProperties` option support
in rules. Use `allowAdditionalProperties` instead.
- Removed support for the deprecated `theme` property of Redocly config.
All the properties of `theme` are now available in the config root.
- Removed the deprecated `path-excludes-patterns` and `info-license-url`
rules.
- Removed the deprecated `undefined` assertion. Use `defined` instead.
- 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 `login` and `push` commands to work exclusively with
Reunite.
Removed the `preview-docs` command as part of platform modernization.
Use the `preview` command instead.
- Removed support for the deprecated `referenceDocs` option, which was
related to the legacy Reference docs product.
- Added support for `extends` bundling and array-based plugin
configuration.
Fixed the extends order in the configuration.
- Removed support for the deprecated `assert/` prefix in configurable
rules. Use `rule/` prefix instead.
- 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+.
- Streamlined Redocly configuration interfaces for improved developer
experience.
Removed `StyleguideConfig` class in favor of the unified `Config` class.
Removed `getMergedConfig` function - use `Config.forAlias()` method
instead to retrieve API-specific configurations.
##### Minor Changes
- Added `x-security` extension for Respect that enables secure handling
of authentication in Arazzo workflows.
Use this extension to:
- Define security schemes at the step level using either predefined
schemes or inline definitions
- Pass values of secrets (passwords, tokens, API keys)
- Support multiple authentication types including API Key (query,
header, or cookie), Basic Authentication, Bearer Token, Digest
Authentication, OAuth2, and OpenID Connect
- Automatically transform security parameters into appropriate HTTP
headers or query parameters
- Added validation for JSON Schema format.
- Extracted `nullable` validation from the `struct` rule into a new
`nullable-type-sibling` rule for OpenAPI 3.0. This allows users to
disable `nullable` validation separately from other structural checks.
- Configured the `spec` ruleset for OpenAPI, AsyncAPI, Arazzo, and
Overlay specifications.
This ruleset is designed to strictly follow the specifications.
- Added the `no-duplicated-tag-names` rule to check for duplications in
the `tags` field in API descriptions.
- Enabled `no-required-schema-properties-undefined`,
`no-schema-type-mismatch`, and `no-enum-type-mismatch` rules for
**AsyncAPI** and **Arazzo** specifications.
Adjusted the rules' severities in the `recommended` and `minimal`
rulesets. Refer to the following table:
| Rule \ Ruleset | recommended | minimal |
| --------------------------------------- | ----------------- |
--------------- |
| no-required-schema-properties-undefined | `off` -> `warn` | `off` ->
`warn` |
| no-enum-type-mismatch | `error` | `warn` |
| no-schema-type-mismatch | `warn` -> `error` | `off` -> `warn` |
##### Patch Changes
- Improved performance of configuration parsing.
- Updated
[@​redocly/config](https://redirect.github.com/redocly/config) to
v0.26.4.
- Updated
[@​redocly/config](https://redirect.github.com/redocly/config) to
v0.24.3.
- Fixed an issue where the `ignoreLastPathSegment` option of the
`path-segment-plural` rule had no effect if the path contained only one
segment, resulting in an error.
- Fixed plugins validation in config files referenced in the `extends`
section.
- Refactored `@redocly/respect-core` to eliminate Node.js-specific
dependencies, improving cross-platform compatibility.
- Updated
[@​redocly/config](https://redirect.github.com/redocly/config) to
v0.24.1.
- Fixed an issue where the config resolver grouped assertions instead of
returning unchanged rules.
- Fixed Redocly CLI to correctly read `residency` from the Redocly
configuration file.
- Fixed incorrect validation logic for the `constructor` property.
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekday" (UTC), 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/apify/apify-docs).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS40MC4wIiwidXBkYXRlZEluVmVyIjoiNDEuMTQzLjEiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jindřich Bär <jindrichbar@gmail.com>1 parent fb821d3 commit ec2a409
File tree
8 files changed
+281
-387
lines changed- apify-api/plugins
- decorators
8 files changed
+281
-387
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
23 | 22 | | |
24 | 23 | | |
25 | | - | |
| 24 | + | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
0 commit comments