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
- update to use @stoplight/scripts (a0018df)
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}"