# What changed in @stoplight/spectral-core

> 18 changes in @stoplight/spectral-core 6 from its official release notes, upgrade guides and advisories: 1 breaking, 1 security, 3 new APIs and options. Each one cited. Sources checked 2026-10-20. HTML: https://unstale.sh/npm/@stoplight/spectral-core/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @stoplight/spectral-core 6

### Breaking changes

- Throws an error when no file is found to lint, rather than proceeding without a file. (6.16.1) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.16.1)

### Security

- Fixes a security issue in simple-eval. (6.16.1) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.16.1)

### New APIs and options

- Adds documentUrl to the JavaScript API and CLI formatters. (6.16.1) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.16.1)
- Adds and exports the or function for use in Spectral rulesets. (6.16.1) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.16.1)
- Rulesets can be extended with aliases. (6.16.1) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.16.1)

### Behavior and default changes

- Updated AsyncAPI support to 3.1.0, so developers can use the newer specification version. (6.17.0) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.17.0)
- YAML and JSON ruleset validation errors now include a line number. (6.16.1) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.16.1)

### Tooling

- Scarf telemetry was added to core. (6.16.2) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.16.2)

### Fixes and other changes

- The GitHub format now includes ruleset-based documentationUrl values. (6.17.0) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.17.0)
- Markdown output now includes all results, so findings are no longer omitted from the formatted report. (6.17.0) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.17.0)
- Adds OAS 3.2 support by fixing schema validation and aligning it with 3.0 and 3.1. (6.17.0) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.17.0)
- JSON Schemas used for rulesets are now valid, improving validation of ruleset configuration. (6.17.0) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.17.0)
- Restores a null guard in the rule, preventing failures when checking duplicated enum entries. (6.16.3) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.17.0), [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.16.3)
- Fixes rendering of documentationUrl in GitHub Actions output. (6.16.1) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.16.1)
- The markdown formatter no longer crashes when it encounters an invalid reference. (6.16.1) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.16.1)
- Intermediate rulesets now respect off severity. (6.16.1) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.16.1)
- Fixes handling of relative references in externalValue. (6.16.1) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.16.1)
- Fixes output truncation when the output is too long. (6.16.1) — [release notes](https://github.com/stoplightio/spectral/releases/tag/v6.16.1)
