Skip to content

Latest commit

 

History

History
544 lines (396 loc) · 26.3 KB

CHANGELOG.md

File metadata and controls

544 lines (396 loc) · 26.3 KB

Release 2024-11-08

Amazon.Lambda.Tools (5.11.2)

  • Fixed an issue causing 'lambda package' to hang when ran in CI/CD.

Release 2024-11-01

Amazon.Lambda.Tools (5.11.1)

  • Fixed an issue where primitive values in payload for InvokeFunctionCommand were not working.
  • Fixed issue detecting if log parameters have changed since previous deployment.

Release 2024-10-09

Amazon.Lambda.Tools (5.11.0)

  • 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.

Release 2024-07-09

Amazon.Lambda.Tools (5.10.7)

  • Fixed an issue where CodeUri set in Globals section is ignored for AWS::Serverless::Function resource.

Amazon.ElasticBeanstalk.Tools (4.4.0)

  • Added support for new command line parameter --disable-imds-v1 to disable IMDSv1 for Elastic BeanStalk environments.

Release 2024-06-14

Amazon.Lambda.Tools (5.10.6)

  • Update the dependencies for the embedded zipping utility used to set file permissions correctly when creating deployment bundles on Windows

Release 2024-04-24

Amazon.Lambda.Tools (5.10.5)

  • Update User-Agent string

Amazon.ECS.Tools (3.5.6)

  • Update User-Agent string

Amazon.ElasticBeanstalk.Tools (4.3.4)

  • Update User-Agent string

Release 2024-04-04

Amazon.Lambda.Tools (5.10.4)

  • 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.

Release 2024-03-14

Amazon.Lambda.Tools (5.10.3)

  • Fixed issue not correctly identifying running on Amazon Linux 2023 forcing a container build for Native AOT.

Release 2024-03-01

Amazon.Lambda.Tools (5.10.2)

  • Fixed incorrectly using "JSON Data" as the architecture value from CloudFormation template

Release 2024-02-23

Amazon.Lambda.Tools (5.10.1)

  • 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.

Release 2024-02-12

Amazon.Lambda.Tools (5.10.0)

  • Added the default .NET 8 build image when using container builds. Container builds are most often used when building for Native AOT.

Release 2023-11-14

Amazon.Lambda.Tools (5.9.0)

  • For Amazon Linux 2023 when building for Native AOT container build defaults to false. This is the same behavior as Amazon Linux 2.

Release 2023-10-13

Amazon.Lambda.Tools (5.8.1)

  • Update AWSSDK dependencies. This is primarily to pull in a fix to support sso_session in the config file when using SSO credentials.

Amazon.ECS.Tools (3.5.5)

  • Update AWSSDK dependencies. This is primarily to pull in a fix to support sso_session in the config file when using SSO credentials.

Amazon.ElasticBeanstalk.Tools (4.3.3)

  • Update AWSSDK dependencies. This is primarily to pull in a fix to support sso_session in the config file when using SSO credentials.

Release 2023-09-11

Amazon.ECS.Tools (3.5.4)

  • Pull Request #224 Fix task-definition-volumes and container-mount-points not work issue. Thanks Gary zhurongbo111

Release 2023-08-18

Amazon.ECS.Tools (3.5.3)

  • Pull Request #286 to improve error reporting with ECS workflows. Thanks Shruti Sinha

Release 2023-08-02

Amazon.Lambda.Tools (5.8.0)

  • Pull Request #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.

Release 2023-06-28

Amazon.Lambda.Tools (5.7.2)

  • fix: ensure net6.0 runtimes are copied with the publish artifacts

Release 2023-06-26

Amazon.Lambda.Tools (5.7.1)

  • Improve error reporting back for AWS Toolkit for Visual Studio integration.

Release 2023-06-02

Amazon.Lambda.Tools (5.7.0)

  • Enabled support for using container builds for .NET 7 ARM. This includes support for producing .NET 7 ARM AOT Lambda functions.

Release 2023-04-13

Amazon.Lambda.Tools (5.6.6)

  • Fixed issue reading self contained property from project file.

Release 2023-04-11

Amazon.Lambda.Tools (5.6.5)

  • 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.

Release 2023-03-15

