Skip to content

queue-prefork 1.1.0

Choose a tag to compare

@tevkert tevkert released this 18 Nov 16:55
· 16 commits to main since this release
eefce3f

Horizon prefork works on Horizon 5.51, 5.52 and later 5.x releases, without waiting for a package update.

  • Any Horizon 5 release: prefork no longer turns off on a Horizon minor newer than the last tested one, as it did on 5.51 and 5.52. Instead it checks the Horizon classes it extends:

    • every method it overrides must be declared as in Horizon 5.23–5.52;
    • every method and property it uses must still be there and public.

    If anything differs, Horizon runs stock, and queue-prefork:doctor names what changed.

  • No fatal error from a changed Horizon: the check runs before the package's subclasses load, so a Horizon release that changed a signature makes Horizon run stock instead of stopping it.

  • allow_untested_horizon is removed; it has nothing left to allow, and setting it does nothing.

  • Tested with Horizon 5.52. A new CI workflow checks Packagist daily and runs the full CI, Docker integration suites included, once on each new Horizon release, the day it comes out.

Upgrade: composer update tevkert/queue-prefork, then php artisan horizon:terminate (and queue:restart for plain workers) as after any deploy.

Full changelog: v1.0.5...v1.1.0