Skip to content

v0.8.0

Latest

Choose a tag to compare

@simonhamp simonhamp released this 16 May 08:10
3406928

⚠️ This release contains breaking changes

Breaking changes

  • PHP 8.3+ required. The minimum PHP version has been bumped from 8.2 to 8.3 (inherited from Intervention Image v4).
  • Intervention Image v4. intervention/image is now constrained to ^4.0. Review the Intervention Image v4 upgrade guide for any direct usage in your app.
  • Border::color() now accepts a string instead of Intervention\Image\Interfaces\ColorInterface. Pass a hex code, rgba, or HTML color name (matching the rest of The OG's color handling).
  • Image::border() signature changed. The $color parameter is now ?string instead of ?Intervention\Image\Colors\Rgb\Color.
  • SimonHamp\TheOg\Interfaces\Box::anchor() return type changed from Intervention\Image\Geometry\Point to Intervention\Image\Interfaces\PointInterface. Custom Box implementations must update their return type.
  • SimonHamp\TheOg\Interfaces\Layout::render() return type changed from Intervention\Image\Image to Intervention\Image\Interfaces\ImageInterface. Custom Layout implementations must update their return type.

What's Changed

Full Changelog: v0.7.0...v0.8.0