Releases: phOnion/framework
Releases · phOnion/framework
2.2.1
2.2.0
- Abstract factories
- Improvements to Delegate Container
2.1.1: Merge pull request #60 from phOnion/develop
- Fix
mergefunction
2.1.0
DI
- Revert to using arrays instead of objects when initializing the container
2.0.0
- PHP >= 7.2
- Switched to
guzzle/psr7instead ofzend-diactoros - Routing
- Reworked routing, routes are now self-contained and do not depend on "Router" class
- Routes are now lazily generated upon routing
- Added the ability to enforce response headers for a route
- Allow routes to use distinct request handler not only middleware (Modules)
- DI
- DI now accepts
objectinstead ofarray(recommended approach for userland definitions) - Improvements to dot-string handling and auto-wiring
- Application
- Improvements to Application - handle response codes for HTTP errors (REST)
- Improvements for easier usage with application servers (Swoole, React, etc.)
- Http
- Lazy middleware initialization
- Reworked request handler
- Collections - Helpers for when working with collections - allow lazy initialization
2.0.0-RC3
- Include PSR3 as dependency
- Make application LoggerAware
- Provide empty
VoidLoggerto not require external dependency
2.0.0-rc2
- Improved application server support
- Moved error handling logic inside
Application::handlefor generating proper HTTP responses
RC1
- Updated to accepted PSR-15
- Changed dependency to
zend-diactoroswithguzzlehttp/psr7 - New route syntax and handling logic
- Added container delegate
- Lazier factories (where possible using generators)
1.1.0
- Introduce
Dependency\DelegateContainer- allow the usage of multiple containers through a single container instance
1.0.2: Merge pull request #42 from phOnion/feature/interfaces-version
Change 'onion/interfaces' version constant