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-containeras a target for ALB.serverless-java-containerrequires 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
zipdeployment package for AWS Lambda. This improves cold start performance for large applications. We have also included abuild.gradlefile 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-archetypethat 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 inHttpServletRequestnot 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
HttpServletRequestobjects in Jersey'sFilterobjects because the framework allows proxying of theServletRequest,ServletContext, andServletResponsesuppliers. (#211) - Updated documentation to make it easier to port existing Spring applications that rely on custom
@ControllerAdviceclasses. (#167)