Skip to content

Latest commit

 

History

History
1126 lines (349 loc) · 38.4 KB

File metadata and controls

1126 lines (349 loc) · 38.4 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

4.0.0-rc.0 (2026-02-18)

Bug Fixes

  • check code is type number (#1062) (6dfa610)
  • npm audit (ba727ea)
  • onLoadDocument now accepts a yjs update (Uint8Array or Buffer) or a Y.Doc. fixes #795, #271 (667e145)
  • optimize memory usage by creating message uint8arrays once, not per connection (#1051) (ad398a8)
  • reset auth state on failed auth, so a new auth message can run auth hooks again. fixes #944 (#1065) (81ce838)
  • trigger storeDocumentHooks on any change to the doc (except if incoming via redis). Before, it was easy to accidentally prevent changes from being saved by forgetting to include an origin in the Yjs update (81975e7)

Features

  • add generic Context support across server classes and hooks (#1057) (67741a0)
  • better type safety for yjs origin. Improve type safety and allow any yjs operation to skip store document hooks. (5f480cd)
  • cross-ws (bun, deno, cloudflare, node uwebsocket) (#1056) (2666542)
  • migrate from sqlite3 to better-sqlite3, as sqlite3 is now unmaintained. (a247146)
  • migrate to pnpm (#1061) (dcaab57)
  • pass context when using DirectConnection. Do not run storeDocumentHooks on any transact, just on disconnect (ffa32b7)
  • process update message in the order that they are received (#1058) (b6162ac)

3.4.6-rc.2 (2026-02-03)

Bug Fixes

  • dev setup (use local packages instead of the released ones) (0137da0)
  • dont release demos (148e12f)

3.4.6-rc.1 (2026-02-03)

Note: Version bump only for package hocuspocus

3.4.6-rc.0 (2026-02-03)

Bug Fixes

  • dont include all types in all packages (4dade25)

3.4.5-rc.0 (2026-02-03)

Note: Version bump only for package hocuspocus

3.4.4 (2026-01-25)

Bug Fixes

3.4.3 (2025-12-15)

Note: Version bump only for package hocuspocus

3.4.2 (2025-12-15)

Bug Fixes

  • fixes memory leak under high load, replace nextTick by setTimeout (1f0b5a4)

3.4.1 (2025-12-09)

Bug Fixes

3.4.0 (2025-10-24)

Bug Fixes

  • fixes timing issues with debouncer: new debounced functions may start before the previous had finished (708bfdb)
  • make beforeSync not async, as this may break message processing order (see yjs/yjs#591) (abeb298)
  • make beforeSync not async, as this may break message processing order (see issue 591 of yjs) (1d11bea)
  • make handleUpdate sync to avoid timing issues (9a6485b)

Features

  • adds Document.lastChangeTime, which is set to Date.now() whenever a change on the documment has been detected (9092efd)

3.3.2 (2025-10-23)

Reverts

  • Revert "fix: temporarily removes beforeSync callback (#919, partially reverts a6a7bcd0768378908ffb5d32096183280115631b). Making applySync async causes timing issues that leads to issues when using PermanentUserData. This can be reproduced by using the playground server with sqlite and a sleep(1000). Additionally, use Y.PermanentUserData, or try to read data from the ydoc in the onSynced event." (e33dbe2), closes #919

3.3.1 (2025-10-22)

Bug Fixes

  • temporarily removes beforeSync callback (#919, partially reverts a6a7bcd0768378908ffb5d32096183280115631b). Making applySync async causes timing issues that leads to issues when using PermanentUserData. This can be reproduced by using the playground server with sqlite and a sleep(1000). Additionally, use Y.PermanentUserData, or try to read data from the ydoc in the onSynced event. (7192664)

3.3.0 (2025-10-22)

Bug Fixes

  • fixes timing issues when multiple users leave the same document together (70e5955)

Features

  • add onTokenSync hook for auth token re-sync (#1001) (ee252fb)

3.2.6 (2025-10-17)

Bug Fixes

  • bind onUpdate before afterLoadDocument, as changes wont be saved otherwise (bf8a6f9)

Features

  • rewrite of redis unloading logic to utilize before/after-unloadDocument (#1007) (8f86caf)

3.2.5 (2025-10-07)

Bug Fixes

  • delay adding document to instance until connection is about to be established (#972) (1e2917a)
  • emit status event when status is updated to connected in onOpen, fixes #1004 (14829c1)
  • extension-redis: avoid hard crashes of expected errors when acquiring a lock (#983) (38e58a4)
  • set max listeners to infinity to avoid warnings when using multiplexing (21412aa)

Features

  • remove uuid dependency and replace usages by crypto.randomUUID (#1005) (393189f)

3.2.4 (2025-09-30)

Note: Version bump only for package hocuspocus

3.2.3 (2025-08-06)

Bug Fixes

  • fixes playground plug and play confg (f9dff84)
  • unload document in catch block of storeDocumentHooks (#955) (1a3b5b8)

Features

  • adds configuration option autoConnect (default=true) which allows creating the provider without triggering a connection attempt (fixes #938) (adc315f)
  • adds more error logging when a connection is closed due to an exception (1c4090c)

3.2.2 (2025-07-28)

Bug Fixes

  • extension-redis: redlock release race condition (#958) (5666a65)

3.2.1 (2025-07-20)

Bug Fixes

  • add catch on message receiver when handling message (#967) (f9ceb26)
  • correct database link in redis.md (#968) (ec47b50)
  • extension-redis: unsubscribe from pubsub (#945) (0812d48)
  • race condition when multiple providers connect to the same socket ; fixes #964 (#966) (4868bae)

3.2.0 (2025-07-12)

Features

  • adds hono example to backend playground (bb2d390)
  • playground (ea54455)

3.1.12 (2025-07-09)

Note: Version bump only for package hocuspocus

3.1.11 (2025-07-08)

Features

  • HocuspocusProviderWebsocket: adds handleTimeout callback that is called when the connection doesnt establish within the given timeout (509e31b)

3.1.10 (2025-07-08)

Note: Version bump only for package hocuspocus

3.1.9 (2025-07-01)

Note: Version bump only for package hocuspocus

3.1.8 (2025-07-01)

Features

  • adds document to beforeUnloadDocumentPayload (f7d1e64)
  • beforeUnloadDocument: allow passing in Hocuspocus constructor ; allow preventing unload by throwing an error in beforeUnloadDocument (63b298e)

3.1.7 (2025-06-22)

Note: Version bump only for package hocuspocus

3.1.6 (2025-06-20)

Note: Version bump only for package hocuspocus

3.1.5 (2025-06-19)

Note: Version bump only for package hocuspocus

3.1.4 (2025-06-17)

Bug Fixes

  • playground: Cannot update a component (CollaborationStatus) while rendering a different component (CollaborativeEditor) (9c6b87d)
  • playground: destroy instead of detach (c8b60f8)
  • playground: port 1234 (62e45d4)
  • playground: update styling of collaboration caret (4a2506b)

Features

  • playground: adds two editors for nicer testing (b2332f2)

3.1.3 (2025-06-06)

Note: Version bump only for package hocuspocus

3.1.2 (2025-06-05)

Bug Fixes

  • fixes koa example in playground (1a73d14)

3.1.1 (2025-05-10)

Note: Version bump only for package hocuspocus

3.1.1-rc.1 (2025-05-08)

Bug Fixes

3.1.1-rc.0 (2025-04-30)

Note: Version bump only for package hocuspocus

3.1.0 (2025-04-29)

Note: Version bump only for package hocuspocus

3.1.0-rc.0 (2025-04-28)

Note: Version bump only for package hocuspocus

3.0.8-rc.0 (2025-04-09)

Note: Version bump only for package hocuspocus

3.0.7-rc.0 (2025-04-09)

Note: Version bump only for package hocuspocus

3.0.6-rc.0 (2025-03-28)

Note: Version bump only for package hocuspocus

3.0.5-rc.0 (2025-03-28)

Features

3.0.4-rc.0 (2025-03-20)

Note: Version bump only for package hocuspocus

3.0.3-rc.0 (2025-03-20)

Bug Fixes

  • Memory leak in Direct Connection (#895) (70ab0e2), closes #2
  • server: fast ws disconnect handling during conn setup (#900) (6817b53)

3.0.2-rc.0 (2025-03-13)

Bug Fixes

  • Memory leak in Direct Connection (#895) (70ab0e2), closes #2
  • server: fast ws disconnect handling during conn setup (#900) (6817b53)

3.0.1-rc.0 (2025-03-13)

Bug Fixes

  • Memory leak in Direct Connection (#895) (70ab0e2), closes #2
  • server: fast ws disconnect handling during conn setup (#900) (6817b53)

3.0.0 (2025-03-13)

Bug Fixes

  • Memory leak in Direct Connection (#895) (70ab0e2), closes #2
  • server: fast ws disconnect handling during conn setup (#900) (6817b53)

2.15.2 (2025-02-03)

Note: Version bump only for package hocuspocus

2.15.1 (2025-01-29)

Note: Version bump only for package hocuspocus

2.15.1-rc.0 (2025-01-29)

Bug Fixes

  • comments: fix error where deletedComments yArray does not exist (#884) (1e405ef)
  • pass WebSocket instead of Connection to applyAwarenessUpdate (#882) (e359652)

2.15.0 (2024-12-10)

Note: Version bump only for package hocuspocus

2.14.0 (2024-11-20)

Bug Fixes

  • provider: allow deletion of first item (3fe0b91)
  • provider: correct event handler binding for document updates and awareness (e3c616c)
  • provider: fix comment sorting (e706537)

2.13.7 (2024-10-08)

Note: Version bump only for package hocuspocus

2.13.6 (2024-09-19)

Note: Version bump only for package hocuspocus

2.13.5 (2024-07-02)

Note: Version bump only for package hocuspocus

2.13.5-rc.0 (2024-07-01)

Note: Version bump only for package hocuspocus

2.13.4-rc.0 (2024-07-01)

Note: Version bump only for package hocuspocus

2.13.3-rc.0 (2024-07-01)

Note: Version bump only for package hocuspocus

2.13.2 (2024-06-14)

Note: Version bump only for package hocuspocus

2.13.1 (2024-06-06)

Note: Version bump only for package hocuspocus

2.13.0 (2024-05-18)

Note: Version bump only for package hocuspocus

2.12.3 (2024-05-16)

Bug Fixes

  • improve global window checks to enable react native support (#823) (5dd53d5)

2.12.2 (2024-04-25)

Note: Version bump only for package hocuspocus

2.12.2-rc.0 (2024-03-29)

Note: Version bump only for package hocuspocus

2.12.1-rc.0 (2024-03-29)

Reverts

  • Revert "websocket: enable following redirects (#806)" (#807) (930a61c), closes #806 #807

2.12.0-rc.0 (2024-03-24)

Note: Version bump only for package hocuspocus

2.11.3 (2024-03-02)

Note: Version bump only for package hocuspocus

2.11.2 (2024-02-16)

Bug Fixes

  • allow resolvedAt to be null on updateThread (eac0bf9)

2.11.1 (2024-02-11)

Note: Version bump only for package hocuspocus

2.11.0 (2024-02-05)

Note: Version bump only for package hocuspocus

2.10.0 (2024-01-31)

Note: Version bump only for package hocuspocus

2.9.2-rc.0 (2024-01-22)

Note: Version bump only for package hocuspocus

2.9.1-rc.0 (2024-01-18)

Note: Version bump only for package hocuspocus

2.9.0 (2024-01-05)

Note: Version bump only for package hocuspocus

2.9.0-rc.0 (2024-01-04)

Note: Version bump only for package hocuspocus

2.8.1 (2023-11-21)

Note: Version bump only for package hocuspocus

2.8.0 (2023-11-15)

Note: Version bump only for package hocuspocus

2.7.1 (2023-10-19)

Note: Version bump only for package hocuspocus

2.7.0 (2023-10-16)

Note: Version bump only for package hocuspocus

2.6.1 (2023-10-05)

Bug Fixes

  • add documentName into broadcast message (#713) (8400928)

2.6.0 (2023-10-04)

Note: Version bump only for package hocuspocus

2.5.0 (2023-09-06)

Note: Version bump only for package hocuspocus

2.5.0-rc.0 (2023-08-24)

Note: Version bump only for package hocuspocus

2.4.0 (2023-08-17)

Note: Version bump only for package hocuspocus

2.4.0-rc.1 (2023-08-12)

Note: Version bump only for package hocuspocus

2.4.0-rc.0 (2023-08-12)

Bug Fixes

2.3.1 (2023-08-01)

Note: Version bump only for package hocuspocus

2.3.0 (2023-07-31)

Bug Fixes

  • hocuspocus provider auto connect and disconnect behavior (#663) (a035c09)
  • remove awareness states on page unload instead of beforeunload (#658) (e1bd3f1)

2.2.3 (2023-07-14)

Note: Version bump only for package hocuspocus

2.2.2 (2023-07-14)

Note: Version bump only for package hocuspocus

2.2.1 (2023-07-04)

Note: Version bump only for package hocuspocus

2.2.0 (2023-06-22)

Bug Fixes

2.1.0 (2023-06-03)

Bug Fixes

2.0.6 (2023-04-25)

Note: Version bump only for package hocuspocus

2.0.5 (2023-04-24)

Note: Version bump only for package hocuspocus

2.0.4 (2023-04-23)

Bug Fixes

  • Do not retry connection if data is too large (#586) (462a87f)
  • npm scripts for frontend playground (#578) (b4b61a0)

2.0.3 (2023-04-05)

Note: Version bump only for package hocuspocus

2.0.2 (2023-04-04)

Note: Version bump only for package hocuspocus

2.0.1 (2023-03-30)

Bug Fixes

  • connection.sendStateless error when connections more than one (#556) (9a9260f)

2.0.0 (2023-03-29)

Note: Version bump only for package hocuspocus

2.0.0-beta.0 (2023-03-28)

Note: Version bump only for package hocuspocus

2.0.0-alpha.1 (2023-03-23)

Note: Version bump only for package hocuspocus

2.0.0-alpha.0 (2023-02-28)

Note: Version bump only for package hocuspocus

1.1.0 (2023-02-24)

Note: Version bump only for package hocuspocus

1.0.2 (2023-02-16)

Bug Fixes

  • make transformer compatible with @tiptap/core@^2.0.0-beta.210 (#512) (591103f)

1.0.1 (2023-01-30)

Note: Version bump only for package hocuspocus

1.0.0 (2023-01-18)

Note: Version bump only for package hocuspocus

1.0.0-beta.7 (2023-01-11)

Note: Version bump only for package hocuspocus

1.0.0-beta.6 (2022-12-03)

Note: Version bump only for package hocuspocus

1.0.0-beta.5 (2022-11-25)

Bug Fixes

  • Crash when websocket receives out of bound characters pre-auth (#444) (73d8a48)

1.0.0-beta.4 (2022-11-25)

Bug Fixes

  • Crash when websocket receives out of bound characters pre-auth (#444) (73d8a48)

1.0.0-beta.3 (2022-11-03)

Note: Version bump only for package hocuspocus

1.0.0-beta.2 (2022-09-28)

Note: Version bump only for package hocuspocus

1.0.0-beta.111 (2022-09-28)

Bug Fixes

  • Account for this.webSocket being null (#235) (b1476b6)
  • demos (59b73de)
  • Documentation fixes (#138) (8352196), closes #137
  • Empty sync message causes error in client MessageReceiver (#174) (f9dca69)
  • fix hook promise chaining (ee5052d)
  • fix playground build (86bd9db)
  • frontend demo packages are not installed on fresh clone (7ead9e2)
  • og image domain (5b78e3f)
  • Potential onCreateDocument race condition (#167) (b3e3e4d)
  • Remote client awareness not immediately available (37703f6)
  • Remove event listener once unused (#220) (0422196)
  • typescript strings (0dd5f12)
  • webhook docs (f0faac2)

Features

  • add connect event to webhook extension (d907354)
  • Add connectionsCount and documentsCount methods to server (8bdbcd8)
  • add create event to import documents from api (240a032)
  • add default schema to ProsemirrorTransformer and default extensions to TiptapTransformer, making both parameters in toYdoc optional (e330ffd)
  • add disconnect event to webhook extension (81679dd)
  • add read only mode (7b59d52)
  • add request headers and parameters to onCreateDocument (47a8b95)
  • add throttle extension (b65de2a)
  • add transformations page to the guide (81e0ddf)
  • extension-redis should watch the ydoc for changes and notify other hocuspocus instances about it (via redis pub/sub) (bacc535)
  • improve wevhook docs (3f774c4)
  • Message Authentication (#163) (a1e68d5)