diff --git a/CHANGELOG.md b/CHANGELOG.md index b798b57..88a58e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Changelog All notable changes to `:vips` will be documented in this file. +### 1.0.10 - 2022-12-04 + +- allowed for psr/log 2.0 and 3.0 to be installed as well [boris-glumpler] +- avoid “Deprecate dynamic properties” warning in PHP 8.2 [chregu] +- remove "install-vips.sh" script, no longer useful +- update docs for libvips 8.13 + ### 1.0.9 - 2021-11-20 ### Added diff --git a/RELEASE-1.0.8 b/RELEASE-1.0.10 similarity index 100% rename from RELEASE-1.0.8 rename to RELEASE-1.0.10 diff --git a/examples/generate_phpdoc.py b/examples/generate_phpdoc.py index 7ad9eda..858e7c5 100755 --- a/examples/generate_phpdoc.py +++ b/examples/generate_phpdoc.py @@ -265,6 +265,8 @@ def add_nickname(gtype, a, b): f.write(' */\n') f.write('abstract class ImageAutodoc\n') f.write('{\n') + f.write(' abstract public function __set(string $name, $value);\n') + f.write(' abstract public function __get(string $name);\n') f.write('}\n') diff --git a/install-vips.sh b/install-vips.sh deleted file mode 100755 index db7c4b6..0000000 --- a/install-vips.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -version=$VIPS_VERSION -vips_tarball=https://github.com/libvips/libvips/releases/download/v$version/vips-$version.tar.gz - -set -e - -# do we already have the correct vips built? early exit if yes -# we could check the configure params as well I guess -if [ -d "$HOME/vips/bin" ]; then - installed_version=$($HOME/vips/bin/vips --version | awk -F- '{print $2}') - echo "Need vips $version" - echo "Found vips $installed_version" - - if [ "$installed_version" == "$version" ]; then - echo "Using cached vips directory" - exit 0 - fi -fi - -rm -rf $HOME/vips -curl -Ls $vips_tarball | tar xz -cd vips-$version -CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 ./configure --prefix=$HOME/vips "$@" -make -j`nproc` && make install diff --git a/src/ImageAutodoc.php b/src/ImageAutodoc.php index e917baf..994de61 100644 --- a/src/ImageAutodoc.php +++ b/src/ImageAutodoc.php @@ -203,6 +203,8 @@ * @throws Exception * @method string dzsave_buffer(array $options = []) Save image to dz buffer. * @throws Exception + * @method void dzsave_target(string $target, array $options = []) Save image to deepzoom target. + * @throws Exception * @method Image embed(integer $x, integer $y, integer $width, integer $height, array $options = []) Embed an image in a larger image. * @throws Exception * @method Image extract_area(integer $left, integer $top, integer $width, integer $height, array $options = []) Extract an area from an image. @@ -643,6 +645,8 @@ * @throws Exception * @method string tiffsave_buffer(array $options = []) Save image to tiff buffer. * @throws Exception + * @method void tiffsave_target(string $target, array $options = []) Save image to tiff target. + * @throws Exception * @method Image tilecache(array $options = []) Cache an image as a set of tiles. * @throws Exception * @method static Image tonelut(array $options = []) Build a look-up table. @@ -699,4 +703,6 @@ */ abstract class ImageAutodoc { + abstract public function __set(string $name, $value); + abstract public function __get(string $name); }