5.0.0 (2022-11-17)
- Drop support for Node.js 15 and 14.17 and below.
- The
?
CLI option was dropped in favor of-h
or--help
. - Only
index.js
,cli.js
, andpackage.json
are exported from this package. require('swagger-spec-validator/bin/swagger-spec-validator.js')
has been renamed torequire('swagger-spec-validator/cli.js')
.- The
in
,out
, anderr
properties of theoptions
argument ofswagger-spec-validator/cli.js
are nowstdin
,stdout
, andstderr
to matchprocess
for easier calling.
- Default values for the
args
andoptions
arguments ofswagger-spec-validator/cli.js
are no longer provided, due to lack of compelling use-case, to avoid ambiguity, and to reduce code. swagger-spec-validator/cli.js
no longer accepts a callback argument. It returns aPromise
with exit code.
- Use
commander
instead ofyargs
for command-line parsing (2a7c9c8) - Switch from
nyc
toc8
for native V8 coverage collection (d72a313) - Set
process.exitCode
instead of callingprocess.exit()
incli.js
(247de91)
v4.0.1 (2019-11-16)
- Update
yargs
to^15.0.1
.
v4.0.0 (2019-11-03)
- BREAKING Drop support for Node < 8.3.
- Default to https://validator.swagger.io instead of https://online.swagger.io which is newer and described in the swagger-api/validator-badge README and supports OpenAPI Specification v3.
- The
Content-Type
header is now sent on every request (since it is now required byvalidator.swagger.io
andonline.swagger.io
). It is determined from caller (or command-line) options, or file extension, or file content (which requires buffering the document before sending), in that order. - Specification data may now be passed as
Uint8Array
in addition tostring
,Buffer
, andstream.Readable
types. - New
url
option which allows specifying the validator URL separately from any request options and (optionally) as aURL
object. - Remove HTTPS workarounds for https://online.swagger.io which are no longer necessary (see swagger-api/validator-badge#98).
- Replace
pify
dependency withutil.promisify
. - Dependency version updates.
v3.0.1 (2019-01-24)
- Fix support for http://online.swagger.io (without HTTPS), when requested by callers.
- Developmental dependency version updates.
v3.0.0 (2018-06-29)
- BREAKING Drop support for Node < 6.
- Dependency version updates.
- Drop unnecessary dependencies.
- Code style improvements.
v2.0.0 (2018-04-19)
- Major: Drop support for Node v0.12. Require Node v4 or later.
- Replace DigiCert intermediate+root certificates with GoDaddy, which is now the CA for https://online.swagger.io/ (#38)
- Update dependency versions. Drop unnecessary dependencies.
v1.0.1 (2017-05-07)
- Include DigiCert Global Root CA in package to fix SSL validation on Debian.
v1.0.0 (2017-03-16)
- No API Changes Change to v1.0.0 is only a declaration of stability.
- Dev dependency version updates.
v0.1.2 (2017-03-03)
v0.1.2 (2017-03-03)
Merged pull requests:
- Update dependencies to enable Greenkeeper 🌴 #1 (greenkeeper[bot])
v0.1.1 (2017-01-13)
v0.1.0 (2017-01-13)
* This Change Log was automatically generated by github_changelog_generator