# \[Lambda\] : Swift AWS Lambda Runtime 3.0.0 released

**URL:** <https://forums.swift.org/t/lambda-swift-aws-lambda-runtime-3-0-0-released/89573>\
**Category:** Server\
**Tags:** lambda\
**Created:** [September 15, 2026, 3:06pm UTC](https://forums.swift.org/t/lambda-swift-aws-lambda-runtime-3-0-0-released/89573 "2026-09-15T15:06:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebsto](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/sebsto/32/27165_2.png) [@sebsto](https://forums.swift.org/u/sebsto)\
**Post date:** [September 15, 2026, 3:06pm UTC](https://forums.swift.org/t/lambda-swift-aws-lambda-runtime-3-0-0-released/89573/1 "2026-09-15T15:06:22Z")

</div>

Hello Swift Server developers,

The [Swift AWS Lambda Runtime v3](https://github.com/awslabs/swift-aws-lambda-runtime) just landed.

**TL;DR** : `nonisolated(non sending)` by default, new doc, new plugins to scaffold, build, and deploy. Build with `docker`, `container`, or a Linux Static SDK. Deploy as ZIP or OCI, support for Task Local loggers.

Here are more details:

### `nonisolated(nonsending)` by default

The runtime now adopts `nonisolated(nonsending)` as the default execution semantics (Swift's `NonisolatedNonsendingByDefault` upcoming feature). This keeps handler code running on the caller's executor instead of hopping to the generic concurrent executor.

This is a source-breaking change for some projects. If your package does not enable the same feature, you may see conformance or "sending risks data races" errors when implementing handlers or passing closures to the runtime. You have two options:

- Enable `NonisolatedNonsendingByDefault` in your own target (recommended for most projects).
- Apply `nonisolated(nonsending)` explicitly on your handler, adapter, and closure signatures. See the `Streaming+Codable` example for a working reference.

### New plugin suite

The single `archive` plugin is replaced by a set of focused plugins that cover the full development lifecycle:

- `lambda-init`: scaffolds a new Lambda function in the current project directory.
- `lambda-build`: compiles and archives the Lambda binary, ready to upload to AWS.
- `lambda-deploy`: deploys the Lambda function to your AWS account.

For `lambda-build`, we addressed some common feedback. You can package as a zip or as an OCI image, which helps with large Lambda functions or when you need to bundle binaries alongside your code. You can also choose how to compile: with Docker, with Apple's `container`, or by cross compiling using the Swift static Linux SDK.

### Removal of deprecated 2.x APIs

APIs that were deprecated during the 2.x series have been removed. If you were still calling them, the compiler pointed you at the replacements before this release. Update those call sites before upgrading.

## New features

### Task-local logging

The runtime binds the per-invocation logger as the task-local `Logger.current` for the duration of each handler call. Code anywhere in the handler's call tree can read `Logger.current` and inherit the request's metadata (request ID, trace ID) without threading a `LambdaContext` or `Logger` through every function. Inside the handler, `context.logger` and `Logger.current` are equivalent.

### Documentation

The [documentation](https://swiftpackageindex.com/awslabs/swift-aws-lambda-runtime/main/documentation/awslambdaruntime/quick-setup) has been significantly reworked. The README is now minimal and points you to the right place, and most of the content has moved into Swift DocC where it is easier to browse and keep up to date.

## Feedback

As usual, report concerns and issues on Github.
