Maison > développement back-end > tutoriel php > CakePHP 3.1.8 发布,PHP 开发框架

CakePHP 3.1.8 发布,PHP 开发框架

WBOY
Libérer: 2016-06-23 13:18:02
original
907 Les gens l'ont consulté

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

Étiquettes associées:
source:php.cn
Déclaration de ce site Web
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn
Tutoriels populaires
Plus>
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal