Repository navigation
v2.3.0
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.
What's Changed
- Fix/unsyncedchanges (#635) by @YousefED in #654
- build(deps): bump semver from 5.7.1 to 5.7.2 by @dependabot in #653
- refs #566: force-reconnect the websocket (if disconnected) on attach of provider by @janthurau in #652
- afterUnloadDocument hook by @georeith in #656
- build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #655
- fix: remove awareness stats on page unload instead of beforeunload by @iowxy in #658
- Fix/doc links by @patrickbaber in #664
- fix: hocuspocus provider auto connect and disconnect behavior by @linspw in #663
New Contributors
- @georeith made their first contribution in #656
- @iowxy made their first contribution in #658
- @linspw made their first contribution in #663
Full Changelog: v2.2.3...v2.3.0