Skip to content

Commit 8e24e6e

Browse files
Update dependency Amazon.Lambda.Tools to v5 (#1984)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [Amazon.Lambda.Tools](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli) | nuget | major | `2.2.0` -> `5.12.4` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>aws/aws-extensions-for-dotnet-cli (Amazon.Lambda.Tools)</summary> ### [`v5.12.4`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-5124) - Added logic to handle extraneous double-quotes around value for --msbuild-parameters that could be passed in .NET argument for certain execution environments. ### [`v5.12.3`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-5123) - Fixed issue when evaluating MSBuild properties like 'PublishAot' to include settings made in the aws-lambda-tools-defaults.json ### [`v5.12.2`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-5122) - Include user specified MSBuild parameters when evaluating MSBuild properties ### [`v5.12.1`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-5121) - Updated message related to self-contained runtimes with lambda functions - Update logic for finding project properties to use MSBuild instead of parsing the project file directly. See https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2022 for more details. - Fix 'SelfContained' property reading logic to actually read the value from the properties. Previously we were only checking that the value could be parsed and not reading the actual value. ### [`v5.12.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-5120) - Added `--snap-start-apply-on` switch to enable Lambda SnapStart ### [`v5.11.2`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-5112) - Fixed an issue causing 'lambda package' to hang when ran in CI/CD. ### [`v5.11.1`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-5111) - Fixed an issue where primitive values in payload for InvokeFunctionCommand were not working. - Fixed issue detecting if log parameters have changed since previous deployment. ### [`v5.11.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-5110) - Add the `--log-format`, `--log-application-level`, `--log-system-level` and `--log-group` switches to the deploy-function command for configuring logging for the Lambda function. ### [`v5.10.7`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-5107) - Fixed an issue where `CodeUri` set in `Globals` section is ignored for `AWS::Serverless::Function` resource. ### [`v5.10.6`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-5106) - Update the dependencies for the embedded zipping utility used to set file permissions correctly when creating deployment bundles on Windows ### [`v5.10.5`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-5105) - Update User-Agent string ### [`v5.10.4`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-5104) - Fixed an issue where deploying .NET 8 Native AOT Web Apps fails because of a check that looks for the OutputType property explicitly in the .csproj. ### [`v5.10.3`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-5103) - Fixed issue not correctly identifying running on Amazon Linux 2023 forcing a container build for Native AOT. ### [`v5.10.2`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-5102) - Fixed incorrectly using "JSON Data" as the architecture value from CloudFormation template ### [`v5.10.1`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-5101) - Fixed issue with the configured architecture of the Lambda function not being used when building the container image. This caused images to be built for X64 when the function was configured for ARM64. ### [`v5.10.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-5100) - Added the default .NET 8 build image when using container builds. Container builds are most often used when building for Native AOT. ### [`v5.9.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-590) - For Amazon Linux 2023 when building for Native AOT container build defaults to false. This is the same behavior as Amazon Linux 2. ### [`v5.8.1`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-581) - Update AWSSDK dependencies. This is primarily to pull in a fix to support sso_session in the config file when using SSO credentials. ### [`v5.8.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-580) - Pull Request [#&#8203;287](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/pull/287) adding a new `--stack-polling-delay` switch to control polling interval to CloudFormation. This is useful for environments that are seeing CloudFormation throttling issues. Thanks [Alex Gausman](https://redirect.github.com/alex-gausman). ### [`v5.7.2`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-572) - fix: ensure net6.0 runtimes are copied with the publish artifacts ### [`v5.7.1`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-571) - Improve error reporting back for AWS Toolkit for Visual Studio integration. ### [`v5.7.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-570) - Enabled support for using container builds for .NET 7 ARM. This includes support for producing .NET 7 ARM AOT Lambda functions. ### [`v5.6.6`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-566) - Fixed issue reading self contained property from project file. ### [`v5.6.5`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-565) - Allow self contained in csproj. - Fixed an issue where lambda deploy-serverless command tries to build image when ImageUri is set in template without any Metadata. ### [`v5.6.4`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-564) - Fixed an issue which caused upgrading from an End-of-Life .NET version to a supported version to fail. ### [`v5.6.3`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-563) - Pull Request [#&#8203;257](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/pull/257) supporting non-root users when doing container based builds. Thanks [Jason T](https://redirect.github.com/jasonterando) - Pull Request [#&#8203;260](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/pull/260) fixed typo in Security Groups option name. Thanks [Mohammad Sadegh Shad](https://redirect.github.com/m-sadegh-sh) ### [`v5.6.2`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-562) - Fixed regression in 5.6.0 that prevented the package command for non managed .NET runtime like .NET 5 and 7. This feature is required for SAM container image builds. ### [`v5.6.1`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-561) - Fixed regression in 5.6.0 that excluded pdb files from being packaged in deployment bundle breaking SAM debugger experience. ### [`v5.6.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-560) - Added support for deploying Native AOT .NET 7 Lambda functions. To enable Native AOT set the PublishAot property in project file to true. - Added support for container builds when creating deployment bundle. ### [`v5.5.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-550) - Add new --resolve-s3 switch that can replace the --s3-bucket switch. When --resolve-s3 is set true the tool will ensure a default bucket exists and use that bucket for storing deployment bundles. ### [`v5.4.5`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-545) - Fixes an issue where Lambda deploy-function fails when choosing option to add permissions later. ### [`v5.4.4`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-544) - Bump Newtonsoft.Json to 13.0.1 ### [`v5.4.3`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-543) - Added ability to use DockerBuildArgs in Amazon.Lambda.Tools serverless template. ### [`v5.4.2`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-542) - Only modify Function Url if `--function-url-enable` flag is set. - Fixed an issue where lambda push-image command was ignoring Docker options. ### [`v5.4.1`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-541) - Fixed issue when `--function-url-enable` is absent the function url config was unintendedly removed. ### [`v5.4.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-540) - Added `--function-url-enable` and `--function-url-auth` switches to configure Lambda Function Url. - Added `--ephemerals-storage-size` switch to configure the size of writable the `/tmp` folder. - Fixed issue with removing all values from the following collection properties: Environment Variables, Layers and VPC subnets and security groups. ### [`v5.3.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-530) - Package the tool targeting .NET 6 as well as the previous .NET Core 3.1 to support Mac M1 developers. - Add .NET 6 target framework moniker to .NET 6 Lambda runtime enum mapping. ### [`v5.2.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-520) - Added support for deploying ARM based Lambda functions with the new `--function-architecture` switch. ### [`v5.1.4`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-514) - Added reference to AWSSDK.SSO and AWSSDK.SSOOIDC for SSO flow. ### [`v5.1.3`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-513) - Updated to version 3.7.0.27 of AWSSDK.Core - Updated to version 3.7.1.15 of AWSSDK.SecurityToken ### [`v5.1.2`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-512) - Pull request [#&#8203;170](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/pull/170) Fixed issue with unnecessary function config update when using VPC settings. Thanks [Abubaker Bashir](https://redirect.github.com/AbubakerB) - Pull request [#&#8203;169](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/pull/169) Fixed issue with runtime and handler fields not being updated. Thanks [Abubaker Bashir](https://redirect.github.com/AbubakerB) ### [`v5.1.1`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-511) - Fixed an issue where relative paths in package-ci command were not working. ### [`v5.1.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-510) - Update to latest version of the AWS SDK for .NET. ### [`v5.0.2`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-502) - Updated version of the AWS SDK for .NET used to include support for SSO. - Pull request [#&#8203;163](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/pull/163) Fixed random manifest names causing zip package hash refresh on every build. Thanks [aohotnik](https://redirect.github.com/aohotnik) - Pull request [#&#8203;152](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/pull/152) Pass OriginalCommandLineArguments to Command constructor. Thanks [Vickram Ravichandran](https://redirect.github.com/vickramravichandran) ### [`v5.0.1`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-501) - Fixed issue with handling Lambda projects that were multi targeting .NET versions ### [`v5.0.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-500) - Updated deploy-function to have the following switches to support Lambda functions packaged as container images. - `--package-type`: Determines the format for packaging Lambda function. Valid values are `zip` and `image`. Default is `zip`. - `--image-entrypoint`: Overrides the image's ENTRYPOINT when package type is set `image` - `--image-command`: Overrides the image's CMD when package type is set `image` - `--image-working-directory`: Overrides the image's working directory when package type is set `image` - `--image-tag`: Name and optionally a tag in the 'name:tag' format - `--local-docker-image`: If set the docker build command is skipped and the indicated local image is pushed to ECR - `--dockerfile`: The docker file used build image. Default value is "Dockerfile" - `--docker-build-options`: Additional options passed to the "docker build" command - `--docker-build-working-dir`: The directory to execute the "docker build" command from - `--docker-host-build-output-dir`: If set a "dotnet publish" command is executed on the host machine before executing "docker build". The output can be copied into image being built. - Updated `deploy-serverless` command to build and push Lambda functions as container images if CloudFormation resource has `PackageType` set to `image` - Updated `package` command to build container image if `--package-type` is set to `image`. The image can later be used with `deploy-function` using the `--local-docker-image` - Added push-image command to build .NET Lambda project and push to ECR ### [`v4.3.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonElasticBeanstalkTools-430) - Package the tool targeting .NET 6 as well as the previous .NET Core 3.1 to support Mac M1 developers. ### [`v4.2.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonElasticBeanstalkTools-420) - Update to latest version of the AWS SDK for .NET. ### [`v4.1.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonElasticBeanstalkTools-410) - Update to latest version of the AWS SDK for .NET. ### [`v4.0.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonElasticBeanstalkTools-400) - Added support to to deploy to the new Beanstalk ".NET Core for Linux" platform. - Added ability to enable sticky sessions. - Added switch to do a self contained publish ### [`v3.3.1`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonECSTools-331) - Updated version of the AWS SDK for .NET used to include support for SSO. ### [`v3.3.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonECSTools-330) - Added support for deploying scheduled tasks using AWS Fargate. - The docker image tag will be used from either the newer `--image-tag` switch or the deprecated `--tag` switch. ### [`v3.2.3`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-323) - Fixed issue filename or extension is too long when passing a large number of file arguments to the zip utility. ### [`v3.2.2`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-322) - Fixed issue with package not being able to installed on non-windows platforms. ### [`v3.2.1`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-321) - Removed ASP.NET Core version check. This is no longer needed now that the .NET Core SDK no longer sets the runtime version to the latest patched version that is installed on the machine that is creating the deployment package. - Fixed issue of not handling embedded node.js or python code in CloudFormation template. ### [`v3.2.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonECSTools-320) - Update to latest version of the AWS SDK for .NET. ### [`v3.1.4`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-314) - Make `--framework` switch optional. If it is not set then the project file will be inspected to determine framework. - Add deprecation warning message when using .NET Core 2.0 Lambda runtime. ### [`v3.1.3`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-313) - Changes to get this tool ready for the upcoming ability to use a custom .NET Core runtimes. Follow [#&#8203;405](https://redirect.github.com/aws/aws-lambda-dotnet/issues/405) GitHub issue for the upcoming **Amazon.Lambda.RuntimeSupport** library. - Zipping the deployment bundle on Windows was switch to use a new Go executable to allow setting linux file permisisons. The Go executable is distributed with this tool so this change should be transparent to users. - Fixed issue with config files specified with the `--config-file` not being found when the `--project-location` switch was used. ### [`v3.1.2`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-312) - Fixed issue with failed deployments when CloudFormation template was greater then 50,000 . - Added support for CAPABILITY_AUTO_EXPAND for deploy-serverless command. ### [`v3.1.1`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-311) - Fix issue looking for Lambda runtime from CloudFormation template when runtime specified in the Globals section. ### [`v3.1.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonCommonDotNetCliTools-3101) - Fixes an issue where exception could occur while expanding null policy name and attaching it to a role. ### [`v3.0.1`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonElasticBeanstalkTools-301) - Pull request [#&#8203;43](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/pull/43), fixing issue with wrong directory separater when creating zip file. Thanks [bartoszsiekanski](https://redirect.github.com/bartoszsiekanski) ### [`v3.0.0`](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/blob/HEAD/CHANGELOG.md#AmazonLambdaTools-300) - Switch to Global Tool. - Made the **--apply-defaults** switch **obsolete**. Defaults from config file are now always applied. - Added new **--append-environment-variables** switch to add new environment variables without overwriting existing environment variables. - Added validation that if a config file is explicitly set and the file can not be found then throw an exception - Improve error reporting when failed to parse command line arguments. - Pull request [#&#8203;29](https://redirect.github.com/aws/aws-extensions-for-dotnet-cli/pull/29) changing publishing RID to rhel.7.2-x64 the closest match to Amazon Linux. - **PreserveCompilationContext** in the **--msbuild-parameters** switch overrides this tool's default behavior of setting /p:PreserveCompilationContext=false. - Fixed bug incorrectly executing chmod on a file with spaces in the name. - Add ability to pass AWS credentials using the switches --aws-access-key-id, --aws-secret-key and --aws-session-token </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - "every weekday" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJpbXBhY3Qvbm8tY2hhbmdlbG9nLXJlcXVpcmVkIl19--> Co-authored-by: pulumi-renovate[bot] <189166143+pulumi-renovate[bot]@users.noreply.github.com>
1 parent 22c5b68 commit 8e24e6e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aws-py-serverless-raw/app/app.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</ItemGroup>
1717

1818
<ItemGroup>
19-
<DotNetCliToolReference Include="Amazon.Lambda.Tools" Version="2.2.0" />
19+
<DotNetCliToolReference Include="Amazon.Lambda.Tools" Version="5.12.4" />
2020
</ItemGroup>
2121

2222
</Project>

aws-ts-serverless-raw/app/app.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</ItemGroup>
1717

1818
<ItemGroup>
19-
<DotNetCliToolReference Include="Amazon.Lambda.Tools" Version="2.2.0" />
19+
<DotNetCliToolReference Include="Amazon.Lambda.Tools" Version="5.12.4" />
2020
</ItemGroup>
2121

2222
</Project>

0 commit comments

Comments
 (0)