Skip to content

Releases: share/sharedb

v1.3.2

22 Apr 16:56
Compare
Choose a tag to compare

#356 — fix presence resubscribe after destroy (@alecgibson)

v1.3.1

17 Mar 21:55
Compare
Choose a tag to compare

v1.3.0

04 Mar 17:19
Compare
Choose a tag to compare
  • #322 — Add Presence functionality (@gkubisa, @curran, @alecgibson)
    • Warning - This current presence implementation may not scale to hundreds of subscribed clients on a given doc, as a new client subscribing to presence for a doc will request presence data from all other clients subscribed to presence on that doc.
    • To enable presence handling for a server, pass options.presence: true to the ShareDB Backend constructor.
    • See README
    • Also see the presence example

v1.2.1

24 Feb 18:32
Compare
Choose a tag to compare
  • #347 - Handshake immediately if socket is already open (@dead-horse)
    • This only applies to the new handshake mechanism added in 1.2.0

v1.2.0

19 Feb 22:20
Compare
Choose a tag to compare
  • #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.

v1.1.0

17 Dec 18:55
Compare
Choose a tag to compare
  • #331 - Add ability for "readSnapshots" middleware to reject reads of specific snapshots, mainly for bulk fetch/subscribe (@ericyhwang)
    • context.rejectSnapshotRead(snapshot: Snapshot, error: Error | string) - Reject a specific snapshot read
    • context.rejectSnapshotReadSilent(snapshot: Snapshot, errorMessage: string) - As above, but causes the ShareDB client to treat it as a silent rejection, not passing the error back to user code

v1.0.0-beta.31

20 Nov 21:51
Compare
Choose a tag to compare

This 1.0.0-beta release adds client forwards compatibility with the new error codes in the final 1.0.0 release.

See the upgrade guide for more details.

v1.0.0-beta.30

20 Nov 17:37
Compare
Choose a tag to compare
  • #327 - Fix previously inflight op getting mutated if client disconnects (@Calyhre)

v1.0.0

20 Nov 21:55
Compare
Choose a tag to compare

🎉 [email protected] is here!

👉 See the upgrade guide for how to upgrade from the 1.x-beta releases:
https://github.com/share/sharedb/wiki/[email protected]


This is a summary of breaking changes from [email protected].* to [email protected]:

  • #311 - Deprecated middleware actions have been removed (@alecgibson)
    • "doc", whose functionality has been subsumed by "readSnapshots"
    • "afterSubmit" and "after submit", which have been renamed to "afterWrite" with no changes to functionality
  • #309 - Error codes have changed from numbers to strings (@alecgibson)
    • A few overloaded codes have been fixed.
    • Some other codes have been consolidated.

v1.0.0-beta.29

14 Nov 22:55
Compare
Choose a tag to compare
  • #325 - Add error handlers in tests to try and find source of flakey test (@nateps)