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

Community News:
Latest PECL Releases (01.31.2023)
Jan 31, 2023 @ 08:05:11

Latest PECL Releases:

  • protobuf 3.22.0RC1
    * See github.com/protocolbuffers/protobuf/releases/tag/v22.0-rc-1 for release notes.

  • sqlsrv 5.11.0beta1
    [Added] - Support for PHP 8.2 [Fixed] - Pull request [#1408](https://github.com/microsoft/msphpsql/pull/1408) - Fixed right truncation issue, unit test added by talkinnl [Limitations] - No support for inout / output params when using sql_variant type - No support for inout / output params when formatting decimal values - In Linux and macOS, setlocale() only takes effect if it is invoked before the first connection. Attempting to set the locale after connecting will not work - Always Encrypted requires [MS ODBC Driver 17+](https://docs.microsoft.com/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server) - Only Windows Certificate Store and Azure Key Vault are supported. Custom Keystores are not yet supported - Issue [#716](https://github.com/Microsoft/msphpsql/issues/716) - With Always Encrypted enabled, named parameters in subqueries are not supported - Issue [#1050](https://github.com/microsoft/msphpsql/issues/1050) - With Always Encrypted enabled, insertion requires the column list for any tables with identity columns - [Always Encrypted limitations](https://docs.microsoft.com/sql/connect/php/using-always-encrypted-php-drivers#limitations-of-the-php-drivers-when-using-always-encrypted) [Known Issues] - This preview release requires ODBC Driver 17.4.2 or above. Otherwise, a warning about failing to set an attribute may be suppressed when using an older ODBC driver. - Connection pooling on Linux or macOS is not recommended with [unixODBC](http://www.unixodbc.org/) < 2.3.7 - When pooling is enabled in Linux or macOS - unixODBC <= 2.3.4 (Linux and macOS) might not return proper diagnostic information, such as error messages, warnings and informative messages - due to this unixODBC bug, fetch large data (such as xml, binary) as streams as a workaround. See the examples [here](https://github.com/Microsoft/msphpsql/wiki/Features#pooling)
  • pdo_sqlsrv 5.11.0beta1
    [Added] - Support for PHP 8.2 [Fixed] - Pull request [#1408](https://github.com/microsoft/msphpsql/pull/1408) - Fixed right truncation issue, unit test added by talkinnl [Limitations] - No support for inout / output params when using sql_variant type - No support for inout / output params when formatting decimal values - In Linux and macOS, setlocale() only takes effect if it is invoked before the first connection. Attempting to set the locale after connecting will not work - Always Encrypted requires [MS ODBC Driver 17+](https://docs.microsoft.com/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server) - Only Windows Certificate Store and Azure Key Vault are supported. Custom Keystores are not yet supported - Issue [#716](https://github.com/Microsoft/msphpsql/issues/716) - With Always Encrypted enabled, named parameters in subqueries are not supported - Issue [#1050](https://github.com/microsoft/msphpsql/issues/1050) - With Always Encrypted enabled, insertion requires the column list for any tables with identity columns - [Always Encrypted limitations](https://docs.microsoft.com/sql/connect/php/using-always-encrypted-php-drivers#limitations-of-the-php-drivers-when-using-always-encrypted) [Known Issues] - This preview release requires ODBC Driver 17.4.2 or above. Otherwise, a warning about failing to set an attribute may be suppressed when using an older ODBC driver. - Connection pooling on Linux or macOS is not recommended with [unixODBC](http://www.unixodbc.org/) < 2.3.7 - When pooling is enabled in Linux or macOS - unixODBC <= 2.3.4 (Linux and macOS) might not return proper diagnostic information, such as error messages, warnings and informative messages - due to this unixODBC bug, fetch large data (such as xml, binary) as streams as a workaround. See the examples [here](https://github.com/Microsoft/msphpsql/wiki/Features#pooling)
tagged:

Link:

Community News:
Latest PECL Releases (01.24.2023)
Jan 24, 2023 @ 08:05:13

Latest PECL Releases:

  • gRPC 1.52.0RC1
    - gRPC Core 1.52.0 update

  • zstd 0.12.1
    - Fixed build error in windows
  • couchbase 4.1.0
    * PCBC-824: implement replica reads * PCBC-630: implement legacy durability for mutations * PCBC-880 support for configuration profiles * PCBC-889 'Skip' SearchOption has no effect * Bug fixes, logger and build improvements
  • datadog_trace 0.83.1
    ### Fixed - Use the HttpWorker instead of the Psr7Worker for Roadrunner for more generic usage #1864 - Fix trace_id reset in DDTraceset_distributed_tracing_context() #1863 - Work around broken enum functions run_time_cache on PHP 8.2.0 and 8.2.1 #1862
tagged:

Link:

Community News:
Latest PECL Releases (01.17.2023)
Jan 17, 2023 @ 08:05:22

Latest PECL Releases:

  • datadog_trace 0.83.0
    ### Added

    • Add span.kind tagging #1801, #1843

    Changed

    • Change error.msg to error.message #1821
    • Change process_id to metrics tag #1826
    • Remove libexecinfo on Alpine #1838
    • Always interpolate error message placeholders to avoid confusion #1849

    Fixed

    • Fix installer name in help output in datadog-setup.php #1829
    • Fix #1828: crash when copying an immutable array #1832
    • Fix CodeIgniter integration to not depend on CI_Controller class #1835
    • (PHP 7) Fix memory leak with custom CURLOPT_READFUNCTION #1841
    • Support custom ini names in installer #1846, #1851
    • Clear the active closed stack head when resetting the tracer #1853

    Internal changes

    • Speed up "Attaching workspace" step in CI #1823
    • Improve test suite flakiness & randomized asan #1817

    Profiling (0.12.0)

    Added

    • Add configuration to save profiles to disk #1837

    Changed

    • Bump libdatadog to 1.0 #1825
    • Bump profiling version for release #1848

    Internal changes

    • Fix compile time warnings when compiling without features #1819
    • Avoid putting .package-cache into the cache, commit Cargo.lock #1852
  • phalcon 5.1.4
    Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md

    Fixed

    • Fixed PhalconAclAdapterMemory::isAllowed to not use the deprecated ReflectionType::getClass #16255
tagged:

Link:

Community News:
Latest PECL Releases (01.03.2023)
Jan 03, 2023 @ 08:05:12

Latest PECL Releases:

tagged:

Link:

Community News:
Latest PECL Releases (12.27.2022)
Dec 27, 2022 @ 08:05:13

Latest PECL Releases:

  • phalcon 5.1.3
    Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md

    Fixed

    • Fixed PhalconMvcMicro::handle to type check an object for the finish #16240
    • Fixed PhalconDIService::resolve to not call the get() from the container and cause an infinite loop #15032
  • openswoole 22.0.0
    . Rename `corun` to be `co::run` . Security update: Remove embedded PHP codes, hot code execution with eval and remove `ini` option `enable_library` . Added server Constants class: OpenSwooleConstant . Use OpenSwoole as the main namespace, although Swoole is still supported . Pre-check server options . Security update: New server option `enable_server_token`, disabled by default . Built-in Psr7 API support added . Boost ASM library upgrade . New Psr API: $server->setHandler(PsrHttpServerRequestHandlerInterface $handler) . New Psr API: $server->handle(callable $callback) . Redis Server API: $server->setHandler() -> $server->addCommand() . Redis Server API: $server->getHandler() -> $server->getCommand() . Disable sockets_*, exec, shell_exec, `gethostbyname` coroutines hook by default, remove HOOK_BLOCKING_FUNCTION and HOOK_SOCKETS in HOOK_ALL; Enable them explicitly if they are used . Remove deprecated custom coroutine MySQL client, prefer the hooked native coroutine MySQL client . Remove deprecated custom coroutine Redis client, prefer the hooked native coroutine Redis client . Remove deprecated experimental coroutine HTTP server . Remove deprecated experimental Redis protocol server . Remove deprecated function `swoole_timer_set()` and `Timer->set()` . Remove deprecated function `swoole_event_rshutdown` . Remove deprecated function `SwooleRuntime::fread`, `SwooleRuntime::fwrite`, `SwooleRuntime::fgets` . Remove deprecated function `Coroutine::suspend`, use `Coroutine::yield` . Remove deprecated function `Coroutine::getuid`, use `Coroutine::getCid` . Remove deprecated function `Coroutine::listCoroutines`, use `Coroutine::list` . Remove deprecated function `Table::exist`, use `Table::exists` . Remove deprecated function `Table::delete`, use `Table::del` . Remove deprecated function `Server->connection_info()`, use `Server->getClientInfo()` . Remove deprecated function `Server->connection_list()`, use `Server->getClientList()` . Remove deprecated function `Server->exist`, use `Server->exists` . Move global constants under namespace: SWOOLE_CHANNEL_OK -> `OpenSwooleCoroutineChannel::CHANNEL_OK`, SWOOLE_CHANNEL_TIMEOUT -> `OpenSwooleCoroutineChannel::CHANNEL_TIMEOUT`, SWOOLE_CHANNEL_CLOSED -> `OpenSwooleCoroutineChannel::CHANNEL_CLOSED`... . Move global constants under namespace: SWOOLE_DEFAULT_MAX_CORO_NUM -> `OpenSwooleCoroutine::DEFAULT_MAX_CORO_NUM`... . Remove `$server->getLastError()`, use `OpenSwooleUtil::getLastErrorCode()` . Remove `$process->name()`, use `OpenSwooleUtil::setProcessName()` . New Util API class: added `OpenSwooleUtil` class . Remove option `swoole.use_shortname`, remove `Co*` alias. `go`, `chan`, `defer`, `co::*` are available by default . Remove `swoole_async_dns_lookup_coro`, use `OpenSwooleCoroutine::dnsLookup` or `OpenSwooleCoroutineSystem::dnsLookup`; remove `swoole_async_set`, use `OpenSwooleUntil::setAio([])` or `$server->set([])` for `aio` options; . Rename PHP `ini` options from `swoole.*` to be `openswoole.*` . Remove `swoole_clear_dns_cache`, use OpenSwooleCoroutine::clearDNSCache` or `OpenSwooleCoroutineSystem::clearDNSCache` . Remove custom unserialize functions: `swoole_substr_unserialize` and `swoole_substr_unserialize` . Remove `swoole_client_select` and `swoole_select`, use `OpenSwooleClient::select` . Remove `swoole_last_error`, use `OpenSwooleUtil::getLastErrorCode` . `OpenSwooleEvent::wait();` should be added explicitly to wait for all the IO events . Use `OpenSwooleServer::SIMPLE_MODE` and `OpenSwooleServer::POOL_MODE` at server structure config . Fix: ignore user set illegal HTTP header at server . Fix: ignore user set encoding header at client if it is not supported . Remove hard requirements and links of json and remove compile flag `--enable-swoole-json` . Rename compile flag `--enable-swoole-curl` to be `--enable-hook-curl` . Fix convert double sec to long microseconds in hooked usleep by @shandyDev
  • openswoole 4.12.1
    . Bug fixed: PDO pool client for Postgres . Compatible with PHP 8.2.0 (PHP-8.2.0)
tagged:

Link:

Community News:
Latest PECL Releases (12.20.2022)
Dec 20, 2022 @ 08:05:11

Latest PECL Releases:

  • protobuf 3.21.12
    * See github.com/protocolbuffers/protobuf/releases for release notes.

  • scoutapm 1.9.1
    - Fix missing PHP 8.2 assets for Windows (#130)
  • xhprof 2.3.9
    - Nullify references once not used to prevent double-frees #73 - Fixed clocks to microseconds conversion on Mac #75
tagged:

Link:

Community News:
Latest PECL Releases (12.13.2022)
Dec 13, 2022 @ 08:05:13

Latest PECL Releases:

  • scoutapm 1.9.0
    - Add PHP 8.2 support (#125)

  • xdebug 3.2.0
    Thu, Dec 08, 2022 - Xdebug 3.2.0
    • New features:

      • Fixed issue #1819: Allow a list of headers in 'xdebug.client_discovery_header'
      • Fixed issue #2079: Add pseudo hosts xdebug://gateway and xdebug://nameserver
      • Fixed issue #2086: Include return value in return breakpoint interruption response
      • Fixed issue #2087: Introduce step for the return state and virtual property for return value
    • Improvements:

      • Fixed issue #2062: Xdebug now records whether systemd's PrivateTmp is used in its diagnostics information
      • Fixed issue #2104: Add support for PHP 8.2 "SensitiveParameter" attribute
      • Fixed issue #2117: Removed emulated properties for closures, as PHP 8.2 adds debug information for them
      • Fixed issue #2122: Local variables are now available when using start_upon_error
      • Fixed issue #2123: Add warning in log and diagnositics information when a breakpoint is set on a non-existing file
      • Fixed issue #2138: Step debugger now disconnects and continues running the script, when the debugging client closes the connection
      • Fixed issue #2136: Duplicate line/conditional breakpoints are now rejected
    • Deprecations:

      • Fixed issue #2014: Drop support for PHP 7.2
      • Fixed issue #2102: Drop support for PHP 7.3
      • Fixed issue #2103: Drop support for PHP 7.4

    = Fixed bugs:

    • Fixed issue #2002: xdebug_trace_handler_t handler members are not always checked for NULL when executing
    • Fixed issue #2045: Inapproriate frowny face
    • Fixed issue #2089: Alpine Linux does not support res_ninit
    • Fixed issue #2093: Fatal error: linux/rtnetlink.h: No such file or directory linux/rtnetlink.h
    • Fixed issue #2098: With breakpoint_include_return_value enabled step_out break at every function
    • Fixed issue #2105: 3.2.0alpha1 package misses the php-header.h file
    • Fixed issue #2108: Segfault on PHP8.1 with PHPUnit 10 when path coverage is enabled
    • Fixed issue #2113: Crash at step_into after thrown exception with return value debugging en
    • Fixed issue #2121: Xdebug does not use local independent float-to-string functions
    • Fixed issue #2124: Xdebug incorrectly reports that there are no children for static closure properties, even though there are
    • Fixed issue #2125: Crash with PHP 8.2 on 32-bit due to change in "not set" value with CATCH opcode
    • Fixed issue #2126: Problems with retrieving global variables
    • Fixed issue #2127: Tracing does not handle NUL char in anonymous closure scope
    • Fixed issue #2133: Warning with regards to extra NUL character in xdebug_setcookie call
    • Fixed issue #2134: Xdebug stops at the line where the exception is created, not where it is thrown
    • Fixed issue #2135: Xdebug stops twice at the same line after a call breakpoint or xdebug_break()
  • protobuf 3.21.11
    * See github.com/protocolbuffers/protobuf/releases for release notes.
  • datadog_trace 0.82.0
    ### Added - PHP-8.2 support #1800 - Add Elasticsearch 8 support #1808 - Add a Roadrunner integration #1813

    Changed

    • Change system.pid to process_id #1796

    Fixed

    • Extract priority sampling whenever is string or int #1789
    • Fix crash during preloading on 8.1+ #1799
    • Fix $integration->setError() to also accept Error instances #1802
    • Fix ZEND_CATCH chaining logic #1803, #1814
    • Fix misbehaviour with 256+ hooks on a same function #1809
    • FIX PSR-4 autoloading in ComposerBootstrap class #1816 (Thanks @ls-youssef-jlidat)
    • Fix dropped spans causing an infinite loop #1818

    Internal changes

    • Avoid deprecated zend_atol on PHP 8.2 #1778
    • Retry docker images not starting in CI #1807

    Profiling (0.11.0)

    Profiling now defaults to being enabled. This removes one step in onboarding as the environment variable DD_PROFILING_ENABLED no longer needs to be set to 1, which can be difficult in some situations. The recommended way to configure profiling is to use .ini settings, which is generally easier.

    Added

    • Add .ini support #1775.
    • Groundwork for allocation profiling #1794

    Changed

    • Bump libdatadog to 0.9 #1782.
    • Bump env_logger to 0.9.3 #1804.

    Internal Changes

    • Add troubleshooting to README #1761
tagged:

Link:

Community News:
Latest PECL Releases (12.06.2022)
Dec 06, 2022 @ 08:05:13

Latest PECL Releases:

  • immutable_cache 6.1.0
    - Extend minimum supported php version from php 8.0 to 7.2

    • Work around bug adding '-lpthread' as a shared library dependency in php before 7.4.14. Related to https://bugs.php.net/bug.php?id=80402
    • Switch default for immutable_cache.serializer to "default" (store the php arrays and strings and scalars in shared memory rather than serialization when added value is an array)
  • phalcon 5.1.2
    Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md

    Fixed

    • Fixed PhalconSupportDebug to correctly calculate the documents URL for the hyperlinks #16223
    • Fixed PhalconHtmlTagFactory docblock for autocompletion (https://github.com/phalcon/cphalcon/commit/0129658f3ac468dcc5294d401403e166302a8069)
    • Fixed PhalconDbProfiler by correctly calculating the seconds (reapplied changes) #15822
    • Added PhalconHtmlTagFactory to the PhalconDiFactoryDefaultCli #16233
  • protobuf 3.21.10
    * See github.com/protocolbuffers/protobuf/releases for release notes.
  • gRPC 1.51.1
    - gRPC Core 1.51.1 update
  • timezonedb 2022.7
    Updated to version 2022.7 (2022g)
tagged:

Link:

Community News:
Latest PEAR Releases (12.05.2022)
Dec 05, 2022 @ 08:05:12

Latest PEAR Releases:

tagged:

Link:

Community News:
Latest PECL Releases (11.29.2022)
Nov 29, 2022 @ 08:05:10

Latest PECL Releases:

  • skywalking_agent 0.2.0
    ## What's Changed

    • Update PECL user by @heyanlong in https://github.com/apache/skywalking-php/pull/12
    • Start up 0.2.0 by @heyanlong in https://github.com/apache/skywalking-php/pull/13
    • Update compiling project document. by @jmjoy in https://github.com/apache/skywalking-php/pull/14
    • Add PDO plugin, and switch unix datagram to stream. by @jmjoy in https://github.com/apache/skywalking-php/pull/15
    • Update readme about creating issue. by @jmjoy in https://github.com/apache/skywalking-php/pull/17
    • Fix package.xml role error by @heyanlong in https://github.com/apache/skywalking-php/pull/16
    • Add swoole support. by @jmjoy in https://github.com/apache/skywalking-php/pull/19
    • Add .fleet to .gitignore by @heyanlong in https://github.com/apache/skywalking-php/pull/20
    • [Feature] Add Mysql Improved Extension by @heyanlong in https://github.com/apache/skywalking-php/pull/18
    • Add predis plugin. by @jmjoy in https://github.com/apache/skywalking-php/pull/21
    • Take care of PDO false and DSN tailing semicolons. by @phanalpha in https://github.com/apache/skywalking-php/pull/22
    • Add container by @heyanlong in https://github.com/apache/skywalking-php/pull/23
    • Save PDO exceptions. by @phanalpha in https://github.com/apache/skywalking-php/pull/24
    • Update minimal supported PHP version to 7.2. by @jmjoy in https://github.com/apache/skywalking-php/pull/25
    • Utilize UnixListener for the worker process to accept reports. by @phanalpha in https://github.com/apache/skywalking-php/pull/26
    • Kill the worker on module shutdown. by @phanalpha in https://github.com/apache/skywalking-php/pull/28
    • Add plugin for memcached. by @jmjoy in https://github.com/apache/skywalking-php/pull/27
    • Upgrade rust mini version to 1.65. by @jmjoy in https://github.com/apache/skywalking-php/pull/30
    • Add plugin for phpredis. by @jmjoy in https://github.com/apache/skywalking-php/pull/29
    • Add missing request_id. by @jmjoy in https://github.com/apache/skywalking-php/pull/31
    • Adapt virtual cache. by @jmjoy in https://github.com/apache/skywalking-php/pull/32
    • Fix permission denied of unix socket. by @jmjoy in https://github.com/apache/skywalking-php/pull/33
    • Bump to 0.2.0. by @jmjoy in https://github.com/apache/skywalking-php/pull/34

    New Contributors

    • @phanalpha made their first contribution in https://github.com/apache/skywalking-php/pull/22

    Full Changelog: https://github.com/apache/skywalking-php/compare/v0.1.0...v0.2.0

  • handlebars 1.0.0
    - PHP 8.1 and 8.2 compat - Target handlebars.js v4.7.7 - Target handlebars.c v1.0.0 - Objects can now be iterated with `#each` - `known_helpers` is now passed properly to the compiler in `render`
  • mustache 0.9.3
    - PHP 8.2 compat (@remicollet)
  • mongodb 1.15.0
    ** Bug * [PHPC-2132] - get_module_info() test function may fail to match some phpinfo() values * [PHPC-2148] - Error if RewrapManyDataKey is called with masterKey and without provider * [PHPC-2149] - ClientEncryption::createDataKey() may leak when processing masterKey option * [PHPC-2159] - Consider enums and traits in BSON decoding instantiatable checks

    ** Epic * [PHPC-2093] - Key Management API

    ** New Feature * [PHPC-2083] - BSON handling for enum classes

    ** Task * [PHPC-1710] - Document upcoming signature changes in interfaces * [PHPC-1929] - ReadConcern tests need not exhaustively test each constant * [PHPC-1945] - Remove class_exists checks from SKIPIF blocks in Decimal128 tests * [PHPC-2064] - SKIPIF output may be ignored for tests using skip_if_not_clean on PHP 8.1 * [PHPC-2111] - Replace zend_parse_parameter_calls with PHONGO_PARSE_PARAMETERS macros * [PHPC-2115] - Remove manual fetching of DateTimeImmutable class entry * [PHPC-2117] - Test with PHP 8.2 on GitHub Actions * [PHPC-2118] - Use debian11 and include MongoDB 6.0 for load balancer testing * [PHPC-2124] - Ensure that null is still accepted for optional parameters * [PHPC-2128] - Create stub files for functions * [PHPC-2130] - Remove proto definitions from source files * [PHPC-2136] - Final modifier should precede method visibility in stub files * [PHPC-2143] - Add Windows builds to GitHub Actions and publish DLLs for releases * [PHPC-2146] - Refactor type map struct * [PHPC-2147] - Update AppVeyor config to clone PHP fork of the Windows SDK * [PHPC-2153] - Test with PHP 8.2 on Evergreen * [PHPC-2154] - Test with PHP 8.2 on Appveyor * [PHPC-2166] - Use void keyword in prototypes for functions that take no parameters

    ** Improvement * [PHPC-1708] - Add return type information to final classes * [PHPC-1711] - Add return type information to interfaces * [PHPC-1928] - Remove unnecessary casts to zend_long * [PHPC-1944] - Add final modifier to __set_state methods * [PHPC-2015] - Use stub files to generate arginfo * [PHPC-2101] - Default Binary constructor $type parameter to TYPE_GENERIC * [PHPC-2103] - Allow applications to detect crypt_shared availability * [PHPC-2120] - Upgrade libmongocrypt dependency to 1.5.2 * [PHPC-2125] - Reduce expected removeKeyAltName operations to a single findOneAndUpdate * [PHPC-2126] - Allow RewrapManyDataKeyResult.bulkWriteResult to be optional * [PHPC-2142] - WriteResult getters should return null and emit deprecation notice for w:0 writes and return zero otherwise if libmongoc result is omitted * [PHPC-2151] - Validate masterKey option for createDataKey() and rewrapManyDataKey() * [PHPC-2168] - Use consistent int types for APM fields and snprintf for string conversions

tagged:

Link:


Trending Topics: