We just release the final 1.0.0-alpha release of the Lambda Runtime.
We started to work on a v2 that will embrace Swift 6, structured concurrency, service lifecycles amongst other changes. You can read more about the proposed changes in this PR.
Thank you to all contributors.
Some notable changes
-
You can now use an environment variable to specify the local lambda invocation endpoint (by @jsonfry in Local lambda invocation endpoint env var by jsonfry · Pull Request #321 · swift-server/swift-aws-lambda-runtime · GitHub)
-
You can now package project's resources in the generated ZIP file (by @camdenfullmer in Add support for resources when packaging using the SwiftPM plugin by camdenfullmer · Pull Request #333 · swift-server/swift-aws-lambda-runtime · GitHub)
-
You can now have tasks that will run after a response is returned, but before the runtime fetches the next event (aka detached tasks) (by @Buratti in [Draft] Detached tasks by Buratti · Pull Request #334 · swift-server/swift-aws-lambda-runtime · GitHub) - This API will change for v2
The full list of changes is available in the release notes.