Releases: simply-framework/router
Releases · simply-framework/router
Version 0.2.5
Version 0.2.4
Added
- The
RouteDefinitionProvider::getCacheFile()
now accepts an optional parameter for encoding callback
Changed
- Some tests and conditions have been improved with mutation testing
Version 0.2.3
Changed
- Ensure the allowed methods are always listed in canonical order
Version 0.2.2
Added
- Added
Route::getParameters()
to fetch all the parameters set by the route
Version 0.2.1
Fixed
- Added missing functions.php from autoloaded files on normal autoloader
Version 0.2.0
Added
- Added internal function
split_segments()
- Added internal function
string_split()
- Added configuration for sami based API documentation
Changed
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 to
RouteDefinitionProvider::getRoutesByStaticPath($path)
- The signature and name of
RouteDefinitionProvider::getSegmentCounts()
was changed to
RouteDefinitionProvider::getRoutesBySegmentCount($count)
- The signature and name of
RouteDefinitionProvider::getSegmentValues()
was changed to
RouteDefinitionProvider::getRoutesBySegmentValue($segment, $value)
- Addressed numerous code quality and static analysis issues
Version 0.1.0
Added
- Initial development release