2.0.0-beta.2
Pre-releaseThank you for your feedback and comments on the first v2 beta. Here is beta 2, with a couple of API changes.
-
LambdaContext.ClientContext
is now astruct
(was aString?
). This is only used for client applications built with the AWS Mobile SDK (now deprecated in favor of AWS Amplify) -
LambdaContext
no more usesDispatchWallTime
to keep track of the execution timeout -
StreamingLambdaHandlerWithEvent
is now an example and not part of the runtime API. This struct introduced dependencies on Lambda Runtime Event, which we don't want in the runtime.
Other minor changes have been introduced: a new Hummingbird Lambda example, fixes in doc, better error reporting when the Lambda data plane closes the connection, fix the performance test scripts, and more. The full list is below.
We target to publish v2 by end of September or first week of October. Please let us know your feedback as soon as you can.
What's Changed
SemVer Major
- Use a struct for ClientContext (fix #169) by @sebsto in #539
- Remove dependency on DispatchWallTime (fix #384) by @sebsto in #540
- Revert streaming codable handler and provide it as an example, not an API by @sebsto in #549
SemVer Minor
- Performance Test the invocation loop (fix #377) by @sebsto in #542
- Add hummingbird Lambda example by @sebsto in #544
- Propagate Connection Closed Information up to top-level (fix #465) by @sebsto in #545
SemVer Patch
- fix: Fix deadline header with correct instant value (#551) by @sebsto in #552
- Split LambdaRuntimeClient in two files for easier reading by @sebsto in #554
- Rename Tests'
timeout()
function by @sebsto in #555
Other Changes
- Fix link (Response Streaming) in readme.md by @natanrolnik in #543
- [doc] Updated streaming response limit to 200 MB by @dsplatonov in #548
New Contributors
- @natanrolnik made their first contribution in #543
- @dsplatonov made their first contribution in #548
Full Changelog: 2.0.0-beta.1...2.0.0-beta.2