Skip to content

Commit

Permalink
Merge branch 'release/v2.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
enfoqueNativo committed May 10, 2017
2 parents ca41d0f + ed6d8e3 commit 3dd0173
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion src/SIUToba/rest/seguridad/firewall.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3dd0173

Please sign in to comment.