All notable changes will be documented in this file. Swagger Express Middleware adheres to Semantic Versioning.
v3.0.0 (Soon)
-
Dropped support for Node 4, which has been end-of-lifed
-
Dropped support for Swagger 2.0. If your API definition is in Swagger 2.0 format, you can use Swagger Express Middleware v2, or convert your API definition to OpenAPI 3.0 using swagger2openapi or this online converter.
-
The
req.swagger
property has been renamed toreq.openapi
. -
Added
req.openapi.requestBody
, which is the Request Body Object for the request -
Upgraded to the latest version of Multer for parsing
multipart/form-data
request bodies. There are some minor but breaking changes. See the Multer docs for details.
v2.0.0 (2018-12-13)
-
This is the last version that will support Swagger 2.0. Future versions will support OpenAPI 3.0 instead. See the ReadMe for details.
-
Updated all dependencies. This included some major updates of important dependencies. While we are not aware of any breaking changes (all tests passed successfully), we have bumped to v2.0.0 out of caution.