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. 详细改进内容请看发行说明。 下载: cakephp-3-1-4.zip cakephp-3-0-15.zip 2.7.6.zip 2.6.12.zip CakePHP 3.1.4, 3.0.15, 2.7.6/2.6.12 发布下载地址