From 00d8dde3011780e8e1a9c2f240d5cbd25db8237c Mon Sep 17 00:00:00 2001 From: Brandon Faulkner Date: Mon, 21 Feb 2022 15:15:12 -0500 Subject: [PATCH] chore(release): 2.0.0 --- CHANGELOG.md | 17 ++++++++++++++++- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 39bf80b..50aa2af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,21 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [2.0.0](https://github.com/SamWSoftware/serverless-auto-swagger/compare/v1.8.0...v2.0.0) (2022-02-21) + + +### ⚠ BREAKING CHANGES + +* `apiKeyName` no longer exists in custom configuration. Use `apiKeyHeaders: ['x-api-key']` in place of `apiKeyName: 'x-api-key'` + +### Features + +* add apiKeyHeaders array for multiple security headers ([#35](https://github.com/SamWSoftware/serverless-auto-swagger/issues/35)) ([7b43838](https://github.com/SamWSoftware/serverless-auto-swagger/commit/7b438388a72f6352ebbc0472f23f2d73c4452229)) + +### Changes + +* Remove apiKeyName in favor of apiKeyHeaders ([87cf65a](https://github.com/SamWSoftware/serverless-auto-swagger/commit/87cf65a96a854f289c1d6ef0725a98d7be8333cf)) + ## [1.8.0](https://github.com/SamWSoftware/serverless-auto-swagger/compare/v1.7.0...v1.8.0) (2022-02-17) ### Features @@ -17,7 +32,7 @@ All notable changes to this project will be documented in this file. See [standa ### Features -* add `basePath` and `schemes` to custom config ([#32](https://github.com/SamWSoftware/serverless-auto-swagger/issues/32)) ([52118a5](https://github.com/SamWSoftware/serverless-auto-swagger/commit/52118a58c50f58a4ecdeb597c5a470c3abd1af3a)) +* add basePath and schemes to custom config ([#32](https://github.com/SamWSoftware/serverless-auto-swagger/issues/32)) ([52118a5](https://github.com/SamWSoftware/serverless-auto-swagger/commit/52118a58c50f58a4ecdeb597c5a470c3abd1af3a)) ### Bug Fixes diff --git a/package-lock.json b/package-lock.json index 2692ae0..bfbaf1a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "serverless-auto-swagger", - "version": "1.8.0", + "version": "2.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "serverless-auto-swagger", - "version": "1.8.0", + "version": "2.0.0", "license": "MIT", "dependencies": { "fs-extra": "^10.0.0", diff --git a/package.json b/package.json index dc0f51a..0430e2f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-auto-swagger", - "version": "1.8.0", + "version": "2.0.0", "description": "Automatically generate a swagger file from your Serverless Framework config file", "main": "dist/index.js", "homepage": "https://github.com/SamWSoftware/serverless-auto-swagger",