Skip to content

Releases: aws/serverless-java-container

Release 0.7

24 Aug 17:45
Compare
Choose a tag to compare

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 uriEncoding property to the ContainerConfig object - By default the value for this property is set to UTF-8. The framework uses the configured charset to url decode request properties. All LambdaContainerHandler implementations exposed a method to access the config and change its values.
  • The library can now group multiple Set-Cookie headers 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 the ContainerConfig object. 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 Expires and MaxAge properties to be incorrectly populated in Set-Cookie headers.

Release 0.6

11 Aug 17:43
Compare
Choose a tag to compare

Addressed multiple issues and integrated slf4j-api for logging.

Release 0.5.1

06 Jul 17:11
Compare
Choose a tag to compare

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_IAM auth - Changed the behavior of the getName method of a principal in the AwsProxySecurityContext to return the Cognito ID if present in the request, otherwise the user ARN. See issue #43

Release 0.5

20 Jun 21:12
Compare
Choose a tag to compare

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