红联Linux门户
Linux帮助

CakePHP 3.1.4, 3.0.15, 2.7.6/2.6.12发布

发布时间:2015-11-07 09:39:15来源:红联作者:pacfaket
CakePHP 3.1.4, 3.0.15, 2.7.6/2.6.12 发布,CakePHP 3.1.4 主要是安全更新和 bug 修复:修复了 Remote File Inclusion 安全问题;其他 bug 修复:

PaginatorHelper always lowercases direction to be consistent.

Using the --debug flag in PHPUnit will also enable fixture schema SQL to be logged.

CounterCacheBehavior now uses bindingKey() resolving issues for associations that use custom binding keys.

The afterSaveCommit and afterDeleteCommit callbacks were added to behaviours.

The ability to set the default model type for classes using the ModelAwareTrait was added.

Default type inference in ORM\Query is now faster.

BelongsToMany link replacement no longer fails when the association conditions include columns from the junction table.

HasMany replace() now checks the return value of delete operations.

Nested validators are now aware of the create/update context.

Query::where() now throws an exception when empty conditions are added. This prevents the addition of 1 != 1 clauses.

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

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

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

共有 0 条评论