2.1 अद्यतन गाइड

विशेषताएँ और परिवर्तन

  • आवश्यक PHP>=8.1

  • निर्भरता workerman/workerman:^5.1 है, साथ ही workerman के सह-क्रमों (coroutines) का समर्थन प्रदान करता है, संदर्भ देखें webman सह-क्रम

  • webman/redis:^2.1 webman/cache:^2.1 webman/database:^2.1 webman/think-orm:^2.1 webman/think-cache:^2.1 के लिए कनेक्शन पूल सुविधा जोड़ी गई है, जो स्वचालित रूप से सह-क्रम और गैर-सह-क्रम वातावरण का समर्थन करती है।

अद्यतन से पहले बैकअप लेना सुनिश्चित करें, निम्नलिखित कमांड चलाएँ

composer config -g --unset repos.packagist
composer require -W workerman/workerman:~5.1 workerman/webman-framework:~2.1

डेटाबेस को अद्यतन करें

यदि आप निम्नलिखित घटकों का उपयोग कर रहे हैं, तो कृपया अद्यतन के लिए संबंधित कमांड चलाएँ

  • लैरेवेल का illuminate/database

    composer require -W webman/database:~2.1
  • लैरेवेल का illuminate/redis

    composer require -W webman/redis:~2.1
  • लैरेवेल का illuminate/cache

    composer require -W webman/cache:~2.1
  • थिंकपीएचपी का topthink/think-orm

    composer require -W webman/think-orm:~2.1
  • थिंकपीएचपी का topthink/think-cache

    composer require -W webman/think-cache:~2.1
  • webman/redis-queue

    composer require -W webman/redis-queue:~2.1
  • webman/log

    composer require -W webman/log:~2.1