|
1 |
| -# Change Log |
| 1 | +# [5.0.0](https://github.com/kevinoid/swagger-spec-validator/compare/v4.0.1...v5.0.0) (2022-11-17) |
| 2 | + |
| 3 | +### BREAKING CHANGES |
| 4 | + |
| 5 | +* Drop support for Node.js 15 and 14.17 and below. |
| 6 | +* The `?` CLI option was dropped in favor of `-h` or `--help`. |
| 7 | +* Only `index.js`, `cli.js`, and `package.json` are exported from this package. |
| 8 | +* `require('swagger-spec-validator/bin/swagger-spec-validator.js')` has been |
| 9 | + renamed to `require('swagger-spec-validator/cli.js')`. |
| 10 | +* The `in`, `out`, and `err` properties of the `options` argument of |
| 11 | + `swagger-spec-validator/cli.js` are now `stdin`, `stdout`, and `stderr` to |
| 12 | + match `process` for easier calling. |
| 13 | +- Default values for the `args` and `options` arguments of |
| 14 | + `swagger-spec-validator/cli.js` are no longer provided, due to lack of |
| 15 | + compelling use-case, to avoid ambiguity, and to reduce code. |
| 16 | +- `swagger-spec-validator/cli.js` no longer accepts a callback argument. It |
| 17 | + returns a `Promise` with exit code. |
| 18 | + |
| 19 | +### Features |
| 20 | + |
| 21 | +* Use `commander` instead of `yargs` for command-line parsing |
| 22 | + ([2a7c9c8](https://github.com/kevinoid/swagger-spec-validator/commit/2a7c9c867cdcc4e0316729d3a01793a58247a683)) |
| 23 | +* Switch from `nyc` to `c8` for native V8 coverage collection |
| 24 | + ([d72a313](https://github.com/kevinoid/swagger-spec-validator/commit/d72a3136254166eda40fb56c550283758c25ac1f)) |
| 25 | +* Set `process.exitCode` instead of calling `process.exit()` in `cli.js` |
| 26 | + ([247de91](https://github.com/kevinoid/swagger-spec-validator/commit/247de91e0e033f531ec604e6e7953b47dd7a10ad)) |
| 27 | + |
2 | 28 |
|
3 | 29 | ## [v4.0.1](https://github.com/kevinoid/swagger-spec-validator/tree/v4.0.1) (2019-11-16)
|
4 | 30 | [Full Changelog](https://github.com/kevinoid/swagger-spec-validator/compare/v4.0.0...v4.0.1)
|
|
0 commit comments