Skip to content

Improvements to `sam package` command

Compare
Choose a tag to compare
@jfuss jfuss released this 15 Nov 00:37
· 2505 commits to master since this release
11b80b6

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 -

Changelog

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