github share/sharedb v2.2.0

latest releases: v5.1.1, v5.1.0, v5.0.4...
2 years ago
  • #522 — add receivePresence middleware hook
  • #524 — deprecate sending sendPresence middleware errors to subscribers. The new behaviour will output errors to a new Backend error handler, which logs to console by default, and whose behaviour can be overridden by setting:
    new Backend({errorHandler: (error, context) => {}});
    To opt in to the new behaviour, set:
    new Backend({doNotForwardSendPresenceErrorsToClient: true});
    At the moment, this error handler will only handle these sendPresence middleware errors, but in the future may be expanded to handle other non-fatal ShareDB errors which are currently just logged.

Don't miss a new sharedb release

NewReleases is sending notifications on new releases.