From 0095ff2d6c9a1727153b9d83ed5da53039314661 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Thu, 6 Jan 2022 12:41:58 +0100 Subject: [PATCH 1/4] fix: string attribute size response model --- src/Appwrite/Utopia/Response/Model/AttributeString.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Utopia/Response/Model/AttributeString.php b/src/Appwrite/Utopia/Response/Model/AttributeString.php index e7ea85326..bb44c6af6 100644 --- a/src/Appwrite/Utopia/Response/Model/AttributeString.php +++ b/src/Appwrite/Utopia/Response/Model/AttributeString.php @@ -13,7 +13,7 @@ class AttributeString extends Attribute $this ->addRule('size', [ - 'type' => self::TYPE_STRING, + 'type' => self::TYPE_INTEGER, 'description' => 'Attribute size.', 'default' => 0, 'example' => 128, @@ -52,4 +52,4 @@ class AttributeString extends Attribute { return Response::MODEL_ATTRIBUTE_STRING; } -} \ No newline at end of file +} From b3cd06d08ac8b894a5bcb85345f4795cd6484a0e Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Thu, 6 Jan 2022 12:42:43 +0100 Subject: [PATCH 2/4] Update CHANGES.md --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index 771e9ff3d..fdc5cf8b7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,7 @@ ## Bugs - Fixed some issues with the Migration - Fixed the UI to add Variables to Functions +- Fixed wrong data type for String Attribute size # Version 0.12.0 From 5e261e9407ccc9e5cf2f708950a7d65ed89314d4 Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Fri, 7 Jan 2022 13:57:58 +0100 Subject: [PATCH 3/4] Update CHANGES.md --- CHANGES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index fdc5cf8b7..6ac0f279a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,6 +4,8 @@ - Fixed some issues with the Migration - Fixed the UI to add Variables to Functions - Fixed wrong data type for String Attribute size +- Fixed Request stats on the console +- Fixed Realtime Connection stats with high number by abbreviation # Version 0.12.0 From f90f98b5978380bed89b153e5f63f5f2b5e8b5cc Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Fri, 7 Jan 2022 13:58:15 +0100 Subject: [PATCH 4/4] Update init.php --- app/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/init.php b/app/init.php index 36bee110f..725702a9c 100644 --- a/app/init.php +++ b/app/init.php @@ -61,7 +61,7 @@ const APP_MODE_ADMIN = 'admin'; const APP_PAGING_LIMIT = 12; const APP_LIMIT_COUNT = 5000; const APP_LIMIT_USERS = 10000; -const APP_CACHE_BUSTER = 200; +const APP_CACHE_BUSTER = 201; const APP_VERSION_STABLE = '0.12.1'; const APP_DATABASE_ATTRIBUTE_EMAIL = 'email'; const APP_DATABASE_ATTRIBUTE_ENUM = 'enum';