Skip to content

Version 1.1.2

Choose a tag to compare

@skipperbent skipperbent released this 21 Oct 13:23
· 1086 commits to master since this release

Breaking changes

  • RouterRessources has been renamed to RouterResource.
  • SimpleRouter::ressource has been renamed to SimpleRouter::resource.

Changelog

  • Fixed middleware not loading and giving "class must be instance of Middleware" exception.
  • Added basic auth to Response class.
  • Added getPassword() method for basic auth password in Response class.
  • Fixed router not throwing RouterException with "Method not allowed" when using a unsupported request method.
  • Method request type are now checked on all classes in the RouterBase class.
  • Added support for alias on RouterRoute.
  • Added typo in resource (renamed class from Ressource to Resource).
  • Added optional settings parameter in most of the methods in the SimpleRouter class.
  • Urls now always returns ending slash when using getRoute() method.
  • Fixed common errors with routing.
  • Simplified getRoute method.
  • Updated documentation.