Skip to content

Latest commit

 

History

History
106 lines (75 loc) · 2.63 KB

File metadata and controls

106 lines (75 loc) · 2.63 KB

Version 4.7.0

Release Date: Unreleased

4.7.0 release of CodeIgniter4

  • TBD
  • Images: The ImageHandlerInterface now includes a new method: clearMetadata(). If you've implemented your own handler from scratch, you will need to provide an implementation for this method to ensure compatibility.
  • CURLRequest: Added shareConnection config item to change default share connection.
  • CURLRequest: Added dns_cache_timeout option to change default DNS cache timeout.
  • CURLRequest: Added fresh_connect options to enable/disabled request fresh connection.
  • Email: Added support for choosing the SMTP authorization method. You can change it via Config\Email::$SMTPAuthMethod option.
  • Image: The ImageMagickHandler has been rewritten to rely solely on the PHP imagick extension.
  • Image: Added ImageMagickHandler::clearMetadata() method to remove image metadata for privacy protection.
  • Time: added methods Time::addCalendarMonths() and Time::subCalendarMonths()
  • Added Email.invalidSMTPAuthMethod and Email.failureSMTPAuthMethod
  • Deprecated Email.failedSMTPLogin and Image.libPathInvalid
  • Cookie: The CookieInterface::EXPIRES_FORMAT has been changed to D, d M Y H:i:s \G\M\T to follow the recommended format in RFC 7231.
  • Format: The Format::$jsonDepthOptions options to change default behavior JSON Encode.
  • Image:
    • The config property Config\Image::libraryPath has been deprecated. No longer used.
    • The exception method CodeIgniter\Images\Exceptions\ImageException::forInvalidImageLibraryPath has been deprecated. No longer used.
  • Cookie: The CookieInterface::SAMESITE_STRICT, CookieInterface::SAMESITE_LAX, and CookieInterface::SAMESITE_NONE constants are now written in ucfirst style to be consistent with usage in the rest of the framework.

See the repo's CHANGELOG.md for a complete list of bugs fixed.