All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Added PHP 8 support
- Upgraded the deprecated
zendframework/zend-diactorosto the newlaminas/laminas-diactorospackage
- Add session garbage collection
- Improved log formatting
- Switched to the Statamic fork of
Stringyto fully support PHP 7.4
- Support Middleware Aliases on Routes & Controllers
Helpers::logger()(and globallogger()) helper functions- Bound the
Loggerinstance to the PSR-3 interfacePsr\Log\LoggerInterfacein the Container.
- Prevent Errors with a level of
E_USER_NOTICEorE_USER_DEPRECATEDfrom being fatal.
- Macroable support to
QueryBuilder - Add
first()method toQueryBuilder - Allow middleware to be added within a controller, including WordPress controllers
- Add
has()method toConfig
- Ensure
get()andfirst()on theQueryBuilderreturn consistent responses
- Macroable support to
RouterandPost
- Add Zend Diactoros as a direct package dependency
- Remove unused
usestatements across the codebase
- Add
runningInConsole()function toApplication - Add
mergeConfigFrom()function toServiceProvider - Add warning to log when no WP Controller is found
- Prevent duplicate headers being sent
- Add
Responsableinterface which can be used as a return object in Controllers or added to Exceptions and automatically handled by the application. - Add
Helpersclass with the following functionsapp(),config(),view(),route()&redirect(). These can be added to the global namespace by including thesrc/functions.phpfile.
- Add support for view models
- Initial release. Starting at v3 to keep inline with Lumberjack theme version