Commit Graph

790 Commits

Author SHA1 Message Date
crazywhalecc
3a57294e48 fix: add SIGHUP/SIGTERM handling, modernize PHP support and CI
Signal handling fixes:
- SignalListener: add SIGHUP/SIGTERM handling for both Swoole
  and Workerman drivers in master and worker processes
- Prevent 100% CPU when IDE terminal is closed by ensuring
  graceful shutdown on terminal hangup

PHP version support:
- Widen PHP constraint to 8.3, 8.4, 8.5
- Bump doctrine/dbal from ^2.13.1 to ^4.4
- Bump php-cs-fixer to ^3.64, phpstan to ^1.12
- Bump swoole/ide-helper to ^5.0
- Drop phpunit ^8.5 (EOL), keep ^9.0

CI updates:
- actions/checkout@v3 → @v4 (Node.js 20 deprecated)
- Bump static analysis/code style PHP from 8.1 to 8.3
2026-06-17 15:19:00 +08:00
crazywhalecc
1183766701 Fix phpstan 2025-03-17 14:31:51 +08:00
crazywhalecc
a39e96acd2 Update version number 2025-03-17 14:15:43 +08:00
crazywhalecc
9cd3f9accf Merge remote-tracking branch 'origin/main' 2025-03-17 14:14:12 +08:00
crazywhalecc
a5b9260d14 Fix Middleware args type hint 2025-03-17 14:13:54 +08:00
crazywhalecc
5e3397e7ae increment build number (build 726) 2025-03-10 07:46:04 +00:00
crazywhalecc
3a05a0e6ba Update to PHP 8.4 compatible 2025-03-10 15:45:28 +08:00
crazywhalecc
2da5ef3db1 Update to PHP 8.4 compatible 2025-03-10 15:45:28 +08:00
crazywhalecc
4c37294275 Fix built-in php and composer install plugin error 2025-03-10 15:44:54 +08:00
crazywhalecc
2b9a9ab869 increment build number (build 725) 2024-10-02 12:51:52 +00:00
crazywhalecc
7d6455034b stan-fix 2024-10-02 20:50:52 +08:00
crazywhalecc
ef1a9646e4 cs-fix 2024-10-02 20:50:52 +08:00
crazywhalecc
2d9f879994 Fix plugin:make command, remove uppercase name 2024-10-02 20:50:52 +08:00
crazywhalecc
bd15842608 increment build number (build 724) 2023-06-13 07:32:59 +00:00
Jerry
fad14ca9bf fix class empty caused bug 2023-06-13 15:31:41 +08:00
crazywhalecc
9d543e5cf0 increment build number (build 723) 2023-06-12 13:20:11 +00:00
crazywhalecc
a5f76ecb90 update to 3.2.3, fix ergodic annotation order 2023-06-12 21:19:00 +08:00
crazywhalecc
455e09c66d update to 3.2.3, fix ergodic annotation order 2023-06-12 21:19:00 +08:00
crazywhalecc
56b21fc155 update to 3.2.2, fix ergodic annotation order 2023-06-10 14:27:27 +08:00
crazywhalecc
f693fc909b increment build number (build 722) 2023-06-07 08:25:37 +00:00
Jerry
61e60e7218 fix dbName bug 2023-06-07 16:24:22 +08:00
Jerry
033088d06d fix dbType bug 2023-06-07 16:24:22 +08:00
crazywhalecc
542ab2b726 increment build number (build 721) 2023-06-06 15:33:39 +00:00
crazywhalecc
731e1d81da update to 3.2.0, add zm_sqlite() (portable sqlite) 2023-06-06 23:32:30 +08:00
crazywhalecc
0c286d073a increment build number (build 720) 2023-05-30 16:59:33 +00:00
crazywhalecc
0b8409962c abstraction for DBPool reset function, update to 3.1.14 2023-05-31 00:58:16 +08:00
crazywhalecc
98ac59592b increment build number (build 719) 2023-05-26 12:39:01 +00:00
crazywhalecc
2af14eff53 fix action response on bot action 2023-05-26 20:37:57 +08:00
crazywhalecc
92fabb0bfc fix tick coroutine bug, update to 3.1.13 2023-05-26 20:37:57 +08:00
crazywhalecc
565d05f0d0 increment build number (build 718) 2023-05-24 13:44:11 +00:00
crazywhalecc
6c40febe42 fix ergodic annotation parser, update to 3.1.12 2023-05-24 21:43:02 +08:00
crazywhalecc
4c57c5a78c increment build number (build 717) 2023-05-24 12:39:46 +00:00
crazywhalecc
a0414ba353 fix ergodic annotation order, update to 3.1.11 2023-05-24 20:38:39 +08:00
crazywhalecc
8fe6806e20 fix ergodic annotation order, update to 3.1.11 2023-05-24 20:38:39 +08:00
crazywhalecc
de3afa66b1 increment build number (build 716) 2023-05-20 11:33:45 +00:00
crazywhalecc
7f0761e545 fix plugin:make autoload bug 2023-05-20 19:32:43 +08:00
crazywhalecc
34a46695b2 increment build number (build 715) 2023-04-15 14:19:57 +00:00
crazywhalecc
05a04d61d4 update version to 3.1.9 2023-04-15 22:18:44 +08:00
crazywhalecc
e68861c250 fix default command bug 2023-04-15 22:18:44 +08:00
crazywhalecc
84bbdea67e increment build number (build 714) 2023-04-10 01:57:30 +00:00
crazywhalecc
fdec3fdf15 add websocket client functions 2023-04-10 09:56:34 +08:00
crazywhalecc
c17ea6e196 increment build number (build 713) 2023-03-31 13:46:04 +00:00
Jerry
baa6ce9fc1 update plugin docs and add some helper functions 2023-03-31 21:44:48 +08:00
crazywhalecc
22db8a2aa4 increment build number (build 712) 2023-03-29 14:39:08 +00:00
crazywhalecc
9ef26bbde1 update version to 3.1.7 2023-03-29 22:30:27 +08:00
crazywhalecc
5ac92ae210 add plugin command bootstrappers 2023-03-29 22:30:27 +08:00
crazywhalecc
eeb3481c5a simplify duplicated composer executable getter 2023-03-29 22:30:27 +08:00
crazywhalecc
44097f9935 add plugin:remove command 2023-03-29 22:30:27 +08:00
crazywhalecc
d56f4b2343 adjust git strategy 2023-03-29 22:30:27 +08:00
crazywhalecc
b733781eff add composer install strategy 2023-03-29 22:30:27 +08:00