2.1 अद्यतन गाइड
विशेषताएँ और परिवर्तन
-
आवश्यक
PHP>=8.1 -
निर्भरता
workerman/workerman:^5.1है, साथ हीworkermanके सह-क्रमों (coroutines) का समर्थन प्रदान करता है, संदर्भ देखें webman सह-क्रम -
webman/redis:^2.1webman/cache:^2.1webman/database:^2.1webman/think-orm:^2.1webman/think-cache:^2.1के लिए कनेक्शन पूल सुविधा जोड़ी गई है, जो स्वचालित रूप से सह-क्रम और गैर-सह-क्रम वातावरण का समर्थन करती है।
अद्यतन से पहले बैकअप लेना सुनिश्चित करें, निम्नलिखित कमांड चलाएँ
composer config -g --unset repos.packagist
composer require -W workerman/workerman:~5.1 workerman/webman-framework:~2.1
डेटाबेस को अद्यतन करें
यदि आप निम्नलिखित घटकों का उपयोग कर रहे हैं, तो कृपया अद्यतन के लिए संबंधित कमांड चलाएँ
-
लैरेवेल का
illuminate/databasecomposer require -W webman/database:~2.1 -
लैरेवेल का
illuminate/rediscomposer require -W webman/redis:~2.1 -
लैरेवेल का
illuminate/cachecomposer require -W webman/cache:~2.1 -
थिंकपीएचपी का
topthink/think-ormcomposer require -W webman/think-orm:~2.1 -
थिंकपीएचपी का
topthink/think-cachecomposer require -W webman/think-cache:~2.1 -
webman/redis-queuecomposer require -W webman/redis-queue:~2.1 -
webman/logcomposer require -W webman/log:~2.1