Skip to content

Conversation

@altin7m
Copy link
Contributor

@altin7m altin7m commented Mar 27, 2025

This PR ensures full compatibility with Laravel 12.x by:

  • Updating the BindsWorker logic to recognize Laravel 12 versions.
  • Setting the default worker to Laravel8Worker to support Laravel 12 and future versions when no specific worker binding is defined.

Why?
These changes address a missing piece from the Laravel 12 support update. The package is currently broken on Laravel 12, throwing the following error:
Illuminate\Queue\Worker::process(): Argument #3 ($options) must be of type Illuminate\Queue\WorkerOptions, int given, called in /var/app/current/vendor/dusterio/laravel-aws-worker/src/Wrappers/DefaultWorker.php on line 30

@altin7m
Copy link
Contributor Author

altin7m commented Mar 27, 2025

@laravel-shift FYI

@altin7m altin7m mentioned this pull request Mar 27, 2025
@fylzero fylzero merged commit 67e893d into dusterio:master Mar 27, 2025
@fylzero
Copy link
Collaborator

fylzero commented Mar 27, 2025

Thanks @altin7m, I'll cut a new release shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants