Skip to content

Releases: wework/speccy

v0.11.0

17 Jun 02:01
Compare
Choose a tag to compare

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

18 May 20:13
Compare
Choose a tag to compare

Fixed

  • A regression where the resolve command would not serialize the resolved YAML

v0.10.0

18 May 18:56
Compare
Choose a tag to compare

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

18 Jan 19:49
85efdbd
Compare
Choose a tag to compare

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

18 Jan 16:57
b999fa5
Compare
Choose a tag to compare

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

18 Dec 20:12
5500ddc
Compare
Choose a tag to compare

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

15 Nov 22:07
b7dfaef
Compare
Choose a tag to compare

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

15 Nov 22:08
ac56dd5
Compare
Choose a tag to compare

Fixed

  • Referenced files containing spaces would fail to load on OS X and Linux (#181)

v0.8.3

15 Nov 22:08
0122678
Compare
Choose a tag to compare

Fixed

  • Callbacks and Security Requirements were failing due to bug in dependency (#180)

v0.8.1

15 Nov 22:08
391e0cc
Compare
Choose a tag to compare

Fixed

  • Rules using action notEndWith (like path-keys-no-trailing-slash) should not cause validation errors when string length is 1 (#137)