The CakePHP core team is happy to announce the immediate availability of CakePHP 5.2.4. This is a maintenance release for the 5.2 branch that fixes several community reported issues and regressions.
Bugfixes
You can expect the following changes in 5.2.4. See the changelog
for every commit.
- Improves foreign key reflection with sqlite to resolve gaps between functionality offered in migrations.
- Fixed a regression in
EntityTrait::isModified()
. - Fixed PHP warnings being emit when rendering a development error page for
MissingActionException
. - Fixed regressions that broke documented custom message loaders for
I18n
. - CLI options are now coerced to string to avoid type errors with
ConsoleInputOption:
constructor. - Fixed regression with
App.base
configuration not being used. - Added the
clearUsesFlushDb
option toRedisEngine
. When enabled this allowsclear()
andclearGroup()
to useFLUSHDB
. This option should be used with caution as it will drop all keys in the current redis database. - Primary key reflection in SQLServer now retains the primary key name to support primary key operations in migrations.
- Improved support for mockery, and increased usage of mockery in cakephp's tests.
- Replaced
PHPUnitConsecutiveTrait::withConsecutive()
with mockery's methods.
Contributors to 5.2.4
Thank you to all the contributors that submitted a pull request:
- ADmad
- Jamison Bryant
- Mark Scherer
- Mark Story
- Mirko Pagliai
As always, we would like to also thank all the contributors that opened issues, or updated the documentation.