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

Community News:
Latest PECL Releases (01.19.2021)
Jan 19, 2021 @ 08:05:01

Latest PECL Releases:

  • SeasLog 2.2.0
    - Support PHP8

    • Support s390x and mips64 platform
    • Fixed ulong conflicting
    • Fixed test case dependence on INI setting (seaslog.default_template)
    • Fixed memory leak on get_code_filename_line
  • mysql_xdevapi 8.0.23
    WL#14014: XProtocol: Support connection close notification WL#14228: Replace language in APIs and source code/docs orabug #30134451: mysqlndx replace raw zval with improved zvalue where possible orabug #31589457: change default engine from MyISAM to InnoDB
  • varnish 1.2.6
    - Fix missing header
  • xmldiff 1.1.3
    - fix inappropriate xmlCleanupParser usage - Fix PHP 8.0 compatibility (Remi Collet) - Apply latest compat patches to bundled diffmark
  • varnish 1.2.5
    - Fix PHP 8.0 compatibility (Remi Collet)
  • trader 0.5.1
    - Fixed PHP 8.0 support
  • parle 0.8.2
    - Fixed PHP 8 compatibility (Remi Collet) - Fixed PHP 7.4+ compatibility (Remi Collet)
  • gearman 2.1.0
    PHP 8.0.x is now supported
  • xmlrpc 1.0.0RC2
    This is the snapshot of ext/xmlrpc just before it was unbundled from php-src. Only minimal modifications have been made thereafter.
  • rdkafka 5.0.0
    ## Enhancements - PHP 8 support (@nick-zh, @arnaud-lb) - Suport passing an opaque value in produce(), producev() (@arnaud-lb)

    Breaking changes

    • Dropped PHP 5 support
  • pecl_http 3.2.4
    * Fixed configure on systems which do not provide icu-config * Fixed gh-issue #89: Cookie handling cannot be disabled since v3.2.1
  • pecl_http 4.0.0
    > *NOTE:* v4.x is PHP-8 only.
    • PHP 8 compatibility
      • Drop ext-propro support PHP 8 removes the object get/set API from the ZendEngine, which renders that extension dysfunctional. As a consequence, the header property of httpMessage and derived classes cannot be modified in place, and thus by reference.

    Changes from beta1:

    • Fixed configure on systems which do not provide icu-config
    • Fixed gh-issue #89: Cookie handling cannot be disabled since v3.2.1
tagged:

Link:

Community News:
Latest PEAR Releases (01.18.2021)
Jan 18, 2021 @ 08:05:02

Latest PEAR Releases:

tagged:

Link:

Community News:
Latest PECL Releases (01.12.2021)
Jan 12, 2021 @ 08:05:02

