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; theimageblendedcolorallocate()implementation now lives in the\AndrewGJohnson\AgjGdclass - 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 withhljs.highlightAll()and removed obsolete Google Analytics script - Fixed
imageblendedcolorallocate()to extract RGBA components viaimagecolorsforindex()instead of bit shift operations, correctly supporting palette images created withimagecreate()in addition to true color images created withimagecreatetruecolor() - Fixed
imageblendedcolorallocate()to returnfalseimmediately when an invalid color identifier is passed as$color1or$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 allimagedestroy()calls; theimagedestroy()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,phpunitandtestcomposer 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
.githubfolder to unclutter the root directory - Added
CODEOWNERSfile - Added
FUNDING.ymlfile - Added
SECURITY.mdfile - Added
SUPPORT.mdfile - 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.mdfile for our single issue template and replaced withISSUE_TEMPLATEfolder 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)
- Launched online documentation at imageblendedcolorallocate.agjgd.org
v1.0.0 (December 9, 2018)
- Initial release of imageblendedcolorallocate