红联Linux门户
Linux帮助

CakePHP 3.4.1发布,PHP开发框架

发布时间:2017-02-19 09:10:01来源:红联作者:baihuo
CakePHP 3.4.1 发布了。CakePHP 是一个运用了诸如 ActiveRecord、Association Data Mapping、Front Controller 和 MVC 等著名设计模式的快速开发框架。该项目主要目标是提供一个可以让各种层次的 PHP 开发人员快速地开发出健壮的 Web 应用,而又不失灵活性。该版本主要修复了一些社区反馈的问题。

Bug 修复和新特性:

CounterCacheBehavior had an ignoreCounterCache option added, allowing you to disable counter updates on save.

Table::saveOrFail() and Table::deleteOrFail() were added. These methods allow you to perform save/delete operations that raise exceptions on failure instead of returning false.

Support for PHPUnit 6 was added. Currently only composer based installation of PHPUnit 6 is supported.

Helper::getView() was added.

Urlencoded URLs are once again matched correctly.

InflectedRoute routes using HTTP method conditions work again.

Association duplicate alias detection is more relaxed and accepts sub-classes.

Mailer\Email no longer waits until the socket timeout when an SMTP server disconnects early.

BelongsToMany::foreignKey() no longer incorrectly returns $this when modifying the key.

Strings that contain only whitespace are now correctly output by debug().

软件详情:https://github.com/cakephp/cakephp/releases/tag/3.4.1

下载地址:https://github.com/cakephp/cakephp/releases/download/3.4.1/cakephp-3-4-1.zip

来自:开源中国社区
文章评论

共有 0 条评论