From 51055258e99ba4b96398c7fc1180afb281fe3402 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Tue, 15 Sep 2026 09:12:28 +0100 Subject: [PATCH 1/2] chore: prepare 2.2.0 release Minor bump: native ID-token sign-in, self-hosted email policies, organization project keys, ClickHouse-only executions and a notifications schema change since 2.1.0. --- README-CN.md | 6 +++--- README.md | 8 ++++---- app/init/constants.php | 2 +- docker-compose.yml | 2 +- src/Appwrite/Migration/Migration.php | 1 + 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README-CN.md b/README-CN.md index 183b242876..108738daf5 100644 --- a/README-CN.md +++ b/README-CN.md @@ -71,7 +71,7 @@ docker run -it --rm \ --volume /var/run/docker.sock:/var/run/docker.sock \ --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \ --entrypoint="install" \ - appwrite/appwrite:2.1.0 + appwrite/appwrite:2.2.0 ``` ### Windows @@ -83,7 +83,7 @@ docker run -it --rm ^ --volume //var/run/docker.sock:/var/run/docker.sock ^ --volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^ --entrypoint="install" ^ - appwrite/appwrite:2.1.0 + appwrite/appwrite:2.2.0 ``` #### PowerShell @@ -93,7 +93,7 @@ docker run -it --rm ` --volume /var/run/docker.sock:/var/run/docker.sock ` --volume ${pwd}/appwrite:/usr/src/code/appwrite:rw ` --entrypoint="install" ` - appwrite/appwrite:2.1.0 + appwrite/appwrite:2.2.0 ``` 运行后,可以在浏览器上访问 http://localhost 找到 Appwrite 控制台。在非 Linux 的本机主机上完成安装后,服务器可能需要几分钟才能启动。 diff --git a/README.md b/README.md index b2a37dc106..cabc395ee6 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ docker run -it --rm \ --volume /var/run/docker.sock:/var/run/docker.sock \ --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \ --entrypoint="install" \ - appwrite/appwrite:2.1.0 + appwrite/appwrite:2.2.0 ``` ### Windows @@ -89,7 +89,7 @@ docker run -it --rm ^ --volume //var/run/docker.sock:/var/run/docker.sock ^ --volume "%cd%"/appwrite:/usr/src/code/appwrite:rw ^ --entrypoint="install" ^ - appwrite/appwrite:2.1.0 + appwrite/appwrite:2.2.0 ``` #### PowerShell @@ -100,7 +100,7 @@ docker run -it --rm ` --volume /var/run/docker.sock:/var/run/docker.sock ` --volume ${pwd}/appwrite:/usr/src/code/appwrite:rw ` --entrypoint="install" ` - appwrite/appwrite:2.1.0 + appwrite/appwrite:2.2.0 ``` Once the Docker installation is complete, go to http://localhost to access the Appwrite console from your browser. Please note that on non-Linux native hosts, the server might take a few minutes to start after completing the installation. @@ -116,7 +116,7 @@ docker run -it --rm \ --volume /var/run/docker.sock:/var/run/docker.sock \ --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw \ --entrypoint="install" \ - appwrite/appwrite:2.1.0 + appwrite/appwrite:2.2.0 ``` Use the same `--env DOCKER_API_VERSION=...` flag with `--entrypoint="upgrade"` when upgrading. diff --git a/app/init/constants.php b/app/init/constants.php index bbb8f549db..6406703ac3 100644 --- a/app/init/constants.php +++ b/app/init/constants.php @@ -100,7 +100,7 @@ const APP_RESOURCE_TOKEN_ACCESS = 24 * 60 * 60; // 24 hours const APP_FILE_ACCESS = 24 * 60 * 60; // 24 hours const APP_CACHE_UPDATE = 24 * 60 * 60; // 24 hours const APP_CACHE_BUSTER = 4327; -const APP_VERSION_STABLE = '2.1.0'; +const APP_VERSION_STABLE = '2.2.0'; const APP_DATABASE_ATTRIBUTE_EMAIL = 'email'; const APP_DATABASE_ATTRIBUTE_ENUM = 'enum'; const APP_DATABASE_ATTRIBUTE_IP = 'ip'; diff --git a/docker-compose.yml b/docker-compose.yml index 95793ba74f..333bcd9e61 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -265,7 +265,7 @@ services: max-file: "5" max-size: 10m container_name: appwrite-console - image: appwrite/new:1.1.78-self-hosted + image: appwrite/new:1.1.96-self-hosted restart: unless-stopped networks: - appwrite diff --git a/src/Appwrite/Migration/Migration.php b/src/Appwrite/Migration/Migration.php index f8a01ba056..641c71b8e4 100644 --- a/src/Appwrite/Migration/Migration.php +++ b/src/Appwrite/Migration/Migration.php @@ -101,6 +101,7 @@ abstract class Migration '1.9.6' => 'V25', '2.0.0' => 'V25', '2.1.0' => 'V25', + '2.2.0' => 'V25', ]; /** From bf099512b70d6a44fe74a2da7c0a5e3edaebd97e Mon Sep 17 00:00:00 2001 From: harsh mahajan Date: Tue, 15 Sep 2026 13:57:01 +0530 Subject: [PATCH 2/2] chore(deps): require utopia-php/vcs 5.4 5.4.0 lists repositories for GitHub App installations on private profiles, accepts the GitHub App private key as base64 or with escaped newlines, and encodes numeric GitHub App IDs as JWT integers. --- composer.json | 2 +- composer.lock | 73 ++++++++++++++++++++++++++------------------------- 2 files changed, 38 insertions(+), 37 deletions(-) diff --git a/composer.json b/composer.json index 52cb60e6c2..8d5d830090 100644 --- a/composer.json +++ b/composer.json @@ -104,7 +104,7 @@ "utopia-php/telemetry": "^0.4", "utopia-php/user-agent": "0.1.*", "mustangostang/spyc": "0.6.*", - "utopia-php/vcs": "5.*.*", + "utopia-php/vcs": "5.4.*", "utopia-php/websocket": "2.0.2", "dragonmantank/cron-expression": "3.4.*", "chillerlan/php-qrcode": "4.3.*", diff --git a/composer.lock b/composer.lock index b530ec00bf..4c270aa001 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": "0a60910dd69a4d3386b0e335fd893dd7", + "content-hash": "a6c7073c169d41bd738310bdb883d0e3", "packages": [ { "name": "adhocore/jwt", @@ -1401,16 +1401,16 @@ }, { "name": "open-telemetry/sem-conv", - "version": "1.38.0", + "version": "1.44.0", "source": { "type": "git", "url": "https://github.com/opentelemetry-php/sem-conv.git", - "reference": "e613bc640a407def4991b8a936a9b27edd9a3240" + "reference": "c94bc7ebacef039cda4f4c9270807dcc58b4e3af" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opentelemetry-php/sem-conv/zipball/e613bc640a407def4991b8a936a9b27edd9a3240", - "reference": "e613bc640a407def4991b8a936a9b27edd9a3240", + "url": "https://api.github.com/repos/opentelemetry-php/sem-conv/zipball/c94bc7ebacef039cda4f4c9270807dcc58b4e3af", + "reference": "c94bc7ebacef039cda4f4c9270807dcc58b4e3af", "shasum": "" }, "require": { @@ -1454,7 +1454,7 @@ "issues": "https://github.com/open-telemetry/opentelemetry-php/issues", "source": "https://github.com/open-telemetry/opentelemetry-php" }, - "time": "2026-01-21T04:14:03+00:00" + "time": "2026-09-09T22:06:17+00:00" }, { "name": "paragonie/constant_time_encoding", @@ -2212,16 +2212,16 @@ }, { "name": "symfony/http-client", - "version": "v7.4.18", + "version": "v7.4.19", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "68d81f78d127984ff2e741f0e0d9cb1078f8f3ea" + "reference": "3a523f38dc399337ec45b2ab9628e8c37ceb23c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/68d81f78d127984ff2e741f0e0d9cb1078f8f3ea", - "reference": "68d81f78d127984ff2e741f0e0d9cb1078f8f3ea", + "url": "https://api.github.com/repos/symfony/http-client/zipball/3a523f38dc399337ec45b2ab9628e8c37ceb23c7", + "reference": "3a523f38dc399337ec45b2ab9628e8c37ceb23c7", "shasum": "" }, "require": { @@ -2289,7 +2289,7 @@ "http" ], "support": { - "source": "https://github.com/symfony/http-client/tree/v7.4.18" + "source": "https://github.com/symfony/http-client/tree/v7.4.19" }, "funding": [ { @@ -2309,7 +2309,7 @@ "type": "tidelift" } ], - "time": "2026-08-30T13:49:59+00:00" + "time": "2026-09-08T13:28:43+00:00" }, { "name": "symfony/http-client-contracts", @@ -3037,16 +3037,16 @@ }, { "name": "utopia-php/cache", - "version": "5.0.0", + "version": "5.0.3", "source": { "type": "git", "url": "https://github.com/utopia-php/cache.git", - "reference": "0d0752785fc81b5afd6571f4291763166a6532bc" + "reference": "f808a39d018e1f325ac553b8de39798cae40c1f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/cache/zipball/0d0752785fc81b5afd6571f4291763166a6532bc", - "reference": "0d0752785fc81b5afd6571f4291763166a6532bc", + "url": "https://api.github.com/repos/utopia-php/cache/zipball/f808a39d018e1f325ac553b8de39798cae40c1f9", + "reference": "f808a39d018e1f325ac553b8de39798cae40c1f9", "shasum": "" }, "require": { @@ -3090,9 +3090,9 @@ ], "support": { "issues": "https://github.com/utopia-php/cache/issues", - "source": "https://github.com/utopia-php/cache/tree/5.0.0" + "source": "https://github.com/utopia-php/cache/tree/5.0.3" }, - "time": "2026-08-21T11:04:48+00:00" + "time": "2026-09-11T08:23:02+00:00" }, { "name": "utopia-php/cdn", @@ -4327,16 +4327,16 @@ }, { "name": "utopia-php/pools", - "version": "2.1.1", + "version": "2.1.2", "source": { "type": "git", "url": "https://github.com/utopia-php/pools.git", - "reference": "bc689b818fe1de0df72db6e51ab2f52b838b1209" + "reference": "a45d867e56de82a2eb6e1eb3ea78d4c2f6059f4a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/pools/zipball/bc689b818fe1de0df72db6e51ab2f52b838b1209", - "reference": "bc689b818fe1de0df72db6e51ab2f52b838b1209", + "url": "https://api.github.com/repos/utopia-php/pools/zipball/a45d867e56de82a2eb6e1eb3ea78d4c2f6059f4a", + "reference": "a45d867e56de82a2eb6e1eb3ea78d4c2f6059f4a", "shasum": "" }, "require": { @@ -4377,9 +4377,9 @@ ], "support": { "issues": "https://github.com/utopia-php/pools/issues", - "source": "https://github.com/utopia-php/pools/tree/2.1.1" + "source": "https://github.com/utopia-php/pools/tree/2.1.2" }, - "time": "2026-09-02T15:57:19+00:00" + "time": "2026-09-07T07:02:57+00:00" }, { "name": "utopia-php/psr7", @@ -4893,16 +4893,16 @@ }, { "name": "utopia-php/telemetry", - "version": "0.4.8", + "version": "0.4.10", "source": { "type": "git", "url": "https://github.com/utopia-php/telemetry.git", - "reference": "6fb0bb579b3e249be720010bc12434c2ec6194bb" + "reference": "29432a590bf96597ba8f0e767c966be16481651a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/telemetry/zipball/6fb0bb579b3e249be720010bc12434c2ec6194bb", - "reference": "6fb0bb579b3e249be720010bc12434c2ec6194bb", + "url": "https://api.github.com/repos/utopia-php/telemetry/zipball/29432a590bf96597ba8f0e767c966be16481651a", + "reference": "29432a590bf96597ba8f0e767c966be16481651a", "shasum": "" }, "require": { @@ -4938,9 +4938,9 @@ ], "support": { "issues": "https://github.com/utopia-php/telemetry/issues", - "source": "https://github.com/utopia-php/telemetry/tree/0.4.8" + "source": "https://github.com/utopia-php/telemetry/tree/0.4.10" }, - "time": "2026-09-02T15:57:19+00:00" + "time": "2026-09-11T06:27:08+00:00" }, { "name": "utopia-php/usage", @@ -5079,16 +5079,16 @@ }, { "name": "utopia-php/vcs", - "version": "5.2.5", + "version": "5.4.0", "source": { "type": "git", "url": "https://github.com/utopia-php/vcs.git", - "reference": "8e353113381328489b9a9a736156758c642c875c" + "reference": "1224f6eade2ad7be43c9bcb4459321d9ffec97dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/vcs/zipball/8e353113381328489b9a9a736156758c642c875c", - "reference": "8e353113381328489b9a9a736156758c642c875c", + "url": "https://api.github.com/repos/utopia-php/vcs/zipball/1224f6eade2ad7be43c9bcb4459321d9ffec97dc", + "reference": "1224f6eade2ad7be43c9bcb4459321d9ffec97dc", "shasum": "" }, "require": { @@ -5116,6 +5116,7 @@ "phpunit --configuration phpunit.xml --testsuite unit" ], "test:e2e": [ + "@php tests/credentials.php", "phpunit --configuration phpunit.xml --testsuite e2e" ] }, @@ -5130,10 +5131,10 @@ "vcs" ], "support": { - "source": "https://github.com/utopia-php/vcs/tree/5.2.5", + "source": "https://github.com/utopia-php/vcs/tree/5.4.0", "issues": "https://github.com/utopia-php/vcs/issues" }, - "time": "2026-08-25T09:26:43+00:00" + "time": "2026-09-15T08:06:27+00:00" }, { "name": "utopia-php/websocket",