Conversation
Contributor
Author
|
adamaltman
approved these changes
Jul 24, 2025
5 tasks
Contributor
Author
|
tatomyr
approved these changes
Jul 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@redocly/cli@2.0.0
Major Changes
specrule. Usestructinstead.apiDefinitionsoption in the Redocly config. Useapisinstead.Removed the
labelsfield within theapissection, which was associated with the legacy Redocly API Registry product.redocly.yaml.features.openapiandfeatures.mockServerconfiguration options. UseopenapiandmockServerdirectly instead.lintandstyleguideoptions in the Redocly config.Use
rules,decoratorsand other related options on the root level instead.disallowAdditionalPropertiesoption support in rules. UseallowAdditionalPropertiesinstead.themeproperty of Redocly config.All the properties of
themeare now available in the config root.path-excludes-patternsandinfo-license-urlrules.undefinedassertion. Usedefinedinstead.Reunite provides improved API management capabilities and better integration with Redocly's tooling ecosystem.
Migrated the
loginandpushcommands to work exclusively with Reunite.Removed the
preview-docscommand as part of platform modernization.Use the
previewcommand instead.referenceDocsoption, which was related to the legacy Reference docs product.assert/prefix in configurable rules. Userule/prefix instead.Update to Node.js version 20.19.0+, 22.12.0+, or 23+.
Minor Changes
Added
x-securityextension for Respect that enables secure handling of authentication in Arazzo workflows.Use this extension to:
Added environment variable support for CLI arguments using Yargs
.env()method to parse environment variables with matching prefixes.Added validation for JSON Schema format.
Extracted
nullablevalidation from thestructrule into a newnullable-type-siblingrule for OpenAPI 3.0. This allows users to disablenullablevalidation separately from other structural checks.Configured the
specruleset for OpenAPI, AsyncAPI, Arazzo, and Overlay specifications.This ruleset is designed to strictly follow the specifications.
Added the
no-duplicated-tag-namesrule to check for duplications in thetagsfield in API descriptions.Enabled
no-required-schema-properties-undefined,no-schema-type-mismatch, andno-enum-type-mismatchrules for AsyncAPI and Arazzo specifications.Adjusted the rules' severities in the
recommendedandminimalrulesets. Refer to the following table:off->warnoff->warnerrorwarnwarn->erroroff->warnImplemented automatic masking of sensitive fields (such as tokens and passwords) in response bodies to enhance security and prevent accidental exposure of secrets in logs and outputs.
Added new CLI options for the
respectcommand to improve test execution control.Patch Changes
extendssection.no-undefined-server-variablecrash when encounteringnullvalues in the server list.@redocly/respect-coreto eliminate Node.js-specific dependencies, improving cross-platform compatibility.--configfrom a different folder than the current working directory.dotenv@16.6.0injected an unintended message into the output.residencyfrom the Redocly configuration file.@redocly/openapi-core@2.0.0
Major Changes
specrule. Usestructinstead.apiDefinitionsoption in the Redocly config. Useapisinstead.Removed the
labelsfield within theapissection, which was associated with the legacy Redocly API Registry product.SpecVersion,SpecMajorVersion,OPENAPI3_METHOD, andOPENAPI3_COMPONENTenums with types for improved flexibility and type safety.Removed the unused
OasVersionenum.redocly.yaml.features.openapiandfeatures.mockServerconfiguration options. UseopenapiandmockServerdirectly instead.lintandstyleguideoptions in the Redocly config.Use
rules,decoratorsand other related options on the root level instead.disallowAdditionalPropertiesoption support in rules. UseallowAdditionalPropertiesinstead.themeproperty of Redocly config.All the properties of
themeare now available in the config root.path-excludes-patternsandinfo-license-urlrules.undefinedassertion. Usedefinedinstead.Reunite provides improved API management capabilities and better integration with Redocly's tooling ecosystem.
Migrated the
loginandpushcommands to work exclusively with Reunite.Removed the
preview-docscommand as part of platform modernization.Use the
previewcommand instead.referenceDocsoption, which was related to the legacy Reference docs product.extendsbundling and array-based plugin configuration.Fixed the extends order in the configuration.
assert/prefix in configurable rules. Userule/prefix instead.Update to Node.js version 20.19.0+, 22.12.0+, or 23+.
Removed
StyleguideConfigclass in favor of the unifiedConfigclass.Removed
getMergedConfigfunction - useConfig.forAlias()method instead to retrieve API-specific configurations.Minor Changes
Added
x-securityextension for Respect that enables secure handling of authentication in Arazzo workflows.Use this extension to:
Added validation for JSON Schema format.
Extracted
nullablevalidation from thestructrule into a newnullable-type-siblingrule for OpenAPI 3.0. This allows users to disablenullablevalidation separately from other structural checks.Configured the
specruleset for OpenAPI, AsyncAPI, Arazzo, and Overlay specifications.This ruleset is designed to strictly follow the specifications.
Added the
no-duplicated-tag-namesrule to check for duplications in thetagsfield in API descriptions.Enabled
no-required-schema-properties-undefined,no-schema-type-mismatch, andno-enum-type-mismatchrules for AsyncAPI and Arazzo specifications.Adjusted the rules' severities in the
recommendedandminimalrulesets. Refer to the following table:off->warnoff->warnerrorwarnwarn->erroroff->warnPatch Changes
ignoreLastPathSegmentoption of thepath-segment-pluralrule had no effect if the path contained only one segment, resulting in an error.extendssection.@redocly/respect-coreto eliminate Node.js-specific dependencies, improving cross-platform compatibility.residencyfrom the Redocly configuration file.constructorproperty.@redocly/respect-core@2.0.0
Major Changes
Reunite provides improved API management capabilities and better integration with Redocly's tooling ecosystem.
Migrated the
loginandpushcommands to work exclusively with Reunite.Removed the
preview-docscommand as part of platform modernization.Use the
previewcommand instead.Update to Node.js version 20.19.0+, 22.12.0+, or 23+.
Minor Changes
Added
x-securityextension for Respect that enables secure handling of authentication in Arazzo workflows.Use this extension to:
Implemented automatic masking of sensitive fields (such as tokens and passwords) in response bodies to enhance security and prevent accidental exposure of secrets in logs and outputs.
Added new CLI options for the
respectcommand to improve test execution control.Patch Changes
@redocly/respect-coreto eliminate Node.js-specific dependencies, improving cross-platform compatibility.dotenv@16.6.0injected an unintended message into the output.