From 9b149d65811d72d9be3ca2d3e06e767aa32999d6 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Wed, 3 Jun 2026 17:48:18 +0530 Subject: [PATCH] (feat): add Unity SDK (#12482) Bump appwrite/sdk-generator to 1.32.0 which adds the Unity SDK language, wire up the `unity` case in the SDKs task, and register the Unity SDK entry under the Client platform in sdks.php. --- app/config/sdks.php | 19 +++++++++++++++++++ composer.lock | 12 ++++++------ docs/sdks/unity/CHANGELOG.md | 5 +++++ src/Appwrite/Platform/Tasks/SDKs.php | 6 ++++++ 4 files changed, 36 insertions(+), 6 deletions(-) create mode 100644 docs/sdks/unity/CHANGELOG.md diff --git a/app/config/sdks.php b/app/config/sdks.php index e29b28690f..f3d89db3c2 100644 --- a/app/config/sdks.php +++ b/app/config/sdks.php @@ -156,6 +156,25 @@ return [ 'gitBranch' => 'dev', 'changelog' => \realpath(__DIR__ . '/../../docs/sdks/react-native/CHANGELOG.md'), ], + [ + 'key' => 'unity', + 'name' => 'Unity', + 'version' => '0.1.0', + 'url' => 'https://github.com/appwrite/sdk-for-unity', + 'package' => 'https://github.com/appwrite/sdk-for-unity', + 'enabled' => true, + 'beta' => true, + 'dev' => true, + 'hidden' => false, + 'family' => APP_SDK_PLATFORM_CLIENT, + 'prism' => 'csharp', + 'source' => \realpath(__DIR__ . '/../sdks/client-unity'), + 'gitUrl' => 'git@github.com:appwrite/sdk-for-unity.git', + 'gitRepoName' => 'sdk-for-unity', + 'gitUserName' => 'appwrite', + 'gitBranch' => 'dev', + 'changelog' => \realpath(__DIR__ . '/../../docs/sdks/unity/CHANGELOG.md'), + ], [ 'key' => 'graphql', 'name' => 'GraphQL', diff --git a/composer.lock b/composer.lock index 0a15ec10e2..ad2748c52f 100644 --- a/composer.lock +++ b/composer.lock @@ -5640,16 +5640,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "1.31.9", + "version": "1.32.0", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "e7fa2eb215091df41a4535b306f60dad92652426" + "reference": "7ec48fd30746e9fbc3a9bd7d3af8052acf400ff8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/e7fa2eb215091df41a4535b306f60dad92652426", - "reference": "e7fa2eb215091df41a4535b306f60dad92652426", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/7ec48fd30746e9fbc3a9bd7d3af8052acf400ff8", + "reference": "7ec48fd30746e9fbc3a9bd7d3af8052acf400ff8", "shasum": "" }, "require": { @@ -5685,9 +5685,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/1.31.9" + "source": "https://github.com/appwrite/sdk-generator/tree/1.32.0" }, - "time": "2026-05-31T06:40:47+00:00" + "time": "2026-06-03T08:49:57+00:00" }, { "name": "brianium/paratest", diff --git a/docs/sdks/unity/CHANGELOG.md b/docs/sdks/unity/CHANGELOG.md new file mode 100644 index 0000000000..bbfc68354e --- /dev/null +++ b/docs/sdks/unity/CHANGELOG.md @@ -0,0 +1,5 @@ +# Change Log + +## 0.1.0 + +* Initial release diff --git a/src/Appwrite/Platform/Tasks/SDKs.php b/src/Appwrite/Platform/Tasks/SDKs.php index 5d52d905f6..69e1828a66 100644 --- a/src/Appwrite/Platform/Tasks/SDKs.php +++ b/src/Appwrite/Platform/Tasks/SDKs.php @@ -24,6 +24,7 @@ use Appwrite\SDK\Language\REST; use Appwrite\SDK\Language\Ruby; use Appwrite\SDK\Language\Rust; use Appwrite\SDK\Language\Swift; +use Appwrite\SDK\Language\Unity; use Appwrite\SDK\Language\Web; use Appwrite\SDK\SDK; use Appwrite\Spec\StaticSpec; @@ -431,6 +432,11 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND $cover = ''; $config = new DotNet(); break; + case 'unity': + $cover = ''; + $config = new Unity(); + $config->setPackageName('io.appwrite.unity'); + break; case 'android': $config = new Android(); break;