- Switched to using native
fetchAPI instead ofnode-fetchdependency, improving performance and reducing bundle size.
- Updated @redocly/openapi-core to v1.28.0.
- Updated the
sideNavStyleconfiguration schema to include thepath-onlyoption. - Updated @redocly/openapi-core to v1.27.2.
- Fixed an issue where running the
previewcommand failed because one of its dependencies could not be resolved. The issue occurred when Realm was not installed in thenode_modulesof the project. - Updated @redocly/openapi-core to v1.27.1.
- Added the ability to override default problem messages for built-in rules.
- Fixed an issue where
apis' root inredocly.yamlwas not resolved properly when the value ofrootwas a URL. - Updated the Redocly CLI command
redocly build-docsto usestdoutinstead ofstderrfor simple logs. - Updated @redocly/openapi-core to v1.27.0.
- Fixed an issue where an API alias's root path might be resolved incorrectly for configuration files located outside the root folder.
- Updated @redocly/openapi-core to v1.26.1.
- Introduced the
structrule and deprecated thespecrule. Added thespecruleset, which enforces compliance with the specifications.
- Fixed an issue where the CLI would fail to run on Windows due to a breaking change in the Node.js API.
- Fixed an issue where
joinwould throw an error when a glob pattern was provided. - Updated
sourceDescriptionsto enforce a valid type field, ensuring compliance with the Arazzo specification. - Updated @redocly/openapi-core to v1.26.0.
- Clarified usage of the
--outputoption in thebundlecommand. - Updated @redocly/openapi-core to v1.25.15.
- Resolved an issue where overrides for the severity of configurable rules were ignored.
- Updated @redocly/openapi-core to v1.25.14.
- Added the possibility to skip configurable rules using the
--skip-ruleoption. - Updated @redocly/openapi-core to v1.25.13.
- Fixed an issue where valid Redocly tokens were not recognized.
- Updated @redocly/openapi-core to v1.25.12.
- Fixed an issue with the
remove-x-internaldecorator where bundling API descriptions containing discriminators could fail when using Node.js v17 or earlier. - Fixed API descriptions bundling. Previously, schemas containing nulls in examples were causing failures.
- Updated @redocly/openapi-core to v1.25.11.
- Fixed
component-name-uniqueproblems to include correct location. - Fixed the
remove-x-internaldecorator, which was not removing the reference in the corresponding discriminator mapping while removing the original$ref. - Updated @redocly/openapi-core to v1.25.10.
- Updated @redocly/openapi-core to v1.25.9.
- Added the
REDOCLY_SUPPRESS_UPDATE_NOTICEenvironment variable so that users can skip version updates. - Fixed bundling with the
--dereferencedoption. Previously, references to external files were not substituted with references to components, causing them to become invalid. - Fixed an issue where using
externalValueas a property name was causing the API description validation process to fail. - Updated @redocly/openapi-core to v1.25.8.
- Updated redoc to v2.2.0.
- Removed the support of the
x-inheritextension for Arazzo description files. - Updated @redocly/openapi-core to v1.25.7.
- Changed the
x-operationextension in Arazzo, enabling users to make requests with this extension without an API description file. - Removed the support of the
x-parametersextension for Arazzo description files. - Updated @redocly/openapi-core to v1.25.6.
- Fixed an issue where the bundle command did not resolve links in
externalValue. - Fixed an issue where the plugins in external NPM packages could not be resolved if the CLI package was installed globally.
- Updated @redocly/openapi-core to v1.25.5.
- Added a warning message to the
pushandpush-statuscommands to notify users about upcoming or ongoing resource deprecation. - Updated @redocly/openapi-core to v1.25.4.
- Updated @redocly/openapi-core to v1.25.3.
- Fixed
camelCaseassertion for single-letter values. - Updated @redocly/openapi-core to v1.25.2.
- Added additional checks to
criteria-uniqueArazzo rule. - Updated @redocly/openapi-core to v1.25.1.
- Added a cache for resolved plugins to ensure that plugins are only instantiated once during a single execution.
- Updated @redocly/openapi-core to v1.25.0.
- Added Spot and Arazzo rules:
no-criteria-xpath,no-actions-type-end,criteria-unique.
- Fixed an issue where custom rules were not applied to Arazzo descriptions.
- Updated @redocly/openapi-core to v1.24.0.
- Fixed a bug where bundling multiple API description files specified as CLI arguments, along with the
--outputoption, stored the result in a single file instead of a folder. - Updated @redocly/openapi-core to v1.23.1.
- Added support for the
outputoption in the per-API configuration so that the destination file can be specified in configuration.
- Fixed the absolute path for importing plugins in Windows.
- Added the ability to run the
ejectcommand without specifying components, which displays a selectable list of all available components. - Updated @redocly/openapi-core to v1.23.0.
- Updated @redocly/openapi-core to v1.22.1.
- Updated the Arazzo validation types for workflows input, parameter objects, and criteria to match the specification.
- Added Arazzo rulesets so that users can customize their linting rules for this format.
- Updated @redocly/openapi-core to v1.22.0.
- Updated @redocly/openapi-core to v1.21.1.
- Added the
ejectandtranslatecommands for use with the new Reunite-hosted product family.
- Updated @redocly/openapi-core to v1.21.0.
- Get more helpful error messages when there's a problem importing a plugin.
- Updated @redocly/openapi-core to v1.20.1.
- Added support for ESM plugins and importing of plugins directly from npm package:
@vendor/package/plugin.jsinstead of./node_modules/@vendor/package/plugin.js. - Added
info-license-strictrule as a replacement of theinfo-license-urlto support the OpenAPI 3.1 changes to allow identifier or URL license details. - Changed plugins format to export a function instead of an object for compatibility with other Redocly products. The backwards compatibility with an old format of plugins is maintained.
- Added support for webhooks in stats and fixed a crash that occurred when tags were not included in webhooks.
- Updated @redocly/openapi-core to v1.20.0.
- Added support for AsyncAPI 3.0 description linting.
- Fixed an issue where
patternPropertiesincorrectly caused linting errors due to a missingPatternPropertiesnode. - Updated @redocly/openapi-core to v1.19.0.
- Allowed the
theme.openapiconfiguration option to accept settings specific to Redoc 2.x and earlier. - Fixed an issue in the OpenAPI
specrule wheredependentSchemaswas parsed as an array. It is now correctly parsed as a map. - Fixed bundling of
$refsinsidepatternProperties. - Updated AsyncAPI v2 typings to abide by JSON Schema draft-07 specification.
- Updated @redocly/openapi-core to v1.18.1.
- Added support for Arazzo description linting.
- Removed
additionalItemsfrom OAS 3.0.x typings. This keyword is not supported by the specification. - Updated @redocly/openapi-core to v1.18.0.
- Added JSON Schema draft 2019-09+ validation keyword -
dependentRequired. - Updated @redocly/openapi-core to v1.17.1.
- Changed resolution process to include extendedTypes and plugins before linting.
- Added support for the
contentSchemakeyword to parse as a schema instance. - Replace path items emoji with 🔀 so the width is consistent.
- Updated @redocly/openapi-core to v1.17.0.
- Users can run the CLI tool behind a proxy by using
HTTP_PROXYorHTTPS_PROXYenvironment variables to configure the proxy settings.
- Updated @redocly/openapi-core to v1.16.0.
- Made
redocly.yamlvalidation consistent with the general Redocly config.
- Updated Redoc to v2.1.5.
- Fixed
no-invalid-media-type-examples,no-invalid-parameter-examples, andno-invalid-schema-examplesrules which allowed falsy example values to pass for any schema. - Updated @redocly/openapi-core to v1.15.0.
- Added the ability to exclude some operations or entire paths from the
security-definedrule.
- Improved error messages.
- Updated @redocly/openapi-core to v1.14.0.
- Added support for the linting command to output markdown format.
- Updated @redocly/openapi-core to v1.13.0.
- Updated @redocly/openapi-core to v1.12.2.
- Updated @redocly/openapi-core to v1.12.1.
- Added return values for the
pushandpush-statuscommands.
- Fixed handling of wildcards on Windows (#1521).
- Updated @redocly/openapi-core to v1.12.0.
- Removed additional operations from the
joincommand; uselintand/orbundlefor operations such aslintanddecorate. - Removed lint support from the bundle command to support a wider range of use cases. Users should update to run lint and bundle separately.
- Added support for a
github-actionsoutput format for thelintcommand to annotate reported problems on files when used in a GitHub Actions workflow.
- Fixed
no-invalid-media-type-examplesruleexternalValueexample validation. - Updated @redocly/openapi-core to v1.11.0.
- Added
check-configcommand to validate a Redocly configuration file. - Updated @redocly/openapi-core to v1.10.6.
- Updated license text for date and organization naming accuracy.
- Updated @redocly/openapi-core to v1.10.5.
- Fixed a problem with the
previewcommand crashing on Windows by adding operating system detection for the correctnpxexecutable to use. - Updated @redocly/openapi-core to v1.10.4.
- Reverted "Users can run the CLI tool behind a proxy by using HTTP_PROXY or HTTPS_PROXY environment variables to configure the proxy settings" temporary.
- Updated @redocly/openapi-core to v1.10.3.
- Users can run the CLI tool behind a proxy by using
HTTP_PROXYorHTTPS_PROXYenvironment variables to configure the proxy settings. - Updated @redocly/openapi-core to v1.10.2.
- Updated @redocly/openapi-core to v1.10.1.
- Users can run the CLI tool behind a proxy by using
HTTP_PROXYorHTTPS_PROXYenvironment variables to configure the proxy settings.
- Added inflection to the
joincommand so that--prefix-components-with-info-propreplaces spaces with underscores to create less confusing $refs. - Updated @redocly/openapi-core to v1.10.0.
- Adds support for using logical AND for the security schema so that the
joincommand generates the correct schema. - Fixed a bug with resolving $refs to file names that contain the hash symbol.
- Fixed a problem where the
joincommand did not process schemas containingnullvalues when the--prefix-components-with-info-propoption was used.' - Updated @redocly/openapi-core to v1.9.1.
-
- Removed descriptions adding for x-tagGroups for the
joincommand. Descriptions in x-tagGroups are not supported and cause errors on linting. - Updated
info.titleto be used as a name in x-tagGroups instead of a file name for thejoincommand, so you can now join files with the same names.
- Removed descriptions adding for x-tagGroups for the
- Added new
no-required-schema-properties-undefinedrule to check if each required schema property is defined.
- Fixed an issue where using the
--prefix-components-with-info-propoption with thejoincommand caused$refsto include duplicated prefixes. - Fixed an issue where
$refs ending in#(instead of#/) would break the application. - Updated @redocly/openapi-core to v1.9.0.
- Added markdown format option to stats command for use with GitHub job summaries.
- Fixed an issue with the
pushcommand, whendestinationoption does not work without specifying it inredocly.yaml. - Updated @redocly/openapi-core to v1.8.2.
- Added git to the docker image, so the push command can use git metadata.
- Updated @redocly/openapi-core to v1.8.1.
- Added a
pushandpush-statuscommand for use with future Redocly products.
- Updated @redocly/openapi-core to v1.8.0.
- Added a
previewcommand that starts a local preview server for Redocly projects that use products that are currently in a pre-release stage.
- Fixed an issue with resolving references after splitting API descriptions written in the json format.
- Added filename extension support for more
x-codeSampleslanguages. - Fixed a problem where the linter incorrectly returned an error for valid examples that contain references.
- Updated @redocly/openapi-core to v1.7.0.
- Added the ability to use
$refin the Redocly config file. This ability allows users to split up big config files and maintain their constituent parts independently.
- Deprecated
--lintoption in thejoincommand. The options are marked for removal in a future release. Use the lint command separately to lint your APIs. - Updated @redocly/openapi-core to v1.6.0.
- Added new rule
array-parameter-serializationto require that serialization parametersstyleandexplodeare present on array parameters.
- Deprecated lint-related options in the
bundlecommand. The options are going to be removed in the subsequent releases. Use the lint command separately to lint your APIs before bundling. - Updated Redoc to v2.1.3.
- Updated @redocly/openapi-core to v1.5.0.
- Fixed an issue with resolving the
node-fetchpackage by explicitly adding the missing dependency. - Updated @redocly/openapi-core to v1.4.1.
- Added
recommended-strictruleset which uses the same rules asrecommendedbut with the severity level set toerrorfor all rules. - Add JSON output support to the
splitandjoincommands.
- 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 the possibility to configure the linting severity level of the configuration file for all CLI commands.
Redocly CLI will exit with an error if there are any issues with the configuration file, and the severity is set to
error.
- Updated @redocly/openapi-core to v1.3.0.
- 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.
- Added support for linting AsyncAPI v2 files, so that a wider range of API descriptions can use the Redocly linting workflow.
- Renamed API definition to API description for consistency.
- Updated @redocly/openapi-core to v1.2.0.
- Added
ignoreCaseoption fortags-alphabeticalrule. - Added
joinsupport for OAS 3.1 definitions. - Added support for Redoc v2.1.2, and aligned the dependencies for both projects.
- 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.
- No code changes.
- Updated @redocly/openapi-core to v1.0.2.
- Fixed the build-docs command failing when running outside the root folder.
- Updated @redocly/openapi-core to v1.0.1.