Skip to content

Commit 282df05

Browse files
committed
Update CHANGELOG.md for 4.0.0
1 parent 3c55e9e commit 282df05

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Change Log
22

3+
## [v4.0.0](https://github.com/kevinoid/swagger-spec-validator/tree/v4.0.0) (2019-11-03)
4+
[Full Changelog](https://github.com/kevinoid/swagger-spec-validator/compare/v3.0.1...v4.0.0)
5+
6+
- **BREAKING** Drop support for Node < 8.3.
7+
- Default to https://validator.swagger.io instead of https://online.swagger.io
8+
which is newer and described in the swagger-api/validator-badge README and
9+
**supports OpenAPI Specification v3**.
10+
- The `Content-Type` header is now sent on every request (since it is now
11+
required by `validator.swagger.io` and `online.swagger.io`). It is
12+
determined from caller (or command-line) options, or file extension, or file
13+
content (which requires buffering the document before sending), in that order.
14+
- Specification data may now be passed as `Uint8Array` in addition to
15+
`string`, `Buffer`, and `stream.Readable` types.
16+
- New `url` option which allows specifying the validator URL separately from
17+
any request options and (optionally) as a `URL` object.
18+
- Remove HTTPS workarounds for https://online.swagger.io which are no longer
19+
necessary (see swagger-api/validator-badge#98).
20+
- Replace `pify` dependency with `util.promisify`.
21+
- Dependency version updates.
22+
323
## [v3.0.1](https://github.com/kevinoid/swagger-spec-validator/tree/v3.0.1) (2019-01-24)
424
[Full Changelog](https://github.com/kevinoid/swagger-spec-validator/compare/v3.0.0...v3.0.1)
525

0 commit comments

Comments
 (0)