Skip to content

Latest commit

 

History

History
283 lines (221 loc) · 7.69 KB

CHANGELOG.md

File metadata and controls

283 lines (221 loc) · 7.69 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

[0.5.8] - 24 October 2024

Fixed

  • Add funding

[0.5.7] - 26 August 2024

Fixed

  • Wrong composer dependencies

[0.5.6] - 23 August 2024

Fixed

  • Cast string as return type

[0.5.5] - 23 August 2024

Fixed

  • Add CSP nonces to inline scripts

[0.5.4] - 9 August 2024

Fixed

  • Only re-use limited set of HTML attributes for source-tags #78

[0.5.3] - 22 May 2024

Fixed

  • Make sure that HTML attribute values with double-quotes are still working #77

[0.5.2] - 4 April 2024

Fixed

  • Compatibility with Magento >=2.4.7-beta3

[0.5.1] - 27 February 2024

Fixed

  • Add warning about Hyva_YireoNextGenImages because docs are not read
  • Check for image extension in entire url instead of only at the end #72 @jesperingels
  • Remove data-src and data-srcset from original attributes in sources
  • Remove all whitespaces in image output
  • Fix broken integration tests due to modified constructor
  • Add relative-path of source image to target-path if target is cache-folder #62 @rommelfreddy

[0.5.0] - 22 September 2023

Added

  • Dispatch all-purpose Hyva gallery-init event to modify component data
  • Allow to configure skipped layout handles via DI type of ShouldModifyOutput

Fixed

  • Fix issue where image is not replaced with img tag opening plus newline
  • Field in admin is cache_directory_path instead of cache_directory #154
  • Quick hack for supporting /pub/ in URLs

[0.4.1] - 15 August 2023

Fixed

  • Make sure only PNG and JPG are being picked up

Added

  • Moved Hyva compatibility module features into this module, deprecating the compat mod

[0.4.0] - 16 March 2023

Fixed

  • Fixed HTTPS links being reset to HTTP links due to "normalization"
  • Simplify normalization without HTTP/HTTPS reset

Added

  • Option convert_css_backgrounds to convert images in CSS backgrounds as well #25 (@rommelfreddy)

[0.3.18] - 05 March 2023

Fixed

  • Fix deprecated dynamic property

[0.3.17] - 05 March 2023

Fixed

  • Fix PHP 7.3 issue
  • Bump composer requirement to PHP 7.3

[0.3.16] - 01 March 2023

Fixed

  • Make image cache path /media/nextgenimages/ configurable

[0.3.15] - 28 February 2023

Fixed

  • Remove duplicate source that matches original image
  • Also convert data-src when present
  • Support URLs from multiple Store Views
  • Ajax response plugin gets incorrect gallery images #55 @joe-vortex

[0.3.14] - 27 February 2023

Fixed

  • Prevent img in script from being parsed #133

[0.3.13] - 27 February 2023

Fixed

  • Fix for PHP 8.2 deprecated mb_convert_encoding #57 @hostep

[0.3.12] - 10 January 2023

Fixed

  • Remove loading="lazy" when fetchpriority="high" is present #53 @jesperingels

[0.3.11] - 24 October 2022

Fixed

  • Error 'Argument #1 () must not be empty' on PHP 8 #36 @khoimm92

[0.3.10] - 3 July 2022

Fixed

  • Don't display image timestamp if no image is there
  • Allow for multiple img tags on a row
  • Switch from complex regex to easier DOMDocument search
  • Issue with integration tests and Monolog 2.7
  • Add GitHub Actions composer cacheq

[0.3.9] - 29 June 2022

Fixed

  • Normalize base URL as well
  • Change html_entity_decode into escaper for PHPCS

[0.3.8] - 29 June 2022

Fixed

  • Make sure to keep HTTPS URLs for media intact
  • Convert static files into static URLs properly

[0.3.7] - 29 June 2022

Fixed

  • Normalized URLs don't match anymore with media URL and static URL (WebP #122)

[0.3.6] - 27 June 2022

