Skip to content

Releases: ueberdosis/hocuspocus

v2.3.0

31 Jul 17:46
v2.3.0
e230ea5
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v2.2.3...v2.3.0

v2.2.3

14 Jul 20:24
v2.2.3
d5cf421
Compare
Choose a tag to compare

This is a forward-compatibility release, making @hocuspocus/provider compatible with the upcoming @hocuspocus/server v2.3.0

Full Changelog: v2.2.2...v2.2.3

v2.2.2

14 Jul 20:12
v2.2.2
fafa32f
Compare
Choose a tag to compare

What's Changed

  • Fix import paths (for node16) resolution by @reknih in #647
  • Unsubscribe provider listeners from websocket on destroy by @raineorshine in #645
  • Optimize typescript typings of the TiptapCollabProvider by @janthurau in #648

New Contributors

Full Changelog: v2.2.1...v2.2.2

v2.2.1

04 Jul 17:04
v2.2.1
3151a77
Compare
Choose a tag to compare

What's Changed

  • Fix passing the incorrect variable to onDisconnect by @martinboksa in #641
  • fixes: HocuspocusProviderWebsocket checkConnection ineffective by @groot9325 in #640

New Contributors

Full Changelog: v2.2.0...v2.2.1

v2.2.0

22 Jun 17:52
v2.2.0
c5b4bab
Compare
Choose a tag to compare

What's Changed

  • This is mostly a maintenance release, it contains lots of refactorings (THX @YousefED) to make future contributions easier
  • Refactor: use async/await in HocusPocus.ts to make code more readable by @YousefED in #624
  • Refactor: extract ClientConnection by @YousefED in #626
  • Refactor/reduce nesting and fix hookPayload per document by @YousefED in #631
  • fixes npx run hocuspocus bug
  • exports DirectConnection interface

Full Changelog: v2.1.0...v2.2.0

v2.1.0

03 Jun 14:28
v2.1.0
fab82ef
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.6...v2.1.0

v2.1.0-alpha.0

28 Apr 17:55
v2.1.0-alpha.0
b89f9be
Compare
Choose a tag to compare
v2.1.0-alpha.0 Pre-release
Pre-release

What's Changed

  • !!WARNING!! extension-redis: Removes cross-instance locking of onStoreDocument hook - this should now be handled by your database / other end that is called from onStoreDocument. If you need locking on hocuspocus, you can create your own extension listening to the onStoreDocument hook and reject the promise if you don't want the hook chain to continue.
  • extension-redis: Updated to 5.0.4

Full Changelog: v2.0.6...v2.1.0-alpha.0

v2.0.6

25 Apr 17:47
v2.0.6
aa03361
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.5...v2.0.6

v2.0.5

24 Apr 19:49
v2.0.5
9a76224
Compare
Choose a tag to compare

What's Changed

  • Fixes a bug in extension-redis that leads to broken sync when clients reconnect quickly by @janthurau in #587

Full Changelog: v2.0.4...v2.0.5

v2.0.4

23 Apr 19:57
v2.0.4
3bb5dec
Compare
Choose a tag to compare

What's Changed

  • build: fix npm scripts for frontend playground by @synix in #578
  • Moves @types deps of hocuspocus-server to devDependencies by @janthurau in #585
  • Adds TiptapCollabProviderWebsocket to make using multiplexing easier with TiptapCollab by @janthurau in #584
  • Fixes an edge-case where the onLoadDocument would run before onStoreDocument by @janthurau in #572
  • fix: Do not retry connection if data is too large by @tommoor in #586

New Contributors

Full Changelog: v2.0.3...v2.0.4