Amazon.Lambda.Tools (5.6.4)

  • Fixed an issue which caused upgrading from an End-of-Life .NET version to a supported version to fail.

Release 2023-01-18

Amazon.Lambda.Tools (5.6.3)

  • Pull Request #257 supporting non-root users when doing container based builds. Thanks Jason T
  • Pull Request #260 fixed typo in Security Groups option name. Thanks Mohammad Sadegh Shad

Release 2022-11-14

Amazon.Lambda.Tools (5.6.2)

  • 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.

Release 2022-11-08

Amazon.Lambda.Tools (5.6.1)

  • Fixed regression in 5.6.0 that excluded pdb files from being packaged in deployment bundle breaking SAM debugger experience.

Release 2022-11-08

Amazon.Lambda.Tools (5.6.0)

  • 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.

Release 2022-10-26

Amazon.Lambda.Tools (5.5.0)

  • 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.

Release 2022-08-18

Amazon.Common.DotNetCli.Tools (3.1.0.1)

  • Fixes an issue where exception could occur while expanding null policy name and attaching it to a role.

Amazon.Lambda.Tools (5.4.5)

  • Fixes an issue where Lambda deploy-function fails when choosing option to add permissions later.

Amazon.ECS.Tools (3.5.2)

  • Updated to reference the latest version of Amazon.Common.DotNetCli.Tools.

Amazon.ElasticBeanstalk.Tools (4.3.2)

  • Updated to reference the latest version of Amazon.Common.DotNetCli.Tools.

Release 2022-06-27

Amazon.Lambda.Tools (5.4.4)

  • Bump Newtonsoft.Json to 13.0.1

Release 2022-06-21

Amazon.Lambda.Tools (5.4.3)

  • Added ability to use DockerBuildArgs in Amazon.Lambda.Tools serverless template.

Release 2022-06-02

Amazon.Lambda.Tools (5.4.2)

  • Only modify Function Url if --function-url-enable flag is set.
  • Fixed an issue where lambda push-image command was ignoring Docker options.

Release 2022-04-25

Amazon.Lambda.Tools (5.4.1)

  • Fixed issue when --function-url-enable is absent the function url config was unintendedly removed.

Release 2022-04-25

Amazon.Lambda.Tools (5.4.0)

  • 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.

Release 2022-02-14

Amazon.Lambda.Tools (5.3.0)

  • 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.

Amazon.ECS.Tools (3.5.0)

  • Package the tool targeting .NET 6 as well as the previous .NET Core 3.1 to support Mac M1 developers.

Amazon.ElasticBeanstalk.Tools (4.3.0)

  • Package the tool targeting .NET 6 as well as the previous .NET Core 3.1 to support Mac M1 developers.

Release 2021-09-29

Amazon.Lambda.Tools (5.2.0)

  • Added support for deploying ARM based Lambda functions with the new --function-architecture switch.

Release 2021-09-28

Amazon.ECS.Tools (3.4.3)

  • Fixed an issue where ECS log configuration argument is overwritten with awslogs defaults.

Release 2021-06-17

Amazon.Lambda.Tools (5.1.4)

  • Added reference to AWSSDK.SSO and AWSSDK.SSOOIDC for SSO flow.

Amazon.ECS.Tools (3.4.2)

  • Added reference to AWSSDK.SSO and AWSSDK.SSOOIDC for SSO flow.

Amazon.ElasticBeanstalk.Tools (4.2.2)

  • Added reference to AWSSDK.SSO and AWSSDK.SSOOIDC for SSO flow.

Release 2021-06-02

Amazon.Lambda.Tools (5.1.3)

  • Updated to version 3.7.0.27 of AWSSDK.Core
  • Updated to version 3.7.1.15 of AWSSDK.SecurityToken

Amazon.ECS.Tools (3.4.1)

  • Updated to version 3.7.0.27 of AWSSDK.Core
  • Updated to version 3.7.1.15 of AWSSDK.SecurityToken

Amazon.ElasticBeanstalk.Tools (4.2.1)

  • Updated to version 3.7.0.27 of AWSSDK.Core
  • Updated to version 3.7.1.15 of AWSSDK.SecurityToken

Release 2021-05-03

Amazon.Lambda.Tools (5.1.2)

  • Pull request #170 Fixed issue with unnecessary function config update when using VPC settings. Thanks Abubaker Bashir
  • Pull request #169 Fixed issue with runtime and handler fields not being updated. Thanks Abubaker Bashir

Release 2021-04-14

Amazon.Lambda.Tools (5.1.1)

  • Fixed an issue where relative paths in package-ci command were not working.

Release 2021-04-02

Amazon.Lambda.Tools (5.1.0)

  • Update to latest version of the AWS SDK for .NET.

Amazon.ECS.Tools (3.4.0)

  • Update to latest version of the AWS SDK for .NET.

Amazon.ElasticBeanstalk.Tools (4.2.0)

  • Update to latest version of the AWS SDK for .NET.

Release 2021-03-24

Amazon.Lambda.Tools (5.01.0)

  • Updated to version 3.7 of the AWS SDK for .NET

Amazon.ECS.Tools (3.4.0)

  • Updated to version 3.7 of the AWS SDK for .NET

Amazon.ElasticBeanstalk.Tools (4.2.0)

  • Updated to version 3.7 of the AWS SDK for .NET

Release 2021-03-24

Amazon.Lambda.Tools (5.0.2)

  • Updated version of the AWS SDK for .NET used to include support for SSO.
  • Pull request #163 Fixed random manifest names causing zip package hash refresh on every build. Thanks aohotnik
  • Pull request #152 Pass OriginalCommandLineArguments to Command constructor. Thanks Vickram Ravichandran

Amazon.ECS.Tools (3.3.1)

  • Updated version of the AWS SDK for .NET used to include support for SSO.

Amazon.ElasticBeanstalk.Tools (4.1.1)

  • Updated version of the AWS SDK for .NET used to include support for SSO.

Release 2021-01-21

Amazon.Lambda.Tools (5.0.1)

  • Fixed issue with handling Lambda projects that were multi targeting .NET versions

Amazon.ECS.Tools (3.3.0)

  • 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.

Release 2020-12-01

Amazon.Lambda.Tools (5.0.0)

  • 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

Release 2020-10-19

Amazon.Lambda.Tools (4.3.0)

  • Update to latest version of the AWS SDK for .NET.

Amazon.ECS.Tools (3.2.0)

  • Update to latest version of the AWS SDK for .NET.

Amazon.ElasticBeanstalk.Tools (4.1.0)

  • Update to latest version of the AWS SDK for .NET.

Release 2020-10-15

Amazon.Lambda.Tools (4.2.0)

  • Add support for creating .NET Lambda layers for .NET Core 3.1.

Release 2020-07-22

Amazon.Lambda.Tools (4.1.0)

  • Pull Request $120: Echo the full dotnet publish command using during lambda deployment. Thanks Tom Makin
  • Fixed issue when publish PowerShell Lambda functions with PowerShell unable to find system modules folder when deployed to Lambda.

Release 2020-06-23

Amazon.ElasticBeanstalk.Tools (4.0.0)

  • 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

Release 2020-03-31

Amazon.Lambda.Tools (4.0.0)

  • Added support to deploy to .NET Core 3.1 Lambda runtime
  • Switch RID to linux-x64 when packaging runtimes on Amazon Linux 2. Currently that is only .NET Core 3.1.
  • If --runtime is set by the user via --msbuild-parameters switch then Amazon.Lambda.Tools will not set the --runtime switch itself when calling dotnet package.
  • Disable creating of Lambda layers for .NET Core 3.1 due to an issue in dotnet store command. Read here on the issue. dotnet/sdk#10973

Release 2019-09-17

Amazon.Lambda.Tools (3.3.0)

  • Fixed issue #90: Error parsing layer description while listing layers
  • Fixed issue #30: Parsed yaml CloudFormaion template failure if there was no Properties node.
  • Pull request #89 Fixed typo warning how to set the DOTNET_SHARED_STORE environment varaible. Thanks Oleg Kosmakov

Release 2019-08-16

Amazon.Lambda.Tools (3.3.0)

  • Added MFA support
  • Add runtime config setting to roll forward to major versions of .NET Core if 2.X is not installed.

Amazon.ECS.Tools (3.1.0)

  • Added MFA support
  • Add runtime config setting to roll forward to major versions of .NET Core if 2.X is not installed.

Amazon.ElasticBeanstalk.Tools (3.2.0)

  • Added MFA support
  • Add runtime config setting to roll forward to major versions of .NET Core if 2.X is not installed.

Release 2019-05-02

Amazon.Lambda.Tools (3.2.3)

  • Fixed issue filename or extension is too long when passing a large number of file arguments to the zip utility.

Release 2019-04-19

Amazon.Lambda.Tools (3.2.2)

  • Fixed issue with package not being able to installed on non-windows platforms.

Release 2019-04-18

Amazon.Lambda.Tools (3.2.1)

  • 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.

Release 2019-03-25

Amazon.Lambda.Tools (3.2.0)

  • Added support for using .NET Core runtime package stores as Lambda layers. For a full description checkout the .NET Lambda Layer docs.
  • Fixed issue with Windows line ending when deploy a Custom Runtime Lambda function.

Release 2019-03-18

Amazon.Lambda.Tools (3.1.4)

  • 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.

Release 2019-03-07

Amazon.ElasticBeanstalk.Tools (3.1.0)

  • Pull request #55 add package command to package an application as a zip file to later be deployed to Beanstalk. Thanks Anthony Abate
  • Pull Request #57 allows string parameters to point to environment variables. Thanks Anthony Abate
    • For example the in the following aws-beanstalk-tools-defaults.json file the Beanstalk application name will come from the EB_APP environment variable and the environment name will come from EB_ENV.
{                                                                                 
  "application" : "$(EN_APP)",                                                        
  "environment" : "$(EB_ENV)"
}                                                                                 

Release 2019-03-06

Amazon.Lambda.Tools (3.1.3)

  • Changes to get this tool ready for the upcoming ability to use a custom .NET Core runtimes. Follow #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.

Release 2019-01-04

Amazon.Lambda.Tools (3.1.2)

  • Fixed issue with failed deployments when CloudFormation template was greater then 50,000 .
  • Added support for CAPABILITY_AUTO_EXPAND for deploy-serverless command.

Release 2018-11-19

Amazon.Lambda.Tools (3.1.1)

  • Fix issue looking for Lambda runtime from CloudFormation template when runtime specified in the Globals section.

Amazon.ElasticBeanstalk.Tools (3.0.1)

  • Pull request #43, fixing issue with wrong directory separater when creating zip file. Thanks bartoszsiekanski

Release 2018-10-12

Amazon.Lambda.Tools (3.1.0)

  • Updated the deploy-serverless and package-ci command to support deploying multiple projects. Each AWS::Lambda::Function or AWS::Serverless::Function can now point to different .NET projects locally using the CloudFormation resource's code properties. If the code property is not set then the current directory assumed.
  • Pull request #39, fixing issue related to yaml templates containing intrinsic functions in the short form. Thanks to Albert Szilvasy
  • Added --tags property to deploy-serverless command to apply AWS Tags to the CloudFormation stack and the resources the stack creates.

Release 2018-09-11

Amazon.Lambda.Tools (3.0.1)

  • Fixed issue incorrectly checking if deployment command was being executed in a project directory when using a precompiled package zip file.

Release 2018-09-10

Amazon.Lambda.Tools (3.0.0)

  • 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 #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

Amazon.ECS.Tools (3.0.0)

  • Switch to Global Tool.

Amazon.ElasticBeanstalk.Tools (3.0.0)

  • Switch to Global Tool.

Release 2018-07-09

Amazon.Lambda.Tools (2.2.0)

  • Added support for the .NET Core 2.1 AWS Lambda runtime.
  • Fixed issue with not correct determining CloudFormation parameters when using YAML.
  • Fixed issue handling CloudFormation parameter renames.

Amazon.ECS.Tools (1.2.0)

  • Improve detection for when the docker build command should run from the solution folder.
  • Added new switch --docker-build-working-dir to set the directory where docker build should run. This is useful when this tool can't detect whether the build should run from the project or the solution.
  • Added new switch --docker-build-options to pass additional options to the docker build command.

Relesae 2018-05-29

Amazon.Lambda.Tools (2.1.4)

  • Change AWS credential lookup logic to continue searching if the profile specified cannot be found. This allows easier switching between development environment and CI/CD environments.
  • Pull request #11. Fixed issue with deploy-serverless breaking Swagger definitions in yaml.
  • Fixed issue when validating version of Microsoft.AspNetCore.All for F# project files.
  • Switch to warning when validating S3 bucket in same region as target deployment region if the region can not be determined. This is commonly due to lack of S3 permission to get the region for a bucket.

Amazon.ECS.Tools (1.1.5)

  • Change AWS credential lookup logic to continue searching if the profile specified cannot be found. This allows easier switching between development environment and CI/CD environments.
  • Add --publish-options switch to allow passing additional parameters to the dotnet publish command.

Amazon.ElasticBeanstalk.Tools (1.1.4)

  • Change AWS credential lookup logic to continue searching if the profile specified cannot be found. This allows easier switching between development environment and CI/CD environments.
  • Add --publish-options switch to allow passing additional parameters to the dotnet publish command.
  • Fixed issue with instance profile not being persisted when the flat to save configuration is set.

Release 2018-04-30

Amazon.Lambda.Tools (2.1.2)

  • If a CloudFormation parameter's NoEcho property is to true then output **** when displaying the template parameters set for the deployment.
  • Stop persisting --stack-wait switch when saving config file because it will always be set to false when called from Visual Studio.

Release 2018-03-26

Amazon.Lambda.Tools (2.1.2)

Amazon.ElasticBeanstalk.Tools (1.1.3)

  • Fixed issue with setting the IAM service role for new Beanstalk environments
  • Fixed issue with Beanstalk Solution Stack not being persisted in defaults file.
  • All commands can now persist the settings used with the -pcfg true flag.

Amazon.ECS.Tools (1.1.4)

  • All commands can now persist the settings used with the -pcfg true flag.

Release 2018-03-13

Amazon.ECS.Tools (1.1.3)

  • Fixed issue detecting docker build working directory for latest VS 2017 created Dockerfile.
  • Fixed issue not detected when a cluster should be created because of inactive cluster with the same name.

Amazon.ElasticBeanstalk.Tools (1.1.2)

  • Pull request #8. Add --version-label switch to set a version label when deploying. Thanks to kalexii.

Release 2018-02-25

Amazon.ECS.Tools (1.1.2)

  • Fixed issue with docker tag incorrectly being written out to the aws-beanstalk-tools-defaults.json.
  • Fixed error handling when searching for the solution file for the project being deployed.

Release 2018-02-14

Amazon.ECS.Tools (1.1.1)

  • Added dependency to AWSSDK.SecurityToken to support profiles that use assume role features of Security Token Service.
  • Allow task defintion cpu and memory to be read from aws-ecs-tools-defaults.json either as a string or number. Previously only string was supported.
  • Fixed issue with reading desired count from aws-ecs-tools-defaults.json.
  • Fixed issue persisting last settings for scheduled task to aws-ecs-tools-defaults.json.

Amazon.ElasticBeanstalk.Tools (1.1.1)

  • Added dependency to AWSSDK.SecurityToken to support profiles that use assume role features of Security Token Service.

Release 2018-02-02

Amazon.ElasticBeanstalk.Tools (1.1.0)

  • Add --enable-xray switch to enable the AWS X-Ray daemon in the environment

Release 2018-01-21

Amazon.ECS.Tools (1.1.0)

  • Use default subnets if no subnets provided for Fargate deployments
  • Inspect Docker file to see if dotnet publish needs to run before docker build
  • If redeploying to an existing Fargate service reuse network configuration if one is not provided
  • Fix issue with docker image name being asked for multiple times

Amazon.ElasticBeanstalk.Tools (1.0.1)

  • Set description for NuGet package

Release 2017-11-29

Amazon.ECS.Tools (1.0.0)

  • Added command deploy-service
  • Added command deploy-task
  • Added command deploy-task
  • Added command deploy-scheduled-task
  • Added command push-image

Amazon.ElasticBeanstalk.Tools (1.0.0)

  • Added command deploy-environment
  • Added command delete-environment
  • Added command list-environments