Supporto di runtime
Per mantenere le tue funzioni aggiornate e sicure, di tanto in tanto devi aggiornarle ed eseguirne nuovamente il deployment per utilizzare un runtime supportato. I runtime di Cloud Run Functions includono un sistema operativo, il software necessario per compilare ed eseguire il codice scritto per un linguaggio di programmazione specifico e il software per supportare le funzioni. Cloud Run Functions applica gli aggiornamenti ai runtime in base alla policy sull'aggiornamento della sicurezza selezionata.
Ritiro e dismissione
Quando un componente non viene più gestito attivamente, Cloud Run Functions potrebbe ritirare e infine rimuovere il runtime.
Questo processo prevede tre aspetti: la pubblicazione della data di ritiro, un periodo di ritiro e una data di dismissione. Nelle tabelle seguenti, la data di ritiro corrisponde all'inizio del periodo di ritiro, mentre la data di dismissione indica l'inizio del periodo di dismissione definitiva.
Durante il periodo di ritiro, in genere puoi continuare a creare nuove funzioni e aggiornare quelle esistenti utilizzando il runtime. Devi utilizzare questo periodo di tempo per eseguire la migrazione delle funzioni che utilizzano il runtime deprecato a un runtime più aggiornato.
Dopo la data di dismissione, non potrai più creare nuove funzioni o aggiornare quelle esistenti utilizzando il runtime. Devi scegliere un runtime più aggiornato per eseguire il deployment delle tue funzioni. Le funzioni che continuano a utilizzare un runtime dismesso potrebbero essere disattivate.
Programma di assistenza
Di seguito è riportato l'elenco dei runtime di Cloud Run Functions supportati, nonché dei runtime che sono stati deprecati o dismessi.
La disponibilità e le date chiave potrebbero essere posticipate in base alla qualifica e alla stabilità delle release. Una data di ritiro o dismissione vuota indica che la fase non è ancora stata pianificata. Visita di nuovo questa pagina per tenerti al corrente.
Node.js
| Runtime | Generazione | Ambiente | ID runtime | Ritiro | Dismissione |
|---|---|---|---|---|---|
| Node.js 24 | 2ª gen. | Ubuntu 24.04 | nodejs24 | 30/04/2028 | 31/10/2028 |
| Node.js 22 | 1ª gen., 2ª gen. | Ubuntu 22.04 | nodejs22 | 30/04/2027 | 31/10/2027 |
| Node.js 20 | 1ª gen., 2ª gen. | Ubuntu 22.04 | nodejs20 | 30/04/2026 | 30/10/2026 |
| Node.js 18 | 1ª gen., 2ª gen. | Ubuntu 22.04 | nodejs18 | 30/04/2025 | 30/10/2025 |
| Node.js 16 | 1ª gen., 2ª gen. | Ubuntu 18.04 | nodejs16 | 30/01/2024 | 30/01/2025 |
| Node.js 14 | 1ª gen., 2ª gen. | Ubuntu 18.04 | nodejs14 | 30/01/2024 | 30/01/2025 |
| Node.js 12 | 1ª gen., 2ª gen. | Ubuntu 18.04 | nodejs12 | 30/01/2024 | 30/01/2025 |
| Node.js 10 | 1ª gen., 2ª gen. | Ubuntu 18.04 | nodejs10 | 30/01/2024 | 30/01/2025 |
| Node.js 8 | 1ª gen., 2ª gen. | Ubuntu 18.04 | nodejs8 | 05/06/2020 | Febbraio 2021 |
| Node.js 6 | 1ª gen., 2ª gen. | Ubuntu 18.04 | nodejs6 | 17/04/2019 | Agosto 2020 |
Python
| Runtime | Generazione | Ambiente | ID runtime | Ritiro | Dismissione |
|---|---|---|---|---|---|
| Python 3.14 (anteprima) |
2ª gen. | Ubuntu 24.04 | python314 | ||
| Python 3.13 | 2ª gen. | Ubuntu 22.04 | python313 | 10/10/2029 | 10/04/2030 |
| Python 3.12 | 1ª gen., 2ª gen. | Ubuntu 22.04 | python312 | 02/10/2028 | 02/04/2029 |
| Python 3.11 | 1ª gen., 2ª gen. | Ubuntu 22.04 | python311 | 24/10/2027 | 24/04/2028 |
| Python 3.10 | 1ª gen., 2ª gen. | Ubuntu 22.04 | python310 | 04/10/2026 | 04/04/2027 |
| Python 3.9 | 1ª gen., 2ª gen. | Ubuntu 18.04 | python39 | 05/10/2025 | 05/04/2026 |
| Python 3.8 | 1ª gen., 2ª gen. | Ubuntu 18.04 | python38 | 14/10/2024 | 14/10/2025 |
| Python 3.7 | 1ª gen. | Ubuntu 18.04 | python37 | 30/01/2024 | 30/01/2025 |
Go
| Runtime | Generazione | Ambiente | ID runtime | Ritiro | Dismissione |
|---|---|---|---|---|---|
| Go 1.25 | 2ª gen. | Ubuntu 22.04 | go125 | ||
| Go 1.24 | 2ª gen. | Ubuntu 22.04 | go124 | ||
| Go 1.23 | 2ª gen. | Ubuntu 22.04 | go123 | 21/02/2026 | 21/08/2026 |
| Go 1.22 | 2ª gen. | Ubuntu 22.04 | go122 | 28/01/2026 | 28/07/2026 |
| Go 1.21 | 1ª gen., 2ª gen. | Ubuntu 22.04 | go121 | 03/09/2025 | 03/03/2026 |
| Go 1.20 | 1ª gen., 2ª gen. | Ubuntu 22.04 | go120 | 01/05/2024 | 01/05/2025 |
| Go 1.19 | 1ª gen., 2ª gen. | Ubuntu 22.04 | go119 | 30/04/2024 | 30/01/2025 |
| Go 1.18 | 1ª gen., 2ª gen. | Ubuntu 22.04 | go118 | 30/01/2024 | 30/01/2025 |
| Go 1.16 | 1ª gen., 2ª gen. | Ubuntu 18.04 | go116 | 30/01/2024 | 30/01/2025 |
| Go 1.13 | 1ª gen., 2ª gen. | Ubuntu 18.04 | go113 | 30/01/2024 | 30/01/2025 |
| Go 1.11 | 1ª gen., 2ª gen. | Ubuntu 18.04 | go111 | 05/08/2020 | Febbraio 2021 |
Java
| Runtime | Generazione | Ambiente | ID runtime | Ritiro | Dismissione |
|---|---|---|---|---|---|
| Java 25 (Anteprima) |
2ª gen. | Ubuntu 24.04 | java25 | ||
| Java 21 | 2ª gen. | Ubuntu 22.04 | java21 | Ottobre 2031 | |
| Java 17 | 1ª gen., 2ª gen. | Ubuntu 22.04 | java17 | Ottobre 2027 | |
| Java 11 | 1ª gen., 2ª gen. | Ubuntu 18.04 | java11 | 31/10/2024 | 31/10/2025 |
Ruby
| Runtime | Generazione | Ambiente | ID runtime | Ritiro | Dismissione |
|---|---|---|---|---|---|
| Ruby 3.4 | 2ª gen. | Ubuntu 22.04 | ruby34 | 31/03/2028 | 30/09/2028 |
| Ruby 3.3 | 1ª gen., 2ª gen. | Ubuntu 22.04 | ruby33 | 31/03/2027 | 30/09/2027 |
| Ruby 3.2 | 1ª gen., 2ª gen. | Ubuntu 22.04 | ruby32 | 31/03/2026 | 30/09/2026 |
| Ruby 3.0 | 1ª gen., 2ª gen. | Ubuntu 18.04 | ruby30 | 31/03/2024 | 31/03/2025 |
| Ruby 2.7 | 1ª gen., 2ª gen. | Ubuntu 18.04 | ruby27 | 30/01/2024 | 30/01/2025 |
| Ruby 2.6 | 1ª gen., 2ª gen. | Ubuntu 18.04 | ruby26 | 30/01/2024 | 30/01/2025 |
PHP
| Runtime | Ambiente | Generazione | ID runtime | Ritiro | Dismissione |
|---|---|---|---|---|---|
| PHP 8.4 | 2ª gen. | Ubuntu 22.04 | php84 | 31/12/2028 | 30/06/2029 |
| PHP 8.3 | 2ª gen. | Ubuntu 22.04 | php83 | 23/11/2026 | 23/05/2027 |
| PHP 8.2 | 1ª gen., 2ª gen. | Ubuntu 22.04 | php82 | 08/12/2025 | 08/06/2026 |
| PHP 8.1 | 1ª gen., 2ª gen. | Ubuntu 18.04 | php81 | 25/11/2024 | 25/11/2025 |
| PHP 7.4 | 1ª gen., 2ª gen. | Ubuntu 18.04 | php74 | 30/01/2024 | 30/01/2025 |
.NET Core
| Runtime | Generazione | Ambiente | ID runtime | Ritiro | Dismissione |
|---|---|---|---|---|---|
| .NET Core 8 | 2ª gen. | Ubuntu 22.04 | dotnet8 | ||
| .NET Core 6 | 1ª gen., 2ª gen. | Ubuntu 22.04 | dotnet6 | 12/11/2024 | 12/11/2025 |
| .NET Core 3 | 1ª gen., 2ª gen. | Ubuntu 18.04 | dotnet3 | 30/01/2024 | 30/01/2025 |