CakePHP 3.7.0-RC2 发布,PHP 快速开发框架

栏目: PHP · 发布时间: 6年前

内容简介:此外,3.7 是在 4.0 发布之前 CakePHP 3.x 最后一次计划发布的次要版本。一旦 4.0 发布,2.x 将只接收安全修复程序,3.x 则将继续接收错误和安全修复程序。如果社区有兴趣,可能会有 3.8 版本,但目前还没有计划。可以使用 composer 升级到 CakePHP 3.7.0 的 RC 版:

 CakePHP 3.7.0-RC2 发布了,这是 3.7 系列的第二个 RC 版本。该版本带来了几个新的主要功能。如果没有报告重大问题,将在几周内打包发布稳定版本。

此外,3.7 是在 4.0 发布之前 CakePHP 3.x 最后一次计划发布的次要版本。一旦 4.0 发布,2.x 将只接收安全修复程序,3.x 则将继续接收错误和安全修复程序。如果社区有兴趣,可能会有 3.8 版本,但目前还没有计划。

升级到 RC 版本:

可以使用 composer 升级到 CakePHP 3.7.0 的 RC 版:

php composer.phar require --update-with-dependencies "cakephp/cakephp:3.7.0-RC2"

自 3.7.0-RC1 以来的变化

  • Plugin::unload() is now deprecated. This mirrors the deprecation for  Plugin::load() .

  • New TestCase methods ( removePlugin()removePlugins() and  clearPlugins() ) have been added to remove plugins at runtime.

  • LocaleSelectorMiddleware will now automatically select a fallback locale like  es if a request for  es-ES is made and your application does not define an  es-ES locale.

  • MoParser now supports messages without contexts matching the behavior of  PoParser .

  • Backwards incompatible changes in ConsoleIntegrationTrait were reverted.

  • Cake\ORM\Query::disableHydration() was added.

  • Cake\View\ViewBuilder::disableAutoLayout() was added.

  • Cake\View\View::disableAutoLayout() was added.

  • Cake\Database\Query::disableBufferedResults() was added.

  • Cake\Database\Driver::disableAutoQuoting() was added.

  • Cake\Database\Query::disableAutoFields() was added.

  • Cake\Datasource\Connection::disableQueryLogging() was added.

  • Cake\Datasource\Connection::disableSavePoints() was added.

  • Pagination no longer includes the direction key in generated URLs when multiple sort columns are used.

  • Cake\TestSuite\TestCase::getMockForModel() now accepts  null for its  $methods parameter.

CakePHP 是一个运用了诸如 ActiveRecord、Association Data Mapping、Front Controller 和 MVC 等著名 设计模式 的快速开发框架。该项目主要目标是提供一个可以让各种层次的 PHP 开发人员快速地开发出健壮的 Web 应用,而又不失灵活性。

CakePHP 3.7.0-RC2 源码下载 https://github.com/cakephp/cakephp/releases/tag/3.7.0-RC2


以上所述就是小编给大家介绍的《CakePHP 3.7.0-RC2 发布,PHP 快速开发框架》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Code Reading

Code Reading

Diomidis Spinellis / Addison-Wesley Professional / 2003-06-06 / USD 64.99

This book is a unique and essential reference that focuses upon the reading and comprehension of existing software code. While code reading is an important task faced by the vast majority of students,......一起来看看 《Code Reading》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具