Skip to content

1.0.0-alpha.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@gmazzap gmazzap released this 18 Feb 16:10
· 60 commits to refactoring-fastroute since this release

Added

  • cortex.routes now passes uri object and HTTP method for more context-aware routes adding
  • WordPressUri::chunks() method to get an array of / separated parts of url path

Changed

  • Default method for routes is the current method: add no method to routes means they match any method
  • cortex.matched now passes MatchingResult instance
  • Required version of "psr/http-message" is now * no need to limit Cortex compatibility because of that dependency version, any version will work good for us

Fixed

  • Paged routes casued FastRoute exception because tryed to add 2 routes with same path