Skip to content

Release 0.9

Compare
Choose a tag to compare
@sapessi sapessi released this 22 Jan 23:43
· 1218 commits to main since this release

This is a major release of the library with new features, changes - some breaking, and fixes. To get started with this latest release, follow the documentation on the project's wiki.

New features, changes, and enhancements

  • We moved the Jersey implementation of the library to use HttpServletRequest and HttpServletResponse behind the scenes. This allows us to inject all servlet objects as @Context properties. (#62)
  • Moved model package out of internal and under com.amazonaws.serverless.proxy. Also moved classes that implementations/deployments can extend out of the internal package to the proxy package (#83):
    • ExceptionHandler
    • RequestReader
    • ResponseWriter
    • SecurityContextWriter
    • AwsProxySecurityContextWriter
  • Removed redundant ObjectMapper declarations to reduce cold start time. Instead we moved to a single, static ObjectMapper in the LambdaContainerHandler abstract class (#91).
  • Updated all samples to use the RequestStreamHandler interface to support JSON annotations in event models. Also updated the documentation and moved it to the wiki (#89).
  • Added configuration parameters to decide whether the API Gateway stage and/or the stripped base path should be included in the servlet context path. Also updated the wiki documentation of the ContainerConfig object (#84).
  • Added Spring profiles support in Spring Boot handler (#88).
  • Added FindBugs with the security plugin to the build process - build fails if all potential bugs are not addressed (#100).

Bug fixes

  • Solved bug that caused query string and path parameters to appear multiple times in a servlet request (#86).
  • Solved error log when no valid appenders for SLF4J were found (#80).