Aura.Router Versions Save

A web router implementation for PHP.

3.0.0-alpha1

9 years ago

First 3.x alpha release.

2.2.2

9 years ago

This release modifies the testing structure and updates other support files.

2.2.1

9 years ago

This is a hygiene release to update support files and documentation, with improved unit tests.

2.2.0

9 years ago
  • ADD: Allow easier specification of $values['action'] directly from RouteCollection::add*() by passing a third param as the action value.

2.1.2

9 years ago
  • DOC: Update README and docblocks.
  • TST: Disable auto-resolve for container tests.

2.1.1

9 years ago
  • FIX: Allow simplest possible match of a single Accept header type without a Q value.

2.1.0

9 years ago
  • ADD: Router::generateRaw() to generate routes with raw data.
  • TST: Add container integration tests.

2.0.0

9 years ago

First stable 2.0 release.

  • DOC: Update README and docblocks.
  • ADD: Methods Route::setAccept() and Route::addAccept() to match against "Accept" headers.
  • ADD: Methods Route::setMethod() and Route::addMethod() to explicitly match against HTTP methods.
  • ADD: Testing on Travis for PHP 5.6.
  • ADD: Method Router::addHead() to add a HEAD route
  • ADD: Methods Router::getFailedRoute(), Route::failedMethod(), and Route::failedAccept(), along with route match scoring, to inspect the closest non-matching route.
  • REF: Various refactorings to extract complex code to separate classes
  • BRK: The routes no longer add a "controller" value by default; instead, they add only an "action" value that defaults to the route name. This makes the package ADR-centric by default instead of MVC-centric.
  • CHG: Use ArrayObject for value matches
  • CHG: Method Router::attachResource() now adds an "OPTIONS" route.
  • REF: Extract a Generator class from the Route class
  • ADD: Generator::generateRaw() to use raw values in the route; you will need to encode them yourself.
  • ADD: Method Router::getMatchedRoute() for use after matching.
  • ADD: Class-based config for Aura.*_Kernel packages.

2.0.0-beta1

10 years ago

Initial 2.0 beta release.