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

Community News:
Latest PECL Releases (02.27.2024)
Feb 27, 2024 @ 08:05:14

Latest PECL Releases:

  • dio 0.3.0
    - drop support for PHP 5 and 7

    • add type hinting
    • raise TypeError and ValueError for unexpected parameters
  • gRPC 1.62.0
    - gRPC Core 1.62.0 update
  • fann 1.2.0
    * Tested support of PHP 8.2 and PHP 8.3
  • eio 3.1.2
    - Restored libeio/xthread.h in package.xml
  • eio 3.1.1
    - Fixed issue #21: eio_fallocate() tests failed on Fedora 40 - Updated the embedded libeio.
  • datadog_trace 0.98.0
    ### Fixes across all extensions - Handle Apache graceful restarts more accurately #2483 - Mark config as immutable and interned to avoid refcounting race conditions #2516

    Tracer

    This release includes Windows dlls for the tracer starting with PHP 7.2. #2230

    Windows support is in beta. We recommend carefully deploying the tracer to staging environments and testing it there before putting it to production. We are looking towards stabilizing Windows quickly, so any feedback and issue reports are welcome.

    Added

    • Enhance logging #2490
      • This features two new logging options:
        • datadog.trace.log_level allows more fine-grained control over logging (error, warn, info, debug, trace). It follows the RUST_LOG standard. Note that datadog.trace.debug still takes precedence if set.
        • datadog.trace.log_file allows specifying a dedicated target file for any datadog trace logs instead of the default php error location.
      • More log lines were added to allow for observing submitted spans (debug level) and hook invocations (trace level).
    • Add http.route to Wordpress #2491

    Changed

    • Have datadog.trace.db_client_split_by_instance also affect mysqli and sqlsrv #2508
    • Record nested exceptions in the integrations #2514
    • Evaluate numbers and bools in tags and metrics for sampling rules #2521

    Fixed

    • Access to undefined method attempts in LaravelQueueIntegration #2485
    • Include generated curl_exec spans of curl_multi_exec() in metrics #2505
    • Remove Symfony Command Hook After Execution #2492
    • Add zend_try around closing and flushing spans #2507
    • Make PDO split-by coherent with other DB split-by with service name flattening #2524

    Internal

    • No longer compile the mockgen as part of the rust build #2512
    • Add TEA Benchmarks #2438
    • Reduce CI and Local Flakiness #2496, #2518

    Profiling

    This release requires System INIs to be used to configure the profiler settings which control the enabling/disabling of individual features. If you are configuring the profiler using php datadog-setup.php config set, you should be fine. We recommend switching to use the config mode of datadog-setup.php to configure profiling.

    Added

    • Enable timeline by default #2480. This can be disabled by setting the INI setting datadog.profiling.timeline_enabled to 0 or false. Using the datadog-setup.php script is recommended, for example:

      php datadog-setup.php config set --php-bin all -ddatadog.profiling.timeline_enabled=0

    • PHP ZTS support for CPU- and Wall Time profiling #2470

    • Add exception message to exception sample (opt-in) #2434

    Changed

    • Breaking-change: require system INIs for profiling features #2468

    Internal

    • Update dependencies and pin ahash #2479
    • Fix clippy::single-match #2482
    • Update to libdatadog 6 #2513
    • Refactor: use SystemSettings in locals #2487
    • Fix accidentally skipped tests #2517

    Application Security Management

    This release introduces support for the Roadrunner application server and extends threat detection and blocking on XML and JSON request payloads. Request and response payloads are now also used to expand the already existing API security features.

    Added

    • Roadrunner appsec support #2443
    • Provide server.response.body #2489
    • Support json/xml request bodies #2499

    Changed

    • Change ip header parsing/header reporting #2503

    Fixed

    • Fix blocking on PHP 7.0-7.1 ZTS #2502
    • Ensure logs are committed to disk upon shutdown #2495

    Internal

    • Upgrade libddwaf and ruleset #2520
tagged:

Link:

Community News:
Latest PEAR Releases (02.26.2024)
Feb 26, 2024 @ 08:05:16

Latest PEAR Releases:

tagged:

Link:

Community News:
Latest PECL Releases (02.20.2024)
Feb 20, 2024 @ 08:05:16

Latest PECL Releases:

tagged:

Link:

Community News:
Latest PECL Releases (02.13.2024)
Feb 13, 2024 @ 08:05:19

Latest PECL Releases:

  • ssh2 1.4.1
    - End zend_function_entry ssh2_functions list with PHP_FE_END [PR #67] (Gerdriaan Mulder)

    • Remove implicit switch-case fallthrough [PR #66] (Gerdriaan Mulder)
    • Windows build setup with GitHub Actions [PR #75] (Derick Rethans)
  • phalcon 5.6.1
    Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md

    Changed

    • Changed PhalconCliRouter::setDefaultAction and PhalconCliRouter::setDefaultModule to return the object back for a fluent interface #16328

    Fixed

    • Fixed PhalconDbAdapterPdoPostgresql::describeColumns() to return the correct string back #16371
    • Fixed Phalcon/Filter/Validation::validate() and Phalcon/Filter/Validation/ValidationInterface::validate() to return also bool #16337
    • Fixed PhalconMvcModel::toArray to ignore getters when the field name is source. #16514
    • Fixed PhalconHttpRequest::getPut to correctly get form encoded data #16519
    • Fixed deprecation warning in callables Use of "static" in callables is deprecated for PHP 8.2+ #16263
  • protobuf 4.26.0RC2
    * See github.com/protocolbuffers/protobuf/releases/tag/v26.0-rc-2 for release notes.
tagged:

Link:

Community News:
Latest PEAR Releases (02.12.2024)
Feb 12, 2024 @ 08:05:17

Latest PEAR Releases:

tagged:

Link:

Community News:
Latest PECL Releases (02.06.2024)
Feb 06, 2024 @ 08:05:18

Latest PECL Releases:

  • opentelemetry 1.0.2beta1
    See https://github.com/open-telemetry/opentelemetry-php-instrumentation/releases/tag/1.0.2beta1

  • gRPC 1.61.0
    - gRPC Core 1.61.0 update
  • pq 2.2.3
    * Fix incompatible pointer types (32-bit) (see hg issue #52)
  • opentelemetry 1.0.1
    See https://github.com/open-telemetry/opentelemetry-php-instrumentation/releases/tag/1.0.1
  • gRPC 1.61.0RC3
    - gRPC Core 1.61.0 update
  • timezonedb 2024.1
    Updated to version 2024.1 (2024a)
  • brotli 0.15.0
    - change: default mode of brotli_uncompress_add() to BROTLI_FLUSH - change: default mode of brotli_compress_add() to BROTLI_FLUSH - add: BROTLI_FLUSH to environment variables - remove: PHP 5 support
  • sqlsrv 5.12.0
    Added - Support for PHP 8.3 - Support for Alpine 3.19

    Removed

    • Support for PHP 8.0
    • Support for Ubuntu 18.04
    • Support for Alpine 3.15

    Fixed

    • Update connection string keywords set function (#1484)
    • Fix error throw for multiple result sets (#1485)
    • Fix invalid precision error (#1497)

    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+
      • Only Windows Certificate Store and Azure Key Vault are supported. Custom Keystores are not yet supported
      • Issue #716 - With Always Encrypted enabled, named parameters in subqueries are not supported
      • Issue #1050 - With Always Encrypted enabled, insertion requires the column list for any tables with identity columns
      • Always Encrypted limitations

    Known Issues

    • This 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 < 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
  • pdo_sqlsrv 5.12.0
    Added - Support for PHP 8.3 - Support for Alpine 3.19

    Removed

    • Support for PHP 8.0
    • Support for Ubuntu 18.04
    • Support for Alpine 3.15

    Fixed

    • Update connection string keywords set function (#1484)
    • Fix error throw for multiple result sets (#1485)
    • Fix invalid precision error (#1497)

    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+
      • Only Windows Certificate Store and Azure Key Vault are supported. Custom Keystores are not yet supported
      • Issue #716 - With Always Encrypted enabled, named parameters in subqueries are not supported
      • Issue #1050 - With Always Encrypted enabled, insertion requires the column list for any tables with identity columns
      • Always Encrypted limitations

    Known Issues

    • This 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 < 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
tagged:

Link:

Community News:
Latest PECL Releases (01.30.2024)
Jan 30, 2024 @ 08:05:14

Latest PECL Releases:

  • opentelemetry 1.0.1beta2
    opentelemetry 1.0.1beta2 * Fix exception raised by php_error_docref that hangs the process in hook (#127) * clang format (#126) * Fix build warnings (#125)

  • zstd 0.13.3
    - fix: incompatible pointer types (32-bit)
  • event 3.1.3
    EventDnsBase::__construct() now throws a TypeError if the type of the $initialize argument is anything other than int or bool.
  • protobuf 4.26.0RC1
    * See github.com/protocolbuffers/protobuf/releases/tag/v26.0-rc-1 for release notes.
  • dio 0.3.0RC1
    - drop support for PHP 5 and 7 - add type hinting - raise TypeError and ValueError for unexpected parameters
  • opentelemetry 1.0.1beta1
    opentelemetry 1.0.1beta1 * Fix modifying extra parameters, limit parameter expansion (#120) * Fix crash by unregistering INI in MSHUTDOWN instead of RSHUTDOWN (#122) * Support modifying named params (#121) * adding test for post hook type error (#119) * Isolate exception state for hooks (#118) * Update README.md to point issues to the main repository (#117) * Include PHP 8.3 in build matrix (#112) * Build images whenever the actions definition changes (#115) * adding php 8.3 dev image (#113) * document SourceGuardian incompatibility (#111) * create draft release on tag, publish windows and pecl builds (#109) * adding test for post hooks after die/exit (#110) * add pear to build (#108)
  • event 3.1.2
    Fixed an issue in EventDnsBase::__construct() where it failed to accept the init flag set to true when using libevent version < 2.1.0.
tagged:

Link:

Community News:
Latest PECL Releases (01.23.2024)
Jan 23, 2024 @ 08:05:14

Latest PECL Releases:

  • dio 0.2.2
    - fix GH-12 Memory leak in dio_read

  • amqp 2.1.2
    - Fix missing debug symbols for memory checks (Lars Strojny <lars@strojny.net>) (https://github.com/php-amqp/php-amqp/issues/531) - Fix nullability issue in AMQPBasicProperties (Lars Strojny <lars@strojny.net>) (https://github.com/php-amqp/php-amqp/issues/532) - Ignore setfacl errors (Lars Strojny <lars@strojny.net>) (https://github.com/php-amqp/php-amqp/commit/5548760) - Only restart on failure (Lars Strojny <lars@strojny.net>) (https://github.com/php-amqp/php-amqp/commit/a37c5f1) - Bump actions/checkout from 4.1.0 to 4.1.1 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/506) - Bump awalsh128/cache-apt-pkgs-action from 1.3.0 to 1.3.1 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/509) - Bump fkirc/skip-duplicate-actions from 5.3.0 to 5.3.1 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/507) - Bump phpstan/phpdoc-parser from 1.24.2 to 1.24.3 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/513) - Bump phpstan/phpdoc-parser from 1.24.3 to 1.24.4 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/516) - Bump phpstan/phpdoc-parser from 1.24.4 to 1.24.5 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/521) - Bump phpstan/phpdoc-parser from 1.24.5 to 1.25.0 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/524) - Bump shivammathur/setup-php from 2.26.0 to 2.27.0 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/510) - Bump shivammathur/setup-php from 2.27.0 to 2.27.1 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/512) - Bump shivammathur/setup-php from 2.27.1 to 2.28.0 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/515) - Bump shivammathur/setup-php from 2.28.0 to 2.29.0 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/528) - Bump squizlabs/php_codesniffer from 3.7.2 to 3.8.0 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/520) - Bump squizlabs/php_codesniffer from 3.8.0 to 3.8.1 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/527) - Bump symplify/easy-coding-standard from 12.0.11 to 12.0.13 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/519) - Bump symplify/easy-coding-standard from 12.0.13 to 12.1.3 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/526) - Bump symplify/easy-coding-standard from 12.0.8 to 12.0.9 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/517) - Bump symplify/easy-coding-standard from 12.0.9 to 12.0.11 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/518) - Bump symplify/easy-coding-standard from 12.1.3 to 12.1.7 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/529) - Bump symplify/easy-coding-standard from 12.1.7 to 12.1.8 (dependabot[bot]) (https://github.com/php-amqp/php-amqp/issues/530)

    For a complete list of changes see: https://github.com/php-amqp/php-amqp/compare/v2.1.1...v2.1.2

  • decimal 1.5.0
    - Fix object handlers for PHP 8.3 (thank you @Majkl578)
  • datadog_trace 0.97.0
    ## Tracer ### Added - Add span links capabilities to the OTel API #2451 - Add exec integration #2361, #2455, #2459

    Changed

    • Implement http.route for Yii #2430
    • Implement http.route for Slim #2402

    Fixed

    • Remove Symfony controller hook after execution #2436
    • Move the dummy function of call_attribute_constructor onto the VM stack #2446
    • Avoid resolving unresolved functions and classes #2450
    • Fix removal of the directly accessed hook after binding in DDTraceremove_hook #2449
    • Handle async requests using Guzzle #2460
    • Fix removing an end observer with other observers active #2469
    • Fix fibers on PHP 8.1.2 #2473

    Internal Changes

    • Add MicroBenchmarks #2435, #2456, #2458
    • Add Symfony 7.0 test suite #2437
    • Track DD_TRACE_DEBUG=1 errors in integration and web tests #2472
    • Reduce noise in composer package download #2401

    Profiling

    Added

    • prevent emitting empty profiles #2397

    Fixed

    • potential allocation profiling crashes with certain opcodes #2352

    Internal Changes

    • test with address sanitizer on bookworm with GH actions #2432
    • make the profiler compile in ZTS PHP #2463
    • extract wall_time.rs file #2467

    Application Security Management

    Internal changes

    • Change schema extraction zip compression to PHP_ZLIB_ENCODING_GZIP #2447
tagged:

Link:

Community News:
Latest PEAR Releases (01.22.2024)
Jan 22, 2024 @ 08:05:14

Latest PEAR Releases:

tagged:

Link:

Community News:
Latest PECL Releases (01.16.2024)
Jan 16, 2024 @ 08:05:14

Latest PECL Releases:

  • zstd 0.13.2
    - fix: variable declaration

  • solr 2.7.0
    Features: - Support Highlight Query (#28) - Support PHP 8.3 - Dropped Support for PHP 7.3 and below

    API Changes:

    • Added SolrQuery SolrQuery::setHighlightQuery(string $q)
    • Added string SolrQuery::getHighlightQuery()

    Bug Fixes:

    • Fix parsed parameter types (#37)
    • Fix compile error: libcurl on linux multi-arch support (#46)
    • Fix SegFault in SolrClient::optimize() (debug mode)
    • Fix Missing Windows DLLs (#51) / available on github releases now
    • Fix curl checks for PHP 7.4+, use PKG_CONFIG (remicollet)

    Internals:

    • ci: windows tests (#51)
    • parse_int macros
  • phalcon 5.6.0
    Full changelog can be found at: https://github.com/phalcon/cphalcon/blob/master/CHANGELOG-5.0.md

    Changed

    • Changed PhalconDbAdapterPdoMysql to not use specific flags for PDO (PDO::ATTR_EMULATE_PREPARES or PDO::ATTR_STRINGIFY_FETCHES) for performance reasons #16474
    • Merged PhalconDbAbstractDb with PhalconDbAdapterAbstractAdapter since the former was not used #16474

    Added

    • Added resetColumns(), resetFrom(), resetWhere(), resetGroupBy(), resetHaving(), resetOrderBy(), resetLimit(), resetFlags() to the PhalconDatamapperQueryAbstractQuery to allow resetting query filters.

    Fixed

    • Fixed PhalconMvcModel::count to ignore the order parameter (needed for Posgresql) #16471
    • Fixed PhalconMvcModel::toArray added parameter to ignore getters in order not to break serialize. #16490
    • Fixed PhalconMvcModel::toArray changing the conditionals for population to remove segfault. #16498
  • protobuf 3.25.2
    * See github.com/protocolbuffers/protobuf/releases/tag/v25.2 for release notes.
tagged:

Link:


Trending Topics: