chore: 1.0.0-beta.126 (#1069)

This commit is contained in:
Ihor Karpiuk
2023-05-10 13:06:29 +03:00
committed by GitHub
parent 3bf1270d83
commit ebbdc17488
7 changed files with 39 additions and 12 deletions

View File

@@ -5,6 +5,26 @@ toc:
# Redocly CLI changelog # 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) ## 1.0.0-beta.125 (2023-04-06)
### Features ### Features

View File

@@ -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. 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 ### Format
#### Codeframe (default) #### Codeframe (default)

12
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "@redocly/cli", "name": "@redocly/cli",
"version": "1.0.0-beta.125", "version": "1.0.0-beta.126",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@redocly/cli", "name": "@redocly/cli",
"version": "1.0.0-beta.125", "version": "1.0.0-beta.126",
"license": "MIT", "license": "MIT",
"workspaces": [ "workspaces": [
"packages/*" "packages/*"
@@ -9574,10 +9574,10 @@
}, },
"packages/cli": { "packages/cli": {
"name": "@redocly/cli", "name": "@redocly/cli",
"version": "1.0.0-beta.125", "version": "1.0.0-beta.126",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@redocly/openapi-core": "1.0.0-beta.125", "@redocly/openapi-core": "1.0.0-beta.126",
"assert-node-version": "^1.0.3", "assert-node-version": "^1.0.3",
"chokidar": "^3.5.1", "chokidar": "^3.5.1",
"colorette": "^1.2.0", "colorette": "^1.2.0",
@@ -9620,7 +9620,7 @@
}, },
"packages/core": { "packages/core": {
"name": "@redocly/openapi-core", "name": "@redocly/openapi-core",
"version": "1.0.0-beta.125", "version": "1.0.0-beta.126",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@redocly/ajv": "^8.11.0", "@redocly/ajv": "^8.11.0",
@@ -10583,7 +10583,7 @@
"@redocly/cli": { "@redocly/cli": {
"version": "file:packages/cli", "version": "file:packages/cli",
"requires": { "requires": {
"@redocly/openapi-core": "1.0.0-beta.125", "@redocly/openapi-core": "1.0.0-beta.126",
"@types/configstore": "^5.0.1", "@types/configstore": "^5.0.1",
"@types/react": "^17.0.8", "@types/react": "^17.0.8",
"@types/react-dom": "^17.0.5", "@types/react-dom": "^17.0.5",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@redocly/cli", "name": "@redocly/cli",
"version": "1.0.0-beta.125", "version": "1.0.0-beta.126",
"description": "", "description": "",
"private": true, "private": true,
"engines": { "engines": {

View File

@@ -1,6 +1,6 @@
{ {
"name": "@redocly/cli", "name": "@redocly/cli",
"version": "1.0.0-beta.125", "version": "1.0.0-beta.126",
"description": "", "description": "",
"license": "MIT", "license": "MIT",
"bin": { "bin": {
@@ -33,7 +33,7 @@
"Roman Hotsiy <roman@redoc.ly> (https://redoc.ly/)" "Roman Hotsiy <roman@redoc.ly> (https://redoc.ly/)"
], ],
"dependencies": { "dependencies": {
"@redocly/openapi-core": "1.0.0-beta.125", "@redocly/openapi-core": "1.0.0-beta.126",
"assert-node-version": "^1.0.3", "assert-node-version": "^1.0.3",
"chokidar": "^3.5.1", "chokidar": "^3.5.1",
"colorette": "^1.2.0", "colorette": "^1.2.0",

View File

@@ -1,12 +1,12 @@
{ {
"name": "@redocly/openapi-core", "name": "@redocly/openapi-core",
"version": "1.0.0-beta.125", "version": "1.0.0-beta.126",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@redocly/openapi-core", "name": "@redocly/openapi-core",
"version": "1.0.0-beta.125", "version": "1.0.0-beta.126",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@redocly/ajv": "^8.11.0", "@redocly/ajv": "^8.11.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@redocly/openapi-core", "name": "@redocly/openapi-core",
"version": "1.0.0-beta.125", "version": "1.0.0-beta.126",
"description": "", "description": "",
"main": "lib/index.js", "main": "lib/index.js",
"engines": { "engines": {