From f0b6eeb303507d1b57705731d2bf788953b902bb Mon Sep 17 00:00:00 2001 From: Priyanshu Thapliyal <114170980+Priyanshuthapliyal2005@users.noreply.github.com> Date: Tue, 30 Sep 2025 08:52:21 +0000 Subject: [PATCH 01/10] fix: sites deployment activation instructions in createDeployment --- src/Appwrite/Platform/Modules/Sites/Http/Deployments/Create.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Create.php b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Create.php index 65a0fcf143..4bd3afa1f5 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Create.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Create.php @@ -57,7 +57,7 @@ class Create extends Action group: 'deployments', name: 'createDeployment', description: << Date: Wed, 1 Oct 2025 08:44:14 +0000 Subject: [PATCH 02/10] add specs files --- app/config/specs/open-api3-1.8.x-console.json | 4 ++-- app/config/specs/open-api3-1.8.x-server.json | 4 ++-- app/config/specs/open-api3-latest-console.json | 4 ++-- app/config/specs/open-api3-latest-server.json | 4 ++-- app/config/specs/swagger2-1.8.x-console.json | 4 ++-- app/config/specs/swagger2-1.8.x-server.json | 4 ++-- app/config/specs/swagger2-latest-console.json | 4 ++-- app/config/specs/swagger2-latest-server.json | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/app/config/specs/open-api3-1.8.x-console.json b/app/config/specs/open-api3-1.8.x-console.json index bdff664cbc..a2266067af 100644 --- a/app/config/specs/open-api3-1.8.x-console.json +++ b/app/config/specs/open-api3-1.8.x-console.json @@ -29951,7 +29951,7 @@ "tags": [ "sites" ], - "description": "Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID.", + "description": "Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.", "responses": { "202": { "description": "Deployment", @@ -29972,7 +29972,7 @@ "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID.", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", diff --git a/app/config/specs/open-api3-1.8.x-server.json b/app/config/specs/open-api3-1.8.x-server.json index 6b766dbdee..efff48e940 100644 --- a/app/config/specs/open-api3-1.8.x-server.json +++ b/app/config/specs/open-api3-1.8.x-server.json @@ -20655,7 +20655,7 @@ "tags": [ "sites" ], - "description": "Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID.", + "description": "Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.", "responses": { "202": { "description": "Deployment", @@ -20676,7 +20676,7 @@ "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID.", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index bdff664cbc..a2266067af 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -29951,7 +29951,7 @@ "tags": [ "sites" ], - "description": "Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID.", + "description": "Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.", "responses": { "202": { "description": "Deployment", @@ -29972,7 +29972,7 @@ "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID.", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 6b766dbdee..efff48e940 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -20655,7 +20655,7 @@ "tags": [ "sites" ], - "description": "Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID.", + "description": "Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.", "responses": { "202": { "description": "Deployment", @@ -20676,7 +20676,7 @@ "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID.", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", diff --git a/app/config/specs/swagger2-1.8.x-console.json b/app/config/specs/swagger2-1.8.x-console.json index ee3702d27d..47cde0e7a1 100644 --- a/app/config/specs/swagger2-1.8.x-console.json +++ b/app/config/specs/swagger2-1.8.x-console.json @@ -30135,7 +30135,7 @@ "tags": [ "sites" ], - "description": "Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID.", + "description": "Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.", "responses": { "202": { "description": "Deployment", @@ -30152,7 +30152,7 @@ "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID.", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", diff --git a/app/config/specs/swagger2-1.8.x-server.json b/app/config/specs/swagger2-1.8.x-server.json index ff5056b35a..48d8708216 100644 --- a/app/config/specs/swagger2-1.8.x-server.json +++ b/app/config/specs/swagger2-1.8.x-server.json @@ -20882,7 +20882,7 @@ "tags": [ "sites" ], - "description": "Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID.", + "description": "Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.", "responses": { "202": { "description": "Deployment", @@ -20899,7 +20899,7 @@ "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID.", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index ee3702d27d..47cde0e7a1 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -30135,7 +30135,7 @@ "tags": [ "sites" ], - "description": "Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID.", + "description": "Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.", "responses": { "202": { "description": "Deployment", @@ -30152,7 +30152,7 @@ "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID.", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index ff5056b35a..48d8708216 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -20882,7 +20882,7 @@ "tags": [ "sites" ], - "description": "Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID.", + "description": "Create a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.", "responses": { "202": { "description": "Deployment", @@ -20899,7 +20899,7 @@ "cookies": false, "type": "upload", "demo": "sites\/create-deployment.md", - "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the function's deployment to use your new deployment ID.", + "edit": "https:\/\/github.com\/appwrite\/appwrite\/edit\/masterCreate a new site code deployment. Use this endpoint to upload a new version of your site code. To activate your newly uploaded code, you'll need to update the site's deployment to use your new deployment ID.", "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", From 9ad08694ed694fd183995010e1d5fe9d8d53b768 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 29 Oct 2025 23:01:33 +0000 Subject: [PATCH 03/10] Initial plan From 627adb43e0a3e3ab680506a050b6e8bb1686f915 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 29 Oct 2025 23:12:28 +0000 Subject: [PATCH 04/10] Add access_type=offline and prompt=consent to Google OAuth2 login URL to enable refresh tokens Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com> --- src/Appwrite/Auth/OAuth2/Google.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Appwrite/Auth/OAuth2/Google.php b/src/Appwrite/Auth/OAuth2/Google.php index c6f621b814..79894c2422 100644 --- a/src/Appwrite/Auth/OAuth2/Google.php +++ b/src/Appwrite/Auth/OAuth2/Google.php @@ -53,7 +53,9 @@ class Google extends OAuth2 'redirect_uri' => $this->callback, 'scope' => \implode(' ', $this->getScopes()), 'state' => \json_encode($this->state), - 'response_type' => 'code' + 'response_type' => 'code', + 'access_type' => 'offline', + 'prompt' => 'consent' ]); } From c442dd3ef1aea91d8e8216ddcdff4ced5363e849 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Tue, 4 Nov 2025 17:19:42 +0530 Subject: [PATCH 05/10] chore: release python sdk to 13.6.1 --- app/config/platforms.php | 2 +- composer.json | 20 +----- composer.lock | 130 ++++++---------------------------- docs/sdks/python/CHANGELOG.md | 4 ++ 4 files changed, 26 insertions(+), 130 deletions(-) diff --git a/app/config/platforms.php b/app/config/platforms.php index d2e6df9c2f..361ec6b935 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -300,7 +300,7 @@ return [ [ 'key' => 'python', 'name' => 'Python', - 'version' => '13.6.0', + 'version' => '13.6.1', 'url' => 'https://github.com/appwrite/sdk-for-python', 'package' => 'https://pypi.org/project/appwrite/', 'enabled' => true, diff --git a/composer.json b/composer.json index 655493ddd7..62abce9ca2 100644 --- a/composer.json +++ b/composer.json @@ -107,23 +107,5 @@ "php-http/discovery": true, "tbachert/spi": true } - }, - "repositories": [ - { - "type": "vcs", - "url": "https://github.com/utopia-php/migration" - }, - { - "type": "vcs", - "url": "https://github.com/utopia-php/emails" - }, - { - "type": "vcs", - "url": "https://github.com/utopia-php/validators" - }, - { - "type": "vcs", - "url": "https://github.com/utopia-php/database" - } - ] + } } diff --git a/composer.lock b/composer.lock index 282120c732..7a3710bbce 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c5122fe03bab9e4c6813ec6d9e46b8f4", + "content-hash": "ad28b7155175986191bd19bbcd13d623", "packages": [ { "name": "adhocore/jwt", @@ -3878,38 +3878,7 @@ "Utopia\\Database\\": "src/Database" } }, - "autoload-dev": { - "psr-4": { - "Tests\\E2E\\": "tests/e2e", - "Tests\\Unit\\": "tests/unit" - } - }, - "scripts": { - "build": [ - "Composer\\Config::disableProcessTimeout", - "docker compose build" - ], - "start": [ - "Composer\\Config::disableProcessTimeout", - "docker compose up -d" - ], - "test": [ - "Composer\\Config::disableProcessTimeout", - "docker compose exec tests vendor/bin/phpunit --configuration phpunit.xml" - ], - "lint": [ - "php -d memory_limit=2G ./vendor/bin/pint --test" - ], - "format": [ - "php -d memory_limit=2G ./vendor/bin/pint" - ], - "check": [ - "./vendor/bin/phpstan analyse --level 7 src tests --memory-limit 2G" - ], - "coverage": [ - "./vendor/bin/coverage-check ./tmp/clover.xml 90" - ] - }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -3922,8 +3891,8 @@ "utopia" ], "support": { - "source": "https://github.com/utopia-php/database/tree/3.1.2", - "issues": "https://github.com/utopia-php/database/issues" + "issues": "https://github.com/utopia-php/database/issues", + "source": "https://github.com/utopia-php/database/tree/3.1.2" }, "time": "2025-10-30T13:10:13+00:00" }, @@ -4168,35 +4137,7 @@ "Utopia\\Emails\\": "src/Emails" } }, - "scripts": { - "test": [ - "vendor/bin/phpunit" - ], - "lint": [ - "./vendor/bin/pint --test" - ], - "format": [ - "./vendor/bin/pint" - ], - "check": [ - "./vendor/bin/phpstan analyse" - ], - "import": [ - "php import.php" - ], - "import:all": [ - "php import.php all --commit=true" - ], - "import:disposable": [ - "php import.php disposable --commit=true" - ], - "import:free": [ - "php import.php free --commit=true" - ], - "import:stats": [ - "php import.php stats" - ] - }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -4208,19 +4149,19 @@ ], "description": "Utopia Emails library is simple and lite library for parsing and validating email addresses. This library is aiming to be as simple and easy to learn and use.", "keywords": [ + "RFC5322", "email", "emails", "framework", "parsing", "php", - "rfc5322", "upf", "utopia", "validation" ], "support": { - "source": "https://github.com/utopia-php/emails/tree/0.6.2", - "issues": "https://github.com/utopia-php/emails/issues" + "issues": "https://github.com/utopia-php/emails/issues", + "source": "https://github.com/utopia-php/emails/tree/0.6.2" }, "time": "2025-10-28T16:08:17+00:00" }, @@ -4548,25 +4489,7 @@ "Utopia\\Migration\\": "src/Migration" } }, - "autoload-dev": { - "psr-4": { - "Utopia\\Tests\\": "tests/Migration" - } - }, - "scripts": { - "test": [ - "./vendor/bin/phpunit" - ], - "lint": [ - "./vendor/bin/pint --test" - ], - "format": [ - "./vendor/bin/pint" - ], - "check": [ - "./vendor/bin/phpstan analyse --level 3 src tests --memory-limit 2G" - ] - }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -4579,8 +4502,8 @@ "utopia" ], "support": { - "source": "https://github.com/utopia-php/migration/tree/1.3.3", - "issues": "https://github.com/utopia-php/migration/issues" + "issues": "https://github.com/utopia-php/migration/issues", + "source": "https://github.com/utopia-php/migration/tree/1.3.3" }, "time": "2025-10-28T04:02:08+00:00" }, @@ -5212,20 +5135,7 @@ "Utopia\\": "src/" } }, - "scripts": { - "lint": [ - "vendor/bin/pint --test" - ], - "format": [ - "vendor/bin/pint" - ], - "check": [ - "vendor/bin/phpstan analyse -c phpstan.neon --memory-limit 512M" - ], - "test": [ - "vendor/bin/phpunit --configuration phpunit.xml" - ] - }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -5237,8 +5147,8 @@ "validator" ], "support": { - "source": "https://github.com/utopia-php/validators/tree/0.0.2", - "issues": "https://github.com/utopia-php/validators/issues" + "issues": "https://github.com/utopia-php/validators/issues", + "source": "https://github.com/utopia-php/validators/tree/0.0.2" }, "time": "2025-10-20T21:52:28+00:00" }, @@ -5467,16 +5377,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "1.5.0", + "version": "1.5.1", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "42df22195d6457e52e4c819678168470b114a816" + "reference": "cd712674e34136f706e9170641ed6f4ce160e772" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/42df22195d6457e52e4c819678168470b114a816", - "reference": "42df22195d6457e52e4c819678168470b114a816", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/cd712674e34136f706e9170641ed6f4ce160e772", + "reference": "cd712674e34136f706e9170641ed6f4ce160e772", "shasum": "" }, "require": { @@ -5512,9 +5422,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.5.0" + "source": "https://github.com/appwrite/sdk-generator/tree/1.5.1" }, - "time": "2025-10-31T10:10:25+00:00" + "time": "2025-11-04T09:55:47+00:00" }, { "name": "doctrine/annotations", diff --git a/docs/sdks/python/CHANGELOG.md b/docs/sdks/python/CHANGELOG.md index 4d0c81a7db..31396fa3e6 100644 --- a/docs/sdks/python/CHANGELOG.md +++ b/docs/sdks/python/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 13.6.1 + +* Fix passing of `None` to nullable parameters + ## 13.6.0 * Add `total` parameter to list queries allowing skipping counting rows in a table for improved performance From a1b1f97162d03988374edcca383d896ef99e5f95 Mon Sep 17 00:00:00 2001 From: fogelito Date: Wed, 5 Nov 2025 13:36:43 +0200 Subject: [PATCH 06/10] lock file --- composer.lock | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/composer.lock b/composer.lock index 282120c732..4fa5bc9872 100644 --- a/composer.lock +++ b/composer.lock @@ -3840,16 +3840,16 @@ }, { "name": "utopia-php/database", - "version": "3.1.2", + "version": "3.1.5", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "b6541a9cd9b21786a5020327f582838afdb159aa" + "reference": "d577fb2eaa691562478f8e148837fcf6d36f2b8a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/b6541a9cd9b21786a5020327f582838afdb159aa", - "reference": "b6541a9cd9b21786a5020327f582838afdb159aa", + "url": "https://api.github.com/repos/utopia-php/database/zipball/d577fb2eaa691562478f8e148837fcf6d36f2b8a", + "reference": "d577fb2eaa691562478f8e148837fcf6d36f2b8a", "shasum": "" }, "require": { @@ -3922,10 +3922,10 @@ "utopia" ], "support": { - "source": "https://github.com/utopia-php/database/tree/3.1.2", + "source": "https://github.com/utopia-php/database/tree/3.1.5", "issues": "https://github.com/utopia-php/database/issues" }, - "time": "2025-10-30T13:10:13+00:00" + "time": "2025-11-05T09:27:57+00:00" }, { "name": "utopia-php/detector", @@ -5467,16 +5467,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "1.5.0", + "version": "1.5.1", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "42df22195d6457e52e4c819678168470b114a816" + "reference": "cd712674e34136f706e9170641ed6f4ce160e772" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/42df22195d6457e52e4c819678168470b114a816", - "reference": "42df22195d6457e52e4c819678168470b114a816", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/cd712674e34136f706e9170641ed6f4ce160e772", + "reference": "cd712674e34136f706e9170641ed6f4ce160e772", "shasum": "" }, "require": { @@ -5512,9 +5512,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.5.0" + "source": "https://github.com/appwrite/sdk-generator/tree/1.5.1" }, - "time": "2025-10-31T10:10:25+00:00" + "time": "2025-11-04T09:55:47+00:00" }, { "name": "doctrine/annotations", @@ -8981,7 +8981,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": {}, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": { From e93f479157725edc5d80f1804f6e45eae0369e5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Wed, 5 Nov 2025 12:48:39 +0100 Subject: [PATCH 07/10] Fix tanstack builds craashing --- src/Appwrite/Platform/Modules/Functions/Workers/Builds.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Modules/Functions/Workers/Builds.php b/src/Appwrite/Platform/Modules/Functions/Workers/Builds.php index bc5f8af774..f9aa60db5f 100644 --- a/src/Appwrite/Platform/Modules/Functions/Workers/Builds.php +++ b/src/Appwrite/Platform/Modules/Functions/Workers/Builds.php @@ -589,7 +589,10 @@ class Builds extends Action // Some runtimes/frameworks can't compile with less memory than this $minMemory = $resource->getCollection() === 'sites' ? 2048 : 1024; - if ($resource->getAttribute('framework', '') === 'analog') { + if ( + $resource->getAttribute('framework', '') === 'analog' || + $resource->getAttribute('framework', '') === 'tanstack-start' + ) { $minMemory = 4096; } From d4b5d7df7340f1ef482e8724ef438ff2b82352b7 Mon Sep 17 00:00:00 2001 From: fogelito Date: Wed, 5 Nov 2025 13:54:07 +0200 Subject: [PATCH 08/10] lock file --- composer.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.lock b/composer.lock index 4fa5bc9872..c3444b1494 100644 --- a/composer.lock +++ b/composer.lock @@ -3844,12 +3844,12 @@ "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "d577fb2eaa691562478f8e148837fcf6d36f2b8a" + "reference": "76568b81f25d89fc1e0c53f0370f139130eeb939" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/d577fb2eaa691562478f8e148837fcf6d36f2b8a", - "reference": "d577fb2eaa691562478f8e148837fcf6d36f2b8a", + "url": "https://api.github.com/repos/utopia-php/database/zipball/76568b81f25d89fc1e0c53f0370f139130eeb939", + "reference": "76568b81f25d89fc1e0c53f0370f139130eeb939", "shasum": "" }, "require": { @@ -3925,7 +3925,7 @@ "source": "https://github.com/utopia-php/database/tree/3.1.5", "issues": "https://github.com/utopia-php/database/issues" }, - "time": "2025-11-05T09:27:57+00:00" + "time": "2025-11-05T10:17:55+00:00" }, { "name": "utopia-php/detector", From 9b52f6f8f61f152bdbd088426d8355cb01ce6105 Mon Sep 17 00:00:00 2001 From: Harsh Mahajan <127186841+HarshMN2345@users.noreply.github.com> Date: Thu, 6 Nov 2025 14:17:31 +0530 Subject: [PATCH 09/10] Add new tips to Comment class --- src/Appwrite/Vcs/Comment.php | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/src/Appwrite/Vcs/Comment.php b/src/Appwrite/Vcs/Comment.php index 2a08b701f0..57a36ec164 100644 --- a/src/Appwrite/Vcs/Comment.php +++ b/src/Appwrite/Vcs/Comment.php @@ -11,9 +11,36 @@ class Comment { // TODO: Add more tips protected array $tips = [ - 'Appwrite has a Discord community with over 16 000 members.', - 'You can use Avatars API to generate QR code for any text or URLs.', - 'Cursor pagination performs better than offset pagination when loading further pages.', + 'Appwrite has crossed the 50K GitHub stars milestone with hundreds of active contributors', + 'Our Discord community has grown to 24K developers, and counting', + 'Sites auto-generate unique domains with the pattern https://randomstring.appwrite.network', + 'Every Git commit and branch gets its own deployment URL automatically', + 'Custom domains work with both CNAME for subdomains and NS records for apex domains', + 'HTTPS and SSL certificates are handled automatically for all your Sites', + 'Functions can run for up to 15 minutes before timing out', + 'Schedule functions to run as often as every minute with cron expressions', + 'Environment variables can be scoped per function or shared across your project', + 'Function scopes give you fine-grained control over API permissions', + 'Sites support three domain rule types: Active deployment, Git branch, and Redirect', + 'Preview deployments create instant URLs for every branch and commit', + 'Trigger functions via HTTP, SDKs, events, webhooks, or scheduled cron jobs', + 'Each function runs in its own isolated container with custom environment variables', + 'Build commands execute in runtime containers during deployment', + 'Dynamic API keys are generated automatically for each function execution', + 'JWT tokens let functions act on behalf of users while preserving their permissions', + 'Storage files get ClamAV malware scanning and encryption by default', + 'Roll back Sites deployments instantly by switching between versions', + 'Git integration provides automatic deployments with optional PR comments', + 'Silent mode disables those chatty PR comments if you prefer peace and quiet', + 'Environment variable changes require redeployment to take effect', + 'SSR frameworks are fully supported with configurable build runtimes', + 'Global CDN and DDoS protection come free with every Sites deployment', + 'Deploy functions via zip upload or connect directly to your Git repo', + 'Realtime gives you live updates for users, storage, functions, and databases', + 'GraphQL API works alongside REST and WebSocket protocols', + 'Messaging handles push notifications, emails, and SMS through one unified API', + 'Teams feature lets you group users with membership management and role permissions', + 'MCP server integration brings LLM superpowers to Claude Desktop and Cursor IDE', ]; protected string $statePrefix = '[appwrite]: #'; From ad6aff6af2e6b745773ec02e93cc450b99048ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Thu, 6 Nov 2025 13:24:17 +0100 Subject: [PATCH 10/10] remove locale cache --- app/controllers/api/locale.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/controllers/api/locale.php b/app/controllers/api/locale.php index 2c8a38de07..69bf766323 100644 --- a/app/controllers/api/locale.php +++ b/app/controllers/api/locale.php @@ -37,7 +37,6 @@ App::get('/v1/locale') $currencies = Config::getParam('locale-currencies'); $output = []; $ip = $request->getIP(); - $time = (60 * 60 * 24 * 45); // 45 days cache $output['ip'] = $ip; @@ -68,10 +67,6 @@ App::get('/v1/locale') $output['currency'] = $currency; } - $response - ->addHeader('Cache-Control', 'public, max-age=' . $time) - ->addHeader('Cache-Control', 'private, max-age=3888000') // 45 days - ; $response->dynamic(new Document($output), Response::MODEL_LOCALE); });