CakePHP 3.3.4 发布了。
CakePHP是一个运用了诸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名设计模式的快速开发框架。该项目主要目标是提供一个可以让各种层次的PHP开发人员快速地开发出健壮的Web应用,而 又不失灵活性。
改进内容:
__xn
,__dx
and__dxn
support variadic arguments now.An incompatibility in
Response::body(callable)
& PSR7 stack was fixed.Improved API docs resolving warnings in PHPStorm and other IDEs
Checkbox inputs now support the
escape
option.Translations that result in '' no longer throws an exception.
EventManager::__debugInfo()
is more accurate.Fix
notMatching()
without query builder callback triggering an error.Clean primary entity after
Model.afterSaveCommit
is triggered. Previously primary entity was being cleaned too early and callbacks forModel.afterSaveCommit
were useless if one wanted to acccess original state.The
ErrorHandlerMiddleware
now logs errors asErrorHandler
would.Requests with an invalid HTTP protocol version no longer fatally error. Instead they return a 400 HTTP status code.
Redirect Routes now work as expected for applications in subdirectories using the PSR7 HTTP stack.
DispatchFilters now receive events when exceptions are rendered again.
Session regeration now works as expected with the database adapter, and PHP7+
Very large decimal values can now be used in database operations withouth losing precision now.
下载地址: