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

栏目: 软件资讯 · 发布时间: 5年前

内容简介:CakePHP 3.7.0-RC2 发布了,这是 3.7 系列的第二个 RC 版本。该版本带来了几个新的主要功能。如果没有报告重大问题,将在几周内打包发布稳定版本。 此外,3.7 是在 4.0 发布之前 CakePHP 3.x 最后一次计划发布的...

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


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

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

The Web Application Hacker's Handbook

The Web Application Hacker's Handbook

Dafydd Stuttard、Marcus Pinto / Wiley / 2011-9-27 / USD 50.00

The highly successful security book returns with a new edition, completely updated Web applications are the front door to most organizations, exposing them to attacks that may disclose personal infor......一起来看看 《The Web Application Hacker's Handbook》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具