2.1 دليل الترقية

الوظائف والتغييرات

  • يتطلب PHP>=8.1

  • يعتمد على workerman/workerman:^5.1، ويوفر أيضًا دعم التزامن لـ workerman، راجع 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 الخاص بـ Laravel illuminate/database

    composer require -W webman/database:~2.1
  • Illuminate الخاص بـ Laravel illuminate/redis

    composer require -W webman/redis:~2.1
  • Illuminate الخاص بـ Laravel illuminate/cache

    composer require -W webman/cache:~2.1
  • ThinkPHP الخاص بـ topthink/think-orm

    composer require -W webman/think-orm:~2.1
  • ThinkPHP الخاص بـ 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