npm @serverless-stack/cli 0.41.0
v0.41.0

latest releases: 1.18.4, 1.18.3, 1.18.2...
2 years ago

🚀 Enhancement

  • #786 Script: construct for running scripts during deployment (@fwang)

    new Script(this, "Script", {
      function: "src/script.main",
      params: {
        hello: "world",
        tableName: table.tableName,
      },
    });

    More examples here - https://docs.serverless-stack.com/constructs/Script#examples

  • #772 Prompt for default stage name (@thdxr)

    What is this change?

    On first run of the CLI, you will be prompted for a default stage name that is used when --stage is not passed in. This is used to keep multiple developers' stacks separated and should be set to a unique value. The CLI will suggest a default stage name based on your AWS IAM username.

    What do I need to change?

    This value is stored in .sst, and it should not be checked into source control. Add .sst to your .gitignore file.

  • #748 Api: Support passing stages (@thdxr)


Update using:

$ npm install --save --save-exact @serverless-stack/cli@0.41.0 @serverless-stack/resources@0.41.0

Don't miss a new cli release

NewReleases is sending notifications on new releases.