Serverless Framework V2

Serverless Framework V2

At the time of this release, AWS Lambda supports only Node.js v10 or higher as well. Dropping old Node.js versions allows us to upgrade dependencies with potential security vulnerabilities, making the Serverless Framework more secure.

We recently released our first (minimal) set of breaking changes in the Serverless Framework, in over 4 years, prompted by deprecating support for old Node.js versions. These breaking changes are included in the new v2 release.

Here is a quick article to detail the breaking changes and how they may impact you.

Deprecating Support for Node.js Version 6 and 8

You will now need Node.js v10 or higher installed locally to use the Serverless Framework. At the time of this release, AWS Lambda supports only Node.js v10 or higher as well. Dropping old Node.js versions allows us to upgrade dependencies with potential security vulnerabilities, making the Serverless Framework more secure.

Run the Locally Installed Version by Default

If you have the Serverless Framework CLI installed locally within your Service (i.e. project) folder, that version of the Framework will be run, instead of a globally installed version.

Otherwise, if the Framework is not installed loclly, but is installed globally, it will default to that.

AWS HTTP API, Lambda Integration

Amazon's new API Gateway product, "HTTP API", has updated its initial payload format (v1.0) for its AWS Lambda integration. We've decided to use the new payload format (v2.0) as the default format.

More info here: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html

AWS ALB Config Change

Support for providers.alb.authorizers[].allowUnauthenticated setting was removed. Please now rely on providers.alb.authorizers[].onUnauthenticatedRequest instead.

serverless

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Overcoming Common Serverless Challenges with Mainframe CICS Programs

Bypass the complex middleware and consider a lightweight node.js implementation to deploy serverless functions from your mainframe CICS applications.

Top 5 Serverless Trends in 2020

Happy Serverless September 2020! We at Coding Sans love working with serverless technology. This is why we decided to publish a report with the latest serverless trends this year. We partnered up with nine other companies who share our love to make it happen.

Predicting The Cost and Performance of Serverless Workloads Under Different Workload

In this post, I will go through the process of predicting key performance characteristics and the cost of scale-per-request serverless platforms (like AWS Lambda, IBM Cloud Functions, Azure Functions, and Google Cloud Functions) with different workload intensities (in terms of requests per second) using a performance model.

Going Serverless With Oracle Stored Procedures

Serverless computing promises greater scalability, faster development, more efficient deployment, and lower cost.

Tencent Cloud and Serverless Join Forces to Bring the Serverless Movement to China

Tencent becomes a Premier Cloud Provider of the Serverless Framework. A few months ago we met with a team from Tencent Cloud to discuss how we could work together to bring the serverless movement to China, and we immediately realized that we both share a similar vision... that serverless is the future of the cloud. We also recognized that Tencent is more ambitious about serverless than other cloud providers.