Releases: ueberdosis/hocuspocus
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
store
method 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
v2.4.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.
What's Changed
- Lazily createEncoder for IncomingMessage by @canadaduane in #672
- Always clean up connection listeners by @canadaduane in #670
- fix: check if ymap is empty by @linspw in #666
- Allow provider awareness to be disabled by @raineorshine in #675
- don't close when auth fails by @YousefED in #615
- this allows giving extensions a custom name, that takes priority over the class name by @janthurau in #677
- Linear time mux by @canadaduane in #671
- Started with seperation of server from hocuspocus by @timoisik in #678
- Fixed link for sqlite section by @timoisik in #684
- Improve introducing examples in the documentation by @lode in #681
New Contributors
Full Changelog: v2.3.1...v2.4.0
v2.4.0-rc.1
Breaking change: With this release, a failed auth won't anymore terminate the connection (and thus not call onClose
) but just trigger onAuthenticateFailed.
What's Changed
- Lazily createEncoder for IncomingMessage by @canadaduane in #672
- Always clean up connection listeners by @canadaduane in #670
- fix: check if ymap is empty by @linspw in #666
- Allow provider awareness to be disabled by @raineorshine in #675
- don't close when auth fails by @YousefED in #615
- this allows giving extensions a custom name, that takes priority over the class name by @janthurau in #677
Full Changelog: v2.3.1...v2.4.0-rc.1
v2.3.1
What's Changed
- Force-Close the websocket state after trying to gracefully close the websocket twice, refs #661 by @janthurau in #665
Full Changelog: v2.3.0...v2.3.1