发布于 2017-03-10 23:25:57 | 48 次阅读 | 评论: 0 | 来源: 网友投递
CakePHP PHP开源框架
CakePHP是一个运用了诸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名设计模式的快速开发框架。该项目主要目标是提供一个可以让各种层次的PHP开发人员快速地开发出健壮的Web应用,而 又不失灵活性。
CakePHP 3.4.3 发布了。
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 发布主页
下载地址