Runtime Support

To keep your functions up-to-date and secure, we occasionally need you to update your functions and re-deploy them to use a supported runtime. Runtimes on Cloud Functions include an operating system, software required to build and execute code written for a specific programming language, and software to support your functions. Cloud Functions applies updates to runtimes in accordance with your selected security update policy.

Deprecation and Decommissioning

When a component is no longer actively maintained, Cloud Functions may deprecate and eventually remove the runtime.

This has three aspects: a publication of the deprecation date, a deprecation period, and a decommission date. In the following tables, the deprecation date is the start of the deprecation period, while the decommission date indicates the start of the decommission period.

During the deprecation period, you can generally continue to create new functions and update existing functions using the runtime. You should use this time to migrate functions that use the deprecated runtime to a more up-to-date runtime.

After the decommission date, you can no longer create new functions or update existing functions using the runtime. You must choose a more up-to-date runtime to deploy your functions. Functions that continue to use a decommissioned runtime may be disabled.

Support Schedule

Here is the list of supported Cloud Functions runtimes, as well as runtimes that have been deprecated or decommissioned.

Based on qualification and stability of releases, availability and key dates might be delayed. A blank deprecation or decommission date means that phase has not yet been scheduled. Revisit this page to stay up to date.

Node.js

Runtime Environment Runtime ID Deprecation Decommission
Node.js 20 Ubuntu 22.04 nodejs20 2026-04-30
Node.js 18 Ubuntu 22.04 nodejs18 2025-04-30
Node.js 16 Ubuntu 18.04 nodejs16 2024-01-30
Node.js 14 Ubuntu 18.04 nodejs14 2024-01-30
Node.js 12 Ubuntu 18.04 nodejs12 2024-01-30
Node.js 10 Ubuntu 18.04 nodejs10 2024-01-30
Node.js 8 Ubuntu 18.04 nodejs8 2020-06-05 Feb 2021
Node.js 6 Ubuntu 18.04 nodejs6 2019-04-17 Aug 2020

Python

Runtime Environment Runtime ID Deprecation Decommission
Python 3.12 Ubuntu 22.04 python312 2028-10-02
Python 3.11 Ubuntu 22.04 python311 2027-10-24
Python 3.10 Ubuntu 22.04 python310 2026-10-04
Python 3.9 Ubuntu 18.04 python39 2025-10-05
Python 3.8 Ubuntu 18.04 python38 2024-10-14
Python 3.7 Ubuntu 18.04 python37 2024-01-30

Go

Runtime Environment Runtime ID Deprecation Decommission
Go 1.21 Ubuntu 22.04 go121
Go 1.20 Ubuntu 22.04 go120
Go 1.19 Ubuntu 22.04 go119 2024-04-30
Go 1.18 Ubuntu 22.04 go118 2024-01-30
Go 1.16 Ubuntu 18.04 go116 2024-01-30
Go 1.13 Ubuntu 18.04 go113 2024-01-30
Go 1.12 Ubuntu 18.04 go112 2024-01-30
Go 1.11 Ubuntu 18.04 go111 2020-08-05 Feb 2021

Java

Runtime Environment Runtime ID Deprecation Decommission
Java 21 (2nd gen preview only) Ubuntu 22.04 java21
Java 17 Ubuntu 22.04 java17 October 2027
Java 11 Ubuntu 18.04 java11 October 2024

Ruby

Runtime Environment Runtime ID Deprecation Decommission
Ruby 3.2 Ubuntu 22.04 ruby32 2026-03-31
Ruby 3.0 Ubuntu 18.04 ruby30 2024-03-31
Ruby 2.7 Ubuntu 18.04 ruby27 2024-01-30
Ruby 2.6 Ubuntu 18.04 ruby26 2024-01-30

PHP

Runtime Environment Runtime ID Deprecation Decommission
PHP 8.3 (2nd gen preview only) Ubuntu 22.04 php83
PHP 8.2 Ubuntu 22.04 php82 2025-12-08
PHP 8.1 Ubuntu 18.04 php81 2024-11-25
PHP 7.4 Ubuntu 18.04 php74 2024-01-30

.NET Core

Runtime Environment Runtime ID Deprecation Decommission
.NET Core 8 (2nd gen only) Ubuntu 22.04 dotnet8
.NET Core 6 Ubuntu 22.04 dotnet6 2024-11-12
.NET Core 3 Ubuntu 18.04 dotnet3 2024-01-30