github serverless/serverless v2.0.0
2.0.0 (2020-09-10)

⚠ BREAKING CHANGES

  • Node.js version 10 or later is required (dropped support for v6 and v8)
  • CLI:
    • Locally installed (in service node_modules) CLI will be run instead of global one, when globally installed serverless CLI is invoked in a context of a service, which has locally installed serverless.
    • slss alias for serverless CLI command was removed. Rely on sls or serverless instead
    • bin/serverless was removed. If you target CLI script directly, point bin/serverless.js instead
  • AWS HTTP API:
    • Default payload was changed from 1.0 to 2.0
    • timeout setting as configured directly for httpApi event is no longer supported. Timeout value is now unconditionally resolved from function timeout setting (it's to guarantee that configured endpoint has necessary room to process function invocation)
  • AWS ALB: Support for providers.alb.authorizers[].allowUnauthenticated setting was removed. Rely on providers.alb.authorizers[].onUnauthenticatedRequest instead

Features

Bug Fixes

Maintanance Improvements


Comparison since last release

latest releases: v2.8.0, v2.7.0, v2.6.0...
one month ago