標籤:
CakePHP 3.3.3 發布了,CakePHP是一個運用了諸如ActiveRecord、Association Data Mapping、Front Controller和MVC等著名設計模式的快速開發架構(騰雲科技ty300.com)。該項目主要目標是提供一個可以讓各種層次的PHP開發人員快速地開發出健壯的Web應用,而 又不失靈活性(勤快學qkxue.net)。
Bug 修複:
HasMany::unlink() no longer emits errors when an empty list is provided.
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.
改進ORM和資料庫包的API文檔。
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 the templateVars option.
更多CakePHP 教程:PHP 開發架構,請查閱勤快學qkxue.net
CakePHP 教程:PHP 開發架構