From 78cd9ea71a3c15d2198c3ee46b9fe55b372c00cf Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Wed, 14 Sep 2022 11:00:13 +0200 Subject: [PATCH] chore: prepare 1.0.0 release --- CHANGES.md | 4 +--- app/config/variables.php | 8 ++++---- app/init.php | 4 ++-- src/Appwrite/Migration/Version/V15.php | 2 +- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index cd319fa675..ce4bedf28f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,4 @@ -# Version 1.0.0-RC1 - -# DO NOT INSTALL THIS VERSION ON ANY EXISTING INSTANCES OF APPWRITE, THIS IS A TEST RELEASE AND DOES NOT HAVE BACKWARDS COMPATIBILITY!! +# Version 1.0.0 ## BREAKING CHANGES - All Date values are now stored as ISO-8601 instead of UNIX timestamps [#3516](https://github.com/appwrite/appwrite/pull/3516) diff --git a/app/config/variables.php b/app/config/variables.php index 36d2446e86..3eb11ad620 100644 --- a/app/config/variables.php +++ b/app/config/variables.php @@ -170,7 +170,7 @@ return [ ], [ 'name' => '_APP_USAGE_AGGREGATION_INTERVAL', - 'description' => 'Deprecated since 1.0.0-RC1, use `_APP_USAGE_TIMESERIES_INTERVAL` and `_APP_USAGE_DATABASE_INTERVAL` instead.', + 'description' => 'Deprecated since 1.0.0, use `_APP_USAGE_TIMESERIES_INTERVAL` and `_APP_USAGE_DATABASE_INTERVAL` instead.', 'introduction' => '0.10.0', 'default' => '30', 'required' => false, @@ -180,7 +180,7 @@ return [ [ 'name' => '_APP_USAGE_TIMESERIES_INTERVAL', 'description' => 'Interval value containing the number of seconds that the Appwrite usage process should wait before aggregating stats and syncing it to Appwrite Database from Timeseries Database. The default value is 30 seconds.', - 'introduction' => '1.0.0-RC1', + 'introduction' => '1.0.0', 'default' => '30', 'required' => false, 'question' => '', @@ -189,7 +189,7 @@ return [ [ 'name' => '_APP_USAGE_DATABASE_INTERVAL', 'description' => 'Interval value containing the number of seconds that the Appwrite usage process should wait before aggregating stats from data in Appwrite Database. The default value is 15 minutes.', - 'introduction' => '1.0.0-RC1', + 'introduction' => '1.0.0', 'default' => '900', 'required' => false, 'question' => '', @@ -825,7 +825,7 @@ return [ [ 'name' => '_APP_MAINTENANCE_RETENTION_CACHE', 'description' => 'The maximum duration (in seconds) upto which to retain cached files. The default value is 2592000 seconds (30 days).', - 'introduction' => '1.0.0-RC1', + 'introduction' => '1.0.0', 'default' => '2592000', 'required' => false, 'question' => '', diff --git a/app/init.php b/app/init.php index 89d33616f8..5cdcc82dd0 100644 --- a/app/init.php +++ b/app/init.php @@ -94,8 +94,8 @@ const APP_LIMIT_WRITE_RATE_DEFAULT = 60; // Default maximum write rate per rate const APP_LIMIT_WRITE_RATE_PERIOD_DEFAULT = 60; // Default maximum write rate period in seconds const APP_KEY_ACCCESS = 24 * 60 * 60; // 24 hours const APP_CACHE_UPDATE = 24 * 60 * 60; // 24 hours -const APP_CACHE_BUSTER = 403; -const APP_VERSION_STABLE = '1.0.0-RC1'; +const APP_CACHE_BUSTER = 500; +const APP_VERSION_STABLE = '1.0.0'; const APP_DATABASE_ATTRIBUTE_EMAIL = 'email'; const APP_DATABASE_ATTRIBUTE_ENUM = 'enum'; const APP_DATABASE_ATTRIBUTE_IP = 'ip'; diff --git a/src/Appwrite/Migration/Version/V15.php b/src/Appwrite/Migration/Version/V15.php index 27cd32bcf0..67046b975d 100644 --- a/src/Appwrite/Migration/Version/V15.php +++ b/src/Appwrite/Migration/Version/V15.php @@ -1391,7 +1391,7 @@ class V15 extends Migration /** * Bump version number. */ - $document->setAttribute('version', '1.0.0-RC1'); + $document->setAttribute('version', '1.0.0'); break; case 'realtime':