Skip to content

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

Compare
Choose a tag to compare
@aws-sam-cli-bot aws-sam-cli-bot released this 31 May 22:34
· 1852 commits to master since this release
a17ca8a

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