From 95181b0a7f4ba0586e3ef59b5d25068aedcbc29c Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Wed, 29 Jun 2022 13:36:35 +0200 Subject: [PATCH 1/5] prepare: 0.15.1 release --- CHANGES.md | 11 +++++++++++ README-CN.md | 6 +++--- README.md | 6 +++--- app/init.php | 2 +- src/Appwrite/Migration/Migration.php | 3 ++- 5 files changed, 20 insertions(+), 8 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 7a7653467f..30287d728e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,14 @@ +# Version 0.15.1 +## Bugs +- Fixed sms for createVerification by @christyjacob4 in https://github.com/appwrite/appwrite/pull/3454 +- Fixed missing Attributes when creating an Index by @TorstenDittmann in https://github.com/appwrite/appwrite/pull/3461 +- Fixed broken Link for Documents under Collections by @TorstenDittmann in https://github.com/appwrite/appwrite/pull/3461 +- Fixed all `$createdAt` and `$updatedAt` occurences in the UI by @TorstenDittmann in https://github.com/appwrite/appwrite/pull/3461 +- Fixed internal Attribute and Index key on Migration by @TorstenDittmann in https://github.com/appwrite/appwrite/pull/3455 + +## Docs +- Updated Phone Authentication by @christyjacob4 in https://github.com/appwrite/appwrite/pull/3456 + # Version 0.15.0 ## BREAKING CHANGES diff --git a/README-CN.md b/README-CN.md index 25436b970a..846c0326ae 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.15.0 + appwrite/appwrite:0.15.1 ``` ### 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.15.0 + appwrite/appwrite:0.15.1 ``` #### 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.15.0 + appwrite/appwrite:0.15.1 ``` 运行后,可以在浏览器上访问 http://localhost 找到 Appwrite 控制台。在非 Linux 的本机主机上完成安装后,服务器可能需要几分钟才能启动。 diff --git a/README.md b/README.md index 96dd2856c2..a014cc3ebd 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,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.15.0 + appwrite/appwrite:0.15.1 ``` ### Windows @@ -77,7 +77,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.15.0 + appwrite/appwrite:0.15.1 ``` #### PowerShell @@ -87,7 +87,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.15.0 + appwrite/appwrite:0.15.1 ``` 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 3788e9eae1..154452eab8 100644 --- a/app/init.php +++ b/app/init.php @@ -87,7 +87,7 @@ const APP_LIMIT_ARRAY_PARAMS_SIZE = 100; // Default maximum of how many elements const APP_LIMIT_ARRAY_ELEMENT_SIZE = 4096; // Default maximum length of element in array parameter represented by maximum URL length. const APP_LIMIT_SUBQUERY = 1000; const APP_CACHE_BUSTER = 400; -const APP_VERSION_STABLE = '0.15.0'; +const APP_VERSION_STABLE = '0.15.1'; const APP_DATABASE_ATTRIBUTE_EMAIL = 'email'; const APP_DATABASE_ATTRIBUTE_ENUM = 'enum'; const APP_DATABASE_ATTRIBUTE_IP = 'ip'; diff --git a/src/Appwrite/Migration/Migration.php b/src/Appwrite/Migration/Migration.php index a133af08ac..fe14c61aa8 100644 --- a/src/Appwrite/Migration/Migration.php +++ b/src/Appwrite/Migration/Migration.php @@ -45,7 +45,8 @@ abstract class Migration '0.14.0' => 'V13', '0.14.1' => 'V13', '0.14.2' => 'V13', - '0.15.0' => 'V14' + '0.15.0' => 'V14', + '0.15.1' => 'V14' ]; /** From 96744997e8e06ee4933541a271ba290258fe79cb Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Wed, 29 Jun 2022 13:39:43 +0200 Subject: [PATCH 2/5] chore: update changelog --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index 30287d728e..072fdee469 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,7 @@ - Fixed missing Attributes when creating an Index by @TorstenDittmann in https://github.com/appwrite/appwrite/pull/3461 - Fixed broken Link for Documents under Collections by @TorstenDittmann in https://github.com/appwrite/appwrite/pull/3461 - Fixed all `$createdAt` and `$updatedAt` occurences in the UI by @TorstenDittmann in https://github.com/appwrite/appwrite/pull/3461 +- Fixed Delete Document from the UI by @TorstenDittmann in https://github.com/appwrite/appwrite/pull/3463 - Fixed internal Attribute and Index key on Migration by @TorstenDittmann in https://github.com/appwrite/appwrite/pull/3455 ## Docs From ee68732419463149ab43878f8da936e5bdb3b1fc Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Wed, 29 Jun 2022 13:42:02 +0200 Subject: [PATCH 3/5] chore: update changelog --- CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 072fdee469..4016a982fb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,6 @@ # Version 0.15.1 ## Bugs -- Fixed sms for createVerification by @christyjacob4 in https://github.com/appwrite/appwrite/pull/3454 +- Fixed SMS for `createVerification` by @christyjacob4 in https://github.com/appwrite/appwrite/pull/3454 - Fixed missing Attributes when creating an Index by @TorstenDittmann in https://github.com/appwrite/appwrite/pull/3461 - Fixed broken Link for Documents under Collections by @TorstenDittmann in https://github.com/appwrite/appwrite/pull/3461 - Fixed all `$createdAt` and `$updatedAt` occurences in the UI by @TorstenDittmann in https://github.com/appwrite/appwrite/pull/3461 From 2bc6587e8487f2f3f622c2d3bc8716b1c77cfdde Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Wed, 29 Jun 2022 13:56:56 +0200 Subject: [PATCH 4/5] chore: increase chache buster --- app/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/init.php b/app/init.php index 154452eab8..606e7f8bd7 100644 --- a/app/init.php +++ b/app/init.php @@ -86,7 +86,7 @@ const APP_LIMIT_COMPRESSION = 20000000; //20MB const APP_LIMIT_ARRAY_PARAMS_SIZE = 100; // Default maximum of how many elements can there be in API parameter that expects array value const APP_LIMIT_ARRAY_ELEMENT_SIZE = 4096; // Default maximum length of element in array parameter represented by maximum URL length. const APP_LIMIT_SUBQUERY = 1000; -const APP_CACHE_BUSTER = 400; +const APP_CACHE_BUSTER = 401; const APP_VERSION_STABLE = '0.15.1'; const APP_DATABASE_ATTRIBUTE_EMAIL = 'email'; const APP_DATABASE_ATTRIBUTE_ENUM = 'enum'; From 54bd8507bcfe15bced7081f48945c17a69c578bb Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Wed, 29 Jun 2022 15:46:00 +0200 Subject: [PATCH 5/5] fix: ui delete document redirect --- app/views/console/databases/document.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/console/databases/document.phtml b/app/views/console/databases/document.phtml index a7da2b616f..17dc35f229 100644 --- a/app/views/console/databases/document.phtml +++ b/app/views/console/databases/document.phtml @@ -379,7 +379,7 @@ $logs = $this->getParam('logs', null); data-success="alert,trigger,redirect" data-success-param-alert-text="Document deleted successfully" data-success-param-trigger-events="databases.deleteDocument" - data-success-param-redirect-url="/console/databases/collection?id={{router.params.collection}}&project={{router.params.project}}" + data-success-param-redirect-url="/console/databases/collection?id={{router.params.collection}}&project={{router.params.project}}&databaseId={{router.params.databaseId}}" data-failure="alert" data-failure-param-alert-text="Failed to delete collection" data-failure-param-alert-classname="error">