Skip to content

Releases: swoole/swoole-src

v5.0.0

01 Aug 12:28
Compare
Choose a tag to compare

Minimum PHP version requirement is 8.0

Added

  • Added max_concurrency option for Server
  • Added max_retries option for Coroutine\Http\Client
  • Added name_resolver global option
  • Added upload_max_filesize option for Server
  • Added Coroutine::getExecuteTime()
  • Added SWOOLE_DISPATCH_CONCURRENT_LB dispatch_mode for Server

Changed

  • Enhanced type system, added types for parameters and return values of all functions
  • Optimized error handling, all constructors will throw exceptions when fail
  • Adjusted the default mode of Server, the default is SWOOLE_BASE mode
  • Migrate pgsql coroutine client to core
  • Contains all bugfixes from the 4.8.x branch

Removed

  • Removed PSR-0 style class names
  • Removed the automatic addition of Event::wait() in shutdown function
  • Removed Server::tick/after/clearTimer/defer aliases
  • Removed --enable-http2/--enable-swoole-json, adjusted to be enable by default

Deprecated

  • Deprecated Coroutine\Redis and Coroutine\MySQL

v4.8.11

08 Jul 10:08
Compare
Choose a tag to compare
  • Supports intel CET
  • Fixed #4712
  • Fixed crash issue when pdo persistent connection throws exception
  • Added Server::$ssl property
  • Added enable-cares option to pecl
  • Refactor multipart_parser
  • Fixed incorrect error message in Server::close()

v4.8.10

12 May 08:48
Compare
Choose a tag to compare
fix package.xml

v4.8.9

16 Apr 10:42
Compare
Choose a tag to compare
  • Added support http_auto_index for http2 server
  • Fixed #4657
  • Fixed the stream_select hook function memory leak
  • Optimized cookies parser

v4.8.8

16 Mar 07:53
Compare
Choose a tag to compare
  • Reduce SW_IPC_BUFFER_MAX_SIZE to 64k
  • Respect SETTINGS_HEADER_TABLE_SIZE http2 setting (#4635)
  • Fixed #4639
  • Fixed http2 server NPN errors

v4.8.7

18 Feb 06:08
Compare
Choose a tag to compare
  • Added curl_share supports
  • Fixed symbol undefined on arm32 platform
  • Fixed clock_gettime() compatibility
  • Fixed issue where server sending fails with PROCESS mode when kernel lacks large block of memory

v4.8.6

11 Jan 11:50
Compare
Choose a tag to compare
  • Added prefix to boost/context API names
  • Optimized configure options

v4.8.5

24 Dec 14:01
Compare
Choose a tag to compare
  • Revert parameter type of Table
  • Fix crash when received wrong data with websocket protocol

v4.8.4

17 Dec 03:11
Compare
Choose a tag to compare
  • Fixed compatibility of sockets hook with PHP-8.1
  • Fixed compatibility of Table with PHP-8.1
  • Fixed bug #4519

v4.8.3

01 Dec 01:57
Compare
Choose a tag to compare
  • Fixed compatibility of curl native hook with PHP-8.1
  • Fixed compatibility of sockets hook with PHP-8
  • Fixed the return value error of sockets hook function
  • Added Coroutine\Socket::isClosed()
  • Fixed Http2Server sendfile cannot set content-type
  • Optimize performance of HttpServer date header

ไธญๆ–‡

  1. ไฟฎๅค curl native hook ๅœจ php8.1 ็‰ˆๆœฌไธ‹็š„ๅ…ผๅฎนๆ€ง้—ฎ้ข˜
  2. ไฟฎๅค sockets hook ๅœจ php8 ไธ‹็š„ๅ…ผๅฎนๆ€ง้—ฎ้ข˜
  3. ไฟฎๅค sockets hook ๅ‡ฝๆ•ฐ่ฟ”ๅ›žๅ€ผ้”™่ฏฏ
  4. ๅขžๅŠ  Coroutine\Socket::isClosed() ๆ–นๆณ•
  5. ไฟฎๅค Http2Server sendfile ๆ— ๆณ•่ฎพ็ฝฎ content-type
  6. ไผ˜ๅŒ– HttpServer date header ็š„ๆ€ง่ƒฝ๏ผŒๅขžๅŠ ไบ† cache