All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.2.5 - 2019-01-15
- Improved some tests based on mutation testing
- The router should no longer produce "Undefined offset 0" error when matching route "/" without a match
0.2.4 - 2018-10-17
- The
RouteDefinitionProvider::getCacheFile()now accepts an optional parameter for encoding callback
- Some tests and conditions have been improved with mutation testing
0.2.3 - 2018-07-16
- Ensure the allowed methods are always listed in canonical order
0.2.2 - 2018-07-10
- Added
Route::getParameters()to fetch all the parameters set by the route
0.2.1 - 2018-07-02
- Added missing functions.php from autoloaded files on normal autoloader
0.2.0 - 2018-06-29
- Added internal function
split_segments() - Added internal function
string_split() - Added configuration for sami based API documentation
HttpMethod::isValidMethod()renamed toHttpMethod::isValid()HttpMethod::getHttpMethods()renamed toHttpMethod::getAll()- Dynamic segments are now indicated by
/rather than#. - The signature and name of
RouteDefinitionProvider::getStaticRoutes()was changed toRouteDefinitionProvider::getRoutesByStaticPath($path) - The signature and name of
RouteDefinitionProvider::getSegmentCounts()was changed toRouteDefinitionProvider::getRoutesBySegmentCount($count) - The signature and name of
RouteDefinitionProvider::getSegmentValues()was changed toRouteDefinitionProvider::getRoutesBySegmentValue($segment, $value) - Addressed numerous code quality and static analysis issues
- Initial development release