Skip to content

Tracking .NET 8 Support #1611

Closed
Closed
@normj

Description

@normj

Update 2/22/2024

The .NET 8 Lambda runtime has been released.

https://aws.amazon.com/blogs/compute/introducing-the-net-8-runtime-for-aws-lambda/


Completed Tasks

  • Amazon.Lambda.RuntimeSupport, the Lambda runtime client, has been updated for .NET 8 including making the assembly trimmable for .NET 8.
  • Use new .NET 8 APIs in Amazon.Lambda.RuntimeSupport to ensure the .NET runtime understands the amount of memory allocated to the function Use the new .NET 8 APIs to configure max heap memory size #1578
  • Event packages have been updated for .NET 8 including making the assemblies trimmable for .NET 8.
  • .NET CLI Lambda template updated to have custom runtime templates target .NET 8 and use the provided.al2023 runtime.
  • Amazon.Lambda.Annotations has been updated to support building as an executable assembly. AOT trimming warnings have also been addressed. This allows you target .NET 8 and deploy either as a self contained executable or AOT. A new project template using this feature, more documentation updates and a .NET 8 Lambda build image for AOT will be coming. Checkout James Eastham video on how to use this feature now: https://www.youtube.com/watch?v=kyb16r-Oul0
  • .NET 8 version of the .NET Mock Lambda Test Tool has been released.
  • The .NET 8 OCI image has been published to ECR https://gallery.ecr.aws/lambda/dotnet
    • public.ecr.aws/lambda/dotnet:8
  • .NET 8 build image used for container builds especially Native AOT builds has been released https://gallery.ecr.aws/sam/build-dotnet8
  • Amazon.Lambda.Tools has been updated to use the .NET 8 build image unless override by the --container-image-for-build switch. Amazon.Lambda.Tools will automatically use container builds when building for Native AOT to use matching Amazon Linux 2023 build environment.
  • Amazon.Lambda.AspNetCoreServer and Amazon.Lambda.AspNetCoreServer.Hosting have been updated to target .NET 8 and support Native AOT trimming.
  • Amazon.Lambda.Templates 7.0.0 has been released targeting the .NET Lambda templates to .NET 8.
  • Managed .NET 8 Lambda runtime using the identifier dotnet8 has been released.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions