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

Community News:
Latest PECL Releases (09.22.2020)
Sep 22, 2020 @ 08:05:02

Latest PECL Releases:

  • datadog_trace 0.48.3
    ### Fixed

    • Fix sigsegv in deferred loading #1022
  • apfd 1.0.2
    * PHP-7.2+ compatibility * PHP-8.0 compatiblity
  • xhprof 2.2.1
    - Support PHP 8.0 beta4
  • swoole 4.5.4
    Backward compatibility Break --- * Modify SWOOLE_HOOK_ALL to contain SWOOlE_HOOK_CURL (#3606) (@matyhtf) * Remove ssl_method and Support ssl_protocols (#3639) (@Yurunsoft)

    New APIs

    • Added firstKey and lastKey (swoole/library#51) (@sy-records)

    Enhancement

    • Added open_websocket_ping_frame, open_websocket_pong_frame (#3600) (@Yurunsoft)

    Fixed

    • Fixed fseek ftell file larger than 2G bug (#3619) (@Yurunsoft)
    • Fixed Socket barrier bug (#3627) (@matyhtf)
    • Fixed http proxy handshake bug (#3630) (@matyhtf)
    • Fixed a problem with parsing the HTTP header when send chunk data (#3633) (@matyhtf)
    • Fixed zend_hash_clean assertion failure (#3634) (@twose)
    • Fixed can't remove broken fd from event loop (#3650) (@matyhtf)
    • Fixed crash when receiving invalid packet (#3653) (@matyhtf)
    • Fixed array_key_last (swoole/library#46) (@sy-records)

    Kernel

    • Code optimization (#3615) (#3617) (#3622) (#3635) (#3640) (#3641) (#3642) (#3645) (#3658) (@matyhtf)
    • Reduce unnecessary memory operation to improve write performance (#3620) (@matyhtf)
    • Refactor aio (#3624) (@Yurunsoft)
    • Added readlink/opendir/readdir/closedir hook (#3628) (@matyhtf)
    • Improve swMutex_create, add SW_MUTEX_ROBUST (#3646) (@matyhtf)
  • oauth 2.0.7
    * PHP 8 compatibility
  • parallel 1.1.4
    - Fix #103: memory leaks in Sync - Fix #112: broken type hinting and instanceof operator - Fix #139: crash with opcache enabled
  • xdebug 2.9.7
    Wed, Sep 16, 2020 - xdebug 2.9.7

    = Fixed bugs:

    • Fixed issue #1839: Add keepalive options to debugging socket
  • mailparse 3.1.1
    - Fixed bug #74215: Memory leaks with mailparse (cmb) - Fixed bug #76498: Unable to use callable as callback (cmb) - Compatibility with 8.0.0beta4
tagged:

Link:

Community News:
Latest PEAR Releases (09.21.2020)
Sep 21, 2020 @ 08:05:01

Latest PEAR Releases:

tagged:

Link:


Community News:
Latest PECL Releases (09.15.2020)
Sep 15, 2020 @ 08:05:01

Latest PECL Releases:

  • krb5 1.1.4
    - [FEATURE] PHP 8 compatability (thanks to Remi Collet)

    • [BUG] Properly install header files (thanks to Remi Collet)
    • [BUG] Fix behavior when NegotiateAuth is passed null as SPN
  • yaml 2.2.0b2
    New Features: - PHP 8.0.0b3+ compatibility
  • ast 1.0.10
    - Support attributes syntax change (`#[...]`) in php 8.0.0RC1. - Change the current AST version from 70 to 80. AST version 80 is no longer experimental. - Add `ReflectionParameter` defaults for `astparse_code` and `astget_supported_versions` in php 8. - Add parameter types and return types to reflection for various global functions. php-ast was already throwing a `TypeError` when invalid parameter types were received. - Always throw instead of warning when invalid parameters are passed to the astNode constructor.
  • ice 1.6.2
    - Model, get related record if field is null fix #275 - Pagination, calculate if data is array or total is specified #273 - Url, fixed getStatic() #193
  • gRPC 1.32.0
    - gRPC Core 1.32.0 update
  • datadog_trace 0.48.2
    ### Changed - Update excluded modules #1011 - Deprecate dd-doctor.php #1014

    Fixed

    • PHP 5.4 build in ZTS mode #1011
    • Call ddtrace_engine_hooks_{rinit,rshutdown} #1013
  • solr 2.5.1
    - PHP 7.4 compatible - PHP 7 windows support - PHP 8.0.0beta3 compatible - Bug #72740 Fixes NULL byte when using addQueryField() w/o boost
  • oauth 2.0.6
    * Fix github issue #14 (Fixes for 7.3/7.4 and opcache) * Fix PHP-7.4 compatibility of object handler * Fix memory leaks in OAuthProvider * Fix crash in OAuthProvider's handler registration methods due to unconditional addref * Fix crash in OAuth::fetch() due to modifying hash tables with a refcount>1
  • php_trie 0.1.0
    - First stable release
tagged:

Link:

Community News:
Latest PEAR Releases (09.14.2020)
Sep 14, 2020 @ 08:05:02

Latest PEAR Releases:

tagged:

Link:


Community News:
Latest PECL Releases (09.08.2020)
Sep 08, 2020 @ 08:05:01

Latest PECL Releases:

  • event 2.5.7
    Issue #61: fixed segfault that appeared after throwing exception from event handler in PHP 7.4.9+

  • ast 1.0.9
    - Support API change in php 8.0.0beta3.
  • igbinary 3.1.5
    * Update unit test expectation to match behavior in php 8 due to changes in php's handling of cyclic references in arrays. * Support API changes in php 8.0.0beta3.
  • gRPC 1.32.0RC1
    - gRPC Core 1.32.0 update
tagged:

Link:


Community News:
Latest PECL Releases (09.01.2020)
Sep 01, 2020 @ 08:05:01

Latest PECL Releases:

  • datadog_trace 0.48.1
    ### Fixed

    • Symfony HttpException with status less than 500 should not be considered an error #995, #1002 (thanks, @franek!)
    • Block Zend signals from background sender thread #1000
    • Fix out-of-sync issue if span stack is closed while a closure is running #1001
  • swoole 4.5.3
    New APIs --- + Added `SwooleProcessProcessManager` (swoole/library#88f147b) (@huanghantao) + Added ArrayObject::append, StringObject::equals (swoole/library#f28556f) (@matyhtf) + Added Coroutine::parallel (swoole/library#6aa89a9) (@matyhtf) + Added CoroutineBarrier (swoole/library#2988b2a) (@matyhtf)

    Enhancement

    • Added usePipelineRead to support streaming call-in http2 client (#3354) (@twose)
    • Do not create the file before receive body when a download (#3381) (@twose)
    • Added bind_address and bind_port setting for coroutine http client (#3390) (@huanghantao)
    • Added lowercase_header option for HttpClient (#3399) (@matyhtf)
    • Added tcp_user_timeout option for SwooleServer (#3404) (@huanghantao)
    • Added CoroutineSocket event barrier (#3409) (@matyhtf)
    • Added specify swString memory allocator (#3418) (@matyhtf)
    • Support cURL __toString (swoole/library#38) (@twose)
    • Added lowercase_header to fix cURL header name (swoole/library#e7c2a82) (@twose)
    • Set wait count directly in WaitGroup constructor (swoole/library#2fb228b8) (@matyhtf)
    • Added CURLOPT_REDIR_PROTOCOLS (swoole/library#46) (@sy-records)
    • Support trailer for HTTP 1.1 (#3485) (@huanghantao)
    • Support yield when sleeping less 1ms (#3487) (@Yurunsoft)
    • Support get soft link file in the static handler (#3569) (@LeiZhang-Hunter)
    • Close WebSocket connection immediately after the server call close method (#3570) (@matyhtf)
    • Support hook stream_set_blocking (#3585) (@Yurunsoft)
    • Support HTTP2 flow control in async HTTP2 Server (#3486) (@huanghantao) (@matyhtf)
    • Support free socket buffer after onPackage is called (#3551) (@huanghantao) (@matyhtf)

    Fixed

    • Fixed WebSocket coredump, handle protocol status error (#3359) (@twose)
    • Fixed swSignalfd_setup and fix possible nullptr error in wait_signal (#3360) (@twose)
    • Fixed SwooleServer::close throw a error when set dispatch_func (#3365) (@twose)
    • Fixed format_buffer init problem when use SwooleRedisServer::format (#3369) (@matyhtf) (@twose)
    • Fixed get mac address in MacOS (#3372) (@twose)
    • Fixed MySQL test case (#3374) (@qiqizjl)
    • Fixed PHP8 compatibility (#3384) (#3458) (#3578) (#3598) (@twose)
    • Fixed missing php_error_docref, timeout_event and return value in hook socket write and read (#3383) (@twose)
    • Fixed the server could not be stopped during the WorkerStart phase (#3382) (@huanghantao)
    • Fixed coredump because of heart thread operate conn->socket (#3396) (@huanghantao)
    • Fixed send yield logic bug (#3397) (@twose) (@matyhtf)
    • Fixed compile problem in Cygwin64 (#3400) (@twose)
    • Fixed WebSocket finish property invalid (#3410) (@matyhtf)
    • Fixed build error when losing sys/random.h (#3427) (@huanghantao)
    • Fixed missing MySQL transaction error, update the test (#3429) (@twose)
    • Fixed the result of stream_select (#3440) (@Yurunsoft)
    • Fixed lose SIGCHLD when use CoroutineSystem to create the child process (#3446) (@huanghantao)
    • Fixed sendwait not support SSL mode (#3459) (@huanghantao)
    • Fixed ArrayObject and StringObject bug (swoole/library#44) (@matyhtf)
    • Fixed mysqli error, typo (swoole/library#45) (@sy-records)
    • Fixed can not get correct SwooleClient::errCode if open_eof_check is set (#3478) (@huanghantao)
    • Fixed fix atomic->wait()/wakeup() in MacOS (#3476) (@Yurunsoft)
    • Fixed Client::connect return 0 when serve refused (#3484) (@matyhtf)
    • Fixed nullptr_t is not declared in alpine (#3488) (@limingxinleo)
    • Fixed fix HTTP Client download filename bug, double-free memory (#3489) (@Yurunsoft)
    • Fixed fix memory leak of ServerPort (#3507) (@twose)
    • Fixed fix mqtt parse protocal error (318e33a) (84d8214) (80327b3) (efe6c63) (@GXhua) (@sy-records)
    • Fixed CoroutineHttpClient->getHeaderOut coredump (#3534) (@matyhtf)
    • Fixed missing error info of SSL verify (#3535) (@twose)
    • Fixed update Swoole benchmark link in README (#3536) (@sy-records) (@santalex)
    • Fixed fix HTTP header/cookie injection when using CRLF (#3539) (#3541) (#3545) (chromium1337) (@huanghantao)
    • Fixed fix the typo variable in #3463 (#3547) (chromium1337) (@huanghantao)
    • Fixed the typo introduced in pull request #3463 (#3547) (@deminy)
    • Fixed set coroutine WebSocket server frame->fd (#3549) (@huanghantao)
    • Fixed connection leak when heart thread check the connection status (#3534) (@matyhtf)
    • Fixed don't need block signals in the process pool (#3582) (@huanghantao) (@matyhtf)
    • Fixed don't send headers by SAPI (#3571) (@twose) (@sshymko)
    • Fixed set error code and error message when curl execution fails (swoole/library#1b6c65e) (@sy-records)
    • Fixed swoole_socket_coro accept bug when call setProtocol function will cause coredump (#3591) (@matyhtf)

    Kernel

    • Use the CPP style (#3349) (#3351) (#3454) (#3479) (#3490) (@huanghantao) (@matyhtf)
    • Added Swoole known strings to improve PHP object property reading (#3363) (@huanghantao)
    • Improve code (#3350) (#3356) (#3357) (#3423) (#3426) (#3461) (#3463) (#3472) (#3557) (#3583) (@huanghantao) (@twose) (@matyhtf)
    • Optimize tests (#3416) (#3481) (#3558) (@matyhtf)
    • Simplify table int type (#3407) (@matyhtf)
    • Added sw_memset_zero and replace bzero (#3419) (@CismonX)
    • Optimize log module (#3432) (@matyhtf)
    • Refactor libswoole (#3448) (#3473) (#3475) (#3492) (#3494) (#3497) (#3498) (#3526) (@matyhtf)
    • Refactor header deps (#3457) (@matyhtf) (@huanghantao)
    • Added Channel::count() and Channel::get_bytes() (f001581) (@matyhtf)
    • Added scope guard (#3504) (@huanghantao)
    • Added libswoole coverage test (#3431) (@huanghantao)
    • Added lib-swoole/ext-swoole MacOS test (#3521) (@huanghantao)
    • Added lib-swoole/ext-swoole Alpine test (#3537) (@limingxinleo)
  • vips 1.0.12
    * vips_image_set_type() can be passed a type name
  • vips 1.0.11
    * add vips_image_set_type() * More php_info() output [jcupitt]
  • datadog_trace 0.48.0
    ## Important! The legacy API for custom instrumentation `dd_trace()` is now a no-op in this release. See the [upgrade guide](https://docs.datadoghq.com/tracing/custom_instrumentation/php/?tab=tracingfunctioncalls#legacy-api-upgrade-guide) for instructions on upgrading.

    The way PHP 5.4 and 5.6 hook into the engine has changed. Please read deep call stacks on PHP 5 for more information on potential issues.

    All calls to DDTracetrace_function or DDTracetrace_method functions need to happen before the first invocation of the target e.g. DDTracetrace_function('foo', ...) should be done before foo is called for the first time. In the future this may need to be done before the target is even defined. This was previously noted in 0.45.0, but is now enforced for all PHP versions.

    Added

    • Deferred initialization of integrations, and matching integration to a callable at compile time #891 #972
    • Test for non-zero durations #950
    • Add support for PHPRedis 3 extension on PHP 7 #948
    • Add support for PHPRedis 4 extension on PHP 7 #982
    • Add support for PHPRedis 5 extension on PHP 7 #983
    • Add non-tracing API (hook_function/hook_method) #984

    Changed

    • Improve CGI usage in test suite #952 (thank you @remicollet!)
    • Remove ddtrace.strict_mode INI setting #955
    • Sandbox PHP 5.6 using zend_execute_ex + zend_execute_internal #970
    • Package _generated.php with PECL #980
    • Move startup logs behind debug mode #986
    • Split PHP 7's opcode handlers for previous case #987
    • Sandbox PHP 5.4, cache negative lookups on PHP 5, and delete integrations using dd_trace #988
    • Cleanup PHP 7 curl handlers #989
    • Update dd_trace warning for being a no-op #990
    • Defer loading of PHPRedis #992
    • Defer loading of Predis #994

    Fixed

    • Compatibility issues with PECL #845 (thank you @remicollet!)
    • Fix package.xml validation for PECL #954
    • Removed obsolete pre-integrations loading check from dd-doctor.php #956
    • Fix off-by-one error with longest config name for integrations #985
  • gRPC 1.31.1
    - Fix crash on exec() #23567
tagged:

Link:



Trending Topics: