Replies: 1 comment 4 replies
-
The upgrade guide on the branch (https://github.com/GeniusesOfSymfony/WebSocketBundle/blob/4.x/UPGRADE-4.0.md) should be pretty complete as far as what changes are coming through the pipeline, there's probably more stuff on there than there needs to be but I err on the side of caution and generally document every change regardless of whether it's something that should be considered an internal detail or something that I'd consider a public API for the bundle. The biggest changes in the pipeline for 4.0:
Ratchet 0.5 will have some B/C breaks that can affect the user-facing API of this bundle (if you're doing something where you have your own Admittedly, I never deployed anything but the WAMP pusher integration myself, but looking at the AMQP and ZMQ implementations of that, it really felt like the pusher and server push handlers were a light version of a message broker/consumer type of system. Hence, suggesting the Messenger component as a replacement for the entire integration. There might be some use case where those fit better into a websocket context, in which case I'm all eyes on reading about it and making changes if it turns out they do have a good fit here. After deprecating those, I still wanted to support the PHP websocket client, hence the newer config introduced for that, but I then reached a point where I decided the way that was implemented wasn't all that great and I myself don't have the skillset to maintain a strong PHP client for server-to-server based websocket messages, and that's when I deprecated that package in full in addition to the integration in the bundle. Pawl, while needing more boilerplate than the |
Beta Was this translation helpful? Give feedback.
-
Hi @mbabker & team,
Appreciate the work that has gone into the bundle. I have just introduced it to a Symfony 5.3 project.
I've noticed there are a number of deprecations being reported for version 4 of WebSocketBundle (as noted in #420). I am just wondering if there is a rough plan somewhere for timing of the 4.0 release, and some suggestions for how to replace the deprecated elements? Or perhaps simply how to prepare for them?
For example, I'm making heavy use of the Pusher which has been wonderfully simple and easy to implement. The deprecation notice suggests the use of Pawl, which has quite a hefty implementation and interface, and without any of the nice symfony parameter and service integrations. If there is expertise in the team with Pawl, I wonder whether it might be possible for a couple of simple Pawl examples replacing the Pusher functionality might be added to the documentation. If there is capacity within the group to consider this of course. :)
Thanks
Damien.
Beta Was this translation helpful? Give feedback.
All reactions