New
function, which returns a new lambda handler for the given http.Handler (@acoover).
- aws-lambda-go upgraded to v1.43.0
- API Gateway V2: Fixed response header support.
- API Gateway V2: Fixed handling request cookies.
- API Gateway V2: Fixed multi-value query parameters.
- ALB: Fixed double escaping of query parameters.
RequestTypeAPIGateway
renamed toRequestTypeAPIGatewayV1
.ProxyRequestFromContext
renamed toAPIGatewayV1RequestFromContext
.APIGatewayV2HTTPRequestFromContext
renamed toAPIGatewayV2RequestFromContext
.TargetGroupRequestFromContext
renamed toALBRequestFromContext
.- Improved unit tests.
- Go 1.18 is the minimum supported version now.
- API Gateway V2 support (@a-h).
- Compatibility with Go versions older than 1.13.
- ALB support (thanks @adimarco and @ARolek for feedback).
- Go Modules support.
- Set RequestURI on request (@RossHammer).
- Unescape Path (@RossHammer).
- Multi-value header support implemented using
APIGatewayProxyResponse.MultiValueHeaders
.
- Support multi-value query string parameters and headers in requests.
- Workaround for API Gateway not supporting headers with multiple values (@mspiegel).
- UseProxyPath option - strips the base path mapping when using a custom domain with API Gateway.
- Set Host header for requests (@rvdwijngaard).
- Context support.