Release 1.0
The 1.0 release of Serverless Java Container includes major updates to the Jersey and Spring versions as well as a number of bug fixes and performance improvements:
New features
- New maven archetypes to generate simple projects. Take a look at our quick start guides.
- Added request logging in Apache Combined format with a customizable
LogFormatter
interface - new
streamProxy
method to simplify Lambda handler creation:
@Override
public void handleRequest(InputStream inputStream, OutputStream outputStream, Context context)
throws IOException {
handler.proxyStream(inputStream, outputStream, context);
}
Framework updates
- Added support for Jersey version 2.26 (JAX-RS 2.1 specifications)
- Added support for Spring 5.0.3 and Spring Boot 1.5.9
Performance improvements
- Moved from
ObjectMapper
to specificObjectReader
andObjectWriter
in handler class - Changed all date formatting and parsing to use the new java.time package
- Added caching of parameter maps and sets in
AwsProxyHttpServletRequest
- Added caching of base URIs for Jersey implementation
Bug fixes
- Switched from FindBugs to SpotBugs
- getSessionId in servlet request returns null instead of throwing unsupported operation exception. All other session-access method log a warning. Create session throws unsupported operation exception
- Fix an issue with request include and forward that prevented the processing from completing
- Fix an issue with request date headers to return the correct value when the header is not populated