首頁 >後端開發 >php教程 >CakePHP 3.1.8 发布,PHP 开发框架

CakePHP 3.1.8 发布,PHP 开发框架

WBOY
WBOY原創
2016-06-23 13:18:02909瀏覽

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 )

小的改进:

  • 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

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn