From 8a14c32a6e27e97a1b6a9ff9831af3f2344cb2c3 Mon Sep 17 00:00:00 2001 From: Phil Asmar Date: Fri, 29 Nov 2024 12:22:08 -0500 Subject: [PATCH 1/3] fix: add NET 9 to fix Lambda custom runtime image --- .autover/autover.json | 4 ++++ .../changes/27878e75-1d65-4334-b3cc-fb79a84f9456.json | 11 +++++++++++ .../changes/b9c57497-1ab4-4d26-8cc6-6aa945f7ac96.json | 11 +++++++++++ .../Amazon.Lambda.RuntimeSupport.csproj | 6 +++--- .../SnapshotRestore.Registry.csproj | 2 +- 5 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 .autover/changes/27878e75-1d65-4334-b3cc-fb79a84f9456.json create mode 100644 .autover/changes/b9c57497-1ab4-4d26-8cc6-6aa945f7ac96.json diff --git a/.autover/autover.json b/.autover/autover.json index 34267e0c5..a5257a79d 100644 --- a/.autover/autover.json +++ b/.autover/autover.json @@ -131,6 +131,10 @@ { "Name": "Amazon.Lambda.Templates", "Path": "Blueprints/BlueprintDefinitions/vs2022/Templates.csproj" + }, + { + "Name": "SnapshotRestore.Registry", + "Path": "Libraries/src/SnapshotRestore.Registry/SnapshotRestore.Registry.csproj" } ], "UseCommitsForChangelog": false, diff --git a/.autover/changes/27878e75-1d65-4334-b3cc-fb79a84f9456.json b/.autover/changes/27878e75-1d65-4334-b3cc-fb79a84f9456.json new file mode 100644 index 000000000..cfbbed4f9 --- /dev/null +++ b/.autover/changes/27878e75-1d65-4334-b3cc-fb79a84f9456.json @@ -0,0 +1,11 @@ +{ + "Projects": [ + { + "Name": "Amazon.Lambda.RuntimeSupport", + "Type": "Patch", + "ChangelogMessages": [ + "Updated project to support building the .NET 9 Lambda custom runtime image" + ] + } + ] +} \ No newline at end of file diff --git a/.autover/changes/b9c57497-1ab4-4d26-8cc6-6aa945f7ac96.json b/.autover/changes/b9c57497-1ab4-4d26-8cc6-6aa945f7ac96.json new file mode 100644 index 000000000..e8b42a71f --- /dev/null +++ b/.autover/changes/b9c57497-1ab4-4d26-8cc6-6aa945f7ac96.json @@ -0,0 +1,11 @@ +{ + "Projects": [ + { + "Name": "SnapshotRestore.Registry", + "Type": "Patch", + "ChangelogMessages": [ + "Updated project to support building the .NET 9 Lambda custom runtime image" + ] + } + ] +} \ No newline at end of file diff --git a/Libraries/src/Amazon.Lambda.RuntimeSupport/Amazon.Lambda.RuntimeSupport.csproj b/Libraries/src/Amazon.Lambda.RuntimeSupport/Amazon.Lambda.RuntimeSupport.csproj index c15ef3e33..c99cf3ff0 100644 --- a/Libraries/src/Amazon.Lambda.RuntimeSupport/Amazon.Lambda.RuntimeSupport.csproj +++ b/Libraries/src/Amazon.Lambda.RuntimeSupport/Amazon.Lambda.RuntimeSupport.csproj @@ -3,7 +3,7 @@ - netstandard2.0;net5.0;net6.0;net8.0 + netstandard2.0;net6.0;net8.0;net9.0 1.12.1 Provides a bootstrap and Lambda Runtime API Client to help you to develop custom .NET Core Lambda Runtimes. Amazon.Lambda.RuntimeSupport @@ -20,7 +20,7 @@ Exe - + IL2026,IL2067,IL2075 true true @@ -41,7 +41,7 @@ - + diff --git a/Libraries/src/SnapshotRestore.Registry/SnapshotRestore.Registry.csproj b/Libraries/src/SnapshotRestore.Registry/SnapshotRestore.Registry.csproj index 049fcf90e..44604c68a 100644 --- a/Libraries/src/SnapshotRestore.Registry/SnapshotRestore.Registry.csproj +++ b/Libraries/src/SnapshotRestore.Registry/SnapshotRestore.Registry.csproj @@ -1,7 +1,7 @@  - net8.0 + net8.0;net9.0 1.0.0 Provides a Restore Hooks library to help you register before snapshot and after restore hooks. SnapshotRestore.Registry From d9e1050545a8d3c10eef5faa2c485c6d9a07361a Mon Sep 17 00:00:00 2001 From: Phil Asmar Date: Fri, 29 Nov 2024 13:35:20 -0500 Subject: [PATCH 2/3] chore: add License URL to projects that don't have it --- .../changes/2685eba0-7e2e-4bb7-aa6c-4a237434d388.json | 11 +++++++++++ .../changes/40379e2a-29d6-4e86-a7c8-af98eacf5dd9.json | 11 +++++++++++ .../Amazon.Lambda.Annotations.SourceGenerator.csproj | 1 + .../SnapshotRestore.Registry.csproj | 2 ++ buildtools/common.props | 2 +- 5 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .autover/changes/2685eba0-7e2e-4bb7-aa6c-4a237434d388.json create mode 100644 .autover/changes/40379e2a-29d6-4e86-a7c8-af98eacf5dd9.json diff --git a/.autover/changes/2685eba0-7e2e-4bb7-aa6c-4a237434d388.json b/.autover/changes/2685eba0-7e2e-4bb7-aa6c-4a237434d388.json new file mode 100644 index 000000000..5ab99c476 --- /dev/null +++ b/.autover/changes/2685eba0-7e2e-4bb7-aa6c-4a237434d388.json @@ -0,0 +1,11 @@ +{ + "Projects": [ + { + "Name": "SnapshotRestore.Registry", + "Type": "Patch", + "ChangelogMessages": [ + "Added License URL to project" + ] + } + ] +} \ No newline at end of file diff --git a/.autover/changes/40379e2a-29d6-4e86-a7c8-af98eacf5dd9.json b/.autover/changes/40379e2a-29d6-4e86-a7c8-af98eacf5dd9.json new file mode 100644 index 000000000..3e568add4 --- /dev/null +++ b/.autover/changes/40379e2a-29d6-4e86-a7c8-af98eacf5dd9.json @@ -0,0 +1,11 @@ +{ + "Projects": [ + { + "Name": "Amazon.Lambda.Annotations", + "Type": "Patch", + "ChangelogMessages": [ + "Added License URL to project" + ] + } + ] +} \ No newline at end of file diff --git a/Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Amazon.Lambda.Annotations.SourceGenerator.csproj b/Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Amazon.Lambda.Annotations.SourceGenerator.csproj index 532f007e4..475d638da 100644 --- a/Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Amazon.Lambda.Annotations.SourceGenerator.csproj +++ b/Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Amazon.Lambda.Annotations.SourceGenerator.csproj @@ -9,6 +9,7 @@ https://github.com/aws/aws-lambda-dotnet images\icon.png docs\README.md + https://aws.amazon.com/apache2.0/ diff --git a/Libraries/src/SnapshotRestore.Registry/SnapshotRestore.Registry.csproj b/Libraries/src/SnapshotRestore.Registry/SnapshotRestore.Registry.csproj index 44604c68a..fefd5c2ea 100644 --- a/Libraries/src/SnapshotRestore.Registry/SnapshotRestore.Registry.csproj +++ b/Libraries/src/SnapshotRestore.Registry/SnapshotRestore.Registry.csproj @@ -1,5 +1,7 @@  + + net8.0;net9.0 1.0.0 diff --git a/buildtools/common.props b/buildtools/common.props index f0c4b9113..0c50676c7 100644 --- a/buildtools/common.props +++ b/buildtools/common.props @@ -13,7 +13,7 @@ https://sdk-for-net.amazonwebservices.com/images/AWSLogo128x128.png https://github.com/aws/aws-lambda-dotnet - http://aws.amazon.com/apache2.0/ + https://aws.amazon.com/apache2.0/ false From 824d029529f8947c02d214926973c9ef851e270d Mon Sep 17 00:00:00 2001 From: Phil Asmar Date: Fri, 29 Nov 2024 13:44:32 -0500 Subject: [PATCH 3/3] replied to norms comment --- .../Amazon.Lambda.Annotations.SourceGenerator.csproj | 2 +- buildtools/common.props | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Amazon.Lambda.Annotations.SourceGenerator.csproj b/Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Amazon.Lambda.Annotations.SourceGenerator.csproj index 475d638da..d240015a0 100644 --- a/Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Amazon.Lambda.Annotations.SourceGenerator.csproj +++ b/Libraries/src/Amazon.Lambda.Annotations.SourceGenerator/Amazon.Lambda.Annotations.SourceGenerator.csproj @@ -9,7 +9,7 @@ https://github.com/aws/aws-lambda-dotnet images\icon.png docs\README.md - https://aws.amazon.com/apache2.0/ + Apache-2.0 diff --git a/buildtools/common.props b/buildtools/common.props index 0c50676c7..70fbc9abb 100644 --- a/buildtools/common.props +++ b/buildtools/common.props @@ -13,7 +13,7 @@ https://sdk-for-net.amazonwebservices.com/images/AWSLogo128x128.png https://github.com/aws/aws-lambda-dotnet - https://aws.amazon.com/apache2.0/ + Apache-2.0 false