Skip to content

0.5.26

Compare
Choose a tag to compare
@mnapoli mnapoli released this 11 Jun 15:51
· 2066 commits to master since this release
b91ffc7

This release brings support for the API Gateway v2 payload format via #604/#602 by @victormacko & @mnapoli.

To use that v2 format, you have to deploy a function using the "HTTP API" (instead of the REST API), and set the payload version to 2.0:

provider:
    ...
    httpApi:
        payload: '2.0'

functions:
    hello:
        ...
        events:
            # `httpApi` instead of `http`
            -   httpApi: '*'

You don't need to use it, we are simply adding support for forward compatibility.

If you don't know what all that means, that's fine, you can ignore it :)