0.10.0
Note: until we hit 1.0.0, minor versions will be considered major (i.e. may include breaking changes).
Note: almost all of these changes are breaking changes so make sure you adjust your usage accordingly when updating.
- A new documentation website with improved docs, search and features is up: https://docs.wpemerge.com/#/framework/overview
- Prevented direct access to files with imperative code.
app_partial()
is nowapp_render()
app_render()
will now call the defaultget_[header|sidebar|footer]
hook when using it for the header, sidebar or footer core partials.- Config option
global_middleware_default_priority
is now calledmiddleware_default_priority
. Make sure to update your config if you are using it. - Config option
global_middleware_priority
is now calledmiddleware_priority
. Make sure to update your config if you are using it. - Restructured built-in exception classes (see changes in 2736caf)
WPEmerge\Exceptions\NotFoundException
is nowWPEmerge\Routing\NotFoundException
WPEmerge\Exceptions\InvalidCsrfTokenException
is nowWPEmerge\Csrf\InvalidCsrfTokenException
WPEmerge\Exceptions\ViewException
is nowWPEmerge\View\ViewException
- Added a new
WPEmerge\View\ViewNotFoundException
which is thrown from view engines when they fail to find a view.