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

Community News:
Latest PECL Releases (02.05.2019)
Feb 05, 2019 @ 14:05:02

Latest PECL Releases:

  • swoole 4.2.13
    Fixed (incompatible changes to be noted)


    • Fixed a problem with Redis subscribe API design issues that caused duplicate subscriptions and subscription messages to be lost (see: Subscription Mode Documentation) (#2305) (@windrunner414)
    • After using coroutine, you can no longer use the traditional connection multiplexing method such as pconnect, otherwise it will generate the problem of multi-coroutine handle the same Socket at the same time (7b1e786) (@shiguangqi)

    Enhancement

    • Coroutine client re-supports full duplex (#2350) (@twosee)
    • Support for secure cross-coroutine socket close (#2327) (@twosee)
    • RFC-1015: Non-Worker Process Allows One-Way Delivery Task (222043a) (@matyhtf)
    • swoole_strerror supports automatic convert system error code and Swoole error code to text, no need to specify parameters (c92f444) (@twosee)
    • GDB trace tool supports viewing timer and reactor and hashmap information (2beb563) (@shiguangqi)
    • When MOVED and ASK errors occurred when using Redis cluster, it will be automatically transferred to the corresponding server (#2299) (@windrunner414)
    • Underlying code optimization, reducing memory copy when receiving packages (@matyhtf)
    • Now calling CoSocket->close() will immediately close the fd instead of waiting for the object to be destructed, after closed, use any other API will return a BADF error (consistent with the system API) (7a61963) (@Twosee)
    • Some illegal parameters no longer cause fatal errors but generate a warning, because external parameters are sometimes uncontrollable and there is a certain risk (cd432d3) (@twosee)
    • API compatibility enhancement after use coroutine mode (consistent with sync mode) (36687e8) (@matyhtf)
    • Now swoolesrc can be used as a CC++ library at the same time (libswoole)

    Fixed

    • Fixed a possible coredump problem when there were a large number of objects before the extension load (4ddeedb) (@twosee)
    • Fixed coredump caused by attempting to clear the uninitialized DNS cache (#2288) (@mabu233)
    • When task_enable_coroutine is enabled, incorrectly calling Server->finish will trigger a fatal error (156ede6) (@twosee)
    • The php.ini configuration now displays On and Off correctly (instead of 0 and 1) (fe25982) (@twosee)
    • Fixed the Co::getaddrinfo parameter parser bug (#2273) (@mabu233)
    • Fixed fd error when using dispatch_func in UDP mode (#2306) (@mabu233)
    • Fixed the bug that dispatch_func does not work when specifying the function name, optimization for reducing memory copy (2bc49e4) (@twosee)
    • PHP warnings will no longer be triggered when the task expires (but the underlying log warning of swoole) (54eee5e) (@matyhtf)
    • Fixed enable coroutine states after process restarts (#2310)
    • Fixed the user process id property (#2313) (@junwei-qu)
    • Fixed the bug caused by incorrectly using the asynchronous API in the onStart callback in BASE mode (#2308) (@matyhtf)
    • Fixed incorrect manager_id in BASE mode (e18e013) (@matyhtf)
    • Fixed mmap using SEEK_END offset error (#2314) (@junwei-qu)
    • Fixed getSocket memory leak (ec8c4b2) (@twosee)
    • Optimized stream mode (47e0e9e) (@matyhtf)
    • Fixed BUG caused by connection multiplexing in sync client with KEEP mode under certain conditions (4c5728b) (@matyhtf)
    • Fixed an issue with Atomic multiple wait and wakeup overflows on MacOS (fbccb25) (@twosee)
    • Fixed the problem of opening the static_handler directory traversal attack risk, this is a convenient debugging feature, please do not use for production (#2323) (@windrunner414)
    • Fixed unchecked return value of futex_wait system call (#2351) (@junwei-qu)
    • Fixed bugs in Redis::ZAdd API parsing parameters, and fix other potential type conversion problems (#2321) (21e0497) (a0e612f) (00134cf) (f5a331e) (5f87f17) (a15f094) (67f3285) (808f578) (d118fe3) (5294473) (48f6790) (0105c7f) (ba6c8b4) (@matyhtf)
    • Fixed a third-party hook failure that could result from not using function pointers when sending data (89ba2da) (@matyhtf)
    • Fixed a memory leak in the Timer::tick method when passing arguments (7e15141) (@mabu233)
    • Fixed user process does not exit automatically (2901ce0) (@matyhtf)
    • Fixed read operation timeout config (a990540) (@shiguangqi)
    • Fixed the problem that the parameter timeout time does not take effect after the CoClient open the package length check (#2346) (@twosee)
    • Server is no longer in the control of buffer_output_size in BASE mode, only limited by socket_buffer_size (#2326) (@matyhtf)
    • Fixed compilation error under FREEBSD (#2325) (@matyhtf)
    • Compatibility: When the Mysql escape method fails, it will return an empty string instead of FALSE

    Others

    • SwooleSerialize is now supported for PHP73, but it is still marked as a deprecated feature
  • xdebug 2.7.0RC1
    Fri, Feb 1, 2019 - xdebug 2.7.0RC1

    = Fixed bugs:

    • Fixed issue #1571: File/line information is not shown for closures in namespaces.
    • Fixed issue #1578: Compile error due to redefinition of "zif_handler" with old GCCs.
    • Fixed issue #1583: Xdebug crashes when OPcache's compact literals optimisation is on.
    • Fixed issue #1598: Make path/branch coverage work with OPcache loaded for PHP 7.3 and later.
    • Fixed issue #1620: Division by zero when GC Stats Collection runs with memory manager disabled.
  • protobuf 3.7.0RC2
    GA release.
  • datadog_trace 0.12.0
    ### Added - Support for global tags via the environment variable `DD_TRACE_GLOBAL_TAGS=key1:value1,key2:value2` #273

    Fixed

    • Memory leaks in $this object and return value handling in PHP 5.6 and 7.x #268
    • Alpine APK package file being badly formatted when some file paths were over 100 character long #274
    • Extension being compatible with CentOS 6 and other distributions using old Glibc #265
  • mysql_xdevapi 8.0.15
    This release contains no functional changes and is published to align version number with the MySQL Server 8.0.15 release.
  • componere 3.0.0
    - Fix #9 crash collecting coverage with phpdbg - Fix #10 prototype incorrectly set causing incorrect scope detection - Fix #11 Method::setFinal - Fix #12 Method names reflection - Fix #13 Assertion failure in zend_function_dtor - Fix #14 Unexpected trait behaviour - Fix #7 Inheritance tree broken by registering new classes - Fix #15 Classes not being restored on definition destruction - Fix #16 Constant AST not updated - Fix #18 unexpected behaviour when name and parent refer to same class - Definition::setConstant - Drop 7.0 support
  • uopz 6.0.0
    - Breaking change to uopz_set_mock: now behaves like the old test-helpers new overload - Fixed redefine/undefine namespaced constants - Fix flags being ignored when adding functions - Remove executor hook for maximum compatibility
  • pcov 1.0.0
    - initial pecl release
  • datadog_trace 0.11.0
    **WARNING: THIS IS A BREAKING CHANGE RELEASE**

    This change should not impact most of the users as starting from 0.10.0 it is not required (and not recommended) to manually set the transport. DDtraceTransportHttp no longer accepts a logger as the second argument as it uses the globally registered logger. If you are using the Http class, just remove the second argument from the constructor invocation.

    Added

    • Support for guzzle 6 #254
    • Configurable Sampler #260
    • Debug mode for logging #261
    • Support for symfony 3.3 #266 and #243
    • Build php 5.4 extension locally #267
    • Basic tracing for unsupported and custom frameworks #264

    Fixed

    • Composer PHP compatibility declaration #247
    • Release notes for PECL and fix type-os in CHANGELOG #248
    • Add missing files to PECL releases #252
    • PHP 5.4 installation and build #255
    • Trigger of autoloader un-tracing did not respect object #256
    • docker-compose based packages verification #257
    • Incorrect tar command in one-liner example from getting_started.md #258 - thanks @danielkay
    • Auto-instrumentation in Symfony 3.4 and PHP 5.6 #262
    • Type-o in command to install .deb packages #263
tagged:

Link:


Trending Topics: