Skip to content

v0.36.0

Compare
Choose a tag to compare
@fwang fwang released this 29 Jul 07:45
· 3767 commits to master since this release

πŸš€ 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