symfony/messenger
Symfony Messenger helps PHP apps send and handle messages asynchronously via queues or between services. It provides message buses, handlers, transports, retries, and failure handling to build reliable background jobs and event-driven workflows.
PhpSerializer::getMessageType() for Serializable instances, improving compatibility with Laravel’s Serializable models (e.g., Eloquent models implementing Serializable) or custom payloads. This reduces serialization/deserialization failures in Laravel-Messenger integrations.#64261 resolves a niche but critical issue for Laravel users relying on Serializable models (e.g., Model::serialize()). Ensures seamless interoperability between Laravel’s ORM and Messenger’s serialization.#64237 hardens the package against edge cases (e.g., malformed payloads, resource leaks), reducing operational friction in Laravel’s queue workers or background jobs.Serializable payloads, stability) with minimal user impact.Serializable payloads (e.g., Eloquent models) in Messenger queues to confirm #64261 resolves serialization issues.#64237 hardenings.MessageSerializer implementations rely on pre-existing (now fixed) behavior for Serializable objects.Serializable models (e.g., Eloquent models with Serializable) as message payloads? If yes, #64261 fixes a critical serialization issue—validate with your payloads.PhpSerializer? Ensure they handle Serializable instances correctly post-fix.#64237 may resolve these—monitor logs for improvements.v8.1.0-BETA2 to v8.1.0-BETA3 as part of your pilot/staging testing. Focus on Serializable payloads and stability validation.Serializable models (e.g., Eloquent) now integrates more reliably with Messenger’s PhpSerializer due to #64261. Stability improvements (#64237) further align Messenger with Laravel’s expectations for queue robustness.symfony/amqp-messenger, symfony/doctrine-messenger) remain compatible.Serializable support or hardening for edge cases, making Messenger’s fixes a net positive for complex payloads.Serializable payloads (e.g., dispatch an Eloquent model as a message) to validate #64261.#64237.Job classes with MessageHandlerInterface implementations.config/messenger.php (unchanged from prior assessment).php artisan messenger:consume remains unchanged; fixes are transparent to workers.ConsumeMessagesCommand benefits from stability improvements.v8.1.0-BETA3 (PHP 8.1+, Laravel 10+).Serializable payloads (e.g., Eloquent models) to confirm #64261 resolves issues.config/messenger.php required for these fixes.Serializable models; verify no serialization errors.#64237 improvements.Serializable objects round-trip correctly through Messenger.#64261 resolves a longstanding issue for Laravel users, enabling seamless use of Serializable models in Messenger queues.#64237 hardenings reduce edge-case failures, improving reliability in production workers.v8.1.0 as it progresses to GA.Serializable support in queues, making Messenger’s fix a critical improvement.messenger:failed-messages) remain effective.Serializable payload compatibility and stability improvements.#64261 eliminates serialization errors for Serializable payloads, reducing message loss.#64237 hardenings reduce worker crashes due to malformed messages or resource leaks.Serializable payloads and edge-case scenarios in staging.v8.1.0-BETA2 if issues arise, though risks are low given the nature of the fixes.How can I help you explore Laravel packages today?