v0.36.0
π 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
Update using:
$ npm install --save --save-exact @serverless-stack/cli@0.36.0 @serverless-stack/resources@0.36.0