The CakePHP core team have just announced the immediate availability of CakePHP 3.9.7. This is a maintenance release for the 3.9 branch that fixes several community reported issues mainly related to routes check, alignment behavior between sprintf and icu message formatters, and between Entity::isEmpty() and Entity::hasValue() to treat ‘0’ as a non-empty value.
In addition to few improvements in API documentation, and support of multiple addresses in Email::setReplyTo(). Four years ago, CakePHP announced that the 3.6 would be the last in the 3.x branch with the possibility of 3.7. Today we have CakePHP 3.9.7 in the 3.x branch and 4.2.4 in the 4.x branch. The version 4 of the framework support PHP 7.4 (min. PHP 7.2) while the version 3 support PHP 7.4 (min. PHP 5.6). While work already started on Cake5, there is no plans yet to support PHP 8.
CakePHP 3.9.7 Bugfixes
You can expect the following changes in 3.9.7. See the changelog for every commit.
bin/cake routes check
no longer fails when redirect routes are used.- Improved API documentation and method annotations.
- The variable replacement behavior was aligned between the
sprintf
andicu
message formatters. This change was a backport from 4.x. - Aligned
Entity::isEmpty()
andEntity::hasValue()
to treat'0'
as a non-empty value. This aligns the behavior with documentation and original intent. - Fixed path handling in
FileCache
to prevent deleting an empty paths. TableLocator::get()
now raises an error when a table’sinitialize()
method would create an infinite loop.Email::setReplyTo()
now takes multiple addresses.
Contributors to 3.9.7
Thank you to all the contributors that helped make this release happen:
- ADmad
- Corey Taylor
- Marc WĂ¼rth
- Mark Story
- mtak3
- ndm2
- othercorey
- Waldemar Bartikowski
As always, thanks all the contributors that opened issues, created pull requests or updated the documentation.
CakePHP is an open source software released under an MIT license. More information at https://github.com/cakephp/cakephp