Latest PECL Releases:

  • igbinary 3.2.2RC1
    * Update php version check to allow igbinary to be statically built in PHP 8.0+

    • Fix bug in out of memory error handling in __sleep, slightly speed up serializing with __sleep.
    • Continue serializing remaining properties if a missing property name is returned from __sleep.
    • Speed up serializing by optimizing for the case where there is no memory manager override. When there is a memory manager override, only use that for allocating the string to return. (benchmarks/serialize-scalar-int.b.php showed a speedup from 0.22 to 0.18 seconds for repeated serialization of a single scalar, and from 0.186 to 0.180 seconds for benchmarks/serialize-stringarray.b.php for an array of strings)
    • Speed up unserializing arrays in php 7.2-8.0 by adding optimized code for finding the hash bucket of a string/integer key of an array, or creating a placeholder if it does not already exist.
  • vld 0.17.1
    - Added support for PHP 8.0.
  • swoole 4.6.1
    Enhancement --- + Added --enable-thread-context option (#3970) (@matyhtf) + Strict session_id, check the connection activity (#3993) (@matyhtf) * Optimized CURLOPT_PROXY, support user, pass and scheme (swoole/library#87) (sy-records)

    Fixed

    • Fixed minimal PHP version (#3979) (@remicollet)
    • Fixed pecl install missing enable-swoole-json and enable-swoole-curl options (#3980) (@sy-records)
    • Fixed openssl thread safety issue (swoole/swoole-src@b516d69) (@matyhtf)
    • Fixed enableSSL coredump (#3990) (@huanghantao)

    Kernel

    • Optimized ipc writev, avoid coredump how event data is null (#3994) (@matyhtf)
  • swoole 4.5.11
    Enhancement --- * Optimize table (#3959) (@matyhtf) * Enhancement CURLOPT_PROXY (swoole/library#87) (@sy-records)

    Fixed

    • Clear all columns when incr and decr (#3956) (@matyhtf)
    • Fixed compile error (49fea171) (@matyhtf)
    • Fixed fread bugs (#3972) (@matyhtf)
    • Fixed openssl thread safety issue (7ee2c1a0) (@matyhtf)
    • Fixed Invalid argument supplied for foreach (swoole/library#80) (@sy-records)
    • Fixed trigger_error param error (swoole/library#86) (@sy-records)
  • PKCS11 0.1.1
    - Added a lot of new test cases - Refactored some Object related functions
  • maxminddb 1.9.0
    * The `maxminddb` extension is now buildable on Windows. Pull request by Jan Ehrhardt. GitHub #115.
  • gRPC 1.35.0RC1
    - gRPC Core 1.35.0 update - Removed zend_hash_destroy() from postfork handler #24891
  • yac 2.3.0
    - PHP8 Supported
  • yaf 3.3.0
    - PHP8 Supported - Fixed issue #508 (Route::addConfig take action as module wrongly) - Fixed issue #509 (getViewpath return NULL) - Fixed issue #513 (supports of custom camel MVC name) - Fixed issue #518 (setRediect not working)
  • swoole 4.6.0
    Backward compatibility Break --- * Removed the maximum limit of session id, never repeat (#3879) (@matyhtf) * Disabled unsafe function when use Coroutine, including pcntl_fork/pcntl_wait/pcntl_waitpid/pcntl_sigtimedwait (#3880) (@matyhtf) * Enabled coroutine hook by default (#3903) (@matyhtf)

    Remove

    • No longer support PHP-7.1 (swoole/swoole-src@4a963df) (swoole/swoole-src@9de8d9e) (@matyhtf)

    Deprecated

    • Marked the Event::rshutdown() as deprecated, please use Coroutine::run instead (#3881) (@matyhtf)

    New APIs

    • Supported setPriority/getPriority (#3876) (@matyhtf)
    • Supported native-curl hook (#3863) (@matyhtf) (@huanghantao)
    • Supported object style callback parameters for Server, off by default (#3888) (@matyhtf)
    • Supported ext-sockets hook (#3898) (@matyhtf)
    • Supported duplicate header (#3905) (@matyhtf)
    • Supported SSL sni (#3908) (@matyhtf)
    • Supported hook stdio (#3924) (@matyhtf)
    • Supported capture_peer_cert option for stream_socket (#3930) (@matyhtf)
    • Added HttpRequest::create/parse/isCompleted (#3938) (@matyhtf)
    • Added HttpResponse::isWritable (swoole/swoole-src@db56827) (@matyhtf)

    Enhancement

    • All time accuracy of Server changed from int to double (#3882) (@matyhtf)
    • Added poll EINTR check for swoole_client_select (#3909) (@shiguangqi)
    • Added coroutine deadlock detect (#3911) (@matyhtf)
    • Supported closing the connection in another process with server base mode (#3916) (@matyhtf)
    • Optimized send to worker from master, reduced memory copy (#3910) (@huanghantao) (@matyhtf)

    Fixed

    • Pop Coroutine::Channel data when channel is closed (swoole/swoole-src@960431d) (@matyhtf)
    • Fixed memory error when use JIT (#3907) (@twose)
    • Fixed port->set() dtls compile error (#3947) (@Yurunsoft)
    • Fixed connection_list error (#3948) (@sy-records)
    • Fixed ssl verify (#3954) (@matyhtf)
    • Clear all columns when incr and decr (#3956) (@matyhtf) (@sy-records)
    • Fixed failed to compile with LibreSSL 2.7.5 (#3962) (@matyhtf)
    • Fixed undefined constant CURLOPT_HEADEROPT and CURLOPT_PROXYHEADER

    Kernel

    • Ignored SIGPIPE signal by default (swoole/swoole-src@9647678) (@matyhtf)
    • Supported running php and c coroutines at same time (swoole/swoole-src@c94bfd8) (@matyhtf)
    • Added TEST(coroutine_base, get_elapsed) (#3961) (@luolaifa000)
    • Added TEST(coroutine_base, get_init_msec) (#3964) (@luffluo)
tagged:

Link:

Community News:
Latest PECL Releases (01.05.2021)
Jan 05, 2021 @ 08:05:01

Latest PECL Releases:

  • yar 2.2.0
    - PHP8 Supported

  • xmlrpc 1.0.0RC1
    This is the snapshot of ext/xmlrpc just before it was unbundled from php-src. Only minimal modifications have been made thereafter.
  • xdebug 3.0.2
    Mon, Jan 04, 2021 - Xdebug 3.0.2

    = Fixed bugs:

    • Fixed issue #1907: Empty exception message when setting the $message property to a stringable object
    • Fixed issue #1910: Code coverage misses constructor property promotion code
    • Fixed issue #1914: Compillation failure on OpenBSD
    • Fixed issue #1915: Debugger should only start with XDEBUG_SESSION and not XDEBUG_PROFILE
    • Fixed issue #1918: Warn if PHP's Garbage Collection is disabled in gc_stats mode
    • Fixed issue #1919: Crash when enabling filter without the right mode active
    • Fixed issue #1921: Xdebug does not start step debugging if start_with_request=trigger
    • Fixed issue #1922: Code coverage misses array assignment lines
    • Fixed issue #1924: Deprecated INI settings displayed in phpinfo()
    • Fixed issue #1925: xdebug.start_with_request and start_upon_error display inconsistent values
    • Fixed issue #1926: Add Xdebug mode's source to xdebug_info() output
    • Fixed issue #1927: Crash when calling xdebug_stop_trace without a trace in progress
    • Fixed issue #1928: xdebug_stop_gcstats() can also return false
  • xlswriter 1.3.7
    - Fix IBM s390x. - Fix header line no and sheet checkout not init line no. - Fix single instance opens multiple files, but the file handle is not released. - Feat worksheet printed. - Feat worksheet hidden. - Feat workbook custom first worksheet. - Feat custom skip hidden rows. - Feat skip empty rows. - Feat set global type. - Feat url text and tool tip. - Feat work sheet protection. - Helper xlswriter_get_version and xlswriter_get_author
  • datadog_trace 0.53.0
    ### Added - Add function to correctly extract trace id in all contexts #1125 ### Fixed - Attach fatal errors to userland root span on PHP 5.6 + PHP 5.5 #1109 - Rebuild CentOS 6 containers #1116 - NullLogger is essential, not optional #1113 - Make Uri to resource name normalization case insensitive #1120 - Avoid empty resource names in Yii in case of root `/` paths #1122 - Fix multiple deferred integration loading on PHP from 7.0 to 7.2 #1121 - Fix error in case of x-datadog-origin header in distributed tracing on PHP 7.0-7.2 #1124
  • PKCS11 0.1
    Initial Release
  • PDO_IBM 1.4.1
    * 2020-12-22: 1.4.1 - Fix memory leaks - Remove PHP compatibility stubs and ifdefs - Fix compile warnings - Fix tests with PHP 8 exceptions
tagged:

Link:

Community News:
Latest PECL Releases (12.29.2020)
Dec 29, 2020 @ 08:05:01

Latest PECL Releases:

  • smbclient 1.0.1
    -- Code fixes for PHP 7.4/8, and memory free, ReadTest added, Travis build updated, and smbclient_state_init documentation fixed.

  • igbinary 3.2.1
    * Fix crash when unserializing if __serialize was defined but __unserialize was undefined in php 8.0+ (due to typo).
  • base58 1.0.2
    Casing fix config.m4
  • igbinary 3.2.0
    * Use PHP's shared empty array instance when unserializing empty arrays in php 7.3+. (helps slightly with memory usage when repeatedly unserializing, when removing elements from arrays before unserializing them, or when serializing values including an empty array that was unserialized) * Emit a deprecation notice when serializing resources. PHP itself is converting many resources to objects that throw an Error on serialization attempts. Continue to represent resources as null in the serialized data. * Fix memory management bug when unserializing invalid data (duplicate properties in objects (e.g. from `__sleep`) or duplicate fields in arrays (impossible for valid data)). * Speed up calls to `__serialize`/`__unserialize` in php 8.0+. * Fix error messages for unserialize_callback_func: make messages properly refer to the autoload function. * Optimize unserializing alternative names for private/protected constants that were previously public.
  • base58 1.0.1
    Release as v1.0.1 with build fix
  • base58 1.0.0
    Release as v1.0.0
  • rdkafka 4.1.2
    BREAKING CHANGE: Since version 4.0, the client no longer polls for network events at shutdown (during object destructor). This behaviour didn't give enough control to the user in case of server issue, and could cause the script to hang while terminating.

    Starting from 4.0, programs MUST call flush() before shutting down, otherwise some messages and callbacks may be lost.

    Enhancements

    • Enabled features on windows build: headers, purge, murmur (#410, @nick-zh, @cmb69)
  • orng 0.0.3
    - Support Windows (Thanks cmb) - Fix stabilities, currently NOT stable.
  • swoole 4.5.10
    Fixed --- * Fixed #3906, sync master (93901dc0) (@matyhtf) * Fixed PHP8 compatibility (f0dc6d32) (@matyhtf) * Fixed connection_list error (#3948) (@sy-records)
  • swoole 4.4.23
    Fixed --- * Fixed table bugs * Fixed sync client error info (#3784) * Fixed memory overread when parse form-data boundary (#3858) * Fixed the bug of the channel, the data that has enqueue cannot be popped after the close
  • ibm_db2 2.1.2
    * 2020-12-22: 2.1.2 - Fix memory leaks - Remove PHP 5 compatibility stubs and ifdefs - Fix compile warnings - Use PHP 8 arginfo generator, with generated fallbacks for PHP 7
tagged:

Link:

Community News:
Latest PECL Releases (12.22.2020)
Dec 22, 2020 @ 08:05:01

Latest PECL Releases:

  • oci8 3.0.1
    This version is for PHP 8 only.

    Updated Windows build environment to build with newer Oracle Client libraries. (cmb)

  • yaml 2.2.1
    Bugs Fixed: - #80324: Segfault in YAML with anonymous functions (cmb69) - Fix memory leak in y_write_object_callback() (cmb69) - Fix memory leak in handle_mapping() (cmb69)
  • orng 0.0.2
    - Fix missing LICENSE in package.xml for Windows DLL build.
  • orng 0.0.1
    - Initial Release.
  • inotify 3.0.0
    * PHP 8 compatible release
tagged:

Link:



Community News:
Latest PECL Releases (12.08.2020)
Dec 08, 2020 @ 08:05:01

Latest PECL Releases:

  • rdkafka 4.1.1
    BREAKING CHANGE: Since version 4.0, the client no longer polls for network events at shutdown (during object destructor). This behaviour didn't give enough control to the user in case of server issue, and could cause the script to hang while terminating.

    Starting from 4.0, programs MUST call flush() before shutting down, otherwise some messages and callbacks may be lost.

    Bugfixes

    • Fix windows pecl build (#402, @nick-zh)
  • handlebars 0.9.2
    - Fixes for PHP 8
  • event 3.0.2
    - Fixed #65: some methods had wrong argument/return type hints
  • rar 4.2.0
    - Support PHP 8. - Merge unrar 6.0.2. - RarArchive implements IteratorAggregate (PHP 8 only).
  • libsodium 2.0.23
    - PHP 8.0.x compatibility.
  • memcache 8.0
    - Version 8.x support PHP 8.x - Version 4.x supports PHP 7.0-7.4. - Version 4.x is considered to be stable for production usage. - Support for PHP 5.x has been removed, please use memcache extension ver. 3.x - Special thanks to Frantisek Drojak - thesource93 (github) and Zaffy (github) for making this happen
  • couchbase 3.0.5
    * PCBC-699: Add support for minimal durability settings for bucket manager * PCBC-718: Deprecate expiry() on GetResult and LookupInResult. expiry() is deprecated in favour to expiryTime() which returns DateTimeInterface * PCBC-715: refactor document expiry duration - allow to specify DateTimeInterface objects as expiry value in mutation options - when expiration is set as long in seconds, treat the value as relative if it is less than 50 years in seconds. In this case take current time and add to the expiration value * PCBC-733: Add missing fields for SearchFacet results * PCBC-720: allow to disable FTS scoring * Support PHP 8. Drop support for PHP older than 7.2
  • rdkafka 4.1.0
    BREAKING CHANGE: Since version 4.0, the client no longer polls for network events at shutdown (during object destructor). This behaviour didn't give enough control to the user in case of server issue, and could cause the script to hang while terminating.

    Starting from 4.0, programs MUST call flush() before shutting down, otherwise some messages and callbacks may be lost.

    Features

    • Add transactional producer support (#359, @nick-zh)
  • xdebug 3.0.1
    Fri, Dec 4, 2020 - xdebug 3.0.1

    = Fixed bugs:

    • Fixed issue #1893: Crash with ext-fiber and xdebug.mode=coverage
    • Fixed issue #1896: Segfault with closures that are not created from user code
    • Fixed issue #1897: Crash when removing a breakpoint
    • Fixed issue #1900: Update README and add run-xdebug-tests.php to package
    • Fixed issue #1901: Stack traces are shown (with a broken time) when Xdebug's mode includes 'debug' but not 'develop' or 'trace'
    • Fixed issue #1902: Compillation failure on AIX
    • Fixed issue #1903: Constants should always be available, regardless of which mode Xdebug is in
    • Fixed issue #1904: Profile and trace files using %t or %u do not get the right names
    • Fixed issue #1905: Debugger does not disable request timeouts
  • gRPC 1.34.0
    - gRPC Core 1.34.0 update - Removed PHP 5 support - Added PHP 8 support
  • PDO_IBM 1.4.0
    * 2020-12-01: 1.4.0 - Compatibility with PHP 8 - Merge Tony Cairns' fork with IBM i compatibility fixes - Fix compatibility with 64-bit PASE/modern IBM i (sqlcli-dev package, pointer/integer width mismatch, XMLSERVICE location, etc) - Major improvements to test suite (fix broken tests, less hardcoding) - Handle CCSID 65535 on IBM i - Fix warnings
  • ibm_db2 2.1.1
    * 2020-12-02: 2.1.1 - Fix build regression on LUW with db2_execute_many
  • sqlsrv 5.9.0beta2
    [Added] - Support for PHP 8.0 [Removed] - Dropped support for PHP 7.2 [Fixed] - Pull Request [#1205](https://github.com/microsoft/msphpsql/pull/1205) - minimized compilation warnings on Linux and macOS - Pull Request [#1209](https://github.com/microsoft/msphpsql/pull/1209) - fixed a bug in fetching varbinary max fields as char or wide chars - Issue [#1210](https://github.com/microsoft/msphpsql/issues/1210) - switched from preview to beta terminology to enable Pickle support - Issue [#1213](https://github.com/microsoft/msphpsql/issues/1213) - the MACOSX_DEPLOYMENT_TARGET in config files caused linker errors in macOS Big Sur - Pull Request [#1215](https://github.com/microsoft/msphpsql/pull/1215) [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.9.0beta2
    [Added] - Support for PHP 8.0 [Removed] - Dropped support for PHP 7.2 [Fixed] - Pull Request [#1205](https://github.com/microsoft/msphpsql/pull/1205) - minimized compilation warnings on Linux and macOS - Pull Request [#1209](https://github.com/microsoft/msphpsql/pull/1209) - fixed a bug in fetching varbinary max fields as char or wide chars - Issue [#1210](https://github.com/microsoft/msphpsql/issues/1210) - switched from preview to beta terminology to enable Pickle support - Issue [#1213](https://github.com/microsoft/msphpsql/issues/1213) - the MACOSX_DEPLOYMENT_TARGET in config files caused linker errors in macOS Big Sur - Pull Request [#1215](https://github.com/microsoft/msphpsql/pull/1215) [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)
  • event 3.0.1
    - Fixed #64: build failed to find arginfo.h when invoked via pecl install event-beta
  • mcrypt 1.0.4
    - Make release to advertise PHP 8 support, which it already had.
tagged:

Link:



Trending Topics: