From 5a1ea26dbac1ada36f9b6e22a9470abf900f112a Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Sun, 31 May 2026 09:10:59 +0200 Subject: [PATCH] Update Runtime and add deprecations --- src/Runtime.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/Runtime.php b/src/Runtime.php index 04aaa86..9c4c9b9 100644 --- a/src/Runtime.php +++ b/src/Runtime.php @@ -4,10 +4,14 @@ abstract class Runtime { + public const NODEJS_24 = 'nodejs24.x'; + public const NODEJS_22 = 'nodejs22.x'; + /** @deprecated */ public const NODEJS_20 = 'nodejs20.x'; + /** @deprecated */ public const NODEJS_18 = 'nodejs18.x'; /** @deprecated */ @@ -16,6 +20,8 @@ abstract class Runtime /** @deprecated */ public const NODEJS_14 = 'nodejs14.x'; + public const PYTHON_314 = 'python3.14'; + public const PYTHON_313 = 'python3.13'; public const PYTHON_312 = 'python3.12'; @@ -24,6 +30,7 @@ abstract class Runtime public const PYTHON_310 = 'python3.10'; + /** @deprecated */ public const PYTHON_39 = 'python3.9'; /** @deprecated */ @@ -32,6 +39,8 @@ abstract class Runtime /** @deprecated */ public const PYTHON_37 = 'python3.7'; + public const JAVA_25 = 'java25'; + public const JAVA_21 = 'java21'; public const JAVA_17 = 'java17'; @@ -43,17 +52,25 @@ abstract class Runtime /** @deprecated */ public const JAVA_8 = 'java8'; + public const DOT_NET_10 = 'dotnet10'; + + public const DOT_NET_9 = 'dotnet9'; + public const DOT_NET_8 = 'dotnet8'; /** @deprecated */ public const DOT_NET_7 = 'dotnet7'; + /** @deprecated */ public const DOT_NET_6 = 'dotnet6'; + public const RUBY_40 = 'ruby4.0'; + public const RUBY_34 = 'ruby3.4'; public const RUBY_33 = 'ruby3.3'; + /** @deprecated */ public const RUBY_32 = 'ruby3.2'; /** @deprecated */