CakePHP 3.3.4 发布,PHP 开发框架

来源:开源中国社区 作者:达尔文
  

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 for Model.afterSaveCommit were useless if one wanted to acccess original state.

  • The ErrorHandlerMiddleware now logs errors as ErrorHandler 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.

下载地址:

 


时间:2016-09-26 08:22 来源:开源中国社区 作者:达尔文 原文链接

好文,顶一下
(0)
0%
文章真差,踩一下
(0)
0%
------分隔线----------------------------


把开源带在你的身边-精美linux小纪念品
无觅相关文章插件,快速提升流量