npm @serverless-stack/cli 0.36.0
v0.36.0

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

🚀 Enhancement

  • #620 Api: support $default catch-all route (@fwang)
    new Api(this, "Api", {
      routes: {
        "GET /notes"   : "src/list.main",
        "POST /notes"  : "src/create.main",
        "$default"     : "src/default.main",
      },
    });
  • #618 Api: add support for HTTP proxy routes (@fwang)
    new Api(this, "Api", {
      routes: {
        "GET /": {
          url: "http://domain.com",
        },
      },
    });
  • #621 ApolloApi: create 1 Lambda handler for both GET and POST routes (@fwang)
  • #616 sst start: print descriptive error message for handler not found (@fwang)

🐛 Bug Fix

  • #619 Api: add trailing slash to custom domain url (@fwang)

Update using:

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

Don't miss a new cli release

NewReleases is sending notifications on new releases.