Skip to content

3.0.0

Choose a tag to compare

@rubenvanassche rubenvanassche released this 21 May 14:39
· 31 commits to main since this release
237c56d

Logs ship as a first-class signal, traces come along for the ride:

  • Dedicated log channel: drop 'flare' into config/logging.php and Laravel's logger ships log messages straight to Flare as standalone entities, recorded in the OpenTelemetry log format. Add it to LOG_STACK to fan out alongside your existing log targets. See Logs.
  • Per-level filtering: minimal_log_level in config/flare.php (or MinimalLogLevel on FlareConfig) drops anything below the configured Monolog level before it leaves the application. See Log levels.
  • Sampling: new RateSampler and DynamicSampler with Laravel-specific rules for route name, route action, queue name, and queue connection (route-action rules accept [Controller::class, 'method'] tuples). See Sampling.
  • New senders: LaravelHttpSender by default, DaemonSender to route through the local Flare daemon.
  • Requires PHP 8.2+, Laravel 11.47+ / 12.42+ / 13+, and spatie/flare-client-php ^3.0.
  • Removed: error solutions support (spatie/error-solutions dependency, AddSolutions middleware, solution-related config keys).
  • Removed: reportMessage() and friends — use the new logging surface instead.

Full upgrade notes in UPGRADING.md.