Vue-Socket.io
Vue-Socket.io copied to clipboard
Update to latest socket.io version
Please update to the latest socket.io client, as backends start to implement it.
Is this version update already tested?
Any reason why this PR hasn't been accepted yet?
From the following compatibility table
https://github.com/miguelgrinberg/python-socketio
Using a 2.x JS client limits which server versions are compatible. I regenerated a python virtual env (My back end service) and it pulled in the latest Socket.IO server, which does not work with the 2.x JS client. And thus, my vue application is dead in the water now :cry:
Actually, looking at the change notes from 2.x to 3.x
https://socket.io/docs/v3/migrating-from-2-x-to-3-0/index.html
~We will need the ability to pass in some CORS options~
Disregard... You can already pass constructor options to the SocketIO constructor :+1: Should be good to merge
https://github.com/MetinSeylan/Vue-Socket.io/blob/master/src/index.js#L65
Great, thanks! Let's merge it :)
Similar PR in the same repo... https://github.com/MetinSeylan/Vue-Socket.io/pull/303
I'm not sure who has write access to merge.