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() .
GitHub 发布主页
下载地址 |