Skip to content

v0.11.0

Compare
Choose a tag to compare
@ivopetkov ivopetkov released this 08 Feb 19:52
· 164 commits to master since this release

A massive release with redesigned API.

Added:

  • Events support.
  • Data item stream wrapper.
  • Support for patterns in the ClassesRepository.
  • $app->request->path->match() method.
  • App\Request::getURL() method.

Changed:

  • The routes API.
  • The data API.
  • The cache API.
  • The assets API.
  • The logger API.
  • App::$context renamed to App::$contexts.
  • Error handling configuration.
  • App::respond() renamed to App::send().
  • DataRepository::isValidKey() renamed to DataRepository::validate().
  • The DataList API. Removed ->length. Added ->count().
  • The DataItem::$metadata property is now of type array.
  • The App::$request property is no longer readonly.
  • BearFramework\App::VERSION moved to BearFramework::VERSION.

Removed:

  • The hooks API.
  • The images API.
  • The config API.
  • The container API.
  • Removed default content from TemporaryUnavailable and NotFound responses.
  • Removed support for options in added addons.