github aws/aws-sam-cli v0.31.1
Improvements to `sam package` command

latest releases: v1.78.0, v1.78.0.dev202303230901, v1.77.0.dev202303220901...
3 years ago

Improvements to sam package command

SAM CLI now supports running sam package without AWS CLI installed. This release also includes user experience improvements to interactive sam init command.

Breaking Change

sam local invoke command will no longer require an event data by default. Previously, this behavior was available by passing the --no-event parameter. To pass event data via stdin, you can use the --event parameter with a value of -.

Example: echo '{"message": "Hey, are you there?" }' | sam local invoke "HelloWorldFunction" --event -


  • 42586d4 - exposed extra_context CLI option to pass cookiecutter parameter (#1500)
  • 6f6a8cf - fix: zip files were ignored by .gitignore (#1514)
  • 6327d33 - fix: Move validation of timeout is an int further down the stack (#1515)
  • 9f08f81 - chore: Simplify how timeouts are casted to an int (#1518)
  • 8ee1c74 - chore: fix java build and ruby appveyor builds (#1524)
  • 412590f - fix: compare dictionaries instead of json strings for regression test (#1527)
  • 52708db - chore: Bump version to 0.31.1 (#1523)

Don't miss a new aws-sam-cli release

NewReleases is sending notifications on new releases.