Skip to content

Latest commit

 

History

History
57 lines (46 loc) · 5.2 KB

CHANGELOG.md

File metadata and controls

57 lines (46 loc) · 5.2 KB

Changelog

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

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

v2.0.0 (August 5, 2026)

imageblendedcolorallocate is now part of AgjGd. The implementation has moved to the \AndrewGJohnson\AgjGd class and this package is now a thin reverse-compatibility wrapper around it.

  • Breaking: raised the minimum PHP version from 5.0 to 8.0
  • Breaking: added a dependency on andrewgjohnson/agjgd; the imageblendedcolorallocate() implementation now lives in the \AndrewGJohnson\AgjGd class
  • Changed the global imageblendedcolorallocate() function into a deprecated reverse-compatibility wrapper that forwards to \AndrewGJohnson\AgjGd::imageblendedcolorallocate(); please use the class in new code
  • Updated the examples and documentation to load the class through Composer’s autoloader

v1.1.2 (May 13, 2026)

  • Changed the font in the examples from Arial to Noto Sans which uses the SIL OFL 1.1
  • Updated documentation website to replace deprecated hljs.initHighlighting() call with hljs.highlightAll() and removed obsolete Google Analytics script
  • Fixed imageblendedcolorallocate() to extract RGBA components via imagecolorsforindex() instead of bit shift operations, correctly supporting palette images created with imagecreate() in addition to true color images created with imagecreatetruecolor()
  • Fixed imageblendedcolorallocate() to return false immediately when an invalid color identifier is passed as $color1 or $color2
  • Added unit tests for blending behaviour, boundary conditions and invalid inputs
  • Removed references to defunct platforms (Google+ and Gitter) from the Code of Conduct

v1.1.1 (May 9, 2026)

  • Added .gitattributes file to help manage end-of-line characters
  • Added a version_compare() check before all imagedestroy() calls; the imagedestroy() function became an optional step that did nothing as of PHP 8.0 but as of PHP 8.5 when invoked it produces a deprecation notice

v1.1.0 (May 6, 2026)

  • Added Contribute page and updated contributing guidelines
  • Added PHP_CodeSniffer support to enforce PSR-12 and PHP 5.0 compatibility
  • Added PHPUnit support for unit tests
  • Added lint, lint:fix, phpunit and test composer scripts
  • Fixed support for older PHP versions; this project now truly supports PHP 5.0
  • Fixed a number of broken links

v1.0.2 (November 22, 2022)

  • Signed up for Patreon and added links to README.md
  • Added .github folder to unclutter the root directory
  • Added CODEOWNERS file
  • Added FUNDING.yml file
  • Added SECURITY.md file
  • Added SUPPORT.md file
  • Updated shields.io badge aesthetics on README.md
  • Removed the MIT logo from the shields.io badge for imageblendedcolorallocate's license
  • Added Patrons shields.io badge to README.md
  • Enabled GitHub discussions area and now recommending it over StackOverflow
  • Removed ISSUE_TEMPLATE.md file for our single issue template and replaced with ISSUE_TEMPLATE folder to separate bug reports & feature requests within GitHub issues
  • Updated avatar image
  • Moved all Twitter activity for all agjgd projects (including imageblendedcolorallocate) to the @agjgdphp Twitter account as there were issues with the individual accounts being frozen
  • Changed documentation website to imageblendedcolorallocate.agjgd.org
  • Updated copyright years to 2022

v1.0.1 (December 15, 2018)

v1.0.0 (December 9, 2018)

  • Initial release of imageblendedcolorallocate