From 51055258e99ba4b96398c7fc1180afb281fe3402 Mon Sep 17 00:00:00 2001 From: Chirag Aggarwal Date: Tue, 15 Sep 2026 09:12:28 +0100 Subject: [PATCH] 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', ]; /**