Skip to content

Releases: serverless/serverless

4.0.30 (2024-05-27)

27 May 19:27
53e855d
Compare
Choose a tag to compare

This is another Serverless Framework V.4 Beta release to address bug fixes. If you have Serverless Framework V.4 installed already, it will auto-update within 24 hours, or you can run serverless update to get the latest version immediately.

If you are upgrading to V.4, see our Upgrading to Serverless Framework V4 Documentation.

Bug Fixes

  • Improves error message when AWS is specified as a Provider.
  • Fixes blocking error with undefined functions and providers in serverless.yml: #12542
  • Fixes parameter resolver issue with colons: #12525

4.0.26 (2024-05-23)

23 May 20:47
898c15f
Compare
Choose a tag to compare

This is the Serverless Framework V.4 Beta release, after testing the V.4 Alpha for a few months.

In this release, we assumed the serverless npm namespace. To continue to use Serverless Framework V.3 and older versions, please target them in your NPM installs (e.g. npm i serverless@3.38.0 3.38.0 is the latest version of v3), and double-check your automated deployments are doing the same.

If you are upgrading to V.4, see our Upgrading to Serverless Framework V4 Documentation.

If you need to access documentation for Serverless Framework V.3, you can find it here.

Features

  • 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.

  • 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.

  • New AWS Lambda Runtimes: "python3.12", "dotnet8", and "java21".

  • 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

  • AWS SSO: Environment variables, especially ones set by AWS SSO, are prioritized. The Framework and Dashboard no longer interfere with these.

  • Build Plugins Run First: Build plugins now run first, if they include the optional tags static property containing a "build" tag run first.

  • 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 Upgrading to Serverless Framework V4 Documentation. Please note, the structure and licensing of the V.4 Beta repository differ from the V.4 Beta npm module. The npm module contains additional proprietary licensed software, as V.4 transitions to a common SaaS product, as previously announced. While 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.
  • 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.

Bug Fixes

  • Fixes local modules taking priority over global module: #12519
  • Fixes broken loading of custom config files: #12505
  • Adds some fixes and debug messages for plugin Custom Resolution Issues: #12508
  • Improved error if using the wrong node.js version: #12516
  • Improve error messages when plugins are missing or not installed properly: #12513
  • Fix missing backward compatible logging method which affects some plugins: #12509
  • Confusing messages in v3 (done elsewhere at the time of this release): #12526
  • Fixed Github Release breaking v3 install script (done elsewhere at the time of this release): #12522

3.38.0 (2023-11-21)

22 Nov 17:16
ee7fe48
Compare
Choose a tag to compare

Features


Comparison since last release

3.37.0 (2023-11-16)

16 Nov 22:20
cd031b9
Compare
Choose a tag to compare

Features

Bug Fixes


Comparison since last release

3.36.0 (2023-10-23)

23 Oct 14:41
bf04146
Compare
Choose a tag to compare

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)

Comparison since last release

3.35.2 (2023-09-16)

17 Sep 00:30
b1def20
Compare
Choose a tag to compare

Bug Fixes


Comparison since last release

3.35.1 (2023-09-16)

16 Sep 16:17
ee89ebe
Compare
Choose a tag to compare

Bug Fixes


Comparison since last release

3.35.0 (2023-09-15)

15 Sep 22:20
737bc1e
Compare
Choose a tag to compare

Features

Bug Fixes


Comparison since last release

3.34.0 (2023-08-03)

03 Aug 20:57
4288d69
Compare
Choose a tag to compare

Features

Bug Fixes

Maintenance Improvements


Comparison since last release

2.72.4 (2023-07-10)

11 Jul 16:38
Compare
Choose a tag to compare
2.72.4 (2023-07-10) Pre-release
Pre-release

Bug Fixes


Comparison since last release