皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

serverless 2.0.0 释出

⚠ 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

相关下载:

转自 https://github.com/serverless/serverless/releases/tag/v2.0.0