Jump toSuggest an edit
Functions lifecycle
Reviewed on 23 July 2024 • Published on 13 April 2022
The Serverless Functions runtimes are the environment in which your code runs. We currently support five languages:
- Javascript (NodeJS runtime)
- Python
- Go
- PHP
- Rust
Runtime lifecycle
New runtimes are added periodically, based on user demand.
Status | Description |
---|---|
Beta (beta ) | The runtime has been released recently, users can test it and provide feedback, but it is not yet suitable for a production environment. |
General Availability (available ) | The runtime is available to be used in a production environment. |
When runtimes are no longer supported, they pass through different phases:
Status | Description |
---|---|
Deprecated (deprecated ) | The runtime is still available, but a warning announcing the upcoming End Of Support displays when a new function is created. |
End Of Support (end_of_support ) | It is no longer possible to create a new function with this runtime; however, functions that already use it, can still be updated. A message with the date of End of Life is displayed. |
End Of Life (end_of_life ) | Functions that use this runtime will still be working, but it is no longer possible to update them. |
Runtime upgrade
To modify a runtime version, you simply need to change the runtime value.
For example, to migrate from node18
to node20
, change the runtime field and redeploy your function. Deployed runtimes are forward-compatible but not necessarily backward-compatible.
Once a function is in a deprecated
, end_of_support
, or end_of_life
status, you are invited to upgrade your ongoing runtime to take advantage of new features, better performance, and security fixes.
Available runtimes
Node.js
Name | Status | Information |
---|---|---|
Node 8 (node8 ) | End of Support | |
Node 10 (node10 ) | End of Support | |
Node 14 (node14 ) | End of Support | |
Node 16 (node16 ) | End of Support | |
Node 17 (node17 ) | End of Support | Security support ended June 1st 2022. |
Node 18 (node18 ) | Available | |
Node 19 (node19 ) | End of Support | |
Node 20 (node20 ) | Available | |
Node 22 (node22 ) | Available |
Python
Name | Status | Information |
---|---|---|
Python 2 (python ) | End of Life | |
Python 3 (python3 ) | End of Support | |
Python 3.7 (python37 ) | End of Support | |
Python 3.8 (python38 ) | Available | |
Python 3.9 (python39 ) | Available | |
Python 3.10 (python310 ) | Available | |
Python 3.11 (python311 ) | Available | |
Python 3.12 (python312 ) | Available |
Go
Name | Status | Information |
---|---|---|
Generic Go (golang ) | End of Support | |
Go 1.13 (go113 ) | End of Support | |
Go 1.17 (go117 ) | End of Support | |
Go 1.18 (go118 ) | End of Support | |
Go 1.19 (go119 ) | End of Support | |
Go 1.20 (go120 ) | Available | |
Go 1.21 (go121 ) | Available | |
Go 1.22 (go122 ) | Available |
PHP
Name | Status | Information |
---|---|---|
PHP 8.2 (php82 ) | Available | |
PHP 8.3 (php83 ) | Available |
Rust
Name | Status | Information |
---|---|---|
Rust 1.65 (rust165 ) | End of Support | |
Rust 1.79 (rust179 ) | Available |