CakePHP 3.6.0-beta2 发布,PHP 开发框架 - 开源中国社区
CakePHP 3.6.0-beta2 发布,PHP 开发框架
达尔文 2018年03月13日

CakePHP 3.6.0-beta2 发布,PHP 开发框架

达尔文 达尔文 发布于2018年03月13日 收藏 0

在您的既有IT基础设施上按需构建人工智能更高效>>>  

CakePHP 3.6.0-beta2 已发布。3.6.0-beta2 是 CakePHP 3.6 系列的第二个 beta 版,带来了一些重要的新特性,详情请查看 3.6 迁移指南。更新内容:

  • Cake\Console\CommandFactory was added to allow applications to customize how command classes are built.

  • Cake\Database\Type\BatchCastingInterface was added. This interface allows type classes to optimize casting operations by operating on all columns in bulk. This interface can be used in custom types now, and will be used in core types in 4.x.

  • RoutingMiddleware can now cache application route collections providing significant improvements to application boot times.

  • Cake\ORM\Query::selectAllExcept() was added.

  • cake plugin unload and cake plugin load have been updated to modify the Application class.

  • Validator::add() now uses the rule name as the method if no method is provided.

  • TimestampBehavior no longer emits errors when columns are missing.

  • Plugin shells/commands are no longer auto-discovered by the Application. Instead plugin commands are discovered/added by the respective plugin class.

  • Console helpers can now live in App\Command\Helper.

下载地址:

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:CakePHP 3.6.0-beta2 发布,PHP 开发框架
分享
评论(0)
最新评论
顶部