-
Notifications
You must be signed in to change notification settings - Fork 11.7k
Closed
Description
- Laravel Version: 9.36.2 (same for 9.36.0 & 9.36.1)
- PHP Version: 8.1.10
Description:
Listening to composing events no longer seems to work, probably related to: #44487.
$this->app['events']->listen('composing:*', ...); // barryvdh/laravel-debugbar
$this->app['events']->listen("composing: {$viewName}", ...); // laracasts/utilitiesUnsure if this was ever intended to work but this seems like a very breaking change since this always used to work and people are seemingly relying on it. It looks like an unintentional BC slipped in the 9.36 release.
Steps To Reproduce:
The easiest is to install barryvdh/laravel-debugbar (barryvdh/laravel-debugbar#1354, barryvdh/laravel-debugbar#1355) for example which will no longer show any views being rendered. This also breaks laracasts/utilities and of course any userland code using events directly to listen for composing: or other view related events not registered using View::composer.
Metadata
Metadata
Assignees
Labels
No labels