CakePHP v4.0.4 Release Notes
Release Date: 2020-02-22 // about 4 years ago-
๐ The CakePHP core team is happy to announce the immediate availability of CakePHP 4.0.4. This is a maintenance release for the 4.0 branch that fixes several community reported issues.
๐ Bugfixes
๐ You can expect the following changes in 4.0.4. See the changelog for every commit.
- ๐
Http\Response::$_contenType
was removed as it was often wrong and out of sync with thegetHeader('Content-Type')
value. - ๐
NumberHelper::precision()
had the$options
parameter added so it can better wrapNumber::precision()
. - โ Add
timestamptimezone
mapping toFormHelper
andDateTimeWidget
. - โ
IntegrationTestCaseTrait
once again raises exceptions whendisableErrorHandlerMiddleware()
is used. datetime-local
values are rendered with milliseconds byDateTimeWidget
only when step size is less than 1.- ๐ Improved API documentation.
- ๐ Improved missing template exception messages. They now list out the full path of every attempted file.
- โก๏ธ
CounterCacheBehavior
no longer attempts to update values when the foreign key is null. - ๐ป Loading optional associations with
leftJoinWith()
andcontain()
no longer raises an exception about missing association data. TextHelper::autoParagraph()
now acceptsnull
.HtmlHelper::para()
now acceptsnull
.- ๐
Validation::decimal()
now handles Polish formatted numbers correctly. HasMany
associations now set invalid messages and errors on the parent entity when non-atomic saves fail.- ๐ Improved missing database exception message.
- Logged fatal errors now include the file and line position.
Contributors to 4.0.4
๐ Thank you to all the contributors that helped make this release happen:
- ADmad
- Corey Taylor
- Justin Slamka
- Mark Scherer
- Mark Story
- Michal
- Rachman Chavik
- Remi Collet
- Victor Eduardo de Assis
๐ As always, we would like to thank all the contributors that opened issues, created pull requests or updated the documentation.
- ๐