Skip to content

0.10.0

Compare
Choose a tag to compare
@atanas-dev atanas-dev released this 11 Sep 09:51
· 293 commits to master since this release

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 now app_render()
  • app_render() will now call the default get_[header|sidebar|footer] hook when using it for the header, sidebar or footer core partials.
  • Config option global_middleware_default_priority is now called middleware_default_priority. Make sure to update your config if you are using it.
  • Config option global_middleware_priority is now called middleware_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 now WPEmerge\Routing\NotFoundException
    • WPEmerge\Exceptions\InvalidCsrfTokenException is now WPEmerge\Csrf\InvalidCsrfTokenException
    • WPEmerge\Exceptions\ViewException is now WPEmerge\View\ViewException
    • Added a new WPEmerge\View\ViewNotFoundException which is thrown from view engines when they fail to find a view.