Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Community News:
Latest PECL Releases (04.28.2020)
Apr 28, 2020 @ 08:05:01

Latest PECL Releases:

  • mysql_xdevapi 8.0.20
    WL#13001 DevAPI: Connection compression orabug #30864458: some methods should not be reported as deprecated anymore

  • ice 1.6.0
    - Composer, update zephir to 0.12.18 - Add the image component - Dump, recursion fix #265 - PHP 7.0, drop support - Code cleanup - Update prototypes - Flash, add dismissible class - Dispatcher, continue if before returns a value - Update zephir parser to 1.3.4 - Websocket, long message fix #262
  • swoole 4.5.0
    New APIs --- + DTLS supports, we can build WebRTC applications now (#3188) (@matyhtf) + Built-in `FastCGI` client, we can proxy HTTP request to FPM with one line of code now (swoole/library#17) (@twose) + `Co::wait`, `Co::waitPid`, `Co::waitSignal` (#3158) (@twose) + `Co::waitEvent` (#3197) (@twose) + `Co::set(['exit_condition' => $callable])` to exit condition of reactor (#2918) (#3012) (@twose) + `Co::getElapsed` to get the coroutine elapsed time (#3162) (@doubaokun) + `Socket::checkLiveness`, `Socket::peek` (#3057) (@twose) + `Socket->setProtocol(['open_fastcgi_protocol' => $bool])` (#3103) (@twose) + `Server::get(Master|Manager|Worker)Pid`, `Server::getWorkerId` (#2793) (#3019) (@matyhtf) + `Server::getWorkerStatus` (SWOOLE_WORKER_BUSY, SWOOLE_WORKER_IDLE) (#3225) (@matyhtf) + `Server->on('beforeReload', $callable)` and `Server->on('afterReload', $callable)` (Server reload event on manager process) (#3130) (@huanghantao) + `HttpServer` support `http_index_files` and `http_autoindex` with static handler (#3171) (@huanghantao) + `Http2Client->read(float $timeout = -1)`, support CoroutineHTTP2Client read more than once (#3011) (#3117) (@twose) + `HttpRequest->getContent` (alias of rawContent) (#3128) (@huanghantao) + `swoole_mime_type_(add|set|delete|get|exists)` (mime APIs) (#3134) (@twose)

    Enhancement

    • Optimize memory-copy between master and worker (4x faster) (#3075) (#3087) (@huanghantao)
    • Optimize websocket dispatch (1x faster) (#3076) (@matyhtf)
    • Optimize memory-copy in websocket_construct_frame (1x faster) (#3097) (@matyhtf)
    • Optimize SSL validation (#3226) (@matyhtf)
    • Separate SSL accept and SSL handshake (#3214) (@twose)
    • Support MIPS (#3196) (@ekongyun)
    • Resolve the domain name when use udp coroutine client (#3236) (#3239) (@huanghantao)
    • Support some common options for CoroutineHttpServer (#3257) (@twose)
    • Support set cookies when websocket handshake (#3270) (#3272) (@twose)
    • Support CURLOPT_FAILONERROR (swoole/library#20) (@sy-records)
    • Support CURLOPT_FAILONERROR (swoole/library#20) (@sy-records)
    • Support CURLOPT_SSLCERTTYPE, CURLOPT_SSLCERT, CURLOPT_SSLKEYTYPE, CURLOPT_SSLKEY (swoole/library#22) (@sy-records)
    • Support CURLOPT_HTTPGET (swoole/library@d730bd08) (@shiguangqi)

    Remove

    • Remove Runtime::enableStrictMode method (b45838e3) (@twose)
    • Remove Buffer class (559a49a8) (@twose)

    Kernel

    • New C++ API: coroutine::async with lambda (#3127) (@matyhtf)
    • Refactor event API and reactor fd to swSocket (#3030) (@matyhtf)
    • Convert all source files to C++ (#3030) (71f987f3) (@matyhtf)
    • Code optimizations (#3063) (#3067) (#3115) (#3135) (#3138) (#3139) (#3151) (#3168) (@huanghantao)
    • Code optimization for header files (#3051) (@matyhtf)
    • Refactor enable_reuse_port option (#3192) (@matyhtf)
    • Reactor Socket API (#3193) (@matyhtf)
    • Reduce one system call (3b5aa85d) (@matyhtf)
    • Remove swServerGS::now (#3152) (@huanghantao)
    • Improve protocol setter (#3108) (@twose)
    • Use the Better way to init C object on stack (#3069) (@twose)
    • Use type uchar for bit field (#3071) (@twose)
    • Support parallel test (#3215) (@twose)

    Fixed

    • Fixed enable_delay_receive (#3221) (#3224) (@matyhtf)
    • All other bug fix patches have already been merged into the v4.4.x branch, we will not reiterate them here
  • xdebug 2.9.5
    Sat, Apr 25, 2020 - xdebug 2.9.5

    = Fixed bugs:

    • Fixed issue #1772: Crash with exception thrown inside a destructor
    • Fixed issue #1775: Segfault when another extension compiles a PHP file during RINIT
    • Fixed issue #1779: Nested multi-line built-in function in namespace are not covered
  • swoole 4.4.18
    Enhancement --- + Resolve the domain name when use udp coroutine client (#3236) (#3239) (@huanghantao) + Do not close stdout and stderr (show error logs after shutdown) (#3249) (@twose) + Support some common options for CoroutineHttpServer (#3257) (@twose) + Support set cookies when websocket handshake (#3270) (#3272) (@twose) + Support CURLOPT_FAILONERROR (swoole/library#20) (@sy-records) + Support CURLOPT_SSLCERTTYPE, CURLOPT_SSLCERT, CURLOPT_SSLKEYTYPE, CURLOPT_SSLKEY (swoole/library#22) (@sy-records) + Support CURLOPT_HTTPGET (swoole/library@d730bd08) (@shiguangqi) + Compatible with different versions of Redis extension as much as possible (swoole/library#24) (@twose) + Disable Cloning of Database Proxy Objects (swoole/library#23) (@deminy)

    Fixed

    • Fixed SSL handshake failure (dc5ac29a) (@twose)
    • Fixed memory error when generate error message (#3229) (@twose)
    • Fixed empty proxy authorization info (#3243) (@twose)
    • Fixed channel unreal memory leak (#3260) (@twose)
    • Fixed memory leak of CoHttpServer (#3271) (@twose)
    • Fixed ConnectionPool->fill (swoole/library#18) (@NHZEX)
    • Fixed use new client for the redirection requests (swoole/library#21) (@doubaokun)
    • Fixed null socket error in ioException (swoole/library@4d15a4c3) (@twose)
    • Fixed ConnectionPool@put when error happens (swoole/library#25) (@Sinute)
    • Fixed mysqli write_property error (swoole/library#26) (@twose)
  • timezonedb 2020.1
    Updated to version 2020.1 (2020a)
  • xattr 1.4.0
    - drop dupport for PHP older than 7.2 - add type hinting in reflection
  • yaml 2.1.0
    New Features: - Basic PHP8 (master branch) compatiblity Bugs Fixed: - #79494: The 64-bit YAML ext uses 32-bit signed integer arithmetics (cmb69) - Use ZEND_LONG_FMT to fix -Wformat warnings (carusogabriel) - Fix memory leaks when writing timestamps (cmb69) - Update tests/yaml_parse_file_002.phpt for PHP8 (carusogabriel) - #78353: Remove deprecated TSRM macros (a.dankovtsev)
  • datadog_trace 0.43.0
    **Note: This release comes with minor behavior changes for tracing closures on PHP 7. Please see [the PR for details](https://github.com/DataDog/dd-trace-php/pull/762).**

    Added

    • Service mapping with DD_SERVICE_MAPPING=pdo:payments-db,mysqli:orders-db #801, #817
    • Auto flushing with DD_TRACE_AUTO_FLUSH_ENABLED=1 (PHP 7) #819, #826
    • Disable automatic root-span creation with DD_TRACE_GENERATE_ROOT_SPAN=0 #834

    Changed

    • Always return unaltered VM dispatch (PHP 7) #762
    • Uri to resource name ON by default #798
    • Sandbox Guzzle #809, #816
    • Sandbox predis integration #813
    • Sandbox curl (PHP 7) #814, #817, #831
    • Convert pid from long to string for internal spans #825
    • Move some Configuration methods to functions written at the C level #829
  • selinux 0.5.0
    - drop support for PHP 5 - preliminary support for PHP 8
  • xattr 1.3.1
    - preliminary support for PHP 8
  • mailparse 3.1.0
    - add arginfo to all functions - fix MimeMessage constructor name
tagged:

Link:


Trending Topics: