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

데이터베이스 업그레이드

다음 컴포넌트를 사용 중이면 해당 명령어를 실행하세요

  • Laravel의 illuminate/database

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

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