From f07cd7b0432b5d471520a2ae5063631bed389dca Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Mon, 7 Mar 2022 12:33:09 +0100 Subject: [PATCH 1/9] chore: prepare 0.13.2 --- CHANGES.md | 6 +++- README-CN.md | 6 ++-- README.md | 6 ++-- app/init.php | 4 +-- composer.lock | 52 ++++++++++++++-------------- src/Appwrite/Migration/Migration.php | 1 + 6 files changed, 40 insertions(+), 35 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index de20ec46bf..9b8cd472ae 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,8 @@ -# Version 0.13.1 (NOT RELEASED) +# Version 0.13.2 +## Bugs +- Fixed global issue for wirte permissions + +# Version 0.13.1 ## Bugs - Fixed the Console UI redirect breaking the header and navigation - Fixed timeout in Functions API to respect the environment variable `_APP_FUNCTIONS_TIMEOUT` diff --git a/README-CN.md b/README-CN.md index ec5d0489b0..eefa1530ee 100644 --- a/README-CN.md +++ b/README-CN.md @@ -59,7 +59,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:0.13.1 + appwrite/appwrite:0.13.2 ``` ### Windows @@ -71,7 +71,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:0.13.1 + appwrite/appwrite:0.13.2 ``` #### PowerShell @@ -81,7 +81,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:0.13.1 + appwrite/appwrite:0.13.2 ``` 运行后,可以在浏览器上访问 http://localhost 找到 Appwrite 控制台。在非 Linux 的本机主机上完成安装后,服务器可能需要几分钟才能启动。 diff --git a/README.md b/README.md index c879aa3b94..326a2cda2c 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,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:0.13.1 + appwrite/appwrite:0.13.2 ``` ### Windows @@ -74,7 +74,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:0.13.1 + appwrite/appwrite:0.13.2 ``` #### PowerShell @@ -84,7 +84,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:0.13.1 + appwrite/appwrite:0.13.2 ``` Once the Docker installation completes, 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 installation completes. diff --git a/app/init.php b/app/init.php index d1569562f6..0bcb8d38a8 100644 --- a/app/init.php +++ b/app/init.php @@ -70,8 +70,8 @@ const APP_LIMIT_ANTIVIRUS = 20000000; //20MB const APP_LIMIT_ENCRYPTION = 20000000; //20MB const APP_LIMIT_COMPRESSION = 20000000; //20MB const APP_LIMIT_PREVIEW = 10000000; //10MB file size limit for preview endpoint -const APP_CACHE_BUSTER = 301; -const APP_VERSION_STABLE = '0.13.1'; +const APP_CACHE_BUSTER = 302; +const APP_VERSION_STABLE = '0.13.2'; const APP_DATABASE_ATTRIBUTE_EMAIL = 'email'; const APP_DATABASE_ATTRIBUTE_ENUM = 'enum'; const APP_DATABASE_ATTRIBUTE_IP = 'ip'; diff --git a/composer.lock b/composer.lock index b5e657b973..57f4204029 100644 --- a/composer.lock +++ b/composer.lock @@ -1646,7 +1646,7 @@ }, { "name": "symfony/polyfill-ctype", - "version": "v1.24.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", @@ -1708,7 +1708,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.25.0" }, "funding": [ { @@ -1728,16 +1728,16 @@ }, { "name": "symfony/polyfill-php80", - "version": "v1.24.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9" + "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/57b712b08eddb97c762a8caa32c84e037892d2e9", - "reference": "57b712b08eddb97c762a8caa32c84e037892d2e9", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4407588e0d3f1f52efb65fbe92babe41f37fe50c", + "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c", "shasum": "" }, "require": { @@ -1791,7 +1791,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.25.0" }, "funding": [ { @@ -1807,7 +1807,7 @@ "type": "tidelift" } ], - "time": "2021-09-13T13:58:33+00:00" + "time": "2022-03-04T08:16:47+00:00" }, { "name": "utopia-php/abuse", @@ -3677,16 +3677,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.10.3", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "c6a951b75d684fd43fbbd69617488e1e2e8924ba" + "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/c6a951b75d684fd43fbbd69617488e1e2e8924ba", - "reference": "c6a951b75d684fd43fbbd69617488e1e2e8924ba", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614", + "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614", "shasum": "" }, "require": { @@ -3724,7 +3724,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.10.3" + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0" }, "funding": [ { @@ -3732,7 +3732,7 @@ "type": "tidelift" } ], - "time": "2022-03-02T14:16:47+00:00" + "time": "2022-03-03T13:19:32+00:00" }, { "name": "netresearch/jsonmapper", @@ -4234,16 +4234,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.14", + "version": "9.2.15", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "9f4d60b6afe5546421462b76cd4e633ebc364ab4" + "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/9f4d60b6afe5546421462b76cd4e633ebc364ab4", - "reference": "9f4d60b6afe5546421462b76cd4e633ebc364ab4", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2e9da11878c4202f97915c1cb4bb1ca318a63f5f", + "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f", "shasum": "" }, "require": { @@ -4299,7 +4299,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.14" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.15" }, "funding": [ { @@ -4307,7 +4307,7 @@ "type": "github" } ], - "time": "2022-02-28T12:38:02+00:00" + "time": "2022-03-07T09:28:20+00:00" }, { "name": "phpunit/php-file-iterator", @@ -5809,7 +5809,7 @@ }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.24.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", @@ -5870,7 +5870,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.25.0" }, "funding": [ { @@ -5890,7 +5890,7 @@ }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.24.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", @@ -5954,7 +5954,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.25.0" }, "funding": [ { @@ -5974,7 +5974,7 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.24.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", @@ -6037,7 +6037,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.24.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.25.0" }, "funding": [ { diff --git a/src/Appwrite/Migration/Migration.php b/src/Appwrite/Migration/Migration.php index 700b09d9b6..ce4e0ad810 100644 --- a/src/Appwrite/Migration/Migration.php +++ b/src/Appwrite/Migration/Migration.php @@ -37,6 +37,7 @@ abstract class Migration public static array $versions = [ '0.13.0' => 'V12', '0.13.1' => 'V12', + '0.13.2' => 'V12', ]; /** From 9a22acf68806c716f799b08c46e2a2824d99be42 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Mon, 7 Mar 2022 12:36:04 +0100 Subject: [PATCH 2/9] chore: update changelog --- CHANGES.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 9b8cd472ae..9b9e23fb37 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,7 @@ # Version 0.13.2 ## Bugs -- Fixed global issue for wirte permissions +- Fixed global issue for write permissions +- Fixed missing `_APP_EXECUTOR_SECRET` environment variable for deletes worker # Version 0.13.1 ## Bugs From a4dbc78fe1e1a437b592f2c716d24420afad4667 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Mon, 7 Mar 2022 12:39:29 +0100 Subject: [PATCH 3/9] chore: update changelog --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index 9b9e23fb37..da3d68d10f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,7 @@ ## Bugs - Fixed global issue for write permissions - Fixed missing `_APP_EXECUTOR_SECRET` environment variable for deletes worker +- Fixed iOS platforms for origin validation by @stnguyen90 in https://github.com/appwrite/appwrite/pull/2907 # Version 0.13.1 ## Bugs From 9ea2bcbfc0b41f88927a7e2f6e7ba980a864f3dd Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Mon, 7 Mar 2022 13:00:38 +0100 Subject: [PATCH 4/9] chore: upgrade composer lock --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 57f4204029..94f1e01905 100644 --- a/composer.lock +++ b/composer.lock @@ -2129,16 +2129,16 @@ }, { "name": "utopia-php/database", - "version": "0.15.2", + "version": "0.15.3", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "4ae9f1162d6640ccfe28afa0bbc60b907a7ad1c0" + "reference": "726e3b04fb1f1b3b654bc1d3114deaf1481cb008" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/4ae9f1162d6640ccfe28afa0bbc60b907a7ad1c0", - "reference": "4ae9f1162d6640ccfe28afa0bbc60b907a7ad1c0", + "url": "https://api.github.com/repos/utopia-php/database/zipball/726e3b04fb1f1b3b654bc1d3114deaf1481cb008", + "reference": "726e3b04fb1f1b3b654bc1d3114deaf1481cb008", "shasum": "" }, "require": { @@ -2186,9 +2186,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/0.15.2" + "source": "https://github.com/utopia-php/database/tree/0.15.3" }, - "time": "2022-02-28T15:53:37+00:00" + "time": "2022-03-07T11:59:51+00:00" }, { "name": "utopia-php/domains", From c3c70bb0053c253282379d76aac5eec0d7f4f9e7 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Mon, 7 Mar 2022 16:08:48 +0100 Subject: [PATCH 5/9] chore update changelog --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index da3d68d10f..1a81a3bbb1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,7 @@ ## Bugs - Fixed global issue for write permissions - Fixed missing `_APP_EXECUTOR_SECRET` environment variable for deletes worker +- Increase execution `stdout` and `stderr` from 8000 to 16384 character limit - Fixed iOS platforms for origin validation by @stnguyen90 in https://github.com/appwrite/appwrite/pull/2907 # Version 0.13.1 From 0b5a75f063390561d24a22e6e3eda35a7fc337dc Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Mon, 7 Mar 2022 16:17:28 +0100 Subject: [PATCH 6/9] chore: update changelog --- CHANGES.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 1a81a3bbb1..70f06da929 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,8 +1,8 @@ # Version 0.13.2 ## Bugs - Fixed global issue for write permissions -- Fixed missing `_APP_EXECUTOR_SECRET` environment variable for deletes worker -- Increase execution `stdout` and `stderr` from 8000 to 16384 character limit +- Added missing `_APP_EXECUTOR_SECRET` environment variable for deletes worker +- Increased execution `stdout` and `stderr` from 8000 to 16384 character limit - Fixed iOS platforms for origin validation by @stnguyen90 in https://github.com/appwrite/appwrite/pull/2907 # Version 0.13.1 From 692e72a8bdc11b13ad3875e945a66dcfb9e86f02 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Mon, 7 Mar 2022 16:21:39 +0100 Subject: [PATCH 7/9] chore: update changelog --- CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 70f06da929..2da2a7095d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,6 @@ # Version 0.13.2 ## Bugs -- Fixed global issue for write permissions +- Fixed global issue with write permissions - Added missing `_APP_EXECUTOR_SECRET` environment variable for deletes worker - Increased execution `stdout` and `stderr` from 8000 to 16384 character limit - Fixed iOS platforms for origin validation by @stnguyen90 in https://github.com/appwrite/appwrite/pull/2907 From 9434f126b9b0ff6bbc62be18af4bc774e4de915a Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Mon, 7 Mar 2022 16:59:31 +0100 Subject: [PATCH 8/9] feat: increase preview maximum file size --- app/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/init.php b/app/init.php index 0bcb8d38a8..40c2f569b9 100644 --- a/app/init.php +++ b/app/init.php @@ -69,7 +69,7 @@ const APP_LIMIT_USERS = 10000; const APP_LIMIT_ANTIVIRUS = 20000000; //20MB const APP_LIMIT_ENCRYPTION = 20000000; //20MB const APP_LIMIT_COMPRESSION = 20000000; //20MB -const APP_LIMIT_PREVIEW = 10000000; //10MB file size limit for preview endpoint +const APP_LIMIT_PREVIEW = 20000000; //20MB file size limit for preview endpoint const APP_CACHE_BUSTER = 302; const APP_VERSION_STABLE = '0.13.2'; const APP_DATABASE_ATTRIBUTE_EMAIL = 'email'; From b3b6470d9dbd8e87c15a433641594640f8caf369 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Mon, 7 Mar 2022 16:59:42 +0100 Subject: [PATCH 9/9] chore: update readme --- CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 2da2a7095d..7a9ccd6275 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,7 @@ - Fixed global issue with write permissions - Added missing `_APP_EXECUTOR_SECRET` environment variable for deletes worker - Increased execution `stdout` and `stderr` from 8000 to 16384 character limit +- Increased maximum file size for image preview to 20mb - Fixed iOS platforms for origin validation by @stnguyen90 in https://github.com/appwrite/appwrite/pull/2907 # Version 0.13.1 @@ -12,7 +13,6 @@ - Fixed team invite to be invalid after successful use by @Malte2036 in https://github.com/appwrite/appwrite/issues/2593 # Version 0.13.0 - ## Features ### Functions - Synchronous function execution