unstale

npm / @stoplight/spectral-core

@stoplight/spectral-core

What changed in @stoplight/spectral-core 6, from its official release notes, upgrade guides and advisories. Also covers @stoplight/spectral-formats, @stoplight/spectral-ruleset-bundler. Sources checked 2026-10-19.

1 breaking1 security3 new APIs and options2 behavior and defaults1 tooling10 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@stoplight/spectral-core 618 changes

Breaking changes 1

  • Throws an error when no file is found to lint, rather than proceeding without a file.

    6.16.1release notes

Security 1

New APIs and options 3

  • Adds documentUrl to the JavaScript API and CLI formatters.

    6.16.1release notes

  • Adds and exports the or function for use in Spectral rulesets.

    6.16.1release notes

  • Rulesets can be extended with aliases.

    6.16.1release notes

Behavior and default changes 2

  • Updated AsyncAPI support to 3.1.0, so developers can use the newer specification version.

    6.17.0release notes

  • YAML and JSON ruleset validation errors now include a line number.

    6.16.1release notes

Tooling 1

Fixes and other changes 10

  • The GitHub format now includes ruleset-based documentationUrl values.

    6.17.0release notes

  • Markdown output now includes all results, so findings are no longer omitted from the formatted report.

    6.17.0release notes

  • Adds OAS 3.2 support by fixing schema validation and aligning it with 3.0 and 3.1.

    6.17.0release notes

  • JSON Schemas used for rulesets are now valid, improving validation of ruleset configuration.

    6.17.0release notes

  • Restores a null guard in the rule, preventing failures when checking duplicated enum entries.

    6.16.3release notesrelease notes

  • Fixes rendering of documentationUrl in GitHub Actions output.

    6.16.1release notes

  • The markdown formatter no longer crashes when it encounters an invalid reference.

    6.16.1release notes

  • Intermediate rulesets now respect off severity.

    6.16.1release notes

  • Fixes handling of relative references in externalValue.

    6.16.1release notes

  • Fixes output truncation when the output is too long.

    6.16.1release notes