Skip to content

Commit

Permalink
Merge branch 'develop' into asyncapi-docs-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaumanali94 authored Mar 7, 2025
2 parents 0c8ddcf + 6229442 commit ce59270
Show file tree
Hide file tree
Showing 19 changed files with 113 additions and 76 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Once you've had a look through the getting started material, some of these guide

## ℹ️ Support

If you need help using Spectral or have any questions, you can use [GitHub Discussions](https://github.com/stoplightio/spectral/discussions), or visit the [Stoplight Community Discord](https://discord.com/invite/stoplight). These communities are a great place to share your rulesets, or show off tools that use Spectral.
If you need help using Spectral or have any questions, you can use [GitHub Discussions](https://github.com/stoplightio/spectral/discussions), or visit the [Stoplight Community Forum](https://community.stoplight.io/). These communities are a great place to share your rulesets, or show off tools that use Spectral.

If you have a bug or feature request, [create an issue for it](https://github.com/stoplightio/spectral/issues).

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/5-asyncapi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AsyncAPI Support

Spectral has a built-in AsyncAPI [v2](https://www.asyncapi.com/docs/specifications/v2.0.0) and [v3](https://www.asyncapi.com/docs/reference/specification/v3.0.0) ruleset that you can use to validate your AsyncAPI files.
Spectral has a built-in AsyncAPI [v2](https://v2.asyncapi.com/docs/reference/specification/v2.6.0) and [v3](https://www.asyncapi.com/docs/reference/specification/v3.0.0) ruleset that you can use to validate your AsyncAPI files.

Add `extends: "spectral:asyncapi"` to your ruleset file to apply rules for AsyncAPI v2 and v3.

Expand Down
2 changes: 0 additions & 2 deletions docs/guides/2-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ Here you can build a [custom ruleset](../getting-started/3-rulesets.md), or exte
- [AsyncAPI ruleset](../reference/asyncapi-rules.md)
- [Arazzo ruleset](../reference/arazzo-rules.md)

> If you use rules created or updated in a hosted [Stoplight API project](https://docs.stoplight.io/docs/platform/branches/pam-716-updated-landing-page/c433d678d027a-create-rules) with the Spectral CLI, you must publish the project from Stoplight before rule updates are used for linting.
## Error Results

Spectral has a few different error severities: `error`, `warn`, `info`, and `hint`, and they're in order from highest to lowest. By default, all results are shown regardless of severity, but since v5.0, only the presence of errors causes a failure status code of 1. Seeing results and getting a failure code for it are now two different things.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"expect": "^27.5.1",
"fast-glob": "^3.2.7",
"fast-glob": "^3.3.3",
"fetch-mock": "^9.11.0",
"file-entry-cache": "^6.0.1",
"husky": "^7.0.4",
Expand All @@ -120,7 +120,7 @@
"karma-typescript": "^5.5.3",
"karma-typescript-es6-transform": "^5.5.3",
"lint-staged": "^11.2.6",
"memfs": "^3.3.0",
"memfs": "^3.5.3",
"multi-semantic-release": "^3.0.2",
"node-powershell": "^4.0.0",
"patch-package": "^6.4.7",
Expand Down
7 changes: 7 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## @stoplight/spectral-cli [6.14.3](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-cli-6.14.2...@stoplight/spectral-cli-6.14.3) (2025-03-07)


### Bug Fixes

* **deps:** update spectral-core in cli ([35687cd](https://github.com/stoplightio/spectral/commit/35687cd4bba4411e716a947984d17806a4784763))

## @stoplight/spectral-cli [6.14.2](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-cli-6.14.1...@stoplight/spectral-cli-6.14.2) (2024-11-19)


Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stoplight/spectral-cli",
"version": "6.14.2",
"version": "6.14.3",
"homepage": "https://github.com/stoplightio/spectral",
"bugs": "https://github.com/stoplightio/spectral/issues",
"author": "Stoplight <[email protected]>",
Expand Down Expand Up @@ -36,7 +36,7 @@
"dependencies": {
"@stoplight/json": "~3.21.0",
"@stoplight/path": "1.3.2",
"@stoplight/spectral-core": "^1.19.4",
"@stoplight/spectral-core": "^1.19.5",
"@stoplight/spectral-formatters": "^1.4.1",
"@stoplight/spectral-parsers": "^1.0.4",
"@stoplight/spectral-ref-resolver": "^1.0.4",
Expand Down
7 changes: 7 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## @stoplight/spectral-core [1.19.5](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-core-1.19.4...@stoplight/spectral-core-1.19.5) (2025-03-07)


### Bug Fixes

* **deps:** update dependencies ([#2794](https://github.com/stoplightio/spectral/issues/2794)) ([9e6b885](https://github.com/stoplightio/spectral/commit/9e6b885e8b22a350b2a1f7f0c1a5e2fc2365eb9e))

## @stoplight/spectral-core [1.19.4](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-core-1.19.3...@stoplight/spectral-core-1.19.4) (2024-11-19)


Expand Down
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stoplight/spectral-core",
"version": "1.19.4",
"version": "1.19.5",
"sideEffects": false,
"homepage": "https://github.com/stoplightio/spectral",
"bugs": "https://github.com/stoplightio/spectral/issues",
Expand Down Expand Up @@ -45,9 +45,9 @@
"@types/json-schema": "^7.0.11",
"ajv": "^8.17.1",
"ajv-errors": "~3.0.0",
"ajv-formats": "~2.1.0",
"ajv-formats": "~2.1.1",
"es-aggregate-error": "^1.0.7",
"jsonpath-plus": "10.2.0",
"jsonpath-plus": "^10.3.0",
"lodash": "~4.17.21",
"lodash.topath": "^4.5.2",
"minimatch": "3.1.2",
Expand Down
7 changes: 7 additions & 0 deletions packages/functions/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## @stoplight/spectral-functions [1.9.4](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-functions-1.9.3...@stoplight/spectral-functions-1.9.4) (2025-03-07)


### Bug Fixes

* **deps:** update dependencies ([#2794](https://github.com/stoplightio/spectral/issues/2794)) ([9e6b885](https://github.com/stoplightio/spectral/commit/9e6b885e8b22a350b2a1f7f0c1a5e2fc2365eb9e))

## @stoplight/spectral-functions [1.9.3](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-functions-1.9.2...@stoplight/spectral-functions-1.9.3) (2024-11-19)


Expand Down
4 changes: 2 additions & 2 deletions packages/functions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stoplight/spectral-functions",
"version": "1.9.3",
"version": "1.9.4",
"sideEffects": false,
"homepage": "https://github.com/stoplightio/spectral",
"bugs": "https://github.com/stoplightio/spectral/issues",
Expand All @@ -27,7 +27,7 @@
"ajv": "^8.17.1",
"ajv-draft-04": "~1.0.0",
"ajv-errors": "~3.0.0",
"ajv-formats": "~2.1.0",
"ajv-formats": "~2.1.1",
"lodash": "~4.17.21",
"tslib": "^2.8.1"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/ruleset-bundler/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## @stoplight/spectral-ruleset-bundler [1.6.2](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-ruleset-bundler-1.6.1...@stoplight/spectral-ruleset-bundler-1.6.2) (2025-03-07)


### Bug Fixes

* **deps:** update dependencies ([#2794](https://github.com/stoplightio/spectral/issues/2794)) ([9e6b885](https://github.com/stoplightio/spectral/commit/9e6b885e8b22a350b2a1f7f0c1a5e2fc2365eb9e))

## @stoplight/spectral-ruleset-bundler [1.6.1](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-ruleset-bundler-1.6.0...@stoplight/spectral-ruleset-bundler-1.6.1) (2024-11-13)


Expand Down
4 changes: 2 additions & 2 deletions packages/ruleset-bundler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stoplight/spectral-ruleset-bundler",
"version": "1.6.1",
"version": "1.6.2",
"homepage": "https://github.com/stoplightio/spectral",
"bugs": "https://github.com/stoplightio/spectral/issues",
"author": "Stoplight <[email protected]>",
Expand Down Expand Up @@ -55,7 +55,7 @@
"devDependencies": {
"@types/validate-npm-package-name": "^3.0.3",
"fetch-mock": "^9.11.0",
"memfs": "^3.3.0",
"memfs": "^3.5.3",
"prettier": "^2.4.1"
}
}
7 changes: 7 additions & 0 deletions packages/ruleset-migrator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## @stoplight/spectral-ruleset-migrator [1.11.2](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-ruleset-migrator-1.11.1...@stoplight/spectral-ruleset-migrator-1.11.2) (2025-03-07)


### Bug Fixes

* **deps:** update dependencies ([#2794](https://github.com/stoplightio/spectral/issues/2794)) ([9e6b885](https://github.com/stoplightio/spectral/commit/9e6b885e8b22a350b2a1f7f0c1a5e2fc2365eb9e))

## @stoplight/spectral-ruleset-migrator [1.11.1](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-ruleset-migrator-1.11.0...@stoplight/spectral-ruleset-migrator-1.11.1) (2024-11-13)


Expand Down
4 changes: 2 additions & 2 deletions packages/ruleset-migrator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stoplight/spectral-ruleset-migrator",
"version": "1.11.1",
"version": "1.11.2",
"homepage": "https://github.com/stoplightio/spectral",
"bugs": "https://github.com/stoplightio/spectral/issues",
"author": "Stoplight <[email protected]>",
Expand Down Expand Up @@ -41,7 +41,7 @@
"@stoplight/spectral-rulesets": "*",
"fetch-mock": "^9.11.0",
"json-schema-to-typescript": "^10.1.5",
"memfs": "^3.3.0",
"memfs": "^3.5.3",
"prettier": "^2.4.1"
},
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions packages/rulesets/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## @stoplight/spectral-rulesets [1.21.4](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-rulesets-1.21.3...@stoplight/spectral-rulesets-1.21.4) (2025-03-07)


### Bug Fixes

* **deps:** update dependencies ([#2794](https://github.com/stoplightio/spectral/issues/2794)) ([9e6b885](https://github.com/stoplightio/spectral/commit/9e6b885e8b22a350b2a1f7f0c1a5e2fc2365eb9e))

## @stoplight/spectral-rulesets [1.21.3](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-rulesets-1.21.2...@stoplight/spectral-rulesets-1.21.3) (2024-11-19)


Expand Down
4 changes: 2 additions & 2 deletions packages/rulesets/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stoplight/spectral-rulesets",
"version": "1.21.3",
"version": "1.21.4",
"homepage": "https://github.com/stoplightio/spectral",
"bugs": "https://github.com/stoplightio/spectral/issues",
"author": "Stoplight <[email protected]>",
Expand Down Expand Up @@ -28,7 +28,7 @@
"@stoplight/types": "^13.6.0",
"@types/json-schema": "^7.0.7",
"ajv": "^8.17.1",
"ajv-formats": "~2.1.0",
"ajv-formats": "~2.1.1",
"json-schema-traverse": "^1.0.0",
"leven": "3.1.0",
"lodash": "~4.17.21",
Expand Down
7 changes: 7 additions & 0 deletions packages/runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## @stoplight/spectral-runtime [1.1.4](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-runtime-1.1.3...@stoplight/spectral-runtime-1.1.4) (2025-03-07)


### Bug Fixes

* **deps:** update dependencies ([#2794](https://github.com/stoplightio/spectral/issues/2794)) ([9e6b885](https://github.com/stoplightio/spectral/commit/9e6b885e8b22a350b2a1f7f0c1a5e2fc2365eb9e))

## @stoplight/spectral-runtime [1.1.3](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-runtime-v1.1.2...@stoplight/spectral-runtime-1.1.3) (2024-11-13)


Expand Down
4 changes: 2 additions & 2 deletions packages/runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stoplight/spectral-runtime",
"version": "1.1.3",
"version": "1.1.4",
"homepage": "https://github.com/stoplightio/spectral",
"bugs": "https://github.com/stoplightio/spectral/issues",
"author": "Stoplight <[email protected]>",
Expand All @@ -23,7 +23,7 @@
"@stoplight/types": "^13.6.0",
"abort-controller": "^3.0.0",
"lodash": "^4.17.21",
"node-fetch": "^2.6.7",
"node-fetch": "^2.7.0",
"tslib": "^2.8.1"
}
}
Loading

0 comments on commit ce59270

Please sign in to comment.