Plugin Directory

Changeset 3294429


Ignore:
Timestamp:
05/15/2025 09:44:31 PM (9 months ago)
Author:
nosilver4u
Message:

tagging and releasing 8.1.4

Location:
ewww-image-optimizer
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ewww-image-optimizer/tags/8.1.4/.travis.yml

    r3150992 r3294429  
    1616php:
    1717  - 7.4
    18   - 8.0
    1918  - 8.1
    2019  - 8.2
     20  - 8.3
    2121
    2222services:
     
    3030    - php: 7.4
    3131      env: WP_VERSION=latest WP_MULTISITE=1 WPSNIFF=1
    32     - php: 8.2
     32    - php: 8.3
    3333      env: WP_VERSION=latest WP_MULTISITE=1 WPSNIFF=1
    34     - php: 8.0
    35       env: WP_VERSION=6.0 WP_MULTISITE=0
     34    - php: 8.1
     35      env: WP_VERSION=6.5 WP_MULTISITE=0
    3636
    3737before_script:
    3838  - export PATH="$HOME/.config/composer/vendor/bin:$PATH"
    3939  - phpenv config-rm xdebug.ini
     40  - php --info
    4041  - bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
    4142  - composer global require --dev yoast/phpunit-polyfills:"^1.0"
  • ewww-image-optimizer/tags/8.1.4/changelog.txt

    r3262301 r3294429  
     1= 8.1.4 =
     2*Release Date - May 15, 2025*
     3
     4* added: customize lossy PDF compression by defining EWWW_IMAGE_OPTIMIZER_PDF_IMAGE_DPI and/or EWWW_IMAGE_OPTIMIZER_PDF_IMAGE_QUALITY
     5* fixed: WebP thumbnails have incorrect orientation when created from the original unoptimized image
     6
    17= 8.1.3 =
    28*Release Date - March 26, 2025*
  • ewww-image-optimizer/tags/8.1.4/common.php

    r3262301 r3294429  
    31543154                    ewwwio_debug_message( "could not get image editor: $error_message" );
    31553155                } else {
     3156                    $editor->maybe_exif_rotate();
    31563157                    $resized_image = $editor->resize( $webp_width, $webp_height, $webp_crop );
    31573158                    if ( is_wp_error( $resized_image ) ) {
     
    56565657        'backup'     => $hash,
    56575658        'domain'     => $domain,
     5659        'site_url'   => get_home_url(),
    56585660        // 'force_async' => 1, // for testing out async mode.
    56595661    );
     5662
     5663    if ( 'application/pdf' === $type ) {
     5664        if ( defined( 'EWWW_IMAGE_OPTIMIZER_PDF_IMAGE_DPI' ) ) {
     5665            $post_fields['image_dpi'] = EWWW_IMAGE_OPTIMIZER_PDF_IMAGE_DPI;
     5666        }
     5667        if ( defined( 'EWWW_IMAGE_OPTIMIZER_PDF_IMAGE_QUALITY' ) ) {
     5668            $post_fields['quality'] = EWWW_IMAGE_OPTIMIZER_PDF_IMAGE_QUALITY;
     5669        }
     5670    }
    56605671
    56615672    if ( $webp && $fullsize_image && $webp_width && $webp_height ) {
     
    58425853    $original_image = ewwwio_get_original_image_path_from_thumb( $file, $attachment_id );
    58435854    if ( $original_image && ewwwio_is_file( $original_image ) ) {
     5855        ewww_image_optimizer_autorotate( $original_image );
     5856        $orientation = (int) ewww_image_optimizer_get_orientation( $original_image, 'image/jpeg' );
     5857        // If an image (still) has an orientation flag, bail out.
     5858        if ( ! empty( $orientation ) && 1 < $orientation ) {
     5859            ewwwio_debug_message( "orientation $orientation not allowed" );
     5860            return $params;
     5861        }
     5862
    58445863        list( $full_width, $full_height ) = wp_getimagesize( $original_image );
    58455864        if ( empty( $full_width ) || empty( $full_height ) ) {
     
    58475866            return $params;
    58485867        }
     5868
    58495869        // Then we do a calculation with the dimensions to see if the thumb was cropped.
    58505870        $thumb_height_calc = $thumb_width / $full_width * $full_height;
     
    1181111831    ewwwio_debug_message( 'svg level: ' . ewww_image_optimizer_get_option( 'ewww_image_optimizer_svg_level' ) );
    1181211832    ewwwio_debug_message( 'webp level: ' . ewww_image_optimizer_get_option( 'ewww_image_optimizer_webp_level' ) );
     11833    ewwwio_debug_message( 'webp mode: ' . ewww_image_optimizer_get_option( 'ewww_image_optimizer_webp_conversion_method' ) );
    1181311834    ewwwio_debug_message( 'bulk delay: ' . ewww_image_optimizer_get_option( 'ewww_image_optimizer_delay' ) );
    1181411835    ewwwio_debug_message( 'backup mode: ' . ewww_image_optimizer_get_option( 'ewww_image_optimizer_backup_files' ) );
  • ewww-image-optimizer/tags/8.1.4/ewww-image-optimizer.php

    r3262301 r3294429  
    1414Description: Smaller Images, Faster Sites, Happier Visitors. Comprehensive image optimization that doesn't require a degree in rocket science.
    1515Author: Exactly WWW
    16 Version: 8.1.3
    17 Requires at least: 6.4
     16Version: 8.1.4
     17Requires at least: 6.5
    1818Requires PHP: 7.4
    1919Author URI: https://ewww.io/
     
    3535} elseif ( false === strpos( add_query_arg( '', '' ), 'ewwwio_disable=1' ) ) {
    3636
    37     define( 'EWWW_IMAGE_OPTIMIZER_VERSION', 813 );
     37    define( 'EWWW_IMAGE_OPTIMIZER_VERSION', 814 );
    3838
    3939    if ( WP_DEBUG && function_exists( 'memory_get_usage' ) ) {
  • ewww-image-optimizer/tags/8.1.4/readme.txt

    r3262301 r3294429  
    33Donate link: https://ewww.io/donate/
    44Tags: compress, convert, webp, resize, lazy load
    5 Requires at least: 6.4
    6 Tested up to: 6.7
     5Requires at least: 6.5
     6Tested up to: 6.8
    77Requires PHP: 7.4
    8 Stable tag: 8.1.3
     8Stable tag: 8.1.4
    99License: GPLv3
    1010
     
    144144* Feature requests can be viewed and submitted on our [feedback portal](https://feedback.ewww.io/b/features)
    145145* If you would like to help translate this plugin in your language, [join the team](https://translate.wordpress.org/projects/wp-plugins/ewww-image-optimizer/)
     146
     147= 8.1.4 =
     148*Release Date - May 15, 2025*
     149
     150* added: customize lossy PDF compression by defining EWWW_IMAGE_OPTIMIZER_PDF_IMAGE_DPI and/or EWWW_IMAGE_OPTIMIZER_PDF_IMAGE_QUALITY
     151* fixed: WebP thumbnails have incorrect orientation when created from the original unoptimized image
    146152
    147153= 8.1.3 =
  • ewww-image-optimizer/trunk/.travis.yml

    r3150992 r3294429  
    1616php:
    1717  - 7.4
    18   - 8.0
    1918  - 8.1
    2019  - 8.2
     20  - 8.3
    2121
    2222services:
     
    3030    - php: 7.4
    3131      env: WP_VERSION=latest WP_MULTISITE=1 WPSNIFF=1
    32     - php: 8.2
     32    - php: 8.3
    3333      env: WP_VERSION=latest WP_MULTISITE=1 WPSNIFF=1
    34     - php: 8.0
    35       env: WP_VERSION=6.0 WP_MULTISITE=0
     34    - php: 8.1
     35      env: WP_VERSION=6.5 WP_MULTISITE=0
    3636
    3737before_script:
    3838  - export PATH="$HOME/.config/composer/vendor/bin:$PATH"
    3939  - phpenv config-rm xdebug.ini
     40  - php --info
    4041  - bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
    4142  - composer global require --dev yoast/phpunit-polyfills:"^1.0"
  • ewww-image-optimizer/trunk/changelog.txt

    r3262301 r3294429  
     1= 8.1.4 =
     2*Release Date - May 15, 2025*
     3
     4* added: customize lossy PDF compression by defining EWWW_IMAGE_OPTIMIZER_PDF_IMAGE_DPI and/or EWWW_IMAGE_OPTIMIZER_PDF_IMAGE_QUALITY
     5* fixed: WebP thumbnails have incorrect orientation when created from the original unoptimized image
     6
    17= 8.1.3 =
    28*Release Date - March 26, 2025*
  • ewww-image-optimizer/trunk/common.php

    r3262301 r3294429  
    31543154                    ewwwio_debug_message( "could not get image editor: $error_message" );
    31553155                } else {
     3156                    $editor->maybe_exif_rotate();
    31563157                    $resized_image = $editor->resize( $webp_width, $webp_height, $webp_crop );
    31573158                    if ( is_wp_error( $resized_image ) ) {
     
    56565657        'backup'     => $hash,
    56575658        'domain'     => $domain,
     5659        'site_url'   => get_home_url(),
    56585660        // 'force_async' => 1, // for testing out async mode.
    56595661    );
     5662
     5663    if ( 'application/pdf' === $type ) {
     5664        if ( defined( 'EWWW_IMAGE_OPTIMIZER_PDF_IMAGE_DPI' ) ) {
     5665            $post_fields['image_dpi'] = EWWW_IMAGE_OPTIMIZER_PDF_IMAGE_DPI;
     5666        }
     5667        if ( defined( 'EWWW_IMAGE_OPTIMIZER_PDF_IMAGE_QUALITY' ) ) {
     5668            $post_fields['quality'] = EWWW_IMAGE_OPTIMIZER_PDF_IMAGE_QUALITY;
     5669        }
     5670    }
    56605671
    56615672    if ( $webp && $fullsize_image && $webp_width && $webp_height ) {
     
    58425853    $original_image = ewwwio_get_original_image_path_from_thumb( $file, $attachment_id );
    58435854    if ( $original_image && ewwwio_is_file( $original_image ) ) {
     5855        ewww_image_optimizer_autorotate( $original_image );
     5856        $orientation = (int) ewww_image_optimizer_get_orientation( $original_image, 'image/jpeg' );
     5857        // If an image (still) has an orientation flag, bail out.
     5858        if ( ! empty( $orientation ) && 1 < $orientation ) {
     5859            ewwwio_debug_message( "orientation $orientation not allowed" );
     5860            return $params;
     5861        }
     5862
    58445863        list( $full_width, $full_height ) = wp_getimagesize( $original_image );
    58455864        if ( empty( $full_width ) || empty( $full_height ) ) {
     
    58475866            return $params;
    58485867        }
     5868
    58495869        // Then we do a calculation with the dimensions to see if the thumb was cropped.
    58505870        $thumb_height_calc = $thumb_width / $full_width * $full_height;
     
    1181111831    ewwwio_debug_message( 'svg level: ' . ewww_image_optimizer_get_option( 'ewww_image_optimizer_svg_level' ) );
    1181211832    ewwwio_debug_message( 'webp level: ' . ewww_image_optimizer_get_option( 'ewww_image_optimizer_webp_level' ) );
     11833    ewwwio_debug_message( 'webp mode: ' . ewww_image_optimizer_get_option( 'ewww_image_optimizer_webp_conversion_method' ) );
    1181311834    ewwwio_debug_message( 'bulk delay: ' . ewww_image_optimizer_get_option( 'ewww_image_optimizer_delay' ) );
    1181411835    ewwwio_debug_message( 'backup mode: ' . ewww_image_optimizer_get_option( 'ewww_image_optimizer_backup_files' ) );
  • ewww-image-optimizer/trunk/ewww-image-optimizer.php

    r3262301 r3294429  
    1414Description: Smaller Images, Faster Sites, Happier Visitors. Comprehensive image optimization that doesn't require a degree in rocket science.
    1515Author: Exactly WWW
    16 Version: 8.1.3
    17 Requires at least: 6.4
     16Version: 8.1.4
     17Requires at least: 6.5
    1818Requires PHP: 7.4
    1919Author URI: https://ewww.io/
     
    3535} elseif ( false === strpos( add_query_arg( '', '' ), 'ewwwio_disable=1' ) ) {
    3636
    37     define( 'EWWW_IMAGE_OPTIMIZER_VERSION', 813 );
     37    define( 'EWWW_IMAGE_OPTIMIZER_VERSION', 814 );
    3838
    3939    if ( WP_DEBUG && function_exists( 'memory_get_usage' ) ) {
  • ewww-image-optimizer/trunk/readme.txt

    r3262301 r3294429  
    33Donate link: https://ewww.io/donate/
    44Tags: compress, convert, webp, resize, lazy load
    5 Requires at least: 6.4
    6 Tested up to: 6.7
     5Requires at least: 6.5
     6Tested up to: 6.8
    77Requires PHP: 7.4
    8 Stable tag: 8.1.3
     8Stable tag: 8.1.4
    99License: GPLv3
    1010
     
    144144* Feature requests can be viewed and submitted on our [feedback portal](https://feedback.ewww.io/b/features)
    145145* If you would like to help translate this plugin in your language, [join the team](https://translate.wordpress.org/projects/wp-plugins/ewww-image-optimizer/)
     146
     147= 8.1.4 =
     148*Release Date - May 15, 2025*
     149
     150* added: customize lossy PDF compression by defining EWWW_IMAGE_OPTIMIZER_PDF_IMAGE_DPI and/or EWWW_IMAGE_OPTIMIZER_PDF_IMAGE_QUALITY
     151* fixed: WebP thumbnails have incorrect orientation when created from the original unoptimized image
    146152
    147153= 8.1.3 =
Note: See TracChangeset for help on using the changeset viewer.