为什么棋牌室开着开着就倒闭了?
CakePHP 3.0.4 发布,此版本是个维护版本,包括安全修复和 bug 修复。
安全修复
- CsrfComponent 验证请求失败,导致丢失 CSRF token 和 CSRF 发送数据
- 当编组请求数据时,空条目会绕开验证,创建 JSON 负载。RulesChecker 验证不会被这些空条目绕开。
Bug 修复
- Cascading deletes on associations with custom aliases should no longer fail.
- XmlView now supports
_xmlOptions
. This matches the behavior of JsonView. EntityTrait::extractOriginal()
now behaves consistently withextract()
. Both methods now include all named properties, instead of just the unchanged properties. A new methodextractOriginalChanged()
can be used to extract only the original values of changed attributes.- Query string parameters are now correctly supported in
IntegrationTestCase
. Collection::isEmpty()
andCake\ORM\Query::isEmpty()
was added.- Forms can now be created without the action attribute.
- Accessing entity data is now more efficient. Entities will cache the result of custom accessors, and invalidate the cache when properties are changed or removed.
此版本现已提供下载:cakephp-3-0-4.zip。