[ANNOUNCEMENT] yaf-3.2.0 (beta) Released.

From: Date: Sat, 18 Apr 2020 14:11:17 +0000
Subject: [ANNOUNCEMENT] yaf-3.2.0 (beta) Released.
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-16694@lists.php.net to get a copy of this message
The new PECL package yaf-3.2.0 (beta) has been released at https://pecl.php.net/. Release notes ------------- - Refactor core data structs for performance, 20% speed up according to demo created by tool/cg/yaf_cg - Implemented PSR-4 autoloading, user now can specific a path for a namespace by Yaf_Loader::registerNamespace(name, path) - Added Yaf_Loader::registerNamespace(), Yaf_Loader::getNamespaces(), Yaf_Loader::getNamespacePath() - Added Yaf_Request::clearParams() - Added Yaf_Controller::getName(), Yaf_Action::getControllerName() - Added Yaf_Dispatcher::getDefaultModule(), Yaf_Dispatcher::getDefaultController() and Yaf_Dispatcher::getDefaultAction() - Added Yaf_Application::getInstance(), which is alias of Yaf_Application:app() - Added optional $format_name argument to Yaf_Request::setModule/Controller/actionName if it set to false, Yaf will set original input as name, default it true, which means Yaf will format the name(camel/lowercase) before set it to Request - Yaf_Controller::__construct now accpet no parameters, it now requires Yaf_Application is initialized. - Rmoved all lead underline for fake protected property name(examing by var_dump) - Fixed bug that protected method of Bootstrap get executed - Yaf_View_Simple is final class now, custom view engin should implements Yaf_View_Interface - Yaf_Route_* now routes valid Module/Controller/action name directly - Yaf_Controller action's arguments will be set even if there are gaps now (see test/issue420.phpt) Package Info ------------- Yaf is a PHP framework similar to zend framework, which is written in c and built as PHP extension Related Links ------------- Package home: https://pecl.php.net/package/yaf Changelog: https://pecl.php.net/package-changelog.php?package=yaf Download: https://pecl.php.net/get/yaf-3.2.0.tgz Authors ------------- Xinchen Hui <laruence@php.net> (lead)

« previous php.pecl.dev (#16694) next »