Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.
Hideki Kinjyo edited this page May 21, 2020 · 4 revisions

Migrations to 3.0.0

Change summary

3.0.0 is for working on CakePHP4.x.

The main changes are summarized in the following points:

  • Catch up to CakePHP4's new Coding Standards and Interfaces
  • The original ErrorHandlerMiddleware implementation is no longer needed and works by leaving the role to ErrorLogger instead

It is intended to be used as an application built on top of CakePHP4, but as long as it is in place, it will work without the need to add settings or modify the code for this plugin.

Requirements

  • PHP 7.2+ is required
    • Due to a change in CakePHP4
  • CakePHP 4.0+ is required

Changes

There are no particular changes to the public API provided by the CakeSentry plugin itself. In this version, internal structural changes have been implemented.

  • ErrorHandlerMiddleware is removed
  • SentryErrorHandlerTrait is renamed to ErrorHandlerTrait
  • ErrorLogger is added

Clone this wiki locally