CakePHP 3.3.3 发布了,CakePHP是一个运用了诸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名设计模式的快速开发框架。该项目主要目标是提供一个可以让各种层次的PHP开发人员快速地开发出健壮的Web应用,而 又不失灵活性。
Bug 修复:
-
HasMany::un
no longer emits errors when an empty list is provided.link () -
The global event manager now tracks events when the local event manager does not have tracking enabled.
-
Selecting SQL computed fields in contained associations no longer emits warnings in PHP7
-
Redirect routes work correctly once again. Previously the beforeDispatch event was not stopped causing errors.
-
Folder::inPath()
now only accepts absolute paths. It previously had ambiguous behavior when relative paths were used. -
TestCase::getMockForModel()
now ensures that generated mocks have the correct table name. -
EntityTrait::clean()
now resets the original value states. -
Marshalling no longer marks unchanged
null
values as dirty. -
Numeric column names are now correctly quoted when identifier quoting is enabled.
新特性:
-
Improved API docs in the ORM and Database packages.
-
Cake\TestSuite\EmailAssertTrait
was added. This trait makes it easier to to write tests for Mailer classes. -
Hash::sort()
now supports sorting by the current locale. -
FormHelper::create()
now supports thetemplateVars
option.
下载地址: