Upgrade-Anleitung 2.1

Funktionen und Änderungen

  • Erfordert PHP>=8.1

  • Abhängigkeit von workerman/workerman:^5.1, Coroutine-Unterstützung. Siehe webman Coroutine

  • Verbindungspool für webman/redis:^2.1 webman/cache:^2.1 webman/database:^2.1 webman/think-orm:^2.1 webman/think-cache:^2.1, automatische Unterstützung für Coroutine- und Nicht-Coroutine-Umgebungen.

Bitte sichern Sie vor dem Upgrade Ihre Daten und führen Sie folgende Befehle aus

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

Datenbank-Upgrade

Bei Verwendung folgender Komponenten die entsprechenden Befehle ausführen:

  • Laravels illuminate/database

    composer require -W webman/database:~2.1
  • Laravels illuminate/redis

    composer require -W webman/redis:~2.1
  • Laravels illuminate/cache

    composer require -W webman/cache:~2.1
  • ThinkPHPs topthink/think-orm

    composer require -W webman/think-orm:~2.1
  • ThinkPHPs 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