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

Community News:
Latest PECL Releases (06.02.2020)
Jun 02, 2020 @ 08:05:01

Latest PECL Releases:

  • xdebug 2.9.6
    Fri, May 29, 2020 - xdebug 2.9.6

    = Fixed bugs:

    • Fixed issue #1782: Cookie "XDEBUG_SESSION" will be soon rejected because it has the “sameSite” attribute set to none
    • Fixed issue #1787: Branch coverage data does not always follow the lines/functions format
    • Fixed issue #1790: Segfault in var_dump() or while debugging with protobuf extension
  • zstd 0.8.1
    - Updated built-in zstd library to 1.4.5
  • swoole 4.5.2
    Enhancement --- + Support `Server->set(['log_rotation' => SWOOLE_LOG_ROTATION_DAILY])` to generate log file by date (#3311) (@matyhtf) + Support `swoole_async_set(['wait_signal' => true])`, reactor will not exit if there is signal listener (#3314) (@matyhtf) + Support `Server->sendfile` to send empty file (#3318) (@twose) + Improve worker idle warning (#3328) (@huanghantao) + Improve configuration parser about Host (for HTTPS proxy) (#3343) (@twose) + SSL use ecdh auto (#3316) (@matyhtf) + SSL quiet shutdown when client close (#3342) (@huanghantao)

    Fixed

    • Fixed Server->taskWait on OSX (#3330) (@matyhtf)
    • Fixed MQTT protocol bug (8dbf506b) (@guoxinhua) (2ae8eb32) (@twose)
    • Fixed Content-Length int overflow (#3346) (@twose)
    • Fixed packet length checker of PRI (#3348) (@twose)
    • Fixed CURLOPT_POSTFIELDS (swoole/library@ed192f64) (@twose)
    • Fixed the latest connection can not be released before accept new one (swoole/library@1ef79339) (@twose)

    Kernel

    • Socket zero copy feature (#3327) (@twose)
    • Use swoole_get_last_error/swoole_set_last_error to replace global vars (e25f262a) (@matyhtf) (#3315) (@huanghantao)
  • swoole 4.4.19
    Notice: v4.4.x is no longer the main maintenance branch, bug fixes only when necessary

    Fixed

    • Merged all the bugfix patches from v4.5.x
  • protobuf 3.12.2
    GA release.
tagged:

Link:


Community News:
Latest PECL Releases (05.26.2020)
May 26, 2020 @ 08:05:02

Latest PECL Releases:

tagged:

Link:


Community News:
Latest PECL Releases (05.19.2020)
May 19, 2020 @ 08:05:01

Latest PECL Releases:

  • datadog_trace 0.45.1
    ### Fixed

    • Fix uncaught exceptions with auto flushing enabled #882
    • Prevent curl and guzzle from inheriting top level app name #885
    • Change PDO service name to lowercase #886
  • phalcon 4.0.6
    Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-4.0.md

    [4.0.6]

    Added

    Changed

    • Changed Volt::convertEncoding to no longer using iconv for a fallback since it causes issues with macOS #14912
    • Changed schema manipulation in PhalconDbDialectMysql - unquote numerical defaults #14888, #14974
    • Changed the default ACL access level from boolean FALSE to Enum::DENY #14974
    • Changed the way PhalconHttpResponse::__construct checks content data type. Now a TypeError will be thrown if incompatible data type was passed #14983
    • Changed return type hints of the following PhalconFlashFlashInterface's methods: error, message, notice, success and warning #14994
    • Changed return type hint for PhalconMvcModelInterface::sum #15000
    • Changed return type for PhalconMvcModelCriteria::getLimit so that integer, NULL or array will be returned #15004
    • Changed return type hint for PhalconMvcModelManager::getCustomEventsManager to return NULL instead of boolean FALSE if there is no special events manager #15008
    • Changed PhalconMvcModelMetaData::getDI so that now it will throw a PhalconMvcModelException if there is no DiInterface instance #15011
    • Changed PhalconHttpRequest::getJsonRawBody to use json_decode instead of PhalconJson::decode #14936
    • Changed PhalconFactoryAbstractFactory to expose getService which will throw an exception if it does not exist. Removed checkService and adjusted all references in newInstance() calls. #15038
    • Changed the visibility of methods and properties in PhalconHttpMessageResponse, PhalconHttpMessageServerRequest and PhalconHttpMessageUri to work with clone. #15040

    Fixed

    • Fixed PhalconMvcModelQueryBuilder::getPhql to add single quote between string value on a simple condition #14874
    • Fixed recognizing language operators inside Volt's echo mode ({{ ... }}) #14476
    • Fixed Tag::friendlyTitle to correctly convert titles under MacOS and Windows #14866
    • Fixed the Volt compiler to no longer parse cache fragments and thus searching for the viewCache service (deprecated for v4) #14907
    • Fixed IN operator precedence in Volt #14816
    • Fixed testing suite to work with PHPUnit 9 when we upgrade #14837
    • Fixed return type hints of the following PhalconAclAbstractAdapter's methods: getActiveAccess, getActiveRole and getActiveComponent #14974
    • Fixed default value of the following PhalconAnnotationsAnnotation's properties: $arguments and $exprArguments #14977
    • Fixed return type hints of the following PhalconAnnotationsAnnotation's methods: getArgument, getName and getNamedArgument #14977
    • Fixed incorrect return type hint for PhalconHttpResponseCookies::setSignKey #14982
    • Fixed return type hints for PhalconConfigConfigFactory::load and PhalconConfigConfigFactory::newInstance to explicitly indicate the return type as PhalconConfig instance #14978
    • Fixed return type hints for the following methods #14987:
      • PhalconDispatcherAbstractDispatcher::dispatch
      • PhalconDispatcherDispatcherInterface::dispatch
      • PhalconFilter::get
      • PhalconHttpMessageAbstractCommon::cloneInstance
      • PhalconHttpMessageAbstractCommon::processWith
      • PhalconHttpMessageAbstractMessage::withAddedHeader
      • PhalconHttpMessageAbstractMessage::withBody
      • PhalconHttpMessageAbstractMessage::withHeader
      • PhalconHttpMessageAbstractMessage::withProtocolVersion
      • PhalconHttpMessageAbstractMessage::withoutHeader
      • PhalconHttpMessageAbstractRequest::withMethod
      • PhalconHttpMessageAbstractRequest::withRequestTarget
      • PhalconHttpMessageAbstractRequest::withUri
      • PhalconMvcModelBinder::findBoundModel
      • PhalconValidation::getEntity
      • PhalconValidationValidationInterface::getEntity
    • Fixed default value of PhalconCrypt::$key to satisfy the interface #14989
    • Fixed return type hint for PhalconDi::getInternalEventsManager #14992
    • Fixed return type hints of the following PhalconFlashAbstractFlash's methods: error, notice, success and warning #14994
    • Fixed return type hint for PhalconTranslateInterpolatorFactory::newInstance #14996
    • Fixed return type hint for PhalconMvcModel::sum #15000
    • Fixed return type hint for PhalconMvcModelCriteriaInterface::getLimit and PhalconMvcModelCriteria::getLimit to follow documentation and original purpose #15004
    • Fixed return type hint for PhalconMvcModel::count and PhalconMvcModelInterface::count to reflect original behavior #15006
    • Fixed return type hint for PhalconMvcModel::getEventsManager to reflect original behavior #15008
    • Fixed return type hint for PhalconMvcModel::average and PhalconMvcModelInterface::average to reflect original behavior #15013
    • Fixed return type hint for PhalconMvcModelMetaData::getColumnMap and PhalconMvcModelMetaData::getReverseColumnMap to reflect original behavior #15015
    • Fixed return type hint for PhalconMvcModelMetaDataInterface::getColumnMap and PhalconMvcModelMetaDataInterface::getReverseColumnMap to reflect original behavior #15015
    • Fixed return type hint for PhalconMvcModelCriteriaInterface::getColumns and PhalconMvcModelCriteria::getColumns to reflect original behavior #15017
    • Fixed return type hint for PhalconDbColumn::getSize and PhalconDbColumnInterface::getSize to reflect original behavior #15019
    • Fixed return type hint for PhalconDbColumn::getAfterPosition and PhalconDbColumnInterface::getAfterPosition to reflect original behavior #15021
    • Fixed return type hint for PhalconMvcModelManager::executeQuery and PhalconMvcModelManager::ManagerInterface to reflect original behavior #15024
    • Fixed return type hint for PhalconMvcModelResultset::getFirst and PhalconMvcModelResultsetInterface::getFirst to reflect original behavior #15027
    • Rollback the regression changes for PhalconMvcModelQuery::_prepareSelect to properly prepare a SQL SELECT statement from a PHQL one #14657
    • Fixed SerializerInterface usage for PhalconMvcModelResultsetComplex::unserialize as well as PhalconMvcModelResultsetComplex::unserialize #14942

    Removed

    • Removed PhalconTranslateInterpolatorFactory::$mapper as well as PhalconTranslateInterpolatorFactory::$services in favor of PhalconFactoryAbstractFactory ones #15036
  • protobuf 3.12.0
    GA release.
  • yaf 3.2.3
    - Fixed issue #482 (segfault if plugin doesn't defines all hooks) - Fixed issue #481 (application.system.yaf.directory has no effect)
  • yac 2.2.1
    - Refactor key manipulation, avoding memory allocation - Refactor Yac::__set/__get by using native objects_handler
  • skywalking 3.3.0
    Added memcache collection and skywalking 8.0 support
  • protobuf 3.12.0RC2
    GA release.
  • datadog_trace 0.45.0
    ## Important behavior changes in this release If you are using `dd_trace`, `dd_trace_function`, or `dd_trace_method` then you need to call these functions before the first invocation of the target e.g. `dd_trace('foo', ...)` should be done before `foo` is called for the first time.

    Changed

    • Compile to one single file #840, #874
    • Simplify configuration #833, #870
    • Refactor module blacklist #852
    • Cache that a function is not traced #854, #863
    • Simplify spl_autoload_register instrumentation #867
    • Use normalized URL as the resource name for curl #869 (thanks, @akdh!)
    • Sandbox header and http_response_code #875

    Fixed

    • Fix variadic args with empty function signature #872
    • Bump phpstan to 0.12 and fix issues #841
tagged:

Link:


Community News:
Latest PECL Releases (05.12.2020)
May 12, 2020 @ 08:05:02

Latest PECL Releases:

  • event 2.5.5
    Issue #60: fixed a segfault which appeared when Event::add was called on malformed or freed Event object

  • yaf 3.2.2
    - Added Yaf_Dispatcher::setResponse - Removed FINAL flags of Yaf_Request_*, Yaf_Response_* - Fixed bug that ErrorController doesn't respect returnResponse
  • swoole 4.5.1
    Enhancement --- + Support socket context bindto in hook (#3275) (#3278) (@codinghuang) + Support dns resolve in client::sendto (#3292) (@codinghuang) + Process->exit(0) will call os.exit directly (a732fe56) (@matyhtf) + Support `log_date_format` to change format of log date, `log_date_with_microseconds` to show micro-time in log (baf895bc) (@matyhtf) + Support CURLOPT_CAINFO and CURLOPT_CAPATH (swoole/library#32) (@sy-records) + Support CURLOPT_FORBID_REUSE (swoole/library#33) (@sy-records)

    Fixed

    • Fixed 32-bit build (#3276) (#3277) (@remicollet) (@twose)
    • Fixed missing error info (#3280) (@codinghuang)
    • Fixed potential bugs in Table (d7b87b65) (@matyhtf)
    • Fixed null ptr error in Server (defensive programming) (#3304) (#3305) (@twose)
    • Fixed heartbeat timeout null ptr error (#3307) (@twose)
    • Fixed mysqli options error (swoole/library#35)
    • Fixed response header parsing when there is no space after the colon in the response header (swoole/library#27) (@Yurunsoft)

    Deprecated

    • Mark CoroutineSystem::(fread/fgets/fwrite) as deprecated, please use runtime hook instead (it should have been included in v4.5.0) (c7c9bb40) (@twose)

    Kernel

    • Use zend_object_alloc (cf1afb25) (@twose)
    • Add more options for log (#3296) (@matyhtf)
    • Improve code and add more tests (swoole/library) (@deminy)
  • ice 1.6.1
    - Update zephir, Model dafault rules fix #270 - Build with recent GCC fix #266 - Image, gd watermark fix #268
  • redis 5.2.2
    phpredis 5.2.2

    This is a bugfix release that contains a fix for authentication when using persistent connections, and an option to make the ECHO challenge response logic optional.

    • Inexpensive liveness check, and making ECHO optional [56898f81] (Pavlo Yatsukhnenko)

    • Move AUTH to redis_sock_server_open [80f2529b](Pavlo Yatsukhnenko)

    • Sponsors ~ Audiomack.com - https://audiomack.com ~ Till Kruss - https://github.com/tillkruss

tagged:

Link:


Community News:
Latest PECL Releases (05.05.2020)
May 05, 2020 @ 08:05:02

Latest PECL Releases:

  • protobuf 3.12.0RC1
    GA release.

  • datadog_trace 0.44.1
    ### Fixed
    • Revert "Merge pull request #815 from DataDog/levi/ddtrace_moment" #859 This fixes issue #855.
  • datadog_trace 0.44.0
    ### Fixed
    • Fix ddtrace_config_* functions to use sapi_getenv #848
    • Fix curl integrations #851

    Changed

    • Whitelist the cgi-fcgi SAPI #835
    • Add ddtrace_hash_find_ptr_lc which stack-allocates small strings #839
tagged:

Link:



Trending Topics: