Releases: Nevraxe/Cervo
Releases · Nevraxe/Cervo
Version 4.0.0
New in Version 4.0.0
Added
- Router::addRoute() now support an array of HTTP methods and/or CLI
- Can now chain multiple Middlewares per routes
- Added new Router::middleware() to apply a middleware to every routes within it
- Added support for METHOD_NOT_ALLOWED in the Router
- Added Router::group() to apply a prefix to every routes within it
- Added a base for an injection system, will be reworked in 5.0
Updated
- Updated FastRoute to 1.0
Removed
- Removed the Response library
- Removed support for callables in a Route
- Removed support for Query String requests in the Router
Fixes
- Adhere better to coding standards
- Removed the "Method" suffix for controller methods
- Better tracking of CLI usage in the Router
Version 3.0.6
New in Version 3.0.5
Fixes
- Fixed a bug in the Router
Version 3.0.5
New in Version 3.0.5
Changes
- The router now parse the query string only if the path was part of it
Version 3.0.4
New in Version 3.0.4
Changes
- Made it so the PHPStorm metedata generator doesn't include Exceptions
- Deprecated the Response library
Version 3.0.3
New in Version 3.0.3
Fixes
- Fixed the PHPStorm Metadata generation
- Fixed a bug when Cervo couldn't create the Router cache file
Version 3.0.2
New in Version 3.0.2
Changes
- Now adding the autoloader in initConfig
Version 3.0.1
New in Version 3.0.1
Fixes
- Fixed a bug in the Router with routes without middlewares
Version 3.0.0
New in Version 3.0.0
Deprecated
- Removed the
getConfig()method in Core - Removed the magic
__get()and__set()from the Config library
Changes
- Now using Nevraxe/Cervo on Packagist
- Removed explicit return by reference
- Change the PHP required version to 5.4.7
- Added
nikic/fast-route0.6.0 in the dependencies - Changed the coding style to PSR-2
- Restructured everything to be compatible with PSR-4
- Moved the custom Exceptions to their own folder
- Added usage examples in the README
- Removed the
bootstrap.phpfile, now required a PSR-4 auto-loader (Or Composer) - Lots of code improvements
- Recoded the Router completely, now using
nikic/fast-routeat version 0.6.0 - Now using the short array notation everywhere
Version 2.6.0
New in Version 2.6.0
Fixes
- Small additions in the Response library.
- Preparing 3.0.0
Version 2.5.3
New in Version 2.5.3
Fixes
- Added a support for callables in $method_path for Routes