Skip to content

v0.2.0

Choose a tag to compare

@hochleitner hochleitner released this 22 Dec 15:21
· 74 commits to main since this release
v0.2.0
529c525

0.2.0 - 2021-12-22

Added

  • The Router class is now PSR-3 compatible and builds upon the Psr\Log interfaces. The class uses the LoggerAwareTrait to instantiate a logger instance with NullLogger. See also 2: Add logging capabilities.
  • Logging messages that inform users about added routes, route matches, a set 404 callback and an executed 404 callback.
  • Added a static getBasePath() method to retrieve the base path. This can be used in view templates to prepend the base path to URLs.