You are reading the documentation for the v2.x version. Switch to the current version v1.x.

Upgrading from version 1

Last updated: Tue, 08 Jun 2021 00:39

Breaking changes for Core

  • Packages methods signature changed

Breaking changes for HttpCore

  • Namespace Berlioz\HttpCore moved to Berlioz\Http\Core
  • Namespace Berlioz\Router moved to Berlioz\Http\Router
  • Magic methods _b_pre() and _b_post() of controllers are removed in favor of middlewares
  • Remove usage of PhpDoc annotations in favor of PHP 8 attributes, like routes annotations
  • ErrorHandler

Breaking changes for CliCore

  • Namespace Berlioz\CliCore moved to Berlioz\Cli\Core
  • Signature of CommandInterface changed