Releases: aws/aws-sam-cli
Improved support for Intrinsics and CloudFormation Api Gateway Resources
SAM CLI now supports resolving more Intrinsics functions within the template, including Fn::Sub, Fn::Join, and Fn::FindInMap. In addition to this, sam local start-api
will now work when your APIs are defined with AWS::ApiGateway::Methods, AWS::ApiGateway::RestApi, AWS::ApiGateway::Resource, and AWS::ApiGateway::Stage resources.
Changelog
- ce192f4 - fix: default to nodejs10.x on init
- 2e5f7f1 - fix: programatically choose latest node runtime as
default
- 666e366 - comments: add comments on runtime ordering per language
- ad9a171 - fix: Respect zipped symlinks (#1140)
- f19f218 - doc: Adding testing guidelines (#1201)
- 0b452bd - fix: Update copyright in LICENSE (#1295)
- 08049e8 - fix: Update error message for package and deploy (#1152)
- 879cad4 - chore: Upgrade dependencies (#1286)
- fb06abe - feat(cli-logs): Configure and format SAM CLI logging to console (#1118)
- 55d55ca - Update the .NET Core project template (#1226)
- 00f6c20 - fix: fix unit tests so that they pass on windows (#1307)
- 45a6841 - Fix Flake8
- 360d90a - Revert "fix: Respect zipped symlinks (#1140)"
- 2368c33 - feat(start-api): CloudFormation AWS::ApiGateway::RestApi support (#1238)
- 6e083a9 - feat(start-api): CloudFormation AWS::ApiGateway::Stage Support (#1239)
- 2d95111 - warning: deprecation warning message - Python 2.7 (#1306)
- 78d4f82 - Fix unit tests so they pass on appveyor
- 0c6c50e - design: CloudFormation ApiGateway support design (#1234)
- 2f96a9a - desgin: Intrinsics Design Doc (#1260)
- 5e15771 - feat(init): Update all READMEs to match new NodeJS README (#1321)
- 852ea84 - docs: Refresh Init READMEs (#1308)
- ca93e83 - feat: Intrinsics support (#1261)
- b1b47d8 - chore: Update aws-sam-translator Dependency (#1330)
- 079e7a9 - fix(start-api): Allow Integer body in Lambda response (#1263)
- 7790659 - feat: CloudFormation AWS::ApiGateway::Methods and AWS::ApiGateway::Resources support (#1247)
- ec19bfb - feat(start-api): Cors Support (#1242)
- 71e5239 - chore: Migrate from Travis to AppVeyor for Linux builds (#1334)
- c09f470 - feat: Resolve Intrinsics Functions in template (#1333)
- 156fba8 - feat(invoke): Fetch amazon/lambda-build-node10.x build image (#1335)
- 40468a7 - chore: Version bump for 0.20.0 release (#1341)
- 9c0cfd3 - bugfix/integrate_intrinsics (#1343)
- 6193f59 - Add OSError Handling to GlobalConfig
- 8ace1bf - Add Unit Test for OSError Case
- 2090431 - Revert "release: 0.20.0"
- e218d29 - chore: Update version to 0.20.1
- 3dcf69b - feat: Smoke test using several templates from SAR (#1357)
- 05d1bd8 - fix: sam commands in lifecycle app order in help command (#1361)
- a7b221d - fix: Build crashes when printing message on Windows when code is in a different drive (#1337)
- e192c39 - chore: Run Smoke Test as part of Py37 job (#1364)
- 6e5e357 - fix: python3.7 build integration tests (#1370)
- db1d6c8 - generate sample events for amazon connect (#1347)
- 1e98a14 - fix: Use explicit memory settings for Java cookie cutters (#1340)
- e1b8890 - chore: Bump AWS Lambda Builders to v0.4.0 (#1368)
- e644370 - version: pin aws-sam-translator to 1.11.0 (#1371)
- 3b2200d - chore: version bump to 0.21.0 (#1372)
- 18908c1 - Revert "Revert "release: 0.20.0"" (#1377)
- 9b13e93 - fix: set youtube link in readme (#1378)
Telemetry for SAM CLI
Telemetry for SAM CLI
SAM CLI is adding telemetry. In addition to existing feedback, telemetry allows us to better understand our customer’s needs, common CLI scenarios and existing issues. The information collected will include generic usage metrics, system and environment information, and errors. These generic metrics will inform our product decisions and help us continue to deliver features and enhancements that improve the customer experience.
Read #1272 for more information on the user experience and opt-out instructions.
Changelog
- Revert "feat(start-api): CloudFormation AWS::ApiGateway::RestApi support
- feat: Telemetry Implementation (#1287)
- chore: Bumping to v0.19.0 and updating Telemetry Opt-Out URL (#1288)
- fix: More robust connections to telemetry backend (#1289)
- fix: Update telemetry prompt wording (#1294)
- feat: Set execution environment when calling AWS CLI (#1297)
Support for Docker Proxy
Support for Docker Proxy
Support users who sit behind a proxy and have configured their proxy settings in docker configuration file ~/.docker/config.json
to pass their traffic through proxy servers. eg: pypi proxy
We have also added some improvements:
- Support for Stage Name and Stage Variables in
sam local start-api
- Support for Multi-Value Headers and Query String Parameters in
sam local start-api
Changelog
- AppVeyor to run unit tests & linters (#1207)
- Support for Multi-Value Headers and Query String Parameters (#741)
- docs: Readme improvements (#1210)
- chore: Docker SDK minimum version should be 3.7.0 (#1214)
- fix: Support passing docker proxy config (#1196)
- feat(AppSync): Allow build to recognize AppSync resources for path resources (#898)
- chore(python3.8): Add Python3.8 to Travis builds (#1222)
- remove(docs): Remove docs folder within the repo (#1221)
- feat(start-api) Support stage name and stage variables (#1203)
- chore: bump version to 0.18.0 (#1256)
- fix: encoding on files read for publish integ tests (#1264)
Support for multiValueHeaders in response from Lambda locally
- sam local start-api now supports multiValueHeaders in response from Lambda
- bugfix on sam local invoke|start-lambda|start-api , so that it does not cause NoRegionError when default aws region is not setup.
Changelog
- feat(start-api): Support for multiValueHeaders in response for lambda invoke(#1166)
- docs: Add testing plan (QA) questions to design document (#1139)
- docs(init): Fix name of source directory in Nodejs README.md (#1114)
- Remove duplicate sam deploy in command help text
- fix(layers): Move boto3 client creation to a computed property (#1059)
- fix: upgrade requests to 2.22.* (#1200)
- chore: bump version to 0.17.0 (#1206)
Support for AmazonLinux1803 Layer
You can now provide the arn:aws:lambda:::awslayer:AmazonLinux1803
Layer in the template to invoke/build Lambda Functions. Further details can be found here about Lambda Execution Environments.
Changelog
Support for Nodejs10.x Lambda Runtime
Locally invoke, test and debug your Nodejs10.x Lambda functions in SAM CLI!
sam build
now also supports building an individual Lambda Function by providing its Logical ID to the command. If your template file contains a lambda function resource with name HelloWorldFunction you can now build the function directly as follows.
sam build HelloWorldFunction
In addition, we have made improvements to the CLIs installation time for Brew by providing Bottles.
Changelog
fix(init): Default all configuration to dotnetcore2.1 for dotnetcore (#1133)
fix go-delve URL (#1142)
feat(build): Build a single function (#1146)
feat(layers): Layer Downloader will use AWS_CA_BUNDLE if it exists (#1143)
Validate API Gateway Response Keys (#1154)
chore(version): version bump to 0.16.0 (#1167)
feat(nodejs10): support new nodejs10 runtime (#1175)
DotNetCore Build Support
sam build
now supports building Lambda Functions with DotNetCore 2.0 and 2.1 runtimes.
We have also added some improvements:
- Support for build.gradle.kts files by @philippeagra
- For Mac, add Docker delegated consistency to volume mount by @metaskills
- Snap installer support by @stilvoid
Changelog
- feat: add support for building dotnetcore runtimes (#1039)
- perf: Add Docker Delegated Consistency to Volume (#1046)
- build(gradle): Adding specific configuration for gradle projects using kotlin build scripts (#1098)
- fix: fixed Contributors (#1091)
- fix: Fix context doc URL of Ruby runtime (#1090)
- fix: Print error message when Docker is not running on
sam build --use-container
(#1075) - feat(install): Add snapcraft config and link to snap package in README (#1086)
- feat: Error on --use-container for dotnet builds (#1096)
- fix(init): Add runtime to template when dotnetcore runtime is asked for (#1107)
- fix(dotnet): init dependencies to latest (#1108)
- chore(version): set 0.14.3.dev1 version (#1112)
- fix(build): Resolve path after .aws-sam is created (#1110)
- Design and implementation for producing debug build artifacts (#1095)
- fix(dotnet): init template fixes (#1117)
- chore(version): set 0.15.0 (#1125)
- Bumping to Lambda Builders 0.3.0 (#1129)
- fix(func-tests): add dependency manager param (#1130)
Ability to use Gradle init projects in IDEs
Python3.7 Debugging support
See https://github.com/awslabs/aws-sam-cli/releases/tag/v0.14.0 for release notes.
This release fixes #1080
Changelog
- chore: Version bump SAM CLI to 0.14.1 (#1082)
Python3.7 Debugging support
This release adds support for step through debugging of your Python3.7 Lambda Functions. We have some bug fixes as well:
- Maven builder can be run on Windows without the need to use
--use-container
flag. - Java8 Gradle init example now includes the Gradle wrapper jar.
- Golang init creates the example Lambda.
Changelog
- modify invalid golang template path (#1057)
- fix(init): Add Gradle wrapper jar to init template (#1060)
- fix: Skip test_invoke_with_docker_network_of_host_in_env_var on windows (#1054)
- chore: Bump aws-lambda-builers to 0.2.1 (#1068)
- feat(debug): Enable debugging for Python37 (#1055)
- chore: Version bump SAM CLI to 0.14.0 (#1076)