See https://github.com/Redocly/redocly-cli
Last release today
26 Aug 2026
Ships on a steady schedule
a new release about every 9 days
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
728 releases · first in 2020
Release timeline
728 releases since 2020Releases
- 1.4.026 Oct 2023
Release notes
Open source →Minor Changes
- Added
recommended-strictruleset which uses the same rules asrecommendedbut with the severity level set toerrorfor all rules. - Add JSON output support to the
splitandjoincommands.
Patch Changes
- The
--host/-hargument in thepreview-docscommand is now also used by the WebSocket server for hot reloading. - Updated @redocly/openapi-core to v1.4.0.
- Added
- 1.3.019 Oct 2023
Release notes
Open source →Minor Changes
- Added the possibility to configure the linting severity level of the configuration file for all CLI commands.
Redocly CLI exits with an error if there are any issues with the configuration file, and the severity is set to
error.
Patch Changes
- Updated @redocly/openapi-core to v1.3.0.
- Added the possibility to configure the linting severity level of the configuration file for all CLI commands.
Redocly CLI exits with an error if there are any issues with the configuration file, and the severity is set to
- 1.2.118 Oct 2023
Release notes
Open source →Patch Changes
- Fixed an issue with nested refs in the
joincommand. - Fixed pattern for no-server-example.com rule to improve detection accuracy.
- Changed the report location for
patternandnotPatternassertions to be more precise. - Updated
unevaluatedItemstype definition to resolve either boolean or object schema per JSON Schema 2019-09 specification. - Updated @redocly/openapi-core to v1.2.1.
- Fixed an issue with nested refs in the
- 1.2.018 Sept 2023
Release notes
Open source →Minor Changes
- Added support for linting AsyncAPI v2 files, so that a wider range of API descriptions can use the Redocly linting workflow.
Patch Changes
- Renamed API definition to API description for consistency.
- Updated @redocly/openapi-core to v1.2.0.
- 1.1.014 Sept 2023
Release notes
Open source →Minor Changes
- Added
ignoreCaseoption fortags-alphabeticalrule. - Added
joinsupport for OAS 3.1 descriptions. - Added support for Redoc v2.1.2, and aligned the dependencies for both projects.
Patch Changes
- Fixed an issue where the
--remove-unused-componentsoption removed used components that were referenced as child objects. - Updated Redocly config validation.
- Fixed the location pointer when reporting on the
no-path-trailing-slashrule. - Updated minimum required version of Node.js to v14.19.0, NPM to v7.0.0, and removed deprecated packages.
- Updated @redocly/openapi-core to v1.1.0.
- Added
- 1.0.27 Aug 2023
- 1.0.17 Aug 2023
Release notes
Open source →Patch Changes
- Fixed the build-docs command failing when running outside the root folder.
- Updated @redocly/openapi-core to v1.0.1.
- 1.0.025 Jul 2023
Release notes
Open source →This release marks the stable version 1.0. There are no changes from previous releases.
- 1.0.0-rc.320 Jul 2023pre-release
Release notes
Open source →Fixes
- Fixed issue with publishing to Docker Hub (no code changes).
- Fixed smoke tests in Yarn and Docker environments.
Changes
- Added job for testing new version (no code changes).
- 1.0.0-rc.219 Jul 2023pre-release
- 1.0.0-rc.117 Jul 2023pre-release
- 1.0.0-beta.13110 Jul 2023pre-release
Release notes
Open source →Fixes
- Handled aborted request in the docker and removed a redundant call.
- Resolved problem with installation failing in node 14- and yarn due to unresolved peer dependencies.
Changes
- Removed the
cdnoption from thebuild-docscommand as it was not functional. - Updated Redocly config validation schemas.
- 1.0.0-beta.1306 Jul 2023pre-release
Release notes
Open source →Features
- Added new rule
component-name-uniqueto check for unique component names (kudos to @pboos 🎉). - Added docker container to GitHub container registry.
Fixes
- Fixed an issue when the
--filesoption of thepushcommand did not upload extra files. - Fixed nullable schema type validation for OAS 3.1.
- Added peer dependencies to fix an issue with styles seen in the build-docs command.
Changes
- Additional data masking for the anonymous data collection feature.
- Added fetch request timeout to prevent hanging the tool when executing commands.
- Added new rule
- 1.0.0-beta.12926 Jun 2023pre-release
Release notes
Open source →Features
- Added product metrics collection.
Fixes
- Fixed build-docs command not working in Docker.
- Other stability fixes and improvements.
Changes
- Streamlined the
pushcommand interface. The previous syntax also continues to work. - Improved Redocly configuration validation.
- Documentation and messaging corrections.
- 1.0.0-beta.1287 Jun 2023pre-release
Release notes
Open source →Features
- Resolve
$refs in preprocessors. - Create the
spec-strict-refsrule to ensure$refusage is in accordance with the OpenAPI specification.
Fixes
- Handle syntax errors from plugins.
- Apply the following regular expression,
^[a-zA-Z0-9\.\-_]+$, only to fixed fields under components.
Changes
- Change the prefix from
assert/torule/as a prefix for configurable rules. Theassert/prefix continues to work with a warning of the deprecated syntax.
- Resolve
- 1.0.0-beta.12725 May 2023pre-release
Release notes
Open source →Features
- Inform the user if a new version is available.
Fixes
- Improved messages on wrong schemas.
- Fixed components duplication and self-referencing when bundling.
- Fixed typos.
Changes
- Adjusted CLI arguments behavior for array-like options: it's required to specify the option multiple times to add multiple values. For example,
--skip-rule rule1 --skip-rule rule2instead of--skip-rule rule1 rule2.
- 1.0.0-beta.12610 May 2023pre-release
Release notes
Open source →Features
- Added new options for the
joincommand:--decorateand--preprocess.
Fixes
- Fixed a bug with OAS (
x-) specification extensions that contain an array. - Display an error if the API path refers to a folder.
- Fixed the
pushcommand not recognizing API descriptions with spaces. - Defined default
allowedValuesin theallruleset for mime-type rules.
Changes
- Display an error if apis or rules for the
lintcommand are not provided. - Stopped executing decorators and preprocessors upon the
joincommand. - Sort top-level OAS3 keys in
bundleandjoincommands.
- Added new options for the
- 1.0.0-beta.1256 Apr 2023pre-release
Release notes
Open source →Features
- Added the required-min-length-string-type-property rule that requires required properties in the API description with type
stringto have aminLength.
Fixes
- Fixed an issue with
$refin path parameters during thejoincommand. - This release also includes various internal stability fixes and improvements.
Changes
- Changed the arguments for assertion custom functions. Now as the third parameter, instead of a
locationobject, assertion custom functions include actxobject. See Custom functions.
- Added the required-min-length-string-type-property rule that requires required properties in the API description with type
- 1.0.0-beta.12413 Mar 2023pre-release
- 1.0.0-beta.1231 Feb 2023pre-release
Release notes
Open source →Fixes
- Fixed the
pushcommand when organization is provided in theredocly.yamlconfiguration file.
- Fixed the
- 1.0.0-beta.12226 Jan 2023pre-release
Release notes
Open source →Fixes
- Fixed an issue with the
pushcommand not working with a validorganizationId.
- Fixed an issue with the
- 1.0.0-beta.12125 Jan 2023pre-release
Release notes
Open source →Features
- Added custom output file option to the
joincommand. - Added an option to include webhooks to operation-4xx-response rule.
- Added a new built-in decorator info-override.
- Added support for
/as a separator which puts paths into subdirectories for each path segment with the split command.
Fixes
- Ignored case when inferring file extension from code sample
langproperty.
Changes
- Moved and renamed the
features.openapiandfeatures.mockServerinto thethemeobject with the namesopenapiandmockServer.
Before:
features.openapi: {} features.mockServer: {}After:
theme: openapi: {} mockServer: {} - Added custom output file option to the
- 1.0.0-beta.1205 Jan 2023pre-release
Release notes
Open source →Fixes
- Fixed an issue where
$refsweren't resolved inside specification extensions.
- Fixed an issue where
- 1.0.0-beta.1193 Jan 2023pre-release
Release notes
Open source →Fixes
- Fixed an issue where the
specrule showed an error forx-logoproperties in the 3.1 OpenAPI description.
- Fixed an issue where the
- 1.0.0-beta.11829 Dec 2022pre-release
Release notes
Open source →Features
- Enabled removing unused components in the config to use within the bundle command.
- Implemented special SpecExtension type
VendorExtension. - Added an error handler for the case when the API description file or a plugin does not exist.
- Added
media-type-examples-overridedecorator.
Fixes
- Fixed an issue where the rule spec-components-invalid-map-name is not applied for all examples and adjusted the logic behind the rule in general.
- 1.0.0-beta.1178 Dec 2022pre-release
Nothing published for this version
- 1.0.0-beta.1167 Dec 2022pre-release
Release notes
Open source →Fixes
- Fixed an issue with scalar assertion failing when an object is of invalid type.
Features
- Added Redoc vendor extensions to supported types.
- 1.0.0-beta.11529 Nov 2022pre-release
Release notes
Open source →Features
- Added support for
anytype in assertions.
Changes
- Renamed the Docker image on Docker Hub.
- Changed assertions errors grouping.
- Removed orphaned git submodule
public_api_docs.
- Added support for
- 1.0.0-beta.11418 Nov 2022pre-release
- 1.0.0-beta.11316 Nov 2022pre-release
Release notes
Open source →Changes
- Removed automatically adding the
recommendedconfiguration when there is a config defined without anextendslist.
Fixes
- Fixed an issue with undefined
process.cwdin browser environment. - Fixed an issue with
$anchorsin OpenAPI documents are not properly parsed. - Fixed an issue with the
specrule not reporting onnullablein Schema object that don't have atypesibling. - Added missing OAS2 and OAS3 list types.
- Don't show false media type example errors when a discriminator is used with the
allOfkeyword.
- Removed automatically adding the
- 1.0.0-beta.1122 Nov 2022pre-release
Release notes
Open source →Changes
- Changed assertions syntax and renamed to custom rules.
- Removed
info-descriptionrule. - Removed deprecated fields suggestions in Redocly config file.
- 1.0.0-beta.11110 Oct 2022pre-release
Release notes
Open source →Changes
- Renamed four type names for alignment with the OpenAPI specification.
PathsMaptoPathsResponsesMaptoResponsesEncodingsMaptoEncodingMapSecuritySchemeFlowstoOAuth2Flows
Features
- Added a new option
--keep-url-referencesto thebundlecommand that disables bundling of absolute URL$ref-s.
Fixes
- Improved location of problems produced by
security-definedrule. - Fixed an issue with
response-contains-headerbeing case-sensitive. - Fixed an issue with
path-params-definedrule that was not accounting for params defined on the operation level. - Fixed an issue with
typenot being validated if it is an array. - Fixed an issue with
apisoverrides not picking up some base values from the root config. - Fixed an issue with api not being detected from the
apislist if used as a file name.
- Renamed four type names for alignment with the OpenAPI specification.
- 1.0.0-beta.11021 Sept 2022pre-release
Release notes
Open source →Features
- Added the
build-docscommand which builds Redoc API docs into a zero-dependency HTML file. - Added the ability to upload other files and folders with the
pushcommand. - Added support for custom assertions as plugins.
Fixes
- Fixed incorrect behavior for the
no-invalid-media-type-examplesrule in combination with theallOfkeyword.
- Added the
- 1.0.0-beta.10913 Sept 2022pre-release
Release notes
Open source →Features
- Added rfc7807 problem details rule.
- Improved error messages by adding
referenced frominformation. - Added the
spec-components-invalid-map-namerule for component map names validation. - Added a new lint
--formatoption:summary.
Fixes
- Fixed an issue with multi-line strings in literal mode.
- Fixed an issue with multi-line Markdown with Windows-style new lines.
- Fixed the Header object type to require
contentorschema. - Fixed a error message for
operation-4xx-responserule. - Fixed an issue with
pathsnot being correctly handled by thejoincommand. - Fixed the
operation-security-definedrule to check the security on the root and in each operation.
Changes
- Renamed 'DefinitionRoot', 'ServerVariableMap', 'PathMap', 'CallbackMap', 'MediaTypeMap', 'ExampleMap', 'EncodingMap', 'HeaderMap', and 'LinkMap' definition node types.
- Removed the
styleguideobject from the configuration file. - Renamed the
operation-security-definedrule tosecurity-defined.
- 1.0.0-beta.10822 Aug 2022pre-release
Release notes
Open source →Changes
- Renamed
no-servers-empty-enumtono-server-variables-empty-enumand fixed incorrect docs ofno-empty-enum-servers.
Features
- Add browser support for
openapi-core. - Allow accessing
configfield in subclasses extendingBaseResolverclass. - Ability to create config (e.g.
redocly.yaml) from string or object.
Fixes
- Fixed docs for
no-server-example.com. - Incorrect schema description dereferenced.
- Renamed
- 1.0.0-beta.10716 Aug 2022pre-release
Release notes
Open source →Changes
- Add
allowAdditionalPropertiesto built-in rules and markdisallowAdditionalPropertiesas deprecated.
Fixes
- Introduced severity level
offfor assertions.
- Add
- 1.0.0-beta.10610 Aug 2022pre-release
Release notes
Open source →Fixes
- Now errors exit with return code
1.
Changes
- Renamed
lintintostyleguidein Redocly configuration. - Improved naming consistency.
- Now errors exit with return code
- 1.0.0-beta.10527 Jul 2022pre-release
Release notes
Open source →Fixes
- Fixed bug with an invalid path to the configuration file causing issues with the ignore file.
- 1.0.0-beta.10411 Jul 2022pre-release
Release notes
Open source →Fixes
- Fixed incorrect boolean filtering in
filter-outrule. - Fixed bug with tags duplication for the
joincommand. - Other internal stability fixes and improvements.
- Fixed incorrect boolean filtering in
- 1.0.0-beta.10327 Jun 2022pre-release
Release notes
Open source →Features
- Added new property
refto assertation object. - Added the
--lint-configoption for thelintcommand. Use it to validate the configuration file with appropriate severity level. - Added new built-in decorators
filter-inandfilter-out.
Fixes
- Resolved an issue with the
--run-idoption for thepushcommand. The--run-idoption renamed to the--batch-id, added the--batch-sizeoption. - Improved types for the configuration file.
- Added new property
- 1.0.0-beta.1029 Jun 2022pre-release
Release notes
Open source →Features
- The
joincommand supports a new option--without-x-tag-groups. Use it to skip the creation and population ofx-tagGroups. - Added new property
requireAnyto assertation object. - Updated types. Added
showSecuritySchemeTypeanddisableTryItRequestUrlEncodingconfiguration options.
Fixes
- Fixed issue with
additionalItemsarray type.
- The
- 1.0.0-beta.1019 Jun 2022pre-release
- 1.0.0-beta.10027 May 2022pre-release
Release notes
Open source →Fixes
- Fixed types for
CallbackandNamedCallbacks. - Fixed an issue with the
scalar-property-missing-examplebuilt-in rule that didn't work on examples containing falsy values.
- Fixed types for
- 1.0.0-beta.9926 May 2022pre-release
Release notes
Open source →Features
- Added three new built-in rules:
response-contains-header,response-contains-property,scalar-property-missing-example. - The
bundlecommand supports a new option--keep-url-references. Use it to prevent Redocly CLI from resolving external URL references during bundling. - Added
addinionalItems,minContainsandmaxContainsarray types.
Fixes
- Resolved an issue with escaping symbols in code sample language names (the
langvalue in thex-codeSamplesspecification extension).
- Added three new built-in rules:
- 1.0.0-beta.9818 May 2022pre-release
Release notes
Open source →Features
- Updated types. Added
hideTryItPanel,schemaDefinitionsTagNameconfiguration options andx-hideTryItPanel,x-tagsOpenAPI specification extensions.
- Updated types. Added
- 1.0.0-beta.9711 May 2022pre-release
Release notes
Open source →Features
- Added the
--publicoption to thepushcommand. With this option, you can upload OpenAPI descriptions and make them publicly accessible. - Changed assertions syntax to this pattern:
assert/{assert name}
Fixes
- Fixed an issue with
process.*in core package that caused crashes in client-side builds. - Fixed
preview-docshot reload.
- Added the
- 1.0.0-beta.966 May 2022pre-release
Release notes
Open source →Technical release for changing the package name from
@redocly/openapi-clito@redocly/cli. - 1.0.0-beta.955 May 2022pre-release
Release notes
Open source →{% admonition type="warning" name="Product name change" %} The product name has changed from OpenAPI CLI to Redocly CLI.
This change is reflected in all Redocly product documentation, in the npm package name (more on that in the "Deprecated" section), and in the official project GitHub repository.
The change also affects the CLI commands. The legacy name
openapiis supported for now, but we strongly recommend you use the new nameredocly. (To illustrate, if you previously usedopenapi lint, now you should useredocly lint).If you encounter any issues and suspect they may be related to this change, let us know by reporting an issue.
{% /admonition %}
Features
- The
lint.extendssection in the Redocly configuration file supports file paths and URLs as values. This means you can define your own lint rulesets in local or remote files, and list those files in theextendssection. The following example shows how to do it:
extends: - recommended - ./path/to/local/lint-ruleset.yaml - https://url-to-remote/lint-ruleset.yamlThe contents of those referenced files must correspond to the standard format used in the
rulesobject to configure the rules. Here is an examplelint-ruleset.yamlfile referenced above:rules: tags-alphabetical: error- The
lintcommand supports a new output formatting option calledcodeclimatethat you can use with the--formatargument.
Fixes
- Fixed an issue with resolvable scalar values not working in assertions.
Deprecated
- Deprecated the
@redocly/openapi-clinpm package. From this version forward, use@redocly/cliinstead.
- The
- 1.0.0-beta.9413 Apr 2022pre-release
Release notes
Open source →Features
- The
lintcommand supports usingunevaluatedPropertiesas boolean in OAS 3.1.x and no longer reports this as an error. - Internal changes.
- The
- 1.0.0-beta.935 Apr 2022pre-release
- 1.0.0-beta.924 Apr 2022pre-release
Release notes
Open source →Features
- Introduced configurable rules - a new, powerful lint feature, which helps you enforce API design standards without coding (named
assertionsat the time of the release). - The
pushcommand supports a new--skip-decoratoroption.
Fixes
- Resolved an issue with
openapi preview-docsfailing during authorization.
- Introduced configurable rules - a new, powerful lint feature, which helps you enforce API design standards without coding (named
- 1.0.0-beta.9129 Mar 2022pre-release
Nothing published for this version
- 1.0.0-beta.9024 Mar 2022pre-release
Release notes
Open source →Fixes
- Updated types to support validation of the Redocly configuration file according to the new file structure.
- 1.0.0-beta.8921 Mar 2022pre-release
Release notes
Open source →Features
- Internal changes of
redocly.yamlconfig structure - add new mock server options toredocly.yamlschema.
Fixes
- Fixed crash when there's an empty
redocly.yamlfile.
- Internal changes of
- 1.0.0-beta.8816 Mar 2022pre-release
Release notes
Open source →Features
- Internal changes of
redocly.yamlconfig structure.
Fixes
- Fixed an issue with the
lintcommand highlighting the entire file whenserversare missing in OAS3. Now it highlights only theopenapifield, indicating an incorrect OpenAPI description. - Fixed an issue with the
lintcommand highlighting all parent values when one of the child fields has an empty value instead of highlighting the field itself.
- Internal changes of
- 1.0.0-beta.8710 Mar 2022pre-release
Release notes
Open source →Fixes
- Fixed an issue with
process.envassignment that caused crashes in client-side builds. - Fixed an issue with
no-path-parameterrule reporting false-positives.
- Fixed an issue with
- 1.0.0-beta.869 Mar 2022pre-release
Release notes
Open source →Features
- Allowed to name the config file either
.redocly.yaml(deprecated) orredocly.yaml.
Fixes
- The
specrule triggers an error when a parameter is missingschemaorcontentfields.
- Allowed to name the config file either
- 1.0.0-beta.852 Mar 2022pre-release
- 1.0.0-beta.8423 Feb 2022pre-release
Release notes
Open source →Fixes
- Fixed an issue with the
lintcommand crashing when theservers.urlfield is empty in the OpenAPI description. - Fixed an issue with the
lintcommand crashing when anenumvalue is invalid.
- Fixed an issue with the
- 1.0.0-beta.8322 Feb 2022pre-release