Releases: ueberdosis/hocuspocus
v2.9.2-rc.0
What's Changed
- build(deps): bump vite from 4.3.9 to 4.5.2 by @dependabot in #777
- build(deps): bump actions/cache from 3.3.2 to 3.3.3 by @dependabot in #776
- Feature/threads by @janthurau in #778
Full Changelog: v2.9.1-rc.0...v2.9.2-rc.0
v2.9.1-rc.0
What's Changed
- Compatibility with TiptapCollab on-premise
- build(deps): bump follow-redirects from 1.15.2 to 1.15.4 by @dependabot in #774
- Fix import paths for Node16 resolution by @Moiman in #775
New Contributors
Full Changelog: v2.9.0...v2.9.1-rc.0
2.9.0
WARNING: This release changes the behaviour of onStoreDocument: If there is no unsaved change, it won't be called anymore when the last user disconnects
What's Changed
- change URL of Tiptap Cloud by @patrickbaber in #756
- fix comment typo by @kandros in #759
- build(deps): bump meow from 12.1.1 to 13.0.0 in /packages/cli by @dependabot in #764
- fixes duplicate initial sync, refs #768 by @janthurau in #770
- Avoiding unnecessary onStoreDocument hooks call on last connection close by @ebads67 in #767
- call awareness.destroy when destroying the provider, refs #769 by @janthurau in #771
New Contributors
Full Changelog: v2.8.1...v2.9.0
v2.8.1
What's Changed
- graceful shutdown: fixes promise issues by @janthurau in #750
- Raised peer versions for @tiptap and yjs-related packages to be compatible with latest tiptap versions
Full Changelog: v2.8.0...v2.8.1
v2.8.0
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.
What's Changed
- implements graceful shutdown by @janthurau in #747
- Add missing hooks to config-hooks-extension. by @shincurry in #736
- Minor optimizations (logging, isConnected, cleanup) by @janthurau in #734
- build(deps): bump axios from 1.3.4 to 1.6.0 by @dependabot in #746
- build(deps): bump actions/setup-node from 3 to 4 by @dependabot in #735
New Contributors
- @shincurry made their first contribution in #736
Full Changelog: v2.7.1...v2.8.0
v2.7.1
What's Changed
- fixes #730: extension-redis: This reverts an unintended breaking change causing hocuspocus instances to call onStoreDocument hooks even if the update was received on another instance: #733. This could create issues in certain situations if you are relying on the
context.
Full Changelog: v2.7.0...v2.7.1
v2.7.0
What's Changed
-
Fix return type of database extension
storemethod by @haines in #715 -
fixes #718: replace arraybuffer by nodebuffer by @janthurau in #721
-
Handle errors thrown by provider token function by @haines in #722
-
Efficiently route messages through HocuspocusProviderWebsocket by @raineorshine in #727
-
fixes #709: unload document when there is no other connection left af… by @janthurau in #723
-
adds Document.isDestroyed by @janthurau in #728
-
build(deps): bump postcss from 8.4.23 to 8.4.31 by @dependabot in #712
-
build(deps): bump ws from 7.5.9 to 8.14.2 in /packages/provider by @dependabot in #705
New Contributors
Full Changelog: v2.6.1...v2.7.0
v2.6.1
v2.6.0
What's Changed
- throw error in onStoreDocument to prevent afterStoreDocument from releasing lock by @ralphiee22 in #669
- Stop listening to messages once the websocket closes by @canadaduane in #702
- Fix multiple sockets on reconnection by @talhazubairbutt in #698
- server/examples.md: Remove outdated documentName references by @raineorshine in #706
- Update extensions.md by @raineorshine in #701
- Fix payload types for after load/unload document hooks by @haines in #710
New Contributors
- @talhazubairbutt made their first contribution in #698
- @haines made their first contribution in #710
Full Changelog: v2.5.0...v2.6.0
v2.5.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)
What's Changed
- make immediate unload optional by @georeith in #683
- attach ydoc origin to onChange, onStoreDocument payloads by @janthurau in #688
- Reset last message received when creating new socket by @TalhaASiddiqi in #689
- extension-redis: Subscribe to channels instead of patterns by @EugeneZ in #679
- extension-redis: fixes a bug that caused document updates to cause another sync by @janthurau in #696
Documentation / Misc:
- Fix typos and unnecessary gendered language by @12joan in #694
- Update custom-extensions.md by @raineorshine in #693
- Update Redis extension docs by @raineorshine in #692
- moves debounce to utils by @janthurau in #695
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in #697
New Contributors
- @12joan made their first contribution in #694
- @TalhaASiddiqi made their first contribution in #689
- @EugeneZ made their first contribution in #679
Full Changelog: v2.4.0...v2.5.0