Release Date: Unreleased
4.7.0 release of CodeIgniter4
- TBD
- Images: The
ImageHandlerInterfacenow 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
shareConnectionconfig item to change default share connection. - CURLRequest: Added
dns_cache_timeoutoption to change default DNS cache timeout. - CURLRequest: Added
fresh_connectoptions to enable/disabled request fresh connection. - Email: Added support for choosing the SMTP authorization method. You can change it via
Config\Email::$SMTPAuthMethodoption. - Image: The
ImageMagickHandlerhas been rewritten to rely solely on the PHPimagickextension. - Image: Added
ImageMagickHandler::clearMetadata()method to remove image metadata for privacy protection. - Time: added methods
Time::addCalendarMonths()andTime::subCalendarMonths()
- Added
Email.invalidSMTPAuthMethodandEmail.failureSMTPAuthMethod - Deprecated
Email.failedSMTPLoginandImage.libPathInvalid
- Cookie: The
CookieInterface::EXPIRES_FORMAThas been changed toD, d M Y H:i:s \G\M\Tto follow the recommended format in RFC 7231. - Format: The
Format::$jsonDepthOptionsoptions to change default behavior JSON Encode.
- Image:
- The config property
Config\Image::libraryPathhas been deprecated. No longer used. - The exception method
CodeIgniter\Images\Exceptions\ImageException::forInvalidImageLibraryPathhas been deprecated. No longer used.
- The config property
- Cookie: The
CookieInterface::SAMESITE_STRICT,CookieInterface::SAMESITE_LAX, andCookieInterface::SAMESITE_NONEconstants 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.