Skip to content

Releases: simply-framework/router

Version 0.2.5

15 Jan 13:54
Compare
Choose a tag to compare

Changed

  • Improved some tests based on mutation testing

Fixed

  • The router should no longer produce "Undefined offset 0" error when matching route "/" without a match

Version 0.2.4

17 Oct 11:49
Compare
Choose a tag to compare

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

16 Jul 11:02
Compare
Choose a tag to compare

Changed

  • Ensure the allowed methods are always listed in canonical order

Version 0.2.2

10 Jul 11:38
Compare
Choose a tag to compare

Added

  • Added Route::getParameters() to fetch all the parameters set by the route

Version 0.2.1

02 Jul 09:47
Compare
Choose a tag to compare

Fixed

  • Added missing functions.php from autoloaded files on normal autoloader

Version 0.2.0

29 Jun 13:11
Compare
Choose a tag to compare

Added

  • Added internal function split_segments()
  • Added internal function string_split()
  • Added configuration for sami based API documentation

Changed

  • HttpMethod::isValidMethod() renamed to HttpMethod::isValid()
  • HttpMethod::getHttpMethods() renamed to HttpMethod::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

23 Jun 10:19
Compare
Choose a tag to compare

Added

  • Initial development release