1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 CakePHP 3.6.0-beta2 发布,PHP 开发框架 下载

Discussion in '软件资讯' started by 漂亮的石头, 2018-03-13.

  1. 漂亮的石头

    漂亮的石头 版主 Staff Member

    Joined:
    2012-02-10
    Messages:
    488,399
    Likes Received:
    48
    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.

    下载地址:

    CakePHP 3.6.0-beta2 发布,PHP 开发框架下载地址
     
Loading...