diff --git a/docs/changelog.md b/docs/changelog.md index 891c3a3b..914dd27a 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -5,6 +5,26 @@ toc: # Redocly CLI changelog +## 1.0.0-beta.126 (2023-05-10) + +### Features + +- Added new options for the `join` command: `--decorate` and `--preprocess`. + +### Fixes + +- Fixed a bug with external OAS (x-) attributes containing an array. +- Display an error if the api path refers to a folder. +- Fixed the `push` command not recognising API definitions with spaces. +- Defined default `allowedValues` in the `all` ruleset for mime-type rules + +### Changes + +- Display an error if apis or rules for the `lint` command are not provided. +- Ceased executing decorators and preprocessors upon the `join` command. +- Sort top-level OAS3 keys in `bundle` and `join` commands. + + ## 1.0.0-beta.125 (2023-04-06) ### Features diff --git a/docs/commands/lint.md b/docs/commands/lint.md index f50b6fbe..2cb31523 100644 --- a/docs/commands/lint.md +++ b/docs/commands/lint.md @@ -106,6 +106,13 @@ redocly lint --config=./another/directory/config.yaml The `--extends` option allows you to extend the existing configuration. This option accepts one of the following values: `minimal`, `recommended`, `all`. Each of the values is a base set of rules that the lint command will use. You can further modify this set in cases when you want to have your own set of rules based on the existing one, including particular rules that cover your specific needs. +:::warning Important + +When you run the `lint` command without a configuration file, it uses the `extends: recommended` by default. +However, if you have a configuration file, but it doesn't include any rules or extends configuration, the `lint` command shows an error. + +::: + ### Format #### Codeframe (default) diff --git a/package-lock.json b/package-lock.json index da481fb4..c7a6f709 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@redocly/cli", - "version": "1.0.0-beta.125", + "version": "1.0.0-beta.126", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@redocly/cli", - "version": "1.0.0-beta.125", + "version": "1.0.0-beta.126", "license": "MIT", "workspaces": [ "packages/*" @@ -9574,10 +9574,10 @@ }, "packages/cli": { "name": "@redocly/cli", - "version": "1.0.0-beta.125", + "version": "1.0.0-beta.126", "license": "MIT", "dependencies": { - "@redocly/openapi-core": "1.0.0-beta.125", + "@redocly/openapi-core": "1.0.0-beta.126", "assert-node-version": "^1.0.3", "chokidar": "^3.5.1", "colorette": "^1.2.0", @@ -9620,7 +9620,7 @@ }, "packages/core": { "name": "@redocly/openapi-core", - "version": "1.0.0-beta.125", + "version": "1.0.0-beta.126", "license": "MIT", "dependencies": { "@redocly/ajv": "^8.11.0", @@ -10583,7 +10583,7 @@ "@redocly/cli": { "version": "file:packages/cli", "requires": { - "@redocly/openapi-core": "1.0.0-beta.125", + "@redocly/openapi-core": "1.0.0-beta.126", "@types/configstore": "^5.0.1", "@types/react": "^17.0.8", "@types/react-dom": "^17.0.5", diff --git a/package.json b/package.json index fb8d362e..d533db62 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@redocly/cli", - "version": "1.0.0-beta.125", + "version": "1.0.0-beta.126", "description": "", "private": true, "engines": { diff --git a/packages/cli/package.json b/packages/cli/package.json index 1790f621..1bdbaa39 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@redocly/cli", - "version": "1.0.0-beta.125", + "version": "1.0.0-beta.126", "description": "", "license": "MIT", "bin": { @@ -33,7 +33,7 @@ "Roman Hotsiy (https://redoc.ly/)" ], "dependencies": { - "@redocly/openapi-core": "1.0.0-beta.125", + "@redocly/openapi-core": "1.0.0-beta.126", "assert-node-version": "^1.0.3", "chokidar": "^3.5.1", "colorette": "^1.2.0", diff --git a/packages/core/package-lock.json b/packages/core/package-lock.json index 0c544c42..7014a758 100644 --- a/packages/core/package-lock.json +++ b/packages/core/package-lock.json @@ -1,12 +1,12 @@ { "name": "@redocly/openapi-core", - "version": "1.0.0-beta.125", + "version": "1.0.0-beta.126", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@redocly/openapi-core", - "version": "1.0.0-beta.125", + "version": "1.0.0-beta.126", "license": "MIT", "dependencies": { "@redocly/ajv": "^8.11.0", diff --git a/packages/core/package.json b/packages/core/package.json index 295957e8..515a0dba 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@redocly/openapi-core", - "version": "1.0.0-beta.125", + "version": "1.0.0-beta.126", "description": "", "main": "lib/index.js", "engines": {