Subscribe to PHP Freaks RSS

Community News: Latest PECL Releases (06.15.2021)

syndicated from www.phpdeveloper.org on June 15, 2021

Latest PECL Releases:

  • imagick 3.5.0RC1
    - ImageMagick 7 is still not widely available on systems. So contrary to previous plans, ImageMagick 6 support will continue for now. But users are recommeded to use ImageMagick 7 if possible.

    • Method names have been changed to not be all lower case. Both method names and parameter information is built from the Imagick*.stub.php files.
    • Prevent accidental creation of zero dimension images. ImageMagick doesn't prevent creation of zero dimension images, but will give an error when that image is used. I don't think this will affect any correctly program, but if it does, and you need to re-enable zero dimension images, please open an issue at https://phpimagick.com/issues
    • Various pieces of work have been done to make GOMP not segfault including:
    • Call omp_pause_resource_all when available during shutdown.
    • Added the 'imagick.shutdown_sleep_count' (default 10) and 'imagick.set_single_thread' (default On). Both of these exist to mitigate the segaults on shutdown.
    • Fixes:
    • Correct version check to make RemoveAlphaChannel and FlattenAlphaChannel be available when using Imagick with ImageMagick version 6.7.8-x
    • Imagick::morphology now no longer ignores channel parameter
    • Added:
    • PHP 8.0 support.
    • Location check for ImageMagick 7 for NixOS and Brew.
    • Imagick::houghLineImage(int $width, int $height, float $threshold): bool {}
    • Imagick::setImagePixelColor(int $x, int $y, ImagickPixel|string $color)
    • Imagick::setImageMask(Imagick $clip_mask, int $pixelmask_type)
    • Imagick::getImageMask(int $pixelmask_type)
    • Imagick::VIRTUALPIXELMETHOD_DITHER
    • Imagick::VIRTUALPIXELMETHOD_RANDOM
    • Imagick::COMPOSITE_FREEZE
    • Imagick::COMPOSITE_INTERPOLATE
    • Imagick::COMPOSITE_NEGATE
    • Imagick::COMPOSITE_REFLECT
    • Imagick::COMPOSITE_SOFTBURN
    • Imagick::COMPOSITE_SOFTDODGE
    • Imagick::COMPOSITE_STAMP
    • Imagick::COMPOSITE_RMSE
    • Imagick::COMPRESSION_DWAA
    • Imagick::COMPRESSION_DWAB
    • Imagick::EVALUATE_INVERSE_LOG
    • Imagick::COLORSPACE_DISPLAYP3
    • Imagick::COLORSPACE_ADOBE98
    • Imagick::COLORSPACE_PROPHOTO
    • Imagick::COLORSPACE_JZAZBZ
    • Imagick::DISTORTION_RIGID_AFFINE
    • Imagick::DISTORTION_BARRELINVERSE
    • Imagick::STATISTIC_ROOT_MEAN_SQUARE
  • dbase 7.1.0
    New features
    • Full fledged arginfo is available under PHP 8 (Remi Collet)
    • Calling dbase functions with wrong parameter types/values throws TypeExceptions and ValueExceptions, respectively, instead of raising warnings under PHP 8 (Remi Collet)

    Bug Fixes

    • Fixed #80156 (Incomplete records may be written)
    • Fixed #80488 (ReflectionParameter->getDefaultValue() throws for dbase_create())
  • event 3.0.5
    Fixed a test not working with PHP 8.1.0alpha1
  • igbinary 3.2.3
    * Fix build for php 8.1 after changes to enum internals. * Update tests to suppress deprecations in php 8.1 and support run-tests.php changes in php 8.1 * Don't emit a notice when unserialize_callback_func causes igbinary_unserialize to throw https://bugs.php.net/bug.php?id=81118
  • opencensus 0.3.0
    - OpenCensus stats implementation (#220) - Fix ZVAL_DESTRUCTOR usage - Add PHP8 compatibility (#270)
  • protobuf 3.17.3
    * No new changes in 3.17.2