From 45d62295180c26c5de3eb81a4652368f8087367a Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Sat, 18 Apr 2020 21:45:36 +0800 Subject: [PATCH] Preparing 3.2.0 --- package.xml | 41 ++++++++++++++++++++++++++++++++++++----- php_yaf.h | 2 +- 2 files changed, 37 insertions(+), 6 deletions(-) diff --git a/package.xml b/package.xml index 42483f6f..ee3ee7a1 100644 --- a/package.xml +++ b/package.xml @@ -10,18 +10,19 @@ laruence@php.net yes - 2020-04-?? - + 2020-04-18 + 3.2.0 3.2.0 - stable - stable + beta + beta PHP + - 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() @@ -263,6 +264,37 @@ yaf + + 2020-04-18 + + 3.2.0 + 3.2.0 + + + beta + beta + + PHP License + + - Refactor core data structs for performance, according to demo created by tool/cg/yaf_cg, 20% performance improved + - 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) + + + 2020-04-01 @@ -280,7 +312,6 @@ - minor optimization to avoding memory allocations - 2020-03-20 diff --git a/php_yaf.h b/php_yaf.h index 84f9dbde..a401eaf7 100644 --- a/php_yaf.h +++ b/php_yaf.h @@ -44,7 +44,7 @@ extern zend_module_entry yaf_module_entry; # define ZEND_ACC_DTOR 0x0 #endif -#define PHP_YAF_VERSION "3.2.0-dev" +#define PHP_YAF_VERSION "3.2.0" #define YAF_STARTUP_FUNCTION(module) ZEND_MINIT_FUNCTION(yaf_##module) #define YAF_RINIT_FUNCTION(module) ZEND_RINIT_FUNCTION(yaf_##module)