Release 0.9
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
andHttpServletResponse
behind the scenes. This allows us to inject all servlet objects as@Context
properties. (#62) - Moved model package out of
internal
and undercom.amazonaws.serverless.proxy
. Also moved classes that implementations/deployments can extend out of theinternal
package to theproxy
package (#83):ExceptionHandler
RequestReader
ResponseWriter
SecurityContextWriter
AwsProxySecurityContextWriter
- Removed redundant
ObjectMapper
declarations to reduce cold start time. Instead we moved to a single, staticObjectMapper
in theLambdaContainerHandler
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).