Releases: aws/serverless-java-container
Releases · aws/serverless-java-container
Release 0.8
Release 0.8 includes the following changes:
- Upgraded Spark Framework to version 2.7.1.
 - New handler class for Spring Boot applications (#65).
 - Added CognitoUserPoolPrincipal that allows access to all of the claims included in the Cognito User Pool tokens (#55).
 - Update to filters processing. The framework now handles the request inside the filter chain. This makes it easier to halt the request processing should a filter require it.
 - Various bug fixes and new unit tests.
 
Include the library as a dependency in your Java project by replacing the xxxxxx below with the framework you want to you - jersey, spark, or spring:
<dependency>
    <groupId>com.amazonaws.serverless</groupId>
    <artifactId>aws-serverless-java-container-xxxxxx</artifactId>
    <version>0.8</version>
</dependency>Release 0.7
This release includes upgrades and a few bug fixes
- Upgraded Spark support to version 2.6.0 - this is not backward-compatible with Spark 2.5.x, between the two releases there were breaking changes in the embedded server interfaces
 - Fixed issue with URL encoding of path and query string parameters - The library now tries to decode the path and query string values passed by API Gateway.
 - Added new 
uriEncodingproperty to theContainerConfigobject - By default the value for this property is set toUTF-8. The framework uses the configured charset to url decode request properties. AllLambdaContainerHandlerimplementations exposed a method to access the config and change its values. - The library can now group multiple 
Set-Cookieheaders in a single header as a comma-separated list - This is because API Gateway only supports a single header per key. This behavior can be configured in theContainerConfigobject. RFC2109 specifies this behavior although it is still not supported by all browsers. - Fixed a bug that caused servlet filters to be executed only for the first request.
 - Fixed a bug that caused the 
ExpiresandMaxAgeproperties to be incorrectly populated inSet-Cookieheaders. 
Release 0.6
Addressed multiple issues and integrated slf4j-api for logging.
Release 0.5.1
This release addresses two issues:
- Fixes support for Spark 2.5.3 - The issue was created by the Servlet Filter implementation included in 0.5. See issue #40
 - Fixes principal name for APIs configured with 
AWS_IAMauth - Changed the behavior of thegetNamemethod of a principal in theAwsProxySecurityContextto return the Cognito ID if present in the request, otherwise the user ARN. See issue #43 
Release 0.5
New features
- Support for Cognito User Pool authorizers
 - RequestDispatchers for Spring MVC applications
 - Jersey injection of ServletContext and ServletResponse
 - Ability to strip base path mappings when configured with a custom domain name
 
Bug fixes
- Support for multipart/form data binary payloads
 - URL encoding in servlet implementation