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

新闻 CakePHP 3.4.3 发布,PHP 开发框架 下载

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

  1. 漂亮的石头

    漂亮的石头 版主 Staff Member

    Joined:
    2012-02-10
    Messages:
    487,979
    Likes Received:
    47
    CakePHP 3.4.3 发布了。CakePHP 是一个运用了诸如 ActiveRecord、Association Data Mapping、Front Controller 和 MVC 等著名设计模式的快速开发框架。该项目主要目标是提供一个可以让各种层次的 PHP 开发人员快速地开发出健壮的 Web 应用,而又不失灵活性。该版本主要修复了一些社区反馈的问题。

    Bug 修复和新特性:


    • Query::rowCountAndClose() was added enabling you to get a rowcount and close a statement in a single method. This is intended to be used with delete and update queries.


    • ServerRequest now correctly handles $_FILES when the keys are out of order.


    • Newlines in the confirm messages created by FormHelper are now preserved.


    • The $showHtml argument of dd() is now used.


    • CLI commands can now return integers to indicate errors.


    • Response::withStringBody() was added making it easier to create responses with simple string bodies.


    • The lib-ICU version requirement was removed. It was causing installation issues for many users on windows.


    • The elipsis in PaginatorHelper::numbers() always replaces more than one page now. Previously it would sometimes replace only a single page.


    • cake routes generate now parses boolean arguments.


    • Incorrect attributes in the XML help for CLI commands have been fixed.


    • HtmlHelper::meta() now accepts the block option in the custom meta tag array data.


    • In a nested transaction when a rollback is followed by a commit, an exception is now raised as the entire transaction must be aborted when save points are not being used. The previous behavior could result in operations following the first rollback to succeed as they ran in a standalone transaction.


    • Error handling now always includes the file name and line number.


    • Entity::setVirtual() and Entity::setHidden() now merge non-associative array arguments when called multiple times with the merge parameter.


    • TranslateBehavior's allowEmptyTranslations option no longer creates orphaned records when translated text is empty.


    • Text::highlight() now has a limit option.


    • TableSchema::removeColumn() was added.

    请参阅每个提交的 changelog 以了解详细内容。GitHub 发布主页

    下载地址

    CakePHP 3.4.3 发布,PHP 开发框架下载地址
     
Loading...