Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

Commit

Permalink
chore(*) release 3.4.0
Browse files Browse the repository at this point in the history
### Summary

Changes `local openssl_hmac = require "openssl.hmac"` to
`local openssl_hmac = require "resty.openssl.hmac"`.
  • Loading branch information
bungle authored and gszr committed May 12, 2020
1 parent b40ffd1 commit 1f89f55
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Kong AWS Lambda plugin changelog

## Unreleased
## aws-lambda 3.4.0 12-May-2020

- Change `luaossl` to `lua-resty-openssl`
- fix: do not validate region name against hardcoded list of regions
- feat: add `host` configuration to allow for custom Lambda endpoints

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package = "kong-plugin-aws-lambda"
version = "3.3.0-1"
version = "3.4.0-1"

supported_platforms = {"linux", "macosx"}
source = {
url = "https://github.com/Kong/kong-plugin-aws-lambda/archive/3.3.0.tar.gz",
dir = "kong-plugin-aws-lambda-3.3.0"
url = "https://github.com/Kong/kong-plugin-aws-lambda/archive/3.4.0.tar.gz",
dir = "kong-plugin-aws-lambda-3.4.0"
}

description = {
Expand All @@ -14,6 +14,7 @@ description = {
}

dependencies = {
"lua-resty-openssl",
}

build = {
Expand Down
2 changes: 1 addition & 1 deletion kong/plugins/aws-lambda/handler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,6 @@ function AWSLambdaHandler:access(conf)
end

AWSLambdaHandler.PRIORITY = 750
AWSLambdaHandler.VERSION = "3.0.1"
AWSLambdaHandler.VERSION = "3.4.0"

return AWSLambdaHandler
2 changes: 1 addition & 1 deletion kong/plugins/aws-lambda/v4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

local resty_sha256 = require "resty.sha256"
local pl_string = require "pl.stringx"
local openssl_hmac = require "openssl.hmac"
local openssl_hmac = require "resty.openssl.hmac"

local ALGORITHM = "AWS4-HMAC-SHA256"

Expand Down

0 comments on commit 1f89f55

Please sign in to comment.