From 0cab1e91635135d2ed2488ff6c4d53dc4f2ce709 Mon Sep 17 00:00:00 2001 From: enfoqueNativo Date: Wed, 12 Apr 2017 17:21:01 -0300 Subject: [PATCH 1/3] Se vuelve a modificar la forma de invocar la closure para que funcione en PHP 7 --- src/SIUToba/rest/seguridad/firewall.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SIUToba/rest/seguridad/firewall.php b/src/SIUToba/rest/seguridad/firewall.php index 69a825b..d577c25 100644 --- a/src/SIUToba/rest/seguridad/firewall.php +++ b/src/SIUToba/rest/seguridad/firewall.php @@ -57,7 +57,8 @@ public function manejar($ruta, $request) if (count($this->authentications) == 1) { //BC // current ya invoca la closure - $authentication = current($this->authentications); + $auth = current($this->authentications); + $authentication = $auth(); } else { foreach ($this->authentications as $auth){ // invocamos la closure From f29305fd4319641ef0c7bbfc1ddb17d62a18f3f6 Mon Sep 17 00:00:00 2001 From: enfoqueNativo Date: Wed, 10 May 2017 12:33:54 -0300 Subject: [PATCH 2/3] Update changelog --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b588201..0244e02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,39 @@ # CHANGELOG +## v 2.0.0 10/05/2017 + * Version para PHP 7+ + +## v 1.1.8 10/04/2017 + * Bugfix con closures y PHP 5.6 + +## v 1.1.7 04/04/2017 + * Se agrega mecanismo de logs + +## v 1.1.6 09/03/2017 + * Autenticacion via JWT + * Fix encoding de la respuesta + +## v 1.1.5 12/04/2016 + * Autenticacion via X509 + +## v 1.1.4 28/10/2015 + * Bugfixes + +## v 1.1.3 25/09/2015 + * Bugfixes + +## v 1.1.2 14/09/2015 + * Agregado tipo arreglo a rest_validador + * Nombre de clase puede diferir del nombre archivo + * Agregado de multi-paths tanto para ruteador y generador de documentación + * Agregada posibilidad de retornar datos en un PUT + * Agregada vista_raw para devolver binarios por ejemplo + * Corrección de la generación de documentación + * Agregado de setters a la app para inyectar o reemplazar dependencias + +## v 1.1.1 24/06/2015 + * Se agrega parametro API-Version y se actualizan el parseo de modelos + ## v 1.1.0 10/03/2015 * Se agregan puntos de montaje (/me, /admin) para subdividir la API * Se permiten nombres compuestos para los recursos. Los nombres compuestos se separan por '-' en la url, y por '_' en el código From ed6d8e38fd570fc5deb1053b08db0d0917f6fa3f Mon Sep 17 00:00:00 2001 From: enfoqueNativo Date: Wed, 10 May 2017 12:37:15 -0300 Subject: [PATCH 3/3] Actualizo requerimientos de PHP --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 6557b15..025d285 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "homepage": "http://toba.siu.edu.ar", "license": "SIU", "require": { - "php": ">=5.5.0", + "php": ">=7.0.0", "doctrine/cache": "~1.4", "siu-toba/ssl-cert-utils": "1.0", "siu-toba/jwt-util": "~1.0.0"