github share/sharedb v1.2.0

latest releases: v5.0.0, v4.1.5, v4.1.4...
4 years ago
  • #341 - Add basic handshake negotiation and stable op src for clients across reconnects (@alecgibson)
    • In sharedb <= 1.1.0, a client gets a new server-generated connection.id each time it reconnects to another server. This means each reconnection results in the client's ops having a new src id and seq numbers that begin anew from 1.
    • 1.2.0+ clients connecting to 1.2.0+ servers will now keep their first connection.id across reconnections. On server agents, this is available as agent.src. The legacy server-generated id is still available as agent.clientId.
    • This change is compatible both ways. Old clients can still connect to new servers. New clients can still connect to old servers, though if a a new client connects to an older server, it will change to the server-generated connection.id.

Don't miss a new sharedb release

NewReleases is sending notifications on new releases.