Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.83 KB

UPGRADE.md

File metadata and controls

55 lines (34 loc) · 1.83 KB

Upgrade from v0.26 to v0.27

Update bootstrap/app.php

Replace everything with:

return Butler\Service\Foundation\Application::configure()->create();

Copy files

  1. public/index.php
  2. artisan

Remove files

Use bootstrap/app.php instead

  • app/Http/Kernel.php
  • app/Console/Kernel.php
  • app/Exceptions/Handler.php

Config changes

  • Use CACHE_STORE instead of CACHE_DRIVER
  • MAIL_MAILER now defaults to "log"
  • Removed butler.service.extra.aliases and butler.service.extra.providers

Additional breaking changes

Upgrade from v0.12 to v0.13

BREAKING: Require glesys/butler-audit v0.4

  1. Use Butler\Audit\Bus\WithCorrelationId instead of Butler\Service\Bus\WithCorrelationId.

Upgrade from v0.11 to v0.12

BREAKING: Use glesys/butler-health

  1. Move your health checks (if any) from butler.service.health.checks to butler.health.checks.
  2. Remove butler.service.health from your configuration.
  3. Use Butler\Health\Repository instead of Butler\Service\Repositories\HealthRepository.

Upgrade from v0.10 to v0.11

BREAKING: Replace laravel/sanctum with glesys/butler-auth

  1. Rename table personal_access_tokens to access_tokens.
  2. Use Butler\Auth\ButlerAuth instead of Laravel\Sanctum\Sanctum.
  3. If you have custom auth configuration, make sure to change the driver of your guard from sanctum to butler.