The CRDT Yjs WebSocket backend for conflict-free real-time collaboration in your app.
We've added graceful shutdown (#747). By default, Hocuspocus will listen for SIGINT, SIGTERM and SIGQUIT, and react accordingly (save all documents & shutdown). If you don't want that, you can turn it off by passing stopOnSignals:false
to Hocuspocus
.
Full Changelog: https://github.com/ueberdosis/hocuspocus/compare/v2.7.1...v2.8.0
context
.Full Changelog: https://github.com/ueberdosis/hocuspocus/compare/v2.7.0...v2.7.1
Add context
to onAuthenticatePayload
by @haines in https://github.com/ueberdosis/hocuspocus/pull/719
Fix return type of database extension store
method by @haines in https://github.com/ueberdosis/hocuspocus/pull/715
fixes #718: replace arraybuffer by nodebuffer by @janthurau in https://github.com/ueberdosis/hocuspocus/pull/721
Handle errors thrown by provider token function by @haines in https://github.com/ueberdosis/hocuspocus/pull/722
Removing the console log messages by @websiddu in https://github.com/ueberdosis/hocuspocus/pull/726
Efficiently route messages through HocuspocusProviderWebsocket by @raineorshine in https://github.com/ueberdosis/hocuspocus/pull/727
fixes #709: unload document when there is no other connection left af… by @janthurau in https://github.com/ueberdosis/hocuspocus/pull/723
adds Document.isDestroyed by @janthurau in https://github.com/ueberdosis/hocuspocus/pull/728
build(deps): bump postcss from 8.4.23 to 8.4.31 by @dependabot in https://github.com/ueberdosis/hocuspocus/pull/712
build(deps): bump ws from 7.5.9 to 8.14.2 in /packages/provider by @dependabot in https://github.com/ueberdosis/hocuspocus/pull/705
Full Changelog: https://github.com/ueberdosis/hocuspocus/compare/v2.6.1...v2.7.0
Full Changelog: https://github.com/ueberdosis/hocuspocus/compare/v2.6.0...v2.6.1
Full Changelog: https://github.com/ueberdosis/hocuspocus/compare/v2.5.0...v2.6.0
Possible breaking change: extension-redis will now use channels instead of redis patterns, so if you are manually subscribing to redis messages, make sure to check out the changes (related PR)
Full Changelog: https://github.com/ueberdosis/hocuspocus/compare/v2.4.0...v2.5.0
Possible breaking change: With this release, a failed auth won't anymore terminate the connection (and thus not call onClose
) but just trigger onAuthenticateFailed.
Full Changelog: https://github.com/ueberdosis/hocuspocus/compare/v2.3.1...v2.4.0
Breaking change: With this release, a failed auth won't anymore terminate the connection (and thus not call onClose
) but just trigger onAuthenticateFailed.
Full Changelog: https://github.com/ueberdosis/hocuspocus/compare/v2.3.1...v2.4.0-rc.1
Full Changelog: https://github.com/ueberdosis/hocuspocus/compare/v2.3.0...v2.3.1
This adds an improved way of figuring out if the document is fully synced with the server.
WARNING: You should update @hocuspocus/server before upgrading the client. "hasUnsyncedChanges" of @hocuspocus/provider 2.3.0 is NOT compatible with @hocuspocus/server <2.3.0. If you upgrade the server while running provider <2.2.3, the provider will show errors in the browser, which can be safely ignored. If you dont want to see errors, upgrade the provider to v2.2.3 first, then upgrade the server to 2.3.0, and then upgrade the provider again. Or just upgrade everything simultaneously to 2.3.0.
Full Changelog: https://github.com/ueberdosis/hocuspocus/compare/v2.2.3...v2.3.0