CakePHP 3.1.8 發布,PHP 開發架構

來源:互聯網
上載者:User
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

  • 聯繫我們

    該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

    如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

    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.