CakePHP 3.1.8 发布,PHP 开发框架

php中文网
发布: 2016-06-23 13:18:02
原创
1176人浏览过

cakephp 3.1.8 发布,此版本的更新内容如下:

Bug修复:

  • Using matching() on a BelongsToMany association with conditions no longer emits invalid SQL. ( @markstory )

  • Generated reciprocal BelongsToMany associations have the original conditions applied to them. ( @markstory )

  • Inflector::camelize() now caches results ( @ypnos-web )

  • ConnectionManager::config() no longer clones objects passed in. ( @lorenzo )

  • Postgres schema reflection now only reads constraints in the connection's schema ( @lorenzo )

  • Memcached can now connect to unix domain sockets. ( @tersmitten )

  • TreeBehavior now uses expression objects for field updates. This makes it compatible with datasources requiring identifier quoting. (@skiedr, @lorenzo )

  • Fixed incorrect behavior of TextHelper::autoLink() when CRLFs are present.  ( @jeremyharris )

  • The fullDebug argument of TestCase::assertHtml() now works as documented. ( @jeremyharris )

  • Helpers now allow newlines in javascript confirm messages. ( @markstory )

  • The cakephp-plugins.php file can now be located when cakephp/core is used as a standalone component. ( @harikt )

  • Simulated GET requests (via method overriding) no longer POST data populated.  This prevents GET requests from looking like they are POST requests that may cause unintentional side-effects. ( @lorenzo )

  • SecurityComponent now validates data whenever $request->data is populated.  This allows SecurityComponent to apply to PATCH and DELETE requests.  ( @markstory , @chinpei215 )

  • Controller::$name is correctly inflected when using the base route class.  ( @markstory )

小的改进:

自由画布
自由画布

百度文库和百度网盘联合开发的AI创作工具类智能体

自由画布 73
查看详情 自由画布
  • Fixtures can now use public $import = ['model' => 'Articles'] to import schema and records from a defined model. ( @dereuromark )

  • Improved API docs. ( @bcrowe , @Mathieu , @Tzaoh , @Sergey , @luke83 )

  • ConnectionManager::config() now accepts a callable. This makes it consistent with Log::config() . ( @lorenzo )

  • Query::set() now accepts a builder callable. ( @lorenzo )

  • Database\Type now allows objects to be injected via set(). ( @jadb )

  • SQL Query logs now include execution time and rows returned. ( @Bernat Arlandis)

  • Error logs now include Referring URL if it is available. ( @flavius )

详情请看: 发行说明

下载页面: 3.1.8

立即学习PHP免费学习笔记(深入)”;

PHP速学教程(入门到精通)
PHP速学教程(入门到精通)

PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号