All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Can disable sessions per route.
- The application now implements
HttpKernelInterface
to enhance compatibility with other libraries.
- Removed session cookie fix for older versions of Internet Explorer.
- Support Symfony 4.
- Update infuse/libs to v1.
- Require PHP 7
- Exception and error handlers clear the output buffer before rendering the view.
- Can pass optional configuration to Twig.
- Use new PHPUnit namespacing.
- Drop support for PHP versions less than 5.6.
- Twig view engine has caching enabled by default.
- Added an optional
sessions.name
setting for changing the name of in-app sessions.
- PDO service no longer causes application to die on connection errors.
- Register session_write_close as a shutdown function when using sessions.
- Removed deprecated
injectApp()
method inHasApp
trait.
- Added an exception handler service that catches exceptions during request handling.
- Added PHP 7 error handler service that catches PHP 7 errors during request handling.
- Added not found handler service to build a response when a request could not be routed.
- Added method not allowed handler service to build a response when a request had the correct route but wrong method.
- Added
getApp()
andsetApp()
toHasApp
trait. - A global default application instance is now available and returned by default in
getApp()
. - Added executable
infuse
console command to bin dir.
- Update infuse/libs to v0.6.
- Support Symfony 3.
- Application environment is now passed through second argument of
Application
constructor. - Refactored request handling.
- Refactored middleware. Middleware functions now use the signature
($req, $res, $next)
and must return aResponse
. Can be added withmiddleware()
. - Route dispatching is now a middleware that is always executed last.
- Moved session starting logic into a session middleware. Must be explicitly added.
- Routes may accept a third argument that is an array containing the route parameters.
- Removed timezone setting (should be configured through PHP instead).
- Removed error reporting and display settings (should be configured through PHP instead).
- Removed module-specific code from PHPUnit test listener (moved to infuse/auth and infuse/email projects).
- Removed JAQB database service (moved to JAQB project).
- Removed Pulsar model driver service (moved to Pulsar project).
- Removed error stack service.
- Removed
migrate
console command (moved to infuse/migrations project).
injectApp()
inHasApp
trait.
- Optimize console command uses original configuration on subsequent calls.
- Support for custom console commands added.
- Added
optimize
console command to cache routing table and configuration. - Custom services can now be specified and the built-in services overridden.
- Update infuse/libs to v0.5.
- Move all classes to
Infuse
namespace. - Rename
App
toApplication
. - A few settings have been moved/renamed.
- Various bug fixes
- Support for new session handlers.
- Update infuse/libs to v0.4
- Remove references to deprecated
infuse\Database
class. - Switch to JAQB for database interactions.
- Move caching to Stash.
- Rename CLI tool to
infuse
. - Rename
TestBootstrap
class toTest
.
- Various bug fixes
- Added new QueryBuilder from infuse/libs.
- Added PDO connection.
- Use v0.3.0 of infuse/libs.
- Tests pass against HHVM.
- Various bug fixes.
- Initial release!