Quantcast
Channel: OSCHINA 社区最新新闻
Viewing all articles
Browse latest Browse all 44801

CakePHP 3.3.6 发布,改进 API 文档

$
0
0

CakePHP 3.3.6 发布了,该版本修复了3.3分支中许多社区报告的问题。CakePHP 是一个运用了诸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名设计模式的快速开发框架。该项目主要目标是提供一个可以让各种层次的PHP开发人员快速地开发出健壮的Web应用,而又不失灵活性。

    更新内容如下:

    Bug修复

    • The ORM will now correctly handle complex types like datetimes in where conditions for associations that are joined with joinWith()innerJoinWith()matching() and notMatching().

    • View Cells now include the template and action name when generating cache keys. This fixes incorrect cached content from being displayed.

    • When autoFields are disabled 1:1 associated records will now be hydrated as an empty object.

    • The associations generated by BelongsToMany associations now preserve the loading strategy defined in the root association.

    • A double URL encoding issue on cookie values emitted by the PSR7 HTTP stack. This resulted in encrypted cookies not being readable.

    • TestCase::getMockForModel() now correctly sets plugin model aliases.

    • RoutingMiddleware sets the request method based on the _method request data parameter.

    • SqlServer handles default values with N prefixes now.

    新特性

    • Improved API documentation.

    • The ajaxLogin of AuthComponent is now deprecated.

    • PaginatorHelper supports escape => false in more methods.

    • PaginatorHelper::generateUrl() was added.

    • HtmlHelper::meta() can now create canonical, next and prev tags.

    下载地址

    发行说明


    Viewing all articles
    Browse latest Browse all 44801

    Trending Articles