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