Fixed

  • Handle URLs starting without protocol (//) in a better way (#34)

[0.3.5] - 12 June 2022

Fixed

  • Strip query string from source image URL (@theuargb)

[0.3.4] - 7 June 2022

Fixed

  • Make sure non-existing sources don't throw exceptions

[0.3.3] - 2 June 2022

Fixed

  • Do not edit gallery JSON when module is disabled

[0.3.2] - 21 May 2022

Fixed

  • Fix URL-to-file conversion for URL-decoded URLs
  • Respect native lazy loading attribute #29 (@pointia)

[0.3.1] - 19 May 2022

Fixed

  • Set sane defaults for all configuration values
  • Check if extension is enabled for plugin #30 (@artbambou)

Added

  • Beautify console output

[0.3.0] - 4 May 2022

Fixed

  • Same WebP image for example.jpg and example.jpeg
  • Improve translating static file URLs into filenames
  • Add event observer to make sure blocks with non-zero TTL are parsed when FPC is enabled
  • Fix issues with Product Swatches

Added

  • Various unit tests
  • Live testing for better testing
  • Moved AJAX plugin for swatches from WebP extension to NextGenImages
  • New config option for target directory
  • New config option for adding an unique hash for target images
  • Implement hash when creating target images

[0.2.13] - 10 December 2021

Fixed

  • isNewerThan method is not reached when the converted image already exists (@peteracs)

[0.2.12] - 10 November 2021

Added

  • Allow file driver interface to be overwritten

[0.2.11] - 26 October 2021

Fixed

  • Make sure non-self-breaking sources don't break

[0.2.10] - 17 August 2021

Fixed

  • Prevent file check from reading whole file (performance issue)

[0.2.9] - 17 August 2021

Fixed

  • Fatal Error on swatches AJAX call

Removed

  • DummyConvertor with DI preference
  • UrlReplacer used only in CorrectImagesInAjaxResponse

[0.2.8] - 17 August 2021

Fixed

  • Wrap exceptions so they don't appear in frontend
  • Prevent non-existing files from throwing NotFoundException

[0.2.7] - 13 August 2021

Fixed

  • Be more helpful when non-existing image is used in convert command
  • Make sure UrlConvertor throws error properly (@Quazz)

[0.2.6] - 13 August 2021

Fixed

  • Exception was supplied Phrase instead of string

[0.2.5] - 12 August 2021

Fixed

  • Remove debugging info

[0.2.4] - 12 August 2021

Fixed

  • Make sure plugin ConvertAfterImageSave still respects original return value

Added

  • Additional debug options for CLI command
  • Support for media URL different from base URL (like CDNs)

[0.2.3] - 7 July 2021

Fixed

  • Add current store to all methods
  • Make sure ConvertorListing works even though no convertor is available
  • Hide all other fields if setting "Enabled" is set to 0
  • Make sure plugins are off when module is configured to be disabled

[0.2.2] - 29 June 2021

Fixed

  • Make sure CLI converts images with their absolute path
  • Only convert image URLs matching the Magento base URL [@tdgroot]

[0.2.1] - 9 March 2021

Fixed

  • Fix Dummy convertor to prevent compilation error

[0.2.0] - 9 March 2021

Added

  • New option to try to convert on saving
  • Add console command for converting images manually
  • Add command to test for URIs quickly
  • Update convertor to make second arg optional

[0.1.1] - 15 February 2021

Fixed

  • Fix composer version
  • Fix word "Logging" in config options

[0.1.0] - 15 February 2021

Added

  • Enhance debugger with logging option
  • Add logging with every exception

[0.0.6] - 7 January 2021

Fixed

  • Reimplement data-src (PR 51 from the Yireo_Webp2 module)

[0.0.5] - 3 December 2020

Fixed

  • Add dummy convertor with DI preference
  • Replace all WebP deps with NextGenImages deps

[0.0.4] - 2 December 2020

Fixed

  • Re-add dep with WebP2 in controller

[0.0.3] - 2 December 2020

Fixed

  • Remove deps with WebP2 module
  • Add missing Browser class

[0.0.2] - 30 November 2020

Added

  • Methods to added to ConvertorInterface

Removed

  • Remove duplicate DI.xml (and add docs for this)

[0.0.1] - 30 November 2020

Added

  • Initial release together with Yireo WebP2