Release 1.3
Release 1.3 includes a new features, improvements, and bug fixes.
New features
- Support for Application Load Balancer's (ALB) events - you can now use an AWS Lambda function built with
serverless-java-container
as a target for ALB.serverless-java-container
requires that multi-value headers support is enabled in ALB. (#214) - Gradle and Maven Assembly support - all archetypes and samples are updated to use the maven assembly plugin by default to generate a
zip
deployment package for AWS Lambda. This improves cold start performance for large applications. We have also included abuild.gradle
file in both samples and archetypes that generates the same zip file. The generated SAM templates point to the assembly zip file by default. (#133) - Spring Boot 2.x support - we have added a new
aws-serverless-springboot2-archetype
that makes it easy to quickly set up a new project with Spring Boot 2.x. (#181, #193)
Bug fixes
- Fixed issue with Jersey not being sent all request headers. (#208)
- Fixed issue with
getParameterMap()
method inHttpServletRequest
not supporting multi-value query string parameters. (#217 thank you, @superweijiafeng) - Fixed issue with headers being treated as case sensitive after deserialization (#216 thank you, @eirikjak)
Other changes
- It is now possible to inject
HttpServletRequest
objects in Jersey'sFilter
objects because the framework allows proxying of theServletRequest
,ServletContext
, andServletResponse
suppliers. (#211) - Updated documentation to make it easier to port existing Spring applications that rely on custom
@ControllerAdvice
classes. (#167)