- Fix issue #34. Bind closure always to application instance.
- Upgrade league/container to 2.4
- Upgrade zendframework/zend-diactoros to 1.4
- Update container implementation to psr 11
- Reopen and fix #29, Special Thanks to @BlackScorp for fixing and @designcise for identification
- Add basic usage example
- Add official league/route 3.0 support
- Fix #29, #30
- Add console application
- Add constructor injection for console commands
- Move application interface to correct position
- Refactor configuration initiation into trait and reuse in application and console
- Fix #25 Ajax request is always forcing JSON request and response
- Fix #26 use league/route at dev master until official middleware release
- Remove HHVM integration due to inconsitencies
- Fix #24 incorrect and buggy error handling
- Add tests for controller constructor injection
- Validate response contract after executing
- Whoops handlers has been refactored to
\Hawkbit\Application\Services\Whoops\HandlerService
- Error und shutdown handling has been refactored to
Hawkbit\Application\Init\InitHaltHooksTrait
- Add exception stack
Hawkbit\Application\Application\AbtractApplication::getExceptionStack
of all occured exceptions - Provide backwards / onwards compatibility for PHP 7
\Throwables
- Update League Router and use router middleware implementation instead of application middleware.
- Update Zend Stratigility to 1.3.1
- Advanced error capturing and error stack for debugging
- Remove dotted notation from from configuration
- Remove vagrant machine
- Fix documentation
- Fix typo
Migrate Turbine from PhpThinkTank to hawkbit.
- Add
\Hawkbit\Application\Configuration
(extending\Zend\Config\Config
) as default configuration storage - Add PSR7 middleware implementation
\Hawkbit\Application\Application\MiddlewareRunner
for advanced control of application lifecycle
- Change Hawkbit\Application test namespace to Hawkbit\Application\Tests
- Rewrite event behavior for advanced interception of requests, responses and errors
- Implement dot chaining for nested configuration
- Fix wrong response determined by content type delegation
- Add vagrant development environment
- Add shutdown event
- Add logic to force response emitting if headers already send
- Delegate request content type to response
- Rename
Application::cleanUp
toApplication::collectGarbage
- Rename
Application::finishRequest
toApplication::shutdown
- Rename
Application::subscribe
toApplication::addListener
- Enhance error handling for different content types
- Log application errors correctly, logging is silenced by default.
Application::cleanUp
Application::finishRequest
Application::subscribe
- Add
\Hawkbit\Application\Application\ConfiguratorInterface
Application::getConfigurator
is now bound to\Hawkbit\Application\Application\ConfiguratorInterface
contract
- #9 If class exists and is not part of container,
League\Container\Container::has
returns now false.
- Accept and process
\ArrayAccess
and\Traversable
as configuration
- Replace applications route collection methods with
\League\Route\RouteCollectionMapTrait
- Application implements
\League\Route\RouteCollectionInterface
- add
\League\Route\RouteCollectionInterface::map()
- add
\Hawkbit\Application\Application::group()
for creating route groups, see documentation
\Hawkbit\Application\Application::subscribe()
- Upgrade
league/route
from dev-develop to stable 2.x (~2.0
) release
- Add
filp/whoops
as default error handler - Add
zendframework/zend-stratigility
integration
- add request and response accessors
- refactor error handling and replace exception decorator with whoops
- pass and receive all config
- remove possibilty to configure events, routes and services by callables
- rename
Hawkbit\Application\Psr7\TerminableInterface
toHawkbit\Application\TerminableInterface
- rename debug config option to error
- change configuration engine from
array
to instance of\ArrayAccess
- Signature changes of
Hawkbit\Application\Application::handle
,Hawkbit\Application\Application::run
,Hawkbit\Application\Application::__construct
,Hawkbit\Application\Application::handleErrors
Hawkbit\Application\Psr7\HttpKernelInterface
replaced byHawkbit\Application\ApplicationInterface
Hawkbit\Application\Psr7\HttpKernelInterface
andHawkbit\Application\Psr7\TerminableInterface
port of symfony HttpKernelInterface for PSR-7 compatibility- Add
zend/diactoros
for PSR-7 http support - provide compatibility with adapter
Hawkbit\Application\Symfony\HttpKernelAdapter
for StackPHP and other Symfony HttpKernelInterface implementations - Add
filp/whoops
as default error handler - Add
zendframework/zend-stratigility
integration
- upgrade
league/container
to latest version 2 and add interopt compatibility - upgrade
league/route
to latest version 2 (currently under development) - replace symfony request and response with diactoros request and response
- enable auto wiring of container configurable and enable by default
- events, routes and services configurable by callables
- add request and response accessors
- refactor error handling and replace exception decorator with whoops
- enhance configuration handling