Releases: wework/speccy
Releases · wework/speccy
v0.11.0
Added
The resolve option --internal-refs
to resolve internal references (#295 )
Line numbers to YAML parse errors (#336 , #337 )
Fixed
The path-keys-no-trailing-slash
rule not detecting paths with a trailing slash (#285 , #340 )
Overriding an inherited rule with a disable one would have no effect (#274 )
rules
and skip
options specified in speccy.yaml
may be ignored when omitting --rules
or --skip
arguments in the command line (#278 )
A regression where assertion errors would spit out a stacktrace (#300 , #335 , #338 )
v0.10.1
Fixed
A regression where the resolve
command would not serialize the resolved YAML
v0.10.0
Changed
Switched to using yaml for validating and parsing YAML (#243 , #267 )
Added
Support for rule custom documentation URLs (#228 , #266 )
Support piping on all commands (#270 , #320 )
Fixed
An invalid property declaration in the openapi-tags-alphabetical
rule [#269 ]
Loading of external configuration files (#294 )
Improved
Verbosity handling. All verbose messages are sent to stderr
to ensure pipes work. Verbosity level 1
is normal output. (#235 , #265 , #270 , #294 )
v0.9.0
Breaking
The lib/linter.js
module has been entirely removed, and oas-linter is now used directly (#248 )
Rulesets must now be YAML not JSON (#248 )
Fixed
Response mime types with a + (e.g: application/vnd.api+json
) are now encoded correctly (#248 )
The lint option --skip
and the matching config option are no longer being ignored
v0.8.7
Added
Semantic versioning for docker tags, so you can use docker run wework/speccy:0.8
lint to a major, minor or patch level (#254 )
The pattern
rule action can now match on "property": "$key"
(#239 )
Fixed
Correct handling of displaying validation and linting errors (#234 )
v0.8.6
Added
notContain
rulesets can now support pattern matching. (#208 via @erunion )
Fixed
Support options after the command name, and at the end of the command (#229 )
Improved
Bumped json-schema-to-openapi-schema
to v0.3.0 to handle if/then/else, const, exclusiveMiniumum/exclusiveMaximum, and empty items
in type: array. Thanks @MikeRalphson !
v0.8.5
Added
Custom rulesets can now be loaded from the local filesystem, thanks @erunion ! (#196 )
Fixed
More resolving errors fixed upgrading oas-kit (#185 & #187 )
v0.8.4
Fixed
Referenced files containing spaces would fail to load on OS X and Linux (#181 )
v0.8.3
Fixed
Callbacks and Security Requirements were failing due to bug in dependency (#180 )
v0.8.1
Fixed
Rules using action notEndWith
(like path-keys-no-trailing-slash
) should not cause validation errors when string length is 1 (#137 )
You can’t perform that action at this time.