Skip to content

0.4.0-beta

Pre-release
Pre-release

Choose a tag to compare

@hexus hexus released this 29 Jan 10:00
· 709 commits to v0.6 since this release

v0.4.0-beta brings continued routing and service improvements since v0.4.0-alpha as well as some new features.

The most notable changes include lazy-loaded service definitions for Container, a simple Events system, the removal of Dispatcher, better Router decoupling from controllers and query strings overriding get data in Request objects.

Changelog:

  • Autoloader refactoring
  • Implemented improved Dispatcher functionality in Router, making
    Dispatcher redundant
  • Implemented Events component that can be optionally used for routing hooks
  • Implemented optional usage of service container for resolving route
    controllers and actions
  • Method support for Container::call()
  • Implemented Container::share() to wrap callable service definitions in
    closures that always return the same instance. This enables lazy-loading
    service instances, only instantiating them when resolved from the container.
  • Request objects parse URI queries into get variables and store a path value.
  • Updated main readme to consist primarily of code examples.
  • Controller now implements ContainerAwareInterface, as does Router.
  • Added more thorough Facade exceptions
  • Implemented Application class which registered and boots service providers.