CakePHP3.1.8 released, PHP development framework

Source: Internet
Author: User
CakePHP3.1.8 and CakePHP 3.1.8 are released. the updated content of this version is as follows:

Bug fixes:

  • 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. (@ Lorenz Zo)

  • S schema reflection now only reads constraints in the connection's schema (@ Lorenz Zo)

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

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

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

  • The fullDebug argument of TestCase: assertHtml () now works as incluented. (@ 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. (@ Lorenz)

  • 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)

Minor improvements:

  • 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 (). (@ Lorenz)

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

  • 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)

For details, see release notes.

Download Page: 3.1.8

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.