CakePHP 2.9.0-RC1 发布了。
CakePHP的核心团队很高兴地宣布CakePHP的2.9.0-RC1的发布。此版本是2.9的分支,它增加了一些新功能,在2.x系列中的第一候选发布版。在API定义确定下来之前,对新功能的使用有任何问题,欢迎您随时反馈。
弃用
The
Object
class has been deprecated due to upcoming PHP7 collisions. It has been renamed toCakeObject
to avoid collisions with new PHP reserved words.
新特性
AuthComponent::user()
now makes the user data available when using stateless authentication adapters.DboSource::flushQueryCache()
was added to allow more fine-grained control of query result caching when enabled.The log messages created by
ErrorHandler
can now be more easily customized in subclasses.Additional mime-types for 'jsonapi', and 'psd' were added.
Time & Datetime inputs no longer set a
maxlength
attribute when rendered as 'text' input types.