Skip to content

Releases: aws/aws-sam-cli

Release 1.55.0 - Bump SamTranslator version (Consumer Group ID for MSK and self hosted Kafka event type)

18 Aug 00:28
66ca249
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.54.0...v1.55.0

Hashes:

Filename SHA256
aws-sam-cli-1.55.0.sierra.bottle.tar.gz 4fc2b8e3ae60cb98eafd222dbd3f39240658fb33f4ba06cf77fbcd49b70824af
aws-sam-cli-1.55.0.x86_64_linux.bottle.tar.gz 9f65ef80e17a0b63796750b20d5ff829138eda2c62c88cbaf8889711c3d97d9d
AWS_SAM_CLI_64_PY3.msi f595f0f1d260a76268af410f52fa0a784c4a268def2a13272482ff8ee343a766
aws-sam-cli-linux-x86_64.zip 5e3e2fe551b8a1ce1615100695772ac24de09946f326939a06b8483e63d25962

Release 1.54.0 - Build Improvements (Beta), --on-failure flag for sam deploy

15 Aug 20:41
1e14386
Compare
Choose a tag to compare

Hashes

Filename SHA256
aws-sam-cli-1.54.0.sierra.bottle.tar.gz b4010124b55ca9fdbdd1c5c37855e8c03ae26d05c766dd2aecfc77e9b5b19e70
aws-sam-cli-1.54.0.x86_64_linux.bottle.tar.gz 7760a57d1a8d09b85c9c866cddd04e6bceb278e3396d8e0fb20bea447f1a87d8
AWS_SAM_CLI_64_PY3.msi 9cd77625efe32cebd64ce2b749504a68a82b06cca013512b92d12ebd9a99bb2d
aws-sam-cli-linux-x86_64.zip 9bc409f7920cdd236a3ea7957d34f9a424ab8a6805b7f3e309c55fe0250fe33d

What's Changed

  • Logging UnicodeDecodeError details in LocalApigwService._request_handler by @Lucas-C in #4016
  • Fix infinite deploy loop on small stack edge case by @BourgoisMickael in #4005
  • README.md Updated typo fixes done. by @prasadjivane in #4032
  • feat: update SAM CLI with latest App Templates commit hash by @github-actions in #4030
  • Adding blogposts and workshop material to readme by @praneetap in #3997
  • chore: bump SamTranslator version by @aws-sam-cli-bot in #4051
  • fix: Don't use deps dir for non-cached builds by @mildaniel in #4052
  • chore: bump SamTranslator version by @aws-sam-cli-bot in #4080
  • fix: Fixed describe stack events reporting wrong events by @lucashuy in #4071
  • feat: update SAM CLI with latest App Templates commit hash by @github-actions in #4087
  • feat: Enable source maps if either Sourcemap: true or --enable-source-maps is provided by @lucashuy in #4062
  • feat: dedup & cached build performance improvements by @mndeveci in #3935
  • feat: Adding --on-failure to sam deploy by @lucashuy in #3974
  • feat: Added esbuild integration tests to sam sync by @lucashuy in #4098
  • chore: bump SamTranslator version by @aws-sam-cli-bot in #4102
  • fix: Create layer root folder before adding layer readme for ADL by @qingchm in #4114
  • chore: bump version to 1.54.0 by @mildaniel in #4115

New Contributors

Full Changelog: v1.53.0...v1.54.0

Release 1.53.0 - SAM Accelerate

29 Jun 18:34
d2ded65
Compare
Choose a tag to compare

Changes

SAM Accelerate GA

SAM Accelerate synchronizes infrastructure and code changes on a developer's local workspace with a cloud environment in near real time: code changes are updated in seconds in AWS Lambda; API definition changes in Amazon API Gateway; state machine updates to AWS Step Functions; and infrastructure changes are deployed via infrastructure-as-code tooling such as CloudFormation. AWS SAM Accelerate also supports synchronizing resources defined in CloudFormation Nested Stacks. To get started, you can install the SAM CLI by following the instructions in the documentation.

With the this version of SAM CLI, SAM Accelerate features (sam sync, sam traces commands and new features to sam logs command) are now generally available. Users don’t need to provide --beta-features flag or use environment variable to enable these features.

SAM Accelerate Nested Stack Support

SAM Accelerate now supports nested stack. In order to use any of the SAM Accelerate commands, users can go to the root stack definition and start sam sync or use sam logs commands.

sam sync --stack-name {my-root-stack} --watch to start development session.

sam logs --stack-name {my-root-stack} --name {my-child-stack-logical-id}/{resource-logical-id} to get logs from a resource (resource-logical-id) in a child stack (my-child-stack).

Other Bug-fixes & Improvements

  • --s3-bucket and --s3-prefix options are added to sam delete command so that users can define their custom S3 bucket and prefix while deleting their stacks.
  • When running sam sync with a Ruby runtime, users might experience some issues when they changed their dependencies. This issue is now fixed by cleaning up build folder before starting a sync operation.
  • When running sam logs with --tail and --include-traces flag, users need to press CTRL+C twice in order to stop long running process which is fixed in this version.
  • When running sam sync with a function which has no dependencies in its manifest file, sync operation will fail while trying to sync ADL (Auto-dependency layer) which is fixed in this version.
  • Added --s3-bucket option for sam sync command so that users can start using it with their own S3 bucket rather than letting AWS SAM CLI to create a managed bucket.
  • Users who have a function and a dependant layer definition in one of the java runtimes might face a build issue while running sam build --parallel and sam sync commands. This issue is now addressed with this version.

Hashes

Filename SHA256
aws-sam-cli-1.53.0.sierra.bottle.tar.gz b6d0284a1053879dd8e76fc1fada29492882e3433457872bb55f960164955495
aws-sam-cli-1.53.0.x86_64_linux.bottle.tar.gz b89fb378d3070c29af941184cc17eeee4c73c2bada7d5d0228a3d42a3c826357
AWS_SAM_CLI_64_PY3.msi 9c93baa0cb828c667d61e73c2de5fa515df72ab8fbec0120a1e2d45427f21a3b
aws-sam-cli-linux-x86_64.zip 35261dc7fd9f54d4973fdcd56b7114546f9e27e2cb2d12744164bb7480d460dd

Change History

  • Fix issue in cloning app templates repo in windows by @hawflau in #3950
  • feat: Add in support for nested stack's code sync with Api's and StepFunctions by @qingchm in #3948
  • test: Add ADL tests for nested and non-nested stacks by @mildaniel in #3951
  • chore: nested stack integration tests for sam logs by @mndeveci in #3930
  • fix: revert not creating ADL for empty dependencies by @mndeveci in #3952
  • chore: sam sync & sam logs ux changes by @mndeveci in #3953
  • Require Flask 1.1.4 by @dmarinuswoodwing in #3925
  • feat: update SAM CLI with latest App Templates commit hash by @github-actions in #3959
  • feat: Adding --s3-bucket and --s3-prefix to sam delete by @lucashuy in #3969
  • bump cookiecutter version to address CVE by @hawflau in #3956
  • chore: fix canary issues by @mndeveci in #3978
  • Clarify debug log message in build_context command by @Rabadash8820 in #3968
  • fix: clean build folder before starting sync operation by @mndeveci in #3982
  • refactor: Changed default sync confirmation to Y and updated sync infra sync message to be green by @lucashuy in #3986
  • bug: Use cache build instead of incremental when building in container by @mingkun2020 in #3988
  • bug: make sure all pullers in child combine puller also get stopped by @mingkun2020 in #3990
  • feat: Add --resource option input validation for sync --code by @qingchm in #3992
  • chore: replace InvokeContextException with granular ones by @mndeveci in #3966
  • chore(deps): bump Newtonsoft.Json from 12.0.1 to 13.0.1 in /samcli/lib/init/templates/cookiecutter-aws-sam-hello-dotnet/{{cookiecutter.project_name}}/src/HelloWorld by @dependabot in #3996
  • fix: add sync state and context to check previous run details by @mndeveci in #3989
  • chore: Update lambda builder version to 1.18.0 by @qingchm in #3999
  • feat: Adding --s3-bucket to sam sync by @lucashuy in #3977
  • chore: fix java integration tests to use java8 runtime by @mndeveci in #4002
  • fix: add try/except for parse_time which is used by logs and traces commands by @mndeveci in #4006
  • fix: issues with parallel build when using compiled languages by @mndeveci in #4008
  • feat: update SAM CLI with latest App Templates commit hash by @github-actions in #4007
  • chore: bump version to 1.53.0 by @mndeveci in #4014
  • chore: skip TestSyncAdlWithWatchStartWithNoDependencies on windows by @mndeveci in #4013
  • feat: remove accelerate beta experimental flag (#3973) by @mingkun2020 in #3981

New Contributors

Full Changelog: v1.52.0...v1.53.0

Release 1.52.0 - Remove created intermediate containers when building image-type Lambda functions; Fix deploy with long poll delay events order and stop condition; Bump SamTranslator version

09 Jun 22:32
becc8c4
Compare
Choose a tag to compare

Changes:

What's Changed

  • fix: Fixed broken link in development guide by @lucashuy in #3927
  • Fix deploy with long poll delay events order and stop condition by @BourgoisMickael in #3919
  • chore: Add safe teardown for accelerate integration test by @mingkun2020 in #3933
  • feat: remove the created intermediate containers while building the lambda functions of Image Type by @moelasmar in #3922
  • feat: update SAM CLI with latest App Templates commit hash by @github-actions in #3939
  • chore: bump SamTranslator version by @aws-sam-cli-bot in #3942
  • feat: update SAM CLI with latest App Templates commit hash by @github-actions in #3940
  • chore: bump version to 1.52.0 by @hawflau in #3944
  • chore: Update command option text by @mildaniel in #3934
  • feat: Add --s3-bucket and --s3-prefix to sam delete by @lucashuy in #3915
  • chore: Sync code integration test for nested stack by @qingchm in #3943
  • Revert "feat: Add --s3-bucket and --s3-prefix to sam delete" by @mndeveci in #3954

New Contributors

Full Changelog: v1.51.0...v1.52.0

Hashes:

Filename SHA256
aws-sam-cli-1.52.0.sierra.bottle.tar.gz 28271724b27e9ad0a3a1201c3bb44aaab7ada1c9e2275b6c07315a486c1210d6
aws-sam-cli-1.52.0.x86_64_linux.bottle.tar.gz 076ccfe2743e3721c0e706b921f34e6e5bd64a0ecebb2d9f67b847ae835b5797
AWS_SAM_CLI_64_PY3.msi d22a165f08fbff9ae6f3503d55d6439e0f84a0a9ad57075072283135187be5b2
aws-sam-cli-linux-x86_64.zip c1f4980b7377ca9820d8e2e56207113db55edd619a72d3c7bab12fc805a93a42

Release 1.51.0 - Java Build Changes, --exclude & --no-cached options for sam build, Nested Stack Support for sam logs

31 May 22:34
a17ca8a
Compare
Choose a tag to compare

Recent changes that we introduced about how to build Java functions are now default option, you can read more about it in this announcement issue: #3639

sam build now supports --no-cached flag as well as --exclude option. With --no-cached flag, users can turn cached builds off specifically even it is enabled in the samconfig.toml file. With --exclude option, users are able to skip building some of the functions in their application.

sam logs now supports Nested Stacks. Users can pull logging events for the resources which is defined in a nested application. Running sam logs --stack-name {stack-name} will pull the logging events from all supported resources which will now include the ones from a nested stack. Or they can use sam logs --stack-name {stack-name} --name {NestedStack/SfnResourceLogicalID} to pull loging events from a resource which is defined in a nested stack.

What's Changed

  • feat: sam init support for x-ray tracing (API Gateway) by @Tak1wa in #3856
  • Fix multivalue query params http by @hawflau in #3788
  • feat: Nested stack support for sync watch by @qingchm in #3853
  • feat: sam traces integration test by @mingkun2020 in #3618
  • fix: Fixing the trace event class to support trace_id option by @qingchm in #3879
  • feat: update SAM CLI with latest App Templates commit hash by @github-actions in #3880
  • feat: improve new PR and issue labeling for triaging by @torresxb1 in #3890
  • feat: nested stack support for sam logs by @mndeveci in #3881
  • feat: update SAM CLI with latest App Templates commit hash by @github-actions in #3892
  • feat: prevent deploy throttle with customizable interval for DescribeStack via env by @BourgoisMickael in #3500
  • feat: make java build scope changes default by @mndeveci in #3896
  • Add explicit --no-cached option by @andrew-zhan139 in #3889
  • feat: ADL nested stack support by @mndeveci in #3893
  • test: Integration Tests for Sync Watch with Nested Stacks by @mildaniel in #3909
  • fix: Add lockchain and status check to prevent sync flows race condition on function update by @qingchm in #3905
  • Sync code nested by @mingkun2020 in #3887
  • fix: use correct entry file for node 16 debugging by @JadenSimon in #3913
  • feat: new release of RIE: 1.6 by @valerena in #3897
  • Add --exclude flag to sam build by @Leo10Gama in #3898
  • chore: run app templates hash updated job only on aws/aws-sam-cli by @mndeveci in #3902
  • feat: update SAM CLI with latest App Templates commit hash by @github-actions in #3920
  • chore: bump version to 1.51.0 by @mndeveci in #3924

New Contributors

Full Changelog: v1.50.0...v1.51.0

Hashes:

Filename SHA256
aws-sam-cli-1.51.0.sierra.bottle.tar.gz f3e2eaa35ba7573e274e05beb97e8914607156894335f40b4c481bb197cc6bd5
aws-sam-cli-1.51.0.x86_64_linux.bottle.tar.gz 474c208a4d112e443a0ea2efee75bfb9b834ff7406d24075e3d04ffe3e3bf795
AWS_SAM_CLI_64_PY3.msi a39172a7f8e2dce33a2186e7a28a93e4d40b8044a0fb3e3afa5c09742e533da5
aws-sam-cli-linux-x86_64.zip 3c5e26715096413544f7a39ec338e5045b59ed24f0acf04a5d4e04cd113e01a3

Release 1.50.0 - Update Application Templates & BugFixes

12 May 18:53
d7e0c43
Compare
Choose a tag to compare

What's Changed

  • fix: iac canaries by @mndeveci in #3874
  • fix: Lock functions from building with same codeuri at the same time by @mildaniel in #3862
  • feat: update SAM CLI with latest App Templates commit hash by @github-actions in #3869
  • fix: Use abs path to upload stackset template on S3 by @maintux in #3818
  • fix: Add in trace event revision to prevent partial trace printing by @qingchm in #3876
  • chore: bump version to 1.50.0 by @mndeveci in #3878

Full Changelog: v1.49.0...v1.50.0

Hashes:

Filename SHA256
aws-sam-cli-1.50.0.sierra.bottle.tar.gz 2a189043cdddbe1cb99adfddd187c270113732615044f10b7463ab654e0c95bc
aws-sam-cli-1.50.0.x86_64_linux.bottle.tar.gz 9bf73e789558ab65e14900ceefc2a2dfcc39faf2c84245f984ae564ebb5ff86d
AWS_SAM_CLI_64_PY3.msi 921feb9fedc68264e163b5f1c3d2c53bb918acb2536f818d98efdb85ef42e955
aws-sam-cli-linux-x86_64.zip 093fc2cc40b098321dcc8635abe468642b72f8658821c9243a9357e400734207

Release 1.49.0 - NodeJS16 Runtime Support

10 May 00:45
e7c0ba6
Compare
Choose a tag to compare

What's Changed

  • feat: update SAM CLI with latest App Templates commit hash by @github-actions in #3849
  • feat: Added Support for Test Account Management by @CoshUS in #3845
  • fix: command should not fail when global config fails to write by @mndeveci in #3859
  • Bump Lambda Builder version to 1.16.0 by @hawflau in #3865
  • feat: update SAM CLI with latest App Templates commit hash by @github-actions in #3867
  • Nodejs16 support for samcli (#419) by @hawflau in #3866
  • chore: Version bump to 1.49.0 by @hawflau in #3868

Full Changelog: v1.48.0...v1.49.0

Hashes:

Filename SHA256
aws-sam-cli-1.49.0.sierra.bottle.tar.gz 81e2b407b6f5ae525ac53b21c489cfd8ef9fa35d1411918e7a54388a37b34577
aws-sam-cli-1.49.0.x86_64_linux.bottle.tar.gz cb9c0f81a2b1e7d0c0f61c062478a06388b5892ff29627fedd016fcbdf88b11f
AWS_SAM_CLI_64_PY3.msi 661c18c7d0b3af7641507daf0be5371a6002550be4201388bc9cf635754fd7b6
aws-sam-cli-linux-x86_64.zip 3ccd19d6a9962bb5677550dc0ef75e9837882e5ec91a750b197190fd22018502

Release 1.48.0 - Sam Init Support for XRay Tracing

03 May 23:58
1248aa1
Compare
Choose a tag to compare

Changes:

New Contributors

Full Changelog: v1.47.0...v1.48.0

Hashes:

Filename SHA256
aws-sam-cli-1.48.0.sierra.bottle.tar.gz 4d99a85e052326fc07245fd8a5982a1430d971ae6cb3d229ee96d91a8388ca0c
aws-sam-cli-1.48.0.x86_64_linux.bottle.tar.gz 32a8a6185ad52a5be7cb388fb86eaf701a2225c593e5c85f8094921d7bfaee7e
AWS_SAM_CLI_64_PY3.msi 9323c8bcd9e02f3b778ec537d2691497946f8cb088085a983d9b7b29d29d09fa
aws-sam-cli-linux-x86_64.zip 67c2009aeec76940bd9def0e5dfab2c1d16269fc632a90a976a2b3436d99bc99

Release 1.47.0 - Lambda Builders update & waiting for docker socket connection

28 Apr 00:39
3a57b7a
Compare
Choose a tag to compare

Hashes:

Filename SHA256
aws-sam-cli-1.47.0.sierra.bottle.tar.gz a389f7b417b3f1f426d52a857b688ec3b00c06208ea5b4e79acec5eefdcce626
aws-sam-cli-1.47.0.x86_64_linux.bottle.tar.gz 485f2e9c4b6bf6cf4d855dbfc203020a60b46762649df0d1d63beddb19b99c9d
AWS_SAM_CLI_64_PY3.msi 2c2001efdba3e2f76d8d40cfe3ade04797600bd031d4e5ec8ac1c99605932530
aws-sam-cli-linux-x86_64.zip 29b00c0332adb1ac43fa2b2fd284f5b3aab933d843038c9e43cc55386db68aff

What's Changed

  • fix: Add support for extracting cors options from apigw method resource by @mildaniel in #3574
  • bind samcli version to certain commit of app template by @mingkun2020 in #3815
  • fix: use original function and layer build definition after updating manifest and codeuri hashes by @mndeveci in #3653
  • chore: sam logs integration tests by @mndeveci in #3607
  • chore: Bump pylint version by @hawflau in #3825
  • fix: accept CDK resource path that does not end with /Resource by @moelasmar in #3835
  • Adding sam validate to cli output by @praneetap in #3833
  • chore: add gh action to update app templates hash by @mndeveci in #3838
  • chore: Bump lambda builders version by @mildaniel in #3840
  • fix: wait for socket connection before invoking/executing function in local invoke, start-api, etc. by @torresxb1 in #3831
  • Fix tests to not depend on changeable value by @hawflau in #3842
  • feat: update SAM CLI with latest App Templates commit hash by @github-actions in #3841
  • chore: bump version to 1.47.0 by @torresxb1 in #3844

New Contributors

  • @github-actions made their first contribution in #3841

Full Changelog: v1.46.0...v1.47.0

Release 1.46.0 - Custom/Provided Runtime Support for sam init

07 Apr 22:43
729bd1a
Compare
Choose a tag to compare

Changes:

Full Changelog: v1.45.0...v1.46.0

Hashes:

Filename SHA256
aws-sam-cli-1.46.0.sierra.bottle.tar.gz 35e65d4a3a5d16357d8f830249c0fea2679366e44efd4b80d96649741b6c9de3
aws-sam-cli-1.46.0.x86_64_linux.bottle.tar.gz 61d287020ef4470648a1c95f7645d1bcaf184d3fbc7cc1b4a3804cb77fc68625
AWS_SAM_CLI_64_PY3.msi 35fba95afb71826f5e74471adf5776e84af1fce056968ff61f76476d64a90b32
aws-sam-cli-linux-x86_64.zip b393b2500e117b662397e07a615ea6c08e9db5b8e16bc70c0bddb960752d5f08