Releases: DeveloperMarius/simple-php-router
Version 5.1.0.16
Hello,
this release fixes the problem that on apache webservers the Authorization header isn't returned by the $_SERVER value.
~ Marius
Version 5.1.0.15
Hello,
this release adds an event called after input validations ran.
~ Marius
Version 5.1.0.14
Hey,
quick Bug fix. Use first key for parsing when is marked as nested (via validator) but default is used.
~ Marius
Version 5.1.0.13
Hey,
this release contains a fix for nested key value array validation & parsing.
~ Marius
Version 5.1.0.12
Hello,
this release contains deep array parsing & array input support.
~ Marius
Version 5.1.0.9
Hello,
this release contains the fix #13 by @xJuvi, thank you.
I also added a function that loades all routes attached with the Route Attribute from a controller class:
#[RouteGroup('/group')]
class DummyLoadableController{
#[Route(Route::GET, '/test2/endpoint')]
public function method1(){
return 'method1';
}
#[Route(Route::POST, '/test/url'), ValidatorAttribute('fullname', 'string', 'min:5|max:20'), ValidatorAttribute('company', 'string')]
public function method2(){
return 'method2';
}
}
and load the routes where you want:
TestRouter::loadRoutes(DummyController::class);
The RouteGroup acts like a normal route group with a prefix and settings.
~ Marius
Version 5.1.0.11
Hello,
this release contains deep array parsing support.
~ Marius
Version 5.1.0.10
Hey,
added option to pass data source methods to all() and values() functions.
~ Marius
Version 5.1.0.8
Hello,
I added compatibility for receiving nested array data when using requireAttributeValues() in routes.
~ Marius
Version 5.1.0.7
Hey,
- fixed an issue reported by @compilekaiten in #11. When using rewriteCallback in a middleware echo callback was not detected (Worked only with return). This behavior was fixed.
- fixed deprecation notice for php 8.2 thanks to @jeremie-arcidiacono in #10
Thanks for the help!
~ Marius