Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

serverless

serverless3.6m4.31.0TypeScript support: definitely-typed

Serverless Framework AWS Lambda AWS DynamoDB AWS API Gateway

readme

Serverless Framework AWS Lambda AWS DynamoDB AWS API Gateway


Website  •  Documentation  •  X / Twitter  •  Community Slack  •  Forum


The Serverless Framework – Makes it easy to use AWS Lambda and other managed cloud services to build applications that auto-scale, cost nothing when idle, and result in radically low maintenance.

The Serverless Framework is a command-line tool with approachable YAML syntax to deploy both your code and cloud infrastructure needed to make tons of serverless application use-cases, like APIs, front-ends, data pipelines and scheduled tasks. It's a multi-language framework that supports Node.js, Typescript, Python, Go, Java, and more. It's also completely extensible via over 1,000 plugins which add more serverless use-cases and workflows to the Framework.

Actively maintained by Serverless Inc.


Serverless Framework - V.4


December 2025 – V.4 continues to feature significant updates. Review them all below. In December 2025 we released support for numerous new features announced at AWS re:invent, like new runtimes, new regions, HTTP response streaming with API Gateway, Lambda tenant isolation, and much more. As always, we are more excited about the serverless future than ever.

New Features In V.4

Here's a list of everything that's new in V.4, so far:

  • Lambda tenant isolation mode: Use tenant isolation mode to create distinct Lambda compute environments per tenant to help reduce noisy neighbor effects and isolate high traffic customers more cleanly.
  • HTTP response streaming: Stream logs, long-running reports, partial respones, or AI LLM responses from Lambda with API Gateway HTTP APIs.
  • Per-function IAM roles: Add per-function IAM policies or switch the entire service to use per-function policies.
  • Improved Custom Domain Support: You no longer need an external plugin to automatically configure custom domains and SSL certificates for your APIs and more. It's now built into the Serverless Framework CLI.
  • Integration with Doppler: You can now easily fetch Secrets from Doppler via Serverless Framework Variables.
  • Introducing Serverless MCP: Built for Cursor, Windsurf, and other AI-powered IDEs, it auto-detects cloud resources from your code, fetching logs, state, and config from AWS, enabling you to debug serverless apps directly in your IDE — no AWS console visit needed! Supports Serverless Framework, Cloudformation, and more.
  • Introducing the Serverless Container Framework: One solution to deploy serverless workloads everywhere - This is a new YAML file that works with the Serverless Framework CLI that gives you one experience to easily deploy containers to AWS Lambda and AWS ECS Fargate and migrate between them w/ zero-downtime — all without re-architecting. We launched this as a way to reduce large Lambda bills and give folks flexibility, but it is rapidly become the greatest developer experience for containers on AWS. Support for Google Cloud Run, Azure and more are coming soon.
  • Support for AWS SAM, AWS Cloudformation, & Traditional Serverless Framework Projects: Now, you can use one tool to deploy all three of these IaC project files. More info here
  • Native Typescript Support: You can now use .ts handlers in your AWS Lambda functions in serverless.yml and have them build automatically upon deploy. ESBuild is now included in the Framework which makes this possible. More info here.
  • The AWS AI Stack: V.4 is optimized for the AWS AI Stack. Deploy a full-stack, serverless, boilerplate for AI applications on AWS, featuring Bedrock LLMs like Claude 3.5 Sonnet and Llama3.1 and much more.
  • New Dev Mode: Run serverless dev to have events from your live architecture routed to your local code, enabling you to make fast changes without deployment. More info here.
  • Latest Runtime Support: Support for Node.js 22 (nodejs24.x, Python 3.14 (python3.14) and Java 25 (java25), on AWS Lambda.
  • Latest Region Support: Support for all major regions, including the newly announced ap-southeast-6 in New Zealand.
  • New Stages Property: Easily organize stage-specific config via stages and set default config to fallback to.
  • Improved Compose Experience: Serverless Compose now has a beautiful new CLI experience that better demonstrates what is being deployed.
  • New Terraform & Vault Integrations: Pull state outputs from several Terraform state storage solutions, and secrets from Vault. Terraform Docs Vault Docs
  • Support Command: Send support requests to our team directly from the CLI, which auto-include contextual info which you can review before sending.
  • Debug Summary for AI: When you run into a bug, you can run "serverless support --ai" to generate a concise report detailing your last bug with all necessary context, optimized for pasting into AI tools such as ChatGPT.
  • Advanced Logging Controls for AWS Lambda: Capture Logs in JSON, increased log granularity, and setting a custom Log Group. Here is the AWS article. Here is the YAML implementation
  • Axiom Integration: Integrate with Axiom's observability solution for a powerful logging, metrics and traces experience, at 3X less than AWS cloudwatch.
  • AWS SSO: Environment variables, especially ones set by AWS SSO, are prioritized. The Framework and Dashboard no longer interfere with these.
  • Automatic Updates: These happen by default now. Though, you will be able to control the level of updates you're open to.
  • Improved Onboarding & Set-Up: The serverless command has been re-written to be more helpful when setting up a new or existing project.
  • Updated Custom Resource Handlers: All custom resource handlers now use nodejs20.x.
  • Deprecation Of Non-AWS Providers: Deprecation of other cloud providers, in favor of handling this better in our upcoming Serverless Framework "Extensions".

Breaking Changes

We're seeking to avoid breaking changes for the "aws" Provider. However, there are a few large things that are changing to be aware of:

  • The V.4 License is changing. See the section below for more information on this.
  • Authentication is required within the CLI.
  • Non-AWS Providers have been deprecated. We will be introducing new ways in V.4 to use other cloud infrastructure vendors.

If you stumble upon additional breaking changes, please create an issue. To learn more about what's different and potential breaking changes, please see our Upgrading to Serverless Framework V4 Documentation.

License Changes in V.4

Please note, the structure and licensing of the V.4 repository differ from the V.4 npm module. The npm module contains some proprietary licensed software, as V.4 transitions to a common SaaS product, as previously announced. The original Serverless Framework source code and more will continue to remain MIT license software, the repository will soon be restructured to clearly distinguish between proprietary and open-source components.


Contents


Features

  • Build More, Manage Less: Innovate faster by spending less time on infrastructure management.
  • Maximum Versatility: Tackle diverse serverless use cases, from APIs and scheduled tasks to web sockets and data pipelines.
  • Automated Deployment: Streamline development with code and infrastructure deployment handled together.
  • Local Development: Route events from AWS to your local AWS Lambda code to develop faster without having to deploy every change.
  • Ease of Use: Deploy complex applications without deep cloud infrastructure expertise, thanks to simple YAML configuration.
  • Language Agnostic: Build in your preferred language – Node.js, Python, Java, Go, C#, Ruby, Swift, Kotlin, PHP, Scala, or F#.
  • Complete Lifecycle Management: Develop, deploy, monitor, update, and troubleshoot serverless applications with ease.
  • Scalable Organization: Structure large projects and teams efficiently by breaking down large apps into Services to work on individually or together via Serverless Compose.
  • Effortless Environments: Seamlessly manage development, staging, and production environments.
  • Customization Ready: Extend and modify the Framework's functionality with a rich plugin ecosystem.
  • Vibrant Community: Get support and connect with a passionate community of Serverless developers.

Quick Start

Here's how to install the Serverless Framework, set up a project and deploy it to Amazon Web Services on serverless infrastructure like AWS Lambda, AWS DynamoDB, AWS S3 and more.


Install the Serverless Framework via NPM

First, you must have the Node.js runtime installed, version 18.20.3 or greater, then you can install the Serverless Framework via NPM.

Open your CLI and run the command below to install the Serverless Framework globally.

npm i serverless -g

Run serverless to verify your installation is working, and show the current version.


Update Serverless Framework

As of version 4, the Serverless Framework automatically updates itself and performs a check to do so every 24 hours.

You can force an update by running this command:

serverless update

Or, you can set this environment variable:

SERVERLESS_FRAMEWORK_FORCE_UPDATE=true

The serverless Command

The Serverless Framework ships with a serverless command that walks you through getting a project created and deployed onto AWS. It helps with downloading a Template, setting up AWS Credentials, setting up the Serverless Framework Dashboard, and more, while explaining each concept along the way.

This guide will also walk you through getting started with the Serverless Framework, but please note, simply typing the serverless command may be the superior experience.

serverless

Create A Service

The primary concept for a project in the Serverless Framework is known as a "Service", and its declared by a serverless.yml file, which contains simplified syntax for deploying cloud infrastructure, such as AWS Lambda functions, infrastructure that triggers those functions with events, and additional infrastructure your AWS Lambda functions may need for various use-cases (e.g. AWS DynamoDB database tables, AWS S3 storage buckets, AWS API Gateways for recieving HTTP requests and forwarding them to AWS Lambda).

A Service can either be an entire application, logic for a specific domain (e.g. "blog", "users", "products"), or a microservice handling one task. You decide how to organize your project. Generally, we recommend starting with a monolithic approach to everything to reduce complexity, until breaking up logic is absolutely necessary.

To create and fully set up a Serverless Framework Service, use the serverless command, which offers an interactive set-up workflow.

serverless

This will show you several Templates. Choose one that fits the language and use-case you want.

Serverless ϟ Framework
Welcome to Serverless Framework V.4

Create a new project by selecting a Template to generate scaffolding for a specific use-case.

? Select A Template: …
❯ AWS / Node.js / Starter
  AWS / Node.js / HTTP API
  AWS / Node.js / Scheduled Task
  AWS / Node.js / SQS Worker
  AWS / Node.js / Express API
  AWS / Node.js / Express API with DynamoDB
  AWS / Python / Starter
  AWS / Python / HTTP API
  AWS / Python / Scheduled Task
  AWS / Python / SQS Worker
  AWS / Python / Flask API
  AWS / Python / Flask API with DynamoDB
  (Scroll for more)

After selecting a Service Template, its files will be downloaded and you will have the opportunity to give your Service a name.

? Name Your Service: ›

Please use only lowercase letters, numbers and hyphens. Also, keep Service names short, since they are added into the name of each cloud resource the Serverless Framework creates, and some cloud resources have character length restrictions in their names.

Learn more about Services and more in the Core Concepts documentation.


Signing In

As of Serverless Framework V.4, if you are using the serverless command to set up a Service, it will eventually ask you to log in.

If you need to log in outside of that, run serverless login.

Logging in will redirect you to the Serverless Framework Dashboard within your browser. After registering or logging in, go back to your CLI and you will be signed in.

Please note, you can get up and running with the Serverless Framework CLI and Dashboard for free, and the CLI will always be free for small orgs and indiehackers. For more information on pricing, check out our pricing page.


Creating An App

The "App" concept is a parent container for one or many "Services" which you can optionally set via the app property in your serverless.yml. Setting an app also enables Serverless Framework Dashboard features for that Service, like tracking your Services and their deployments in Serverless Framework Dashboard, enabling sharing outputs between them, sharing secrets between them, and enabling metrics, traces and logs.

If you are using the serverless onboarding command, it will help you set up an app and add it to your Service. You can use the serverless command to create an App on an existing Service as well, or create an App in the Dashboard.

❯ Create A New App
  ecommerce
  blog
  acmeinc
  Skip Adding An App

The app can also be set manually in serverless.yml via the app property:

service: my-service
app: my-app

If you don't want to use the Serverless Framework Dashboard's features, simply don't add an app property. Apps are not required.


Setting Up AWS Credentials

To deploy cloud infrastructure to AWS, you must give the Serverless Framework access to your AWS credentials.

Running the Serverless Framework's serverless command in a new or existing Service will help identify if AWS credentials have been set correctly or if they are expired, or help you set them up from scratch.

No valid AWS Credentials were found in your environment variables or on your machine. Serverless Framework needs these to access your AWS account and deploy resources to it. Choose an option below to set up AWS Credentials.

❯ Create AWS IAM Role (Easy & Recommended)
  Save AWS Credentials in a Local Profile
  Skip & Set Later (AWS SSO, ENV Vars)

We recommend creating an AWS IAM Role that's stored in the Serverless Framework Dashboard. We'll be supporting a lot of Provider Credentials in the near future, and the Dashboard is a great place to keep these centralized across your team, helping you stay organized, and securely eliminating the need to keep credentials on the machines of your teammates.

If you are using AWS SSO, we recommend simply pasting your temporary SSO credentials within the terminal as environment variables.

To learn more about setting up your AWS Credentials, read this guide.


Deploy A Service

After you've used the serverless command to set up everything, it's time to deploy your Service to AWS.

Make sure your terminal session is within the directory that contains your serverless.yml file. If you just created a Service, don't forget to cd into it.

cd [your-new-service-name]

Deploying will create/update cloud infrastructure and code on AWS, all at the same time.

Run the deploy command:

serverless deploy

More details on deploying can be found here.


Developing

Many Serverless Framework and serverless developers generally choose to develop on the cloud, since it matches reality (i.e. your production environment), and emulating Lambda and other infrastructure dependencies locally can be complex.

In Serverless Framework V.4, we've created a hybrid approach to development, to help developers develop rapidly with the accuracy of the real cloud environment. This is the new dev command:

serverless dev

When you run this command, the following happens...

An AWS Cloudformation deployment will happen to slightly modify all of the AWS Lambda functions within your Service so that they include a lightweight wrapper.

Once this AWS Cloudformation deployment has completed, your live AWS Lambda functions within your Service will still be able to receive events and be invoked within AWS.

However, the events will be securely and instantly proxied down to your machine, and the code on your machine which will be run, rather than the code within your live AWS Lambda functions.

This allows you to make changes to your code, without having to deploy or recreate every aspect of your architecture locally, allowing you to develop rapidly.

Logs from your local code will also be shown within your terminal dev session.

Once your code has finished, the response from your local code will be forwarded back up to your live AWS Lambda functions, and they will return the response—just like a normal AWS Lambda function in the cloud would.

Please note, dev is only designed for development or personal stages/environments and should not be run in production or any stage where a high volume of events are being processed.

Once you are finished with your dev session, you MUST re-deploy, using serverless deploy to push your recent local changes back to your live AWS Lambda functions—or your AWS Lambda functions will fail(!)

More details on dev mode can be found here.


Invoking

To invoke your AWS Lambda function on the cloud, you can find URLs for your functions w/ API endpoints in the serverless deploy output, or retrieve them via serverless info. If your functions do not have API endpoints, you can use the invoke command, like this:

sls invoke -f hello

# Invoke and display logs:
serverless invoke -f hello --log

More details on the invoke command can be found here.


Deploy Functions

To deploy code changes quickly, you can skip the serverless deploy command which is much slower since it triggers a full AWS CloudFormation update, and deploy only code and configuration changes to a specific AWS Lambda function.

To deploy code and configuration changes to individual AWS Lambda functions in seconds, use the deploy function command, with -f [function name in serverless.yml] set to the function you want to deploy.

serverless deploy function -f my-api

More details on the deploy function command can be found here.


Streaming Logs

You can use Serverless Framework to stream logs from AWS Cloudwatch directly to your terminal. Use the sls logs command in a separate terminal window:

sls logs -f [Function name in serverless.yml] -t

Target a specific function via the -f option and enable tailing (i.e. streaming) via the -t option.


Full Local Development

Many Serverless Framework users choose to emulate their entire serverless architecture locally. Please note, emulating AWS Lambda and other cloud services is never accurate and the process can be complex, especially as your project and teammates grow. As of V.4, we highly recommend using the new dev mode with personal stages.

If you do choose to develop locally, we recommend the following workflow...

Use the invoke local command to invoke your function locally:

sls invoke local -f my-api

You can also pass data to this local invocation via a variety of ways. Here's one of them:

sls invoke local --function functionName --data '{"a":"bar"}'

More details on the invoke local command can be found here

Serverless Framework also has a great plugin that allows you to run a server locally and emulate AWS API Gateway. This is the serverless-offline command.

More details on the serverless-offline plugins command can be found here.


Use Plugins

A big benefit of Serverless Framework is within its Plugin ecosystem.

Plugins extend or overwrite the Serverless Framework, giving it new use-cases or capabilites, and there are hundreds of them.

Some of the most common Plugins are:


Remove Your Service

If you want to delete your service, run remove. This will delete all the AWS resources created by your project and ensure that you don't incur any unexpected charges. It will also remove the service from Serverless Dashboard.

serverless remove

More details on the remove command can be found here.


Composing Services

Serverless Framework Compose allows you to work with multiple Serverless Framework Services at once, and do the following...

  • Deploy multiple services in parallel
  • Deploy services in a specific order
  • Share outputs from one service to another
  • Run commands across multiple services

Here is what a project structure might look like:

my-app/
  service-a/
    src/
      ...
    serverless.yml
  service-b/
    src/
      ...
    serverless.yml

Using Serverless Framework Compose requires a serverless-compose.yml file. In it, you specify which Services you wish to deploy. You can also share data from one Service to another, which also creates a deployment order.

# serverless-compose.yml

services:
  service-a:
    path: service-a

  service-b:
    path: service-b
    params:
      queueUrl: ${service-a.queueUrl}

Currently, outputs to be inherited by another Service must be AWS Cloudformation Outputs.

# service-a/serverless.yml

# ...

resources:
  Resources:
    MyQueue:
      Type: AWS::SQS::Queue
      # ...
  Outputs:
    queueUrl:
      Value: !Ref MyQueue

The value will be passed to service-b as a parameter named queueUrl. Parameters can be referenced in Serverless Framework configuration via the ${param:xxx} syntax:

# service-b/serverless.yml

provider:
  ...
  environment:
    # Here we inject the queue URL as a Lambda environment variable
    SERVICE_A_QUEUE_URL: ${param:queueUrl}

More details on Serverless Framework Compose can be found here.


Support Command

In Serverless Framework V.4, we've introduced the serverless support command, a standout feature that lets you generate issue reports, or directly connect with our support team. It automatically includes relevant context and omits sensitive details like secrets and account information, which you can check before submission. This streamlined process ensures your issues are quickly and securely addressed.

To use this feature, after an error or any command, run:

sls support

After each command, whether it succeeded or not, the context is saved within your current working directory in the .serverless folder.

To open a new support ticket, run the sls support command and select Get priority support.... Optionally you'll be able to review and edit the generated report. Opening support tickets is only available to users who sign up for a Subscription.

You can also generate reports without submitting a new support ticket. This is useful for sharing context with others, opening Github issues, or using it with an AI prompt like ChatGPT. To do this, run the sls support command and select Create a summary report..., or Create a comprehensive report... You can skip the prompt by running sls support --summary or sls support --all. This is especially useful for capturing the report into the clipboard (e.g. sls support --summary | pbcopy).


Remove Your Service

If you want to delete your service, run remove. This will delete all the AWS resources created by your project and ensure that you don't incur any unexpected charges. It will also remove the service from Serverless Dashboard.

sls remove

More details on the remove command can be found here.


What's Next

Here are some helpful resources for continuing with the Serverless Framework:


Community

Security and Bug Disclosure

We take security seriously. If you discover a security issue, please responsibly disclose it by contacting us at support@serverless.com. Please do not publicly disclose vulnerabilities until we have addressed them.

For more details, see our Security Policy.

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.38.0 (2023-11-21)

Features

3.37.0 (2023-11-16)

Features

Bug Fixes

3.36.0 (2023-10-23)

Features

  • Improved dashboard documentation and gitignore (#12176) (eb462ed)

Bug Fixes

  • Dashboard documentation improvements (bb4d7c8)
  • Fix menu for dashboard documentation (8f266af)
  • Improve dashboard documentation (ad8bbf1)
  • Improve dashboard documentation (f67df7f)
  • Minor dashboard doc improvements (#12177) (f1fa19c)

3.35.2 (2023-09-16)

Bug Fixes

3.35.1 (2023-09-16)

Bug Fixes

3.35.0 (2023-09-15)

Features

Bug Fixes

3.34.0 (2023-08-03)

Features

Bug Fixes

Maintenance Improvements

3.33.0 (2023-06-26)

Features

Bug Fixes

3.32.2 (2023-06-02)

Maintenance Improvements

3.32.1 (2023-06-01)

Bug Fixes

3.32.0 (2023-05-31)

Features

Bug Fixes

Maintenance Improvements

3.31.0 (2023-05-17)

Features

Bug Fixes

Maintenance Improvements

3.30.1 (2023-04-06)

Bug Fixes

3.30.0 (2023-04-05)

Features

Bug Fixes

  • AWS Deploy: Fix handling of inactive CloudFormation stack state (0d850fc), closes #11863

Maintenance Improvements

3.29.0 (2023-03-24)

Features

Bug Fixes

Maintenance Improvements

3.28.1 (2023-03-02)

Maintenance Improvements

3.28.0 (2023-02-28)

Features

Bug Fixes

3.27.0 (2023-01-26)

Features

Maintenance Improvements

3.26.0 (2022-12-22)

Features

Bug Fixes

Maintenance Improvements

3.25.1 (2022-11-28)

Maintenance Improvements

3.25.0 (2022-11-21)

Features

Bug Fixes

3.24.1 (2022-11-04)

Bug Fixes

3.24.0 (2022-10-31)

Features

Bug Fixes

Maintenance Improvements

3.23.0 (2022-10-11)

Features

Bug Fixes

Maintenance Improvements

3.22.0 (2022-08-16)

Features

Bug Fixes

Maintenance Improvements

3.21.0 (2022-07-14)

Features

Bug Fixes

3.20.0 (2022-07-08)

Features

Bug Fixes

Maintenance Improvements

3.19.0 (2022-06-02)

Features

Maintenance Improvements

3.18.2 (2022-05-23)

Bug Fixes

Maintenance Improvements

3.18.1 (2022-05-20)

Bug Fixes

Maintenance Improvements

3.18.0 (2022-05-19)

Features

Bug Fixes

Maintenance Improvements

3.17.0 (2022-05-10)

Features

3.16.0 (2022-04-29)

Features

Bug Fixes

Maintenance Improvements

3.15.2 (2022-04-22)

Maintenance Improvements

3.15.1 (2022-04-22)

Maintenance Improvements

3.15.0 (2022-04-20)

Features

  • Introduce Serverless Framework Compose, a new feature that enables deploying multiple services in one command, in parallel, or ordered by dependencies

Maintenance Improvements

3.14.0 (2022-04-14)

Features

Maintenance Improvements

3.13.0 (2022-04-13)

Features

Bug Fixes

Maintenance Improvements

3.12.0 (2022-04-06)

Features

Maintenance Improvements

3.11.0 (2022-04-04)

Features

3.10.2 (2022-03-31)

Maintenance Improvements

3.10.1 (2022-03-30)

Bug Fixes

Maintenance Improvements

3.10.0 (2022-03-25)

Features

3.9.0 (2022-03-24)

Features

Bug Fixes

Maintenance Improvements

3.8.0 (2022-03-21)

Features

3.7.9 (2022-03-18)

Bug Fixes

Maintenance Improvements

3.7.8 (2022-03-17)

Bug Fixes

3.7.7 (2022-03-17)

Bug Fixes

Maintenance Improvements

3.7.6 (2022-03-17)

Bug Fixes

Maintenance Improvements

3.7.5 (2022-03-14)

Bug Fixes

Maintenance Improvements

3.7.4 (2022-03-10)

Bug Fixes

Maintenance Improvements

3.7.3 (2022-03-09)

Bug Fixes

Maintenance Improvements

3.7.2 (2022-03-08)

Bug Fixes

Maintenance Improvements

3.7.1 (2022-03-02)

Bug Fixes

Maintenance Improvements

3.7.0 (2022-03-01)

Features

3.6.0 (2022-03-01)

Features

Maintenance Improvements

3.5.1 (2022-02-28)

Bug Fixes

3.5.0 (2022-02-28)

Features

Maintenance Improvements

3.4.0 (2022-02-25)

Features

Bug Fixes

Maintenance Improvements

3.3.0 (2022-02-18)

Features

Bug Fixes

Maintenance Improvements

3.2.1 (2022-02-14)

Bug Fixes

Maintenance Improvements

  • Upgrade to @serverless/test in v10 (4201b30)

3.2.0 (2022-02-10)

Features

Bug Fixes

Maintenance Improvements

3.1.1 (2022-02-02)

Bug Fixes

Maintenance Improvements

3.1.0 (2022-02-01)

Features

Bug Fixes

3.0.1 (2022-01-28)

Bug Fixes

Maintenance Improvements

Templates

3.0.0 (2022-01-27)

We are excited to announce the release of Serverless Framework v3!

This new major version brings a cleaner and redesigned CLI experience as well as a brand new feature: stage parameters.

Read all about Serverless Framework v3 in the official blog post.


⚠ BREAKING CHANGES

Read the complete v3 Upgrade Guide.

  • Variables: Old variables resolver is permanently removed. Any resolution error as approached with current resolver is assumed as final (there's no longer fallback to old resolver)
  • AWS Lambda:
    • Default lambda hashing algorithm was changed to 20201221
    • Runtimes nodejs10.x, python2.7, ruby2.5 and dotnetcore2.1 reached end of support on AWS and are no longer recognized in configuration.
    • Default runtime has been changed from nodejs12.x to nodejs14.x
    • Properties service.awsKmsKeyArn and functions[].awsKmsKeyArn are no longer supported. Use provider.kmsKeyArn and functions[].kmsKeyArn instead.
  • CLI:
    • CLI params put before command tokens are no longer recgonized (e.g. sls -f <function-name> deploy function will no longer work). In all cases construct CLI args in sls <command> <options> order
    • Unrecognized CLI options will no longer be supported and will result in an error.
    • enableLocalInstallationFallback configuration property is no longer supported.
    • Remove studio command schema
    • The --verbose CLI flag does no longer support -v alias
    • Opt-in tab-tab autocompletion feature is removed due to performance and security issues
  • AWS API Gateway:
    • Enabling logs or tracing for imported API Gateway will now result in an error instead of warning
    • For authorizers with request type and caching disabled (resultTtlInSeconds: 0), the identitySource will no longer be set to method.request.header.Authorization by default.
    • Support for usagePlan, resourcePolicy and apiKeys on provider level is removed. Use provider.apiGateway level instead to set them.
    • Support for http.request.schema has been removed and replaced with http.request.schemas.
  • AWS HTTP API: Tags from provider.tags are applied by default to HTTP API Gateway.
  • AWS CloudFront: Support for MinTTL, MaxTTL, DefaultTTL and ForwardedValues on cloudfront.behavior has been removed.
  • AWS EventBridge: By default, EventBridge resources now will be deployed using native CloudFormation resources instead of Custom Resources.
  • AWS Alexa: Support for simple alexaSkill event was removed and now appId is required for all alexaSkill events.- Serverless Components (@serverless/components) CLI is no longer integrated with Framework CLI.
  • Dashboard: tenant configuration setting is no longer respected. Ensure to rely on org instead
  • AWS Deploy: Deployment now uses change sets instead of direct stack updates.
  • Serverless Components v1 (@serverless/cli) CLI is no longer integrated with Framework CLI.
  • Custom nested configuration paths will no longer be supported and such usage will result in an error.
  • Object notation is no longer supported for service property. Set name directly to service.
  • When creating Serverless class instance programatically, both options and commands have to be passed via config to the constructor.
  • Duplicate plugin definition in configuration will now result in an error instead of a warning.
  • Using --aws-s3-accelerate flag will result in an error instead of deprecation when custom S3 bucket is used.
  • Removed support for provider.disableDefaultOutputExportNames
  • Node.js versions lower than v12.13.0 (LTS) is no longer supported
  • Lifecycle events marked as deprecated (in context of v1) are no longer evaluated

Features

Maintenance Improvements

2.72.3 (2022-02-22)

Maintenance Improvements

2.72.2 (2022-01-24)

Bug Fixes

2.72.1 (2022-01-21)

Maintenance Improvements

2.72.0 (2022-01-17)

Features

Bug Fixes

Maintenance Improvements

Templates

2.71.0 (2022-01-10)

Features

Bug Fixes

Maintenance Improvements

Templates

2.70.0 (2021-12-27)

Features

Bug Fixes

Templates

Maintenance Improvements

2.69.1 (2021-12-15)

Bug Fixes

Templates

2.69.0 (2021-12-13)

Features

Bug Fixes

Maintenance Improvements

2.68.0 (2021-12-02)

Features

Bug Fixes

Maintenance Improvements

Templates

2.67.0 (2021-11-26)

Features

2.66.2 (2021-11-17)

Bug Fixes

Maintenance Improvements

Templates

2.66.1 (2021-11-10)

Bug Fixes

Maintenance Improvements

Templates

2.66.0 (2021-11-09)

Features

Bug Fixes

Maintenance Improvements

2.65.0 (2021-11-03)

Features

Bug Fixes

Performance Improvements

  • CLI: Integrate CLI triage into this package (no @serverless/components and @serverless/cli modules are loaded unless their CLI is used)(#10131) (415bdef) (Mariusz Nowak)

Maintenance Improvements

Templates

2.64.1 (2021-10-20)

Bug Fixes

2.64.0 (2021-10-20)

Features

Bug Fixes

Maintenance Improvements

2.63.0 (2021-10-15)

Features

Maintenance Improvements

Templates

2.62.0 (2021-10-08)

Features

Bug Fixes

Maintenance Improvements

2.61.0 (2021-10-04)

Features

Bug Fixes

Maintenance Improvements

2.60.3 (2021-10-01)

Bug Fixes

Maintenance Improvements

2.60.2 (2021-09-30)

Bug Fixes

2.60.1 (2021-09-29)

Bug Fixes

Maintenance Improvements

2.60.0 (2021-09-24)

Features

Bug Fixes

Templates

Maintenance Improvements

2.59.0 (2021-09-14)

Features

Bug Fixes

Maintenance Improvements

2.58.0 (2021-09-13)

Features

Bug Fixes

Maintenance Improvements

Templates

2.57.0 (2021-08-31)

Features

Bug Fixes

Maintenance Improvements

2.56.0 (2021-08-25)

Features

Bug Fixes

Maintenance Improvements

2.55.0 (2021-08-18)

Features

Bug Fixes

  • AWS HTTP API: Properly handle authorizer function with alias (e.g. with provisionedConcurrency) (#9850) (0ca6aaa) (Piotr Grzesik)

Maintenance Improvements

2.54.0 (2021-08-12)

Features

Bug Fixes

2.53.1 (2021-08-06)

Bug Fixes

Maintenance Improvements

2.53.0 (2021-08-04)

Features

Bug Fixes

Maintenance Improvements

2.52.1 (2021-07-22)

Bug Fixes

Maintenance Improvements

2.52.0 (2021-07-15)

Features

Bug Fixes

Maintenance Improvements

2.51.2 (2021-07-08)

Bug Fixes

2.51.1 (2021-07-08)

Bug Fixes

Maintenance Improvements

2.51.0 (2021-07-06)

Features

Bug Fixes

Maintenance Improvements

2.50.0 (2021-07-01)

Features

Bug Fixes

Maintenance Improvements

Templates

2.49.0 (2021-06-29)

Features

Bug Fixes

Maintenance Improvements

Templates

2.48.1 (2021-06-25)

Bug Fixes

Maintenance Improvements

2.48.0 (2021-06-21)

Features

Bug Fixes

Maintenance Improvements

2.47.0 (2021-06-18)

Features

Bug Fixes

Maintenance Improvements

2.46.0 (2021-06-11)

Features

Bug Fixes

Maintenance Improvements

2.45.2 (2021-06-09)

Bug Fixes

2.45.1 (2021-06-08)

Bug Fixes

2.45.0 (2021-06-08)

Features

Bug Fixes

Maintenance Improvements

2.44.0 (2021-06-02)

Features

  • CLI Onboarding: Make it service setup specific:

Bug Fixes

Maintenance Improvements

2.43.1 (2021-05-25)

Bug Fixes

Maintenance Improvements

2.43.0 (2021-05-20)

Features

Bug Fixes

Maintenance Improvements

2.42.0 (2021-05-19)

Features

Bug Fixes

Maintenance Improvements

2.41.2 (2021-05-13)

Bug Fixes

  • CLI:
    • In error handler fallback to local version only if we're not in its context (fix infinite recursion issue which put serverless process on stall) (#9472) (7047c34) (Mariusz Nowak)
    • Ensure resolved CLI params are correct in local fallback (#9472) (65a1f38) (Mariusz Nowak)
  • Telemetry: If global & local fallback versions are recent enough to report outcome, report with global (#9472) (eeddf9f) (Mariusz Nowak)

Templates

Maintenance Improvements

2.41.1 (2021-05-11)

Bug Fixes

2.41.0 (2021-05-11)

Features

Bug Fixes

Maintenance Improvements

2.40.0 (2021-05-06)

Features

Bug Fixes

2.39.2 (2021-05-04)

Bug Fixes

2.39.1 (2021-05-03)

Bug Fixes

Maintenance Improvements

2.39.0 (2021-04-30)

Features

Bug Fixes

Maintenance Improvements

Templates

2.38.0 (2021-04-23)

Features

Bug Fixes

2.37.2 (2021-04-22)

Bug Fixes

2.37.1 (2021-04-21)

Bug Fixes

Maintenance Improvements

2.37.0 (2021-04-20)

Features

Bug Fixes

2.36.0 (2021-04-20)

Features

Bug Fixes

Maintenance Improvements

2.35.0 (2021-04-09)

Features

Bug Fixes

2.34.0 (2021-04-07)

Features

Bug Fixes

Maintenance Improvements

2.33.1 (2021-04-03)

Bug Fixes

2.33.0 (2021-04-02)

Features

Bug Fixes

Maintenance Improvements

2.32.1 (2021-03-31)

Bug Fixes

Maintenance Improvements

2.32.0 (2021-03-30)

Features

Bug Fixes

Maintenance Improvements

2.31.0 (2021-03-23)

Features

Bug Fixes

Maintenance Improvements

2.30.3 (2021-03-16)

Bug Fixes

2.30.2 (2021-03-16)

Bug Fixes

2.30.1 (2021-03-16)

Bug Fixes

2.30.0 (2021-03-16)

Features

  • Config Schema: Announce that crashing on error will become default (#9066) (6537a5e) (yumei)

Bug Fixes

Maintenance Improvements

Templates

2.29.0 (2021-03-09)

Features

Bug Fixes

Maintenance Improvements

2.28.7 (2021-03-04)

Bug Fixes

2.28.6 (2021-03-03)

Bug Fixes

2.28.5 (2021-03-03)

Bug Fixes

2.28.4 (2021-03-03)

Bug Fixes

Maintenance Improvements

2.28.3 (2021-03-02)

Bug Fixes

2.28.2 (2021-03-02)

Bug Fixes

2.28.1 (2021-03-02)

Bug Fixes

Maintenance Improvements

2.28.0 (2021-02-26)

Features

Bug Fixes

Maintenance Improvements

2.27.1 (2021-02-25)

Bug Fixes

Maintenance Improvements

2.27.0 (2021-02-24)

Features

  • AWS EventBridge: Native CloudFormation based deployment (turn on via provider.eventBridge.useCloudFormation: true) (#8437) (13444ca) (stuartforrest-infinity & Piotr Grzesik)
  • AWS Deploy: Support null values for properties in CF resources (those properties will be removed for final CF template version) (#8975) (9b030ad) (yumei)

Bug Fixes

Maintenance Improvements

2.26.0 (2021-02-24)

Features

Bug Fixes

Maintenance Improvements

Templates

2.25.2 (2021-02-18)

Bug Fixes

2.25.1 (2021-02-16)

Bug Fixes

2.25.0 (2021-02-16)

Features

Bug Fixes

2.24.0 (2021-02-16)

Features

Bug Fixes

Maintenance Improvements

Templates

2.23.0 (2021-02-08)

Features

Bug Fixes

Maintenance Improvements

2.22.0 (2021-02-02)

Features

Bug Fixes

Maintenance Improvements

Templates

2.21.1 (2021-01-26)

Bug Fixes

Maintenance Improvements

2.21.0 (2021-01-26)

Features

Bug Fixes

Maintenance Improvements

2.20.1 (2021-01-22)

Bug Fixes

2.20.0 (2021-01-21)

Features

Bug Fixes

Maintenance Improvements

Templates

2.19.0 (2021-01-15)

Features

Bug Fixes

Maintenance Improvements

Templates

2.18.0 (2021-01-07)

Features

Bug Fixes

Maintenance Improvements

2.17.0 (2020-12-30)

Features

Bug Fixes

Templates

2.16.1 (2020-12-22)

Bug Fixes

2.16.0 (2020-12-18)

Features

Bug Fixes

Maintenance Improvements

2.15.0 (2020-12-04)

Features

Bug Fixes

2.14.0 (2020-12-01)

Features

Bug Fixes

2.13.0 (2020-11-25)

Features

Bug Fixes

Templates

Maintenance Improvements

2.12.0 (2020-11-20)

Features

Bug Fixes

Templates

2.11.1 (2020-11-09)

Bug Fixes

2.11.0 (2020-11-06)

Features

Bug Fixes

2.10.0 (2020-11-03)

Features

Bug Fixes

Maintenance Improvements

2.9.0 (2020-10-29)

Features

Bug Fixes

Maintenance Improvements

2.8.0 (2020-10-16)

Features

Bug Fixes

Maintenance Improvements

2.7.0 (2020-10-13)

Features

Bug Fixes

2.6.0 (2020-10-09)

Features

Bug Fixes

2.5.0 (2020-10-07)

Features

Bug Fixes

2.4.0 (2020-09-30)

Features

Bug Fixes

2.3.0 (2020-09-25)

Features

Bug Fixes

Maintenance Improvements

2.2.0 (2020-09-23)

Features

Bug Fixes

Maintenance Improvements

2.1.1 (2020-09-17)

Maintenance Improvements

  • Ensure to rely on @serverless/enterprise-plugin ^4.0.4

2.1.0 (2020-09-16)

Features

Bug Fixes

Maintenance Improvements

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

Maintenance Improvements

1.83.3 (2021-03-23)

Maintenance Improvements

1.83.2 (2020-11-06)

Bug Fixes

1.83.1 (2020-11-03)

Bug Fixes

Maintanance Improvements

1.83.0 (2020-09-10)

Features

Bug Fixes

Maintenance Improvements

1.82.0 (2020-09-04)

Features

Maintenance Improvements

  • Remove update-notifier notifications (as those are now covered by more accurate backend notifications, which also support notifications for multiple majors) (#8185) (11fb888) (Mariusz Nowak)
  • Prevent is locally installed detection on confirmed local installations (#8188) (7accad6) (Mariusz Nowak)

1.81.1 (2020-09-02)

Bug Fixes

1.81.0 (2020-09-02)

Features

Bug Fixes

Maintenance Improvements

1.80.0 (2020-08-26)

Features

Bug Fixes

Performance Improvements

Maintenance Improvements

1.79.0 (2020-08-19)

Features

Bug Fixes

1.78.1 (2020-08-04)

Bug Fixes

Maintenance Improvements

1.78.0 (2020-08-03)

Features

Bug Fixes

1.77.1 (2020-07-28)

Bug Fixes

1.77.0 (2020-07-27)

Features

Bug Fixes

1.76.1 (2020-07-23)

Bug Fixes

1.76.0 (2020-07-23)

Features

Bug Fixes

Maintenance Improvements

1.75.1 (2020-07-16)

Bug Fixes

1.75.0 (2020-07-15)

Features

Bug Fixes

Maintenance Improvements

1.74.1 (2020-06-29)

Bug Fixes

Maintenance Improvements

1.74.0 (2020-06-26)

Features

  • AWS ALB: Support built-in authentication through onUnauthenticatedRequest (#7780) (b976677) (Kamaz)

Bug Fixes

Maintenance Improvements

1.73.1 (2020-06-16)

Bug Fixes

1.73.0 (2020-06-16)

Features

Bug Fixes

Maintenance Improvements

1.72.0 (2020-06-02)

Features

Bug Fixes

Maintenance Improvements

1.71.3 (2020-05-20)

Bug Fixes

1.71.2 (2020-05-20)

Bug Fixes

Performance Improvements

Maintenance Improvements

1.71.1 (2020-05-15)

Bug Fixes

1.71.0 (2020-05-15)

Features

Bug Fixes

Maintenance Improvements

1.70.1 (2020-05-11)

Bug Fixes

Enhancements

Maintenance Improvements

1.70.0 (2020-05-07)

Features

Bug Fixes

1.69.0 (2020-04-29)

Features

Bug Fixes

1.68.0 (2020-04-22)

Features

Bug Fixes

1.67.3 (2020-04-08)

Bug Fixes

1.67.2 (2020-04-08)

1.67.1 (2020-04-07)

Bug Fixes

1.67.0 (2020-03-19)

Features

Bug Fixes

1.66.0 (2020-03-09)

Features

Bug Fixes

1.65.0 (2020-02-28)

Features

Bug Fixes

1.64.1 (2020-02-26)

Bug Fixes

1.64.0 (2020-02-18)

Features

Bug Fixes

1.63.0 (2020-02-05)

Features

  • AWS HTTP API: Initial basic routes configuration support (69170d0)
  • Support destinations config on stream events (#7262) (ea4ac26)
  • Support rich and reusable S3 buckets configuration (#7156) (382c0bf)

Bug Fixes

  • Fix sls logs so it also covers output from aliases (#7270) (4468805), closes #7214
  • Standalone: Ensure to use proper CLI params parser (f426ed7)

1.62.0 (2020-01-29)

Features

  • Support redrivePolicy configuration on SNS events (#7239) (4f27378)
  • Ensure deterministic WebSockets deployment id (so deployments are skipped when no changes are detected) (#7248) (9f0131f)
  • azure-nodejs-typescript template (#7252) (0549d85)

Bug Fixes

  • Variables: When resolving SSM parameter, ensure to retrieve status code from AWS error correctly (bc5bbbe), closes #7237
  • Do not overwrite go.mod on make in Go template (#7245) (1793cf8)

1.61.3 (2020-01-21)

Improvements

  • Support code parameter on ServerlessError (f6c5179)

1.61.2 (2020-01-15)

Bug Fixes

1.61.1 (2020-01-14)

Bug Fixes

  • AWS APIGW: Fix default resource policy configuration (8814671) Fixes regression introduced with #7138 Closes #7194 and #7211

1.61.0 (2020-01-13)

Features

  • Standalone: Windows Chocolatey PM integration (85b196f)
  • Add support for plain .git template URLs (3cfa750)
  • Enhance configuration options of cloudFront event (#7170) (9591d5a), closes #7151, addresses #6843 #6785
  • Support BisectBatchOnFunctionError option on event streams (#7105) (560ceee)
  • support RollbackConfiguration in service config (#7193) (5973c9f)

Bug Fixes

  • Fix CLI params resolution (switch to yargs-parser) (#7187) (780fb46), closes #6083
  • AWS Lambda: Do not break permission resource (5e63cee), closes #7189
  • Ensure CF stacks are deleted on failed creation attempt (#7158) (53a18cb), closes #6612
  • Fix and improve openwhisk-java-maven templates (#7164) (41d7d0b)
  • Remove hard-coded AWS partitions (#7175) (3236adb)

1.60.5 (2020-01-03)

Bug Fixes

  • Standalone
    • Ensure dashboard plugin policies are bundled (4b5f531)
    • Ensure dashboard wrapper is bundled (994555d)
    • Workaround pkg #420 bug (c94a614)
  • AWS Lambda: Fix provisioned concurrency setup issues (remove no longer needed AWS issue workaround) (4821ad2), closes #7137
  • CLI
    • Fix ambiguity of -v option (074647c)
    • Recognize CLI aliases as documented (7a804e1), closes #7106
  • Plugins: Fix resolution of config when installing plugin (b5dbdaf), closes #7130
  • AWS APIGW: Fix handling of removal of resourcePolicy setting (e662a91), closes #6789
  • Variables: Ensure no same object instances are shared across config (4893f7d), closes #7098

1.60.4 (2019-12-23)

Bug Fixes

  • AWS APIGW: Fix handling of provisionedConcurrency: 0 setting (efe6d02), closes #7133

1.60.3 (2019-12-23)

Bug Fixes

  • AWS APIGW: Fix Rest API id detection when no API GW involved (81096ca), regression introduced with #7126

1.60.2 (2019-12-23)

Bug Fixes

  • AWS Lambda
    • Fix provisioned concurrency setup (closes #7059):
      • Fix provisioned concurrency configuration. Configure on alias, and not on version. Thanks to that it can work with versioning enabled and changes to provisioned concurrency configuration are not immune to Internal Failure (04a7657)
      • Workaround AWS issue related to alias redeployments (56b9d3d)
      • Ensure API Gateway endpoints point provisioned version (67d27ed),
    • Fix CloudWatch logs creation access (a2db989), closes #6241 #6692
  • AWS API Gateway:
    • Ensure to apply API GW stage settings in case of services having no endpoints configured (e93e6f4), closes #7036
  • Fix custom resource lambda artifact generation (7132af3)

1.60.1 (2019-12-20)

Bug Fixes

  • Ensure necessary IAM role for handling existing cognito pools (5c6de5c), closes #6579
  • Fix support for relative plugins.localPath (10ba8cb), closes #7117
  • Support different AWS partitions (f353144)

1.60.0 (2019-12-18)

Features

  • Binary installer
    • uninstall command for installed binaries (53e596f)
    • upgrade command for installed binaries (c4efd66)
    • Configure binaries generation (49f6e1e)
    • Linux & macOS binary installer (f0f9698)
    • Recognise as standalone (59bea09)
    • Script to upload generated binaries to GitHub release (5563b28)
  • Draw CLI boxes with boxen package (80f9a65)
  • MaximumRetryAttempts config for stream (998b6fd), closes #7012
  • Memoize resolution of dev deps exclusion paths (#7091) (5143c2a)
  • Support CF instructions in awsKmsKeyArn setting (#7083) (f9b6507)
  • Unconditionally display browser url (c900900)
  • Update and improve aws-kotlin-jvm-gradle template (#7072) (0b3a08a)

Bug Fixes

  • Ensure not to autocomplete hidden commands (3f7f532)
  • Fix AWS partition reference in APIGW CloudWatch role setup (fc74c28), closes #7100
  • Fix credentials validation in EC2 environment (#6977) (f8ee027)
  • Prevent uncaught exception in case of open util issue (f29d169)
  • Recognize falsy values as CLI options defaults (#7071) (7e0e903)

1.59.3 (2019-12-09)

Bug Fixes

  • Do not set optional ParallelizationFactor when not explicitly set (e74d1a0), closes #7049
  • Fix provisioned concurrency support (be0ebb7), closes #7059

1.59.2 (2019-12-06)

Bug Fixes

  • Ensure to not create cognito pools marked as 'existing' (fe546c5)

1.59.1 (2019-12-05)

Bug Fixes

  • Fix mishandling of cachedCredentials in invokeLocal (699e78d), closes #7050, regression introduced with #7044

1.59.0 (2019-12-04)

Meta

1.58.0 (2019-11-20)

Meta

1.57.0 (2019-11-06)

Meta

1.56.1 (2019-10-31)

Meta

1.56.0 (2019-10-31)

Meta

1.55.1 (2019-10-23)

Meta

1.55.0 (2019-10-23)

Meta

1.54.0 (2019-10-09)

Meta

1.53.0 (2019-09-25)

Meta

1.52.2 (2019-09-20)

Meta

1.52.1 (2019-09-19)

Meta

1.52.0 (2019-09-11)

Meta

1.51.0 (2019-08-28)

Meta

1.50.1 (2019-08-26)

Meta

1.50.0 (2019-08-14)

Meta

1.49.0 (2019-07-30)

Meta

1.48.4 (2019-07-25)

Meta

1.48.3 (2019-07-23)

Meta

1.48.2 (2019-07-19)

Meta

1.48.1 (2019-07-19)

Meta

1.48.0 (2019-07-18)

Meta

1.47.0 (2019-07-10)

Meta

1.46.1 (2019-06-28)

Meta

1.46.0 (2019-06-26)

Meta

1.45.1 (2019-06-12)

Meta

1.45.0 (2019-06-12)

Meta

1.44.1 (2019-05-28)

Meta

1.44.0 (2019-05-28)

Meta

1.43.0 (2019-05-20)

Meta

1.42.3 (2019-05-14)

Meta

1.42.2 (2019-05-10)

Meta

1.42.1 (2019-05-09)

Meta

1.42.0 (2019-05-09)

Meta

1.41.1 (2019-04-23)

Meta

1.41.0 (2019-04-18)

Meta

1.40.0 (2019-03-28)

Meta

1.39.1 (2019-03-18)

Meta

1.39.0 (2019-03-15)

Meta

1.38.0 (2019-02-20)

Meta

1.37.0 (2019-02-06)

Meta

1.36.3 (2019-01-23)

Meta

1.36.2 (2019-01-21)

Meta

1.36.1 (2019-01-14)

Meta

1.36.0 (2019-01-10)

Meta

1.35.1 (2018-12-18)

Meta

1.35.0 (2018-12-13)

Meta

1.34.1 (2018-11-30)

Meta

1.34.0 (2018-11-29)

Meta

1.33.2 (2018-11-18)

Meta

1.33.1 (2018-11-15)

Meta

1.33.0 (2018-11-15)

Meta

1.32.0 (2018-09-17)

Meta

1.31.0 (2018-09-11)

Meta

1.30.3 (2018-08-28)

Meta

1.30.2 (2018-08-28)

Meta

1.30.1 (2018-08-16)

Meta

1.30.0 (2018-08-09)

Meta

1.29.2 (2018-07-29)

Meta

1.29.1 (2018-07-28)

Meta

1.29.0 (2018-07-26)

Meta

1.28.0 (2018-07-04)

Meta

1.27.0 (2018-05-02)

Meta

1.26.1 (2018-02-27)

Meta

1.26.0 (2018-01-29)

Meta

1.25.0 (2017-12-20)

Meta

1.24.1 (2017-11-07)

Meta

1.24.0 (2017-11-01)

Meta

1.23.0 (2017-09-21)

Meta

1.22.0 (2017-09-13)

Meta

1.21.1 (2017-09-06)

Meta

1.21.0 (2017-08-30)

Meta

1.20.2 (2017-08-17)

Meta

1.20.1 (2017-08-17)

Meta

1.20.0 (2017-08-16)

Meta

1.19.0 (2017-08-02)

Meta

1.18.1 (2017-07-28)

Meta

1.18.0 (2017-07-20)

Meta

1.17.0 (2017-07-05)

  • Cleanup F# build template output on macOS - #3897
  • Add disable flag for OpenWhisk functions - #3830
  • Only redeploy when the code/config changes - #3838
  • Add opt-out config for dev dependency exclusion - #3877
  • Add infinite stack trace for errors - #3839
  • Fixed a bug with autocomplete - #3798

Meta

1.16.1 (2017-06-26)

  • CI/CD fix for the Serverless Platform - #3829

Meta

1.16.0 (2017-06-21)

  • Added support for usage plans to APIG - #3819
  • Optmizied packaging to exclude dev dependencies - #3737
  • Added support for S3 server side encryption - #3804
  • Improved HTTP error handling - #3752
  • Throw an error when requsted CF variable doesn't exist - #3739
  • Throw an error if an individual package is empty - #3729

Meta

1.15.3 (2017-06-12)

  • Fixed autocomplete bug with help option - #3781

Meta

1.15.2 (2017-06-10)

  • Fixed installation error - #3763

Meta

1.15.0 (2017-06-08)

  • Added autocomplete support to the CLI - #3753
  • Added KMS key support - #3672
  • Added Cognito User pool support - #3657
  • Added serverless.json support - #3647
  • Added aws-profile support - #3701
  • Added CloudFormation validation support - #3668
  • Fixed S3 event race condition bug - #3705
  • Fixed CORS origin config bug - #3692

Meta

1.14.0 (2017-05-24)

  • Added login command - #3558
  • Added support for DeadLetter Config with SNS - #3609
  • Added support for S3 variables - #3592
  • Added rollback function command - #3571
  • Added X-Amz-User-Agent to list of allowed headers in CORS - #3614
  • Added support for HTTP_PROXY API Gateway integration - #3534
  • Added IS_LOCAL environment variable with invoke local command - #3642
  • Removed package.json in exclude rules - #3644

Meta

1.13.2 (2017-05-15)

  • Fixed a bug when using dot notation in YAML keys (#3620)

Meta

1.13.1 (2017-05-12)

  • Fixed bug when referencing variables from other variable object values (#3604)
  • Fixed bug when packaging a functions-free service (#3598)

Meta

1.13.0 (2017-05-10)

  • Added support for cross service communication via CloudFormation outputs (#3575)
  • Add Lambda tagging functionality (#3548)
  • Added support for Promises in the variable system (#3554)
  • Added hello-world template (#3445)
  • Improved Info plugins lifecylce events for plugin authors (#3507)
  • Allow service to be specified as object in serverless.yml (#3521)

Meta

1.12.1 (2017-04-27)

  • Fix bug when using the package command with the variable system (#3527)

Meta

1.12.0 (2017-04-26)

  • Separated packaging and deployment with a new package command (#3344)
  • Extend OpenWhisk runtime support (#3454)
  • Upgrade gradle wrapper to 3.5 (#3466)
  • Fixed bug when using event streams with custom roles (#3457)
  • Fixed bug with SNS events (#3443)
  • Fixed bug when using custom deployment bucket (#3479)
  • Added support for Python 3.6 for Lambda (#3483)
  • Added new syntax to specify ARN for SNS events (#3505)

1.11.0 (2017-04-12)

  • Add CloudWatch Logs Event Source (#3407)
  • Add version description from function (#3429)
  • Add support for packaging functions individually (#3433)

Meta

1.10.2 (3.04.2017)

  • Add support for packaging functions individually at the function level (#3433)

1.10.1 (2017-03-30)

  • Update serverless-alpha detection (#3423)

Meta

1.10.0 (2017-03-29)

  • Fixed bug with ANY http method (#3304)
  • Reduced unit test time significantly (#3359)
  • Added AWS Groovy Gradle Template (#3353)
  • Reduce dependency tree depth between IAM & Log Groups (#3360)
  • Added entrypoints for plugins (#3327)
  • Removed pre-install script (#3385)
  • Expose plugin hooks (#2985)
  • Add support for Node 6 runtime in invoke local (#3403)
  • Updated Node.js templates to include Node 6 runtime by default (#3406)
  • Removed breaking changes warnings (#3418)
  • Auto loading serverless-alpha plugin (#3373)

Meta

1.9.0 (2017-03-14)

  • Fixed bug with serverless plugins lookup (#3180)
  • Fixed bug with serverless create generated .gitignore (#3355)
  • Fixed bug with authorizer claims (#3187)
  • Added support for CloudFormation service roles (#3147)
  • Improvements for invoke local plugin (#3037)
  • Added Azure Functions Node.js template in serverless create (#3334)
  • Allow DynamoDB and Kinesis streams to use GetAtt/ImportValue (#3111)

Meta

1.8.0 (2017-02-28)

Non-Breaking Changes

  • Fixed bug with deployment progress monitoring (#3297)
  • Fixed "too many open files" error (#3310)
  • Fixed bug with functions lists loaded from a separate file using Serverless Variables (#3186)

Breaking Changes

Removed IamPolicyLambdaExecution Resource

We've removed the IamPolicyLambdaExecution resource template and replaced it with inline policy within the role as it's been causing issues with VPC and bloating the CF template. This is a breaking change only for users who are depending on that resource with Ref or similar CF intrinsic functions.

Changed displayed function name for sls info

The function name displayed when you run sls info is now the short function name as found in serverless.yml rather than the actual lambda name to keep it more provider agnostic. This could be breaking for any user who is depending or parsing the CLI output.

Meta

1.7.0 (2017-02-14)

  • Added CloudWatch event source (#3102)
  • Fixed average functions duration calculation in "sls metrics" output (#3067)
  • Added SLS_IGNORE_WARNINGS flag and logging upcoming breaking changes (#3217)
  • Reduced memory consumption during zipping process (#3220)
  • Fixed bug when using LogGroup resources with custom roles (#3213)

Meta

1.6.1 (2017-01-31)

A minimal patch release that fixes an issue with rendering README.md on npm registry.

1.6.0 (2017-01-30)

Important Note: This release includes breaking changes. If your services stopped working after upgrading to v1.6.0, please read the following section.

Breaking Changes

CloudWatch logs are created explicitly

Up until this release, CloudWatch log groups were created implicitly by AWS/Lambda by default and were not included in your service stack. However, some users were able to easily reach the CloudWatch log group limits (currently at 500 log groups), and it wasn't an easy task to clear them all. Because of that we decided to explicitly create the log groups using CloudFormation so that you can easily remove them with sls remove. This was also optionally possible with the cfLogs: true config option.

If your service doesn't have the cfLogs: true set, and one of the function has been invoked at least once (hence the log groups were created implicitly by AWS), then it's very likely that you'll receive a "log group already exists" error after upgrading to v1.6.0. That's because CF is now trying to create the already created log groups from scratch to include it in the stack resources. To fix this breaking change, simply delete the old log group, or rename your service if you must keep the old logs.

Removed function Arns from CloudFormation outputs

Up until this release, the output section of the generated CloudFormation template included an output resource for each function Arn. This caused deploying big services to fail because users were hitting the 60 outputs per stack limit. This effectively means that you can't have a service that has more than 60 functions. To avoid this AWS limit, we decided to remove those function output resources completely, to keep the stack clean. This also means removing the function Arns from the sls info command, and at the end of the deployment command.

This is a breaking change for your project if you're depending on those function output resources in anyway, or if you're depending on function arn outputs from the deploy or info commands. Otherwise, your project shouldn't be affected by this change. Fixing this issue depends on your needs, but just remember that you can always create your own CF outputs in serverless.yml.

Moved getStackName() method

This is a breaking change for plugin authors only. If your plugin used the provider.getStackName() method, it has been moved to naming.js, and should be referenced with provider.naming.getStackName() instead.

Removed the defaults property from serverless.yml

We've finally dropped support for the defaults property which we introduced in v1. All child properties should now be moved to the provider object instead.

Non-breaking changes

  • Reduce memory consumption on deploy by at least 50% (#3145)
  • Added openwhisk template to sls create command (#3122)
  • Allow Role 'Fn::GetAtt' for Lambda role (#3083)
  • Added Access-Control-Allow-Credentials for CORS settings (#2736)
  • add Support for SNS Subscription to existing topics (#2796)
  • Function version resources are now optional. (#3042)
  • Invoke local now supports python runtime. (#2937)
  • Fixed "deployment bucket doesn't exist" error (#3107)
  • Allowed function events value to be variables (#2434)

Meta

1.5.1 (2017-01-19)

Bug Fixes

  • Fix bug with multi line values is given in IoT events (#3095)
  • Add support of numeric template creation path (#3064)
  • Fix deployment bucket bug when using eu-west-1 (#3107)

Meta

1.5.0 (2017-01-05)

Features

Bug Fixes

  • Fix VTL string escaping (#2993)
  • Scheduled events are enabled by default (#2940)
  • Update status code regex to match newlines (#2991)
  • Add check for preexistent service directory (#3014)
  • Deployment monitoring fixes (#2906)
  • Credential handling fixes (#2820)
  • Reduced policy statement size significantly (#2952)

Meta

1.4.0 (2016-12-15)

Features

Bug Fixes

  • Fixed exit code for failed function invocations (#2836)
  • Stricter validation for custom IAM statements (#2132)
  • Fixed bug in credentials setup (#2878)
  • Removed unnecessary warnings during Serverless installation (#2811)
  • Removed request and response config when using proxy integration (#2799)
  • Internal refactoring

Meta

1.3.0 (2016-12-02)

Features

Improvements

  • Documentation improvements with serverless.yml file reference (#2703)
  • Display info how to use SLS_DEBUG (#2690)
  • Drop event.json file on service creation (#2786)
  • Refactored test structure (#2464)
  • Automatic test detection (#1337)

Bug Fixes

  • Add DependsOn for Lamda functions and IamPolicyLambdaExecution (#2743)
  • Add JSON data parsing for invoke command (#2685)
  • Internal refactoring

Meta

1.2.0 (2016-11-22)

Features

Bug Fixes

  • Fix --noDeploy flag to generate deployment files offline without needing internet connection (#2648)
  • Bring back the include packaging feature with the help of globs (#2460)
  • Internal refactoring

Meta

1.1.0 (2016-11-02)

Future breaking changes

We will include the LogGroup for your Lambda function in the CloudFormation template in the future. This will break deployments to existing applications because the log group was already created. You will get a warning about this if you deploy currently. We will force this behaviour in a future release, for now you can set it through the cfLogs: true parameter in your provider config. This change will also limit the logging rights to only this LogGroup, which should have no impact on your environment. You can read more in our docs.

Features

Bugs

  • Fix variable syntax fallback if the file doesn't exist (#2565)
  • Fix overwriting undefined variables (#2541)
  • Fix CF deployment issue (#2576)
  • Correctly package symlinks (#2266)

Other

Meta

1.0.3 (2016-10-21)

Following is a selection of features, bug fixes and other changes we did since 1.0.2. You can also check out all changes in the Github Compare View

Features

Bugs

  • Fix not thrown error after failed ResourceStatus bug (#2367)
  • Fix overwrite resources and custom resource merge bug (#2385)
  • Clean up after deployment works correctly now (#2436)

Other

  • Migrate Integration tests into main repository (#2438)

1.0.2 (2016-10-13)

  • Clean up NPM package (#2352)
  • Clean up Stats functionality (#2345)

1.0.1 (2016-10-12)

Accidentally released 1.0.1 to NPM, so we have to skip this version (added here to remove confusion)

1.0.0 (2016-10-12)

Breaking Changes

  • The HTTP Event now uses the recently released Lambda Proxy by default. This requires you to change your handler result to fit the new proxy integration. You can also switch back to the old integration type.
  • The Cloudformation Name of APIG paths that have a variable have changed, so if you have a variable in a path and redeploy CF will throw an error. To fix this remove the path and readd it a second deployment.

Release Highlights

Following is a selection of the most important Features of the 1.0.0 since 1.0.0-rc.1.

You can see all features of 1.0.0-rc.1 in the release blogpost

Documentation

Events

Other