TypeFox / open-collaboration-tools

Open Collaboration Tools: live-sharing solution for Eclipse Theia, VS Code and other editors and IDEs
https://www.open-collab.tools/
MIT License
81 stars 5 forks source link

Perform protocol versioning and merge packages #28

Closed msujew closed 1 month ago

msujew commented 1 month ago

I've recently noticed that there's quite a bit of information leakage from the protocol to the underlying messaging infrastructure. Mainly IDs of peers. Given that the RPC and protocol are so intertwined, it makes sense to put them into the same package and give them a single versioning number.

Each client will now check whether the used client version satisfies the protocol version required by the server.