Updated on 2025-12-10 GMT+08:00

Function Runtimes

Runtime

To create a function in FunctionGraph, you need to specify a runtime that passes events, context, and responses. Choose from a built-in runtime or customize your own.

Supported Runtimes

The Node.js, Java, Python, Go, C#, PHP, Cangjie, and custom runtimes are supported. Table 1 lists the supported runtimes.

Table 1 Runtime description

Runtime

Supported Version

SDK

Development Overview

Node.js

6.10, 8.10, 10.16, 12.13, 14.18, 16.17, 18.15, 20.15

-

Function Development Overview

Python

2.7, 3.6, 3.9, 3.10, 3.12

-

Function Development Overview

Java

8, 11, 17, 21 (only available in ME-Riyadh and TR-Istanbul)

Java SDK (software package verification file: fss-java-sdk_sha256)

Function Development Overview

C#

.NET Core 2.1, .NET Core 3.1, .NET Core 6.0, .NET Core 8.0 (only in ME-Riyadh and TR-Istanbul)

C# SDK (software package verification file: fssCsharp_sha256)

C# Function Development Overview

Go

1.x

Go 1.x SDK (software package verification file: Go SDK_sha256)

Function Development Overview

PHP

7.3 and 8.3

-

PHP Function Development Overview

Cangjie

1.0

-

-

Custom

-

-

-

Runtime Deprecation

For security and sustainable development, FunctionGraph will no longer provide technical support and security updates for some runtimes.

Table 2 shows the deprecation policy, which is divided into three stages.

Table 2 Deprecation stage description

Stage

Description

Stage 1: Notify customers 180 days in advance

You will be notified of the runtime deprecation through product notices, runtime deprecation marks, and emails by Huawei Cloud.

Stage 2: Deprecate runtimes

Security patches, feature updates, or technical support for these runtimes will no longer be provided by Huawei Cloud. Functions cannot be created using these runtimes. Existing functions can continue to update their code or configurations and run.

Stage 3: 30 days after runtime deprecation

Security patches, feature updates, or technical support for these runtimes will no longer be provided by Huawei Cloud. Functions cannot be created or updated using these runtimes. Existing functions can continue running. You are advised to migrate your functions to the latest supported runtimes for technical support and security updates.

Table 3 is our runtime deprecation plan. Runtimes not included in this table are not subject to this deprecation plan.

Table 3 Runtime deprecation plan

Runtime

Stage 1

Stage 2

Stage 3

Node.js 6.10

December 15, 2025

June 15, 2026

July 15, 2026

Node.js 8.10

December 15, 2025

June 15, 2026

July 15, 2026

Python 2.7

December 15, 2025

June 15, 2026

July 15, 2026

Sample Project Packages

Table 4 provides the links for downloading the sample project packages mentioned in this document. You can download the project packages to a local path and upload them when creating functions.

For the operation process of each runtime, see the event function development sections.

Helpful Links