npm @stoplight/spectral-cli 1.0.0
v1.0.0

latest releases: 6.14.1, 6.14.0, 6.13.1...
3 years ago

1.0.0 (2018-12-11)

Bug Fixes

  • allowing passing in ruleStore to run instead of using this._ (fb72fc4)
  • prevent ruleset to be mutated (a793b6c)
  • remove format form getRule rule name (2dec3bb)
  • dep: bump lodash (201405c)
  • imports: fix imports (ea1d029)
  • security: add back oasOpSecurityDefined (d93ef40)
  • severity pass through (eb0699c)
  • typo in api-host rule description (51595ca)
  • use extact equality instead of index of (16e5992)

chore

Features

  • add 'when' statement support (0618337)
  • add an option to set rules that allow complete reset (35bbf42)
  • allow multiple rules with identical names (2b13d49)
  • change 'run' function signature and simplify (21b4a70)
  • enrich IRuleResult with extra props (212cdaa)
  • make given not required (78aad4f)
  • remove the idea of pipes, matches on rule format hould be exact (7ba143e)
  • support list of then objects for single rule (ba8a683)

BREAKING CHANGES

  • published build will no longer be nested in dist, which means old deep imports e.g. @stoplight/spectral/dist/rulesets should now be @stoplight/spectral/rulesets.
  • use our standard build process, file conventions, and commit conventions
  • relaxes some of the deps
  • rule's name changed.
    Was: a simple {name}
    Is: "{format}-{name}"

Don't miss a new spectral-cli release

NewReleases is sending notifications on new releases.