diff --git a/packages/koa-openapi/CHANGELOG.md b/packages/koa-openapi/CHANGELOG.md index 6580edab..111110fa 100644 --- a/packages/koa-openapi/CHANGELOG.md +++ b/packages/koa-openapi/CHANGELOG.md @@ -4,6 +4,30 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 3.9.0 - 2019-01-31 +### Fixed +- openapi-framework: + - add Logger (#61) (#322) + - Fixes support for args.securityHandlers in OpenAPIV3 (#323) + - openapi-types: OpenAPIV3: relax security requirement object types (#327) + - openapi-default-setter: + - openapi-types: OpenAPIV3: relax security requirement object types (#327) + - openapi-request-coercer: + - openapi-types: OpenAPIV3: relax security requirement object types (#327) + - openapi-request-validator: + - Handle missing or invalid 'Content-Type' (#326) + - openapi-jsonschema-parameters: + - openapi-types: OpenAPIV3: relax security requirement object types (#327) + - openapi-types: OpenAPIV3: relax security requirement object types (#327) + - openapi-response-validator: + - Deep clone schemas before transforming nullable values. (#324) + - Handle ?XX status codes. (#325) + - openapi-types: OpenAPIV3: relax security requirement object types (#327) + - openapi-schema-validator: + - openapi-types: OpenAPIV3: relax security requirement object types (#327) + - openapi-security-handler: + - openapi-types: OpenAPIV3: relax security requirement object types (#327) + ## 3.8.1 - 2019-01-22 ### Fixed - openapi-framework: Allowing to set a property of BaseSchemaObject as a reference to another SchemaObject (#312) diff --git a/packages/koa-openapi/package-lock.json b/packages/koa-openapi/package-lock.json index c2414484..72709435 100644 --- a/packages/koa-openapi/package-lock.json +++ b/packages/koa-openapi/package-lock.json @@ -1,6 +1,6 @@ { "name": "koa-openapi", - "version": "3.8.1", + "version": "3.9.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -622,91 +622,92 @@ "dev": true }, "openapi-default-setter": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/openapi-default-setter/-/openapi-default-setter-2.0.3.tgz", - "integrity": "sha512-evfWgX2q/gAJUje5XceyAxxjT8jq4JzXBBpo10zW+3veTTbyN7vif9pc+odcgOLOPATjrh1ILiXg86tVasGlSg==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/openapi-default-setter/-/openapi-default-setter-2.0.4.tgz", + "integrity": "sha512-u0yC81Me26w1Q5r9Q92+kYpHVc8ooXUaoNRzU281T+WNwabvaWluUebw1m5BRjkjDfGcv1P9bf/ocfDZjmvPkw==", "requires": { - "openapi-types": "^1.3.1" + "openapi-types": "1.3.4" } }, "openapi-framework": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/openapi-framework/-/openapi-framework-0.19.1.tgz", - "integrity": "sha512-3/e2tQOCUb523hEF4hnBkkF0MiFiHWauaOg+NbQRhIG5Jh9ejwl+Jf8lkMe5d1NGSVE3CvQ3oPC0fggMTr9S/Q==", + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/openapi-framework/-/openapi-framework-0.20.0.tgz", + "integrity": "sha512-skLy8Dkyw8Rda25zcD+jZKm0r2iKT18I4v1iHofrffGkvufOsUqt00EZhY+1fMoMX53KBnCB0suA2R1vVQ8HmA==", "requires": { "difunc": "0.0.4", "fs-routes": "2.0.0", "glob": "*", "is-dir": "^1.0.0", "js-yaml": "^3.10.0", - "openapi-default-setter": "2.0.3", - "openapi-request-coercer": "2.2.0", - "openapi-request-validator": "3.5.0", - "openapi-response-validator": "3.6.0", - "openapi-schema-validator": "3.0.2", - "openapi-security-handler": "2.0.3", - "openapi-types": "1.3.3" + "openapi-default-setter": "2.0.4", + "openapi-request-coercer": "2.2.1", + "openapi-request-validator": "3.6.0", + "openapi-response-validator": "3.7.0", + "openapi-schema-validator": "3.0.3", + "openapi-security-handler": "2.0.4", + "openapi-types": "1.3.4", + "ts-log": "^2.1.4" } }, "openapi-jsonschema-parameters": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/openapi-jsonschema-parameters/-/openapi-jsonschema-parameters-1.1.0.tgz", - "integrity": "sha512-TCDHFK3oL842ne50EIymIXgvVbbMjohjjaieGDGW0hzbz3vJE9u3OjORB+p0IaKg5TbOsrpF8SNg3OvjcehBUg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/openapi-jsonschema-parameters/-/openapi-jsonschema-parameters-1.1.1.tgz", + "integrity": "sha512-KYcDHQP3Yno8H3pwJzLVvEJ7MAcrBsMzZSFzpyWFz96CqwgHGX+Suj6UbqajpO/LK4owAcal543JR7cMV+eDRw==", "requires": { - "openapi-types": "^1.3.1" + "openapi-types": "1.3.4" } }, "openapi-request-coercer": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/openapi-request-coercer/-/openapi-request-coercer-2.2.0.tgz", - "integrity": "sha512-D/m6vVnsim0VSXOIywy5aIvFFS5MtBq0MSVBXTeVhT3PsFiw8ZJalS4nHV+hF2vIS71cEkqKN/iePioWi3WdbA==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/openapi-request-coercer/-/openapi-request-coercer-2.2.1.tgz", + "integrity": "sha512-UAWKFMLqUijvtMzvGSYtkae6FvOuhwnpQV75BOJkagw695/EpRNCZhwLZeTckL3ixisAvQ9q/IGiwrzlBACDAA==", "requires": { - "openapi-types": "^1.3.1" + "openapi-types": "1.3.4" } }, "openapi-request-validator": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/openapi-request-validator/-/openapi-request-validator-3.5.0.tgz", - "integrity": "sha512-nDx1jZsM4FyV+Kno+C0Cj0sknqnFM674T+5JxQAE5MreuBXGgLRIw0oJdoN9feGE3556I4VjfnIOOasTVNL/Xg==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/openapi-request-validator/-/openapi-request-validator-3.6.0.tgz", + "integrity": "sha512-rQjDt4BVc9BHTexz/VUaIByjdWZ61Yp5klo1y04OQv3D/jmHT1LSJUFmoP0sXKUsUk76duvGsKX2JDEOMEbRPA==", "requires": { "ajv": "^6.5.4", "content-type": "^1.0.4", - "openapi-jsonschema-parameters": "1.1.0", - "openapi-types": "^1.3.1" + "openapi-jsonschema-parameters": "1.1.1", + "openapi-types": "1.3.4" } }, "openapi-response-validator": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/openapi-response-validator/-/openapi-response-validator-3.6.0.tgz", - "integrity": "sha512-TUBWmA5ZT29uW4I8mtBTrJZ41Hql+nOEASakS1/XFPSHP/FuT1Nm1s1RGsj1WG69nsyxfp62gpGkPbCLGXXddw==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/openapi-response-validator/-/openapi-response-validator-3.7.0.tgz", + "integrity": "sha512-lCGHHsLjfrCDk+PVGfRIc/FIqQcm8PGn+9IuhAaSTsNT5X8DbjcwE6/7UwYlGU/gQHXmgXIL+pmliP5KtfT4xg==", "requires": { "ajv": "^6.5.4", - "openapi-types": "^1.3.1" + "openapi-types": "1.3.4" } }, "openapi-schema-validator": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/openapi-schema-validator/-/openapi-schema-validator-3.0.2.tgz", - "integrity": "sha512-F9DsY+qCkpSZybH4LFJujuhzBtLcqb0C/7Kcug5m+/wjZ+goPcjiuM82xRQR3G4kzot/NWMiMeJGC1jkIAEw7A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/openapi-schema-validator/-/openapi-schema-validator-3.0.3.tgz", + "integrity": "sha512-KKpeNEvAmpy6B2JCfyrM4yWjL6vggDCVbBoR8Yfkj0Jltc6PCW+dBbcg+1yrTCuDv80qBQJ6w0ejA71DlOFegA==", "requires": { "ajv": "^6.5.2", "lodash.merge": "^4.6.1", - "openapi-types": "^1.3.1", + "openapi-types": "1.3.4", "swagger-schema-official": "2.0.0-bab6bed" } }, "openapi-security-handler": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/openapi-security-handler/-/openapi-security-handler-2.0.3.tgz", - "integrity": "sha512-Ltm6IIN4Pd/nxzTHjJwL3LVeYiWy7vJv0OxEu3hsn/ElRjYwzo6MF20h547KwWASg0aUHII/ODOmcO+JfL7PzQ==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/openapi-security-handler/-/openapi-security-handler-2.0.4.tgz", + "integrity": "sha512-blz/UftEqYQLAByuEVITePUI9hV5Rd91CEK8yrsKDUaf3zk6cmIMafJ2qvagHqjXRRtL7fOqvsSKIeFrai+HfQ==", "requires": { - "openapi-types": "^1.3.1" + "openapi-types": "1.3.4" } }, "openapi-types": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-1.3.3.tgz", - "integrity": "sha512-bCi4kPA9geZlj2AyW0BCn5qegWQxYKh2YiJ1nGHX4kIFXQFk9YF6EQX3H9EnvAnCCJ/0Nxg0ggiyo3fxjWB2Tg==" + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/openapi-types/-/openapi-types-1.3.4.tgz", + "integrity": "sha512-h8rADpW3k/wepLdERKF0VKMAPdoFYNQCLGPmc/f8sgQ2dxUy+7sY4WAX2XDUDjhKTjbJVbxxofLkzy7f1/tE4g==" }, "parseurl": { "version": "1.3.2", @@ -799,6 +800,11 @@ "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", "dev": true }, + "ts-log": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/ts-log/-/ts-log-2.1.4.tgz", + "integrity": "sha512-P1EJSoyV+N3bR/IWFeAqXzKPZwHpnLY6j7j58mAvewHRipo+BQM2Y1f9Y9BjEQznKwgqqZm7H8iuixmssU7tYQ==" + }, "type-is": { "version": "1.6.16", "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz", diff --git a/packages/koa-openapi/package.json b/packages/koa-openapi/package.json index b2a00962..6925f716 100644 --- a/packages/koa-openapi/package.json +++ b/packages/koa-openapi/package.json @@ -1,6 +1,6 @@ { "name": "koa-openapi", - "version": "3.8.1", + "version": "3.9.0", "description": "An unopinionated OpenAPI framework for koa", "main": "./dist/index.js", "types": "./dist/index.d.ts", @@ -27,7 +27,7 @@ }, "homepage": "https://github.com/kogosoftwarellc/open-api/tree/master/packages/koa-openapi#readme", "dependencies": { - "openapi-framework": "0.19.1" + "openapi-framework": "0.20.0" }, "devDependencies": { "@types/es6-shim": "^0.31.37",