Releases: aws/aws-lambda-dotnet
Releases · aws/aws-lambda-dotnet
Release 2026-06-26
Release 2026-06-26
Amazon.Lambda.DurableExecution (0.1.2-preview)
- Add internal IDurableServiceClient abstraction over the durable execution service RPCs so the testing package can inject an in-memory implementation; route DurableFunction.WrapAsync overloads through it.
Release 2026-06-25
Release 2026-06-25
Amazon.Lambda.Annotations (2.1.0)
- Add [DurableExecution] attribute and source generator support for durable execution functions. A method annotated with [LambdaFunction] and [DurableExecution] generates a handler wrapper that delegates to Amazon.Lambda.DurableExecution.DurableFunction.WrapAsync, and emits a DurableConfig block plus the lambda:CheckpointDurableExecution / lambda:GetDurableExecutionState IAM permissions in the generated CloudFormation/SAM template. Supports both the executable and class-library programming models on the managed runtime. Validates Zip packaging, the (TInput, IDurableContext) -> Task/Task signature, and the RetentionPeriodInDays / ExecutionTimeout bounds (AWSLambda0141-AWSLambda0144). Preview.
Release 2026-06-22 #3
Release 2026-06-22 #3
Amazon.Lambda.DurableExecution (0.1.1-preview)
- Identify durable-execution requests with an user-agent component so the service can track .NET SDK usage at runtime, matching the sibling Python/Java/JS SDKs.
Amazon.Lambda.Core (3.1.1)
- Fix type load issue due to Lambda Response Streaming. #2430
Amazon.Lambda.RuntimeSupport (2.1.2)
- Fix type load issue due to Lambda Response Streaming. #2430
Release 2026-06-22
Release 2026-06-22
Amazon.Lambda.DurableExecution (0.1.0-preview)
- Implement NestingType.Flat for ParallelAsync and MapAsync (previously threw NotSupportedException). Under Flat, each branch/item runs in a virtual context that emits no per-branch CONTEXT checkpoint; per-branch results and errors are recorded inline on the parent operation's payload, reducing checkpoint volume. Operations inside a flat branch (steps, waits) still checkpoint, re-parented to the parallel/map operation. NestingType.Nested remains the default.
- Handle large results (over the 256 KB per-operation checkpoint limit) for , , and . When a Flat concurrent operation's summary or a child context's result exceeds the limit, the inline result is stripped from the checkpoint and the operation is flagged with ; on a later replay the unit/child bodies are re-executed to recover the stripped values without re-checkpointing the already-terminal parent. Plain and results are unaffected, matching the Python/Java/JS SDKs.
- Enforce the request byte limit: the batcher pre-flushes before an operation update would push a batch over the byte (or count) cap, and sends an oversized update on its own.
Release 2026-06-17
Release 2026-06-17
Amazon.Lambda.DurableExecution (0.0.3-preview)
- Rename the durable execution logging scope key from to so the AWS Lambda console correctly surfaces an execution's logs.
- Add to for processing a collection in parallel with one child context per item and automatic checkpointing.
- Breaking: renamed the concurrent-operation parent checkpoint payload field from (shipped format) to . The deserializer only binds , so durable executions checkpointed by earlier SDK versions will deserialize with an empty unit list and lose their per-unit names/statuses (including drift detection) on replay. In-flight workflows started on an earlier version should be drained before upgrading.
Release 2026-06-15
Release 2026-06-15
Amazon.Lambda.DurableExecution (0.0.2-preview)
- Add to for running multiple workflow branches concurrently with automatic checkpointing.
Release 2026-06-11
Release 2026-06-11
Amazon.Lambda.DurableExecution (0.0.1-preview)
- Thread CancellationToken into every user Func accepted by IDurableContext (StepAsync, RunInChildContextAsync, WaitForCallbackAsync, WaitForConditionAsync). The token links the caller-supplied cancellation token with an SDK-owned workflow-shutdown signal so user step bodies unwind cleanly when the workflow is being torn down. Cancellation via the linked token is not checkpointed; user-thrown OperationCanceledException unrelated to the linked token continues to be treated as a normal step failure.
- Initial preview release of the Durable Execution SDK for .NET. Build long-running Lambda workflows with automatic checkpointing via , , , , and on .
- Add WaitForConditionAsync polling primitive: IDurableContext.WaitForConditionAsync, IConditionCheckContext, WaitForConditionConfig, IWaitStrategy, WaitDecision, WaitStrategy factory (Exponential/Linear/Fixed/FromDelegate), and WaitForConditionException with AttemptsExhausted and LastState
Release 2026-05-28
Release 2026-05-28
Amazon.Lambda.RuntimeSupport (2.1.1)
- Fix thread pool starvation under multi-concurrency
Release 2026-05-18
Release 2026-05-18
Amazon.Lambda.Core (3.1.0)
- [Preview] Add LambdaLogger.ConfigureStructuredLogging to customize the JsonSerializerOptions used for serializing logging parameters.
- Add preview ILambdaSerializer Serializer property to ILambdaContext (default-implemented to null on net8.0+) so user code can access the serializer registered with the runtime. Marked [Experimental(AWSLAMBDA001)]; class-library mode requires an updated managed Lambda runtime to populate this property. The Experimental flag will be removed in a follow-up release once the managed runtime is deployed.
Amazon.Lambda.RuntimeSupport (2.1.0)
- Add support for handling the structured logging customization from Amazon.Lambda.Core.
- Propagate the registered ILambdaSerializer to the per-invocation ILambdaContext.Serializer. Surfaces the new preview ILambdaContext.Serializer (AWSLAMBDA001); the Experimental flag will be removed in a follow-up release once the managed runtime is deployed.
Amazon.Lambda.Annotations (2.0.1)
- Fix CS0121 ambiguity error in generated Program.g.cs when a Lambda handler has no input parameters and returns Task. The source generator now uses the unambiguous LambdaBootstrapBuilder.Create(Func<Stream, Task>) overload for this case.
Amazon.Lambda.TestUtilities (4.1.0)
- Add Serializer setter to TestLambdaContext to mirror the new preview ILambdaContext.Serializer property. Marked [Experimental(AWSLAMBDA001)]; the Experimental flag will be removed in a follow-up release once the managed runtime is deployed.
Amazon.Lambda.AspNetCoreServer (10.1.1)
- Fix InvokeFeatures.Set to bump the feature collection revision so middleware that wraps the response body (e.g. OutputCache, ResponseCompression) is properly visible to ASP.NET Core's FeatureReferences cache. Resolves #1702 where IOutputCache stored empty response bodies.
Release 2026-05-15
Release 2026-05-15
Amazon.Lambda.AspNetCoreServer (10.1.0)
- Add APIGatewayWebsocketApiProxyFunction (and TStartup variant) so API Gateway WebSocket APIs can be hosted via LambdaServer (DI, controllers). WebSocket events are dispatched as POST requests whose path is the RouteKey, allowing controller actions like [HttpPost()] to handle them.
- Expose ParseHttpPath, ParseHttpMethod, and AddMissingRequestHeaders as protected virtual hooks on APIGatewayProxyFunction so subclasses can customize how the API Gateway request is mapped onto the ASP.NET Core request feature.
Amazon.Lambda.AspNetCoreServer.Hosting (2.1.0)
- Add LambdaEventSource.WebsocketApi so AddAWSLambdaHosting can wire ASP.NET Core minimal APIs and controllers up to API Gateway WebSocket events.