Serverless Framework V4 has officially launched, bringing a host of new features and improvements without introducing any breaking changes. This latest version focuses on enhancing developer experience and expanding the framework’s capabilities.

Key Highlights:

1. No Breaking Changes: V4 ensures a smooth transition from previous versions, allowing developers to adopt new features without disrupting existing workflows.

2. FaaS & Container Switching: Developers can now easily switch between Function-as-a-Service (FaaS) and serverless containers, providing more flexibility and avoiding vendor lock-in.

3. Extensions: The introduction of Serverless Framework Extensions allows users to support a wider range of serverless vendors and use-cases. This feature also includes a revenue-sharing model, where extension creators can earn 80% of the revenue.

4. Native TypeScript & Build Support: V4 includes native support for bundling JavaScript and TypeScript AWS Lambda functions, powered by EsBuild. This eliminates the need for additional plugins and simplifies the build process.

5. Revamped Dev Mode: The new Dev Mode combines local development with live AWS Lambda functions, offering faster development cycles and more accurate testing environments.

Serverless Framework V4 Available

6. New Fee Structure: For organizations with annual revenue exceeding $2M, a new fee structure has been introduced to support further innovation and ecosystem growth.

Serverless Framework V4 aims to streamline serverless development, making it more accessible and efficient for developers while fostering a sustainable and scalable Infrastructure-as-Code model.