Cphalcon 4.0.0-alpha.2 发布,PHP 的 C 扩展 Web 框架

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

内容简介:Cphalcon 3.4.1 发布了,Cphalcon 是一个开源的 Web 框架,作为 PHP 语言 C 扩展,它提供了更高的性能与更低的资源消耗。此次更新内容包含: 新增 Added notFound() method in Phalcon\Translate\Adapter\NativeA...

Cphalcon 3.4.1 发布了,Cphalcon 是一个开源的 Web 框架,作为 PHP 语言 C 扩展,它提供了更高的性能与更低的资源消耗。此次更新内容包含:

新增

  • Added notFound() method in Phalcon\Translate\Adapter\NativeArray which returns the key requested if not found. The method can be overriden when extending the class, returning what the developer needs #13007

  • Added Phalcon\Service\LocatorPhalcon\Service\LocatorInterface and Phalcon\Service\LocatorFactoryInterface to allow for the creation of service locators and factories throughout the application #13771

  • Added Phalcon\Http\Request::setParameterFilters. It allows you to preset filters for specific input (i.e. idname etc.). You can then retrieve the automatcally sanitized values using Phalcon\Http\Request::getFilteredQueryPhalcon\Http\Request::getFilteredPost and Phalcon\Http\Request::getFilteredPut #13488

修复

  • Fixed Phalcon\Mvc\Micro::handle to properly return a response object #13712

  • Fixed Phalcon\Cache\Backend\Libmemcached returning "empty" values being as null when they could be 0false or empty string#13497

  • Fixed session adapters to properly implement SessionHandlerInterface::write

  • Fixed Phalcon\Session\Manager to not interact with $_SESSION variable if the session has not been started #13718#13520

  • Fixed Phalcon\Cli\Console class not found error if handling the same module twice #13724

  • Fixed Phalcon\Cache\Backend\Libmemcached returning "empty" values being as null when they could be 0false or empty string#13497

  • Fixed Phalcon\Mvc\View\Engine\Volt\Compiler::functionCall building the incorrect code for the following tags; select, and select_static #13459

  • Fixed Phalcon\Tag\Select not rendering without any options.


修改

  • Changed the Phalcon\Tag::renderTitle() parameters such as Phalcon\Tag::getTitle() #13706

  • Changed the Phalcon\Html\Tag::renderTitle() parameters such as Phalcon\Html\Tag::getTitle()#13706

  • Changed the Phalcon\Version::get() to follow semantic versioning #13720

  • Changed the Phalcon\Translate\Adapter\NativeArray to accept a new parameter in the constructor triggerError. This will trigger an error if the key is not found #13007

  • Changed the default action of Phalcon\Acl\Memoryto be Acl::DENY instead of Acl::ALLOW #13758

  • Changed Phalcon\Mvc\User\Plugin to Phalcon\Plugin #13749

  • Changed Phalcon\Exception to implement \Throwable interface.#13750

  • Changed Phalcon\Http\Cookie. The httpOnly property is no longer initialised with a value #13464

  • Changed the default action for no arguments of Phalcon\Acl\Memoryto be Acl::DENY instead of Acl::ALLOW #13769

  • Changed the implementation of Phalcon\Filter. It uses a service locator and a service locator factory now. It has more sanitizers now. #13060

更新日志


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

查看所有标签

猜你喜欢:

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

Vim实用技巧

Vim实用技巧

[英] Drew Neil / 杨源、车文隆 / 人民邮电出版社 / 2014-5-1 / 59.00元

vim是一款功能丰富而强大的文本编辑器,其代码补全、编译及错误跳转等方便编程的功能特别丰富,在程序员中得到非常广泛的使用。vim能够大大提高程序员的工作效率。对于vim高手来说,vim能以与思考同步的速度编辑文本。同时,学习和熟练使用vim又有一定的难度。 《vim实用技巧》为那些想要提升自己的程序员编写,阅读本书是熟练地掌握高超的vim技巧的必由之路。全书共21章,包括121个技巧。每一章......一起来看看 《Vim实用技巧》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

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

Base64 编码/解码

SHA 加密
SHA 加密

SHA 加密工具