Skip to content

Releases: ueberdosis/hocuspocus

v2.0.0-alpha.1

23 Mar 20:34
v2.0.0-alpha.1
2ee7abd
Compare
Choose a tag to compare
v2.0.0-alpha.1 Pre-release
Pre-release

v1.1.1 - Version bump to keep the stable default

02 Mar 07:08
v1.1.1
d719ea5
Compare
Choose a tag to compare

Version bump to make npm install @hocuspocus/server install the stable, not the pre-release

Full Changelog: v1.1.0...v1.1.1

multiplexing

28 Feb 17:09
v2.0.0-alpha.0
c0dd61b
Compare
Choose a tag to compare
multiplexing Pre-release
Pre-release

This is the first alpha release introducing multiplexing support.

The status is still a bit early, but I already wanted to gather as much feedback as possible and find potential testers in the community. I currently do not have a bigger project where I can test this, so if you can use multiplexing in your project and are willing to give the current implementation a try, this would be much appreciated and helps to get this merged soon.

On the frontend side, all connection logic has been split to a new ‘HocuspocusProviderWebsocket’, which needs to be passed to your HocuspocusProvider(s). So if you want to synchronize three documents, you’ll create one HocuspocusProviderWebsocket and three HocuspocusProvider, which gets passed the websocket (webSocket param). Authentication works per document, so the URL has to be passed to the HocuspocusProviderWebsocket, tokens to the provider related with the document. A working example can be found in playground/frontend/src/pages/Index.vue. Provider events are filtered by documentName, so the frontend shouldnt require further changes. Same on the backend, note that internally we’re spawning different Connection instances that each handle one document connection (through the same websocket). If you are somehow parsing the websocket messages yourself, please note that the protocol has changed and now includes the documentName at the first segment of the message.

You can find the PR here for details: #484

If you need any help, feel free to ping me (@janthurau) on Discord or send me a direct message.

v1.1.0 - Stateless messages, redis cluster support, tiptap/pm

24 Feb 18:56
v1.1.0
855179a
Compare
Choose a tag to compare

What's Changed

  • feature: send stateless messages over the existing websocket connection by @solirpa in #516
  • feature/stateless message redis compatibility by @janthurau in #522
  • feature: support redis cluster for extension-redis by @lzj723 in #517
  • Additional documentation on Laravel integration by @fredpedersen in #518
  • Use Tiptap pm package by @svenadlung in #504
  • removes "update" field from onStoreDocument hook documentation. It is… by @janthurau in #524

New Contributors

Full Changelog: v1.0.2...v1.1.0

v1.0.2

16 Feb 19:13
v1.0.2
098ec72
Compare
Choose a tag to compare

What's Changed

  • Handle errors caused by incorrect websocket close codes in auth hook by @ralphiee22 in #503
  • chore: synchronize package-lock.json by @Deckluhm in #511
  • Fix bugs in webhook extension by @fredpedersen in #506
  • fix: make transformer compatible with @tiptap/core@^2.0.0-beta.210 by @Deckluhm in #512

New Contributors

Full Changelog: v1.0.1...v1.0.2

v1.0.1

30 Jan 19:02
v1.0.1
cb21edc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.0.1

v1.0.0

18 Jan 14:58
v1.0.0
9c9984d
Compare
Choose a tag to compare

Hocuspocus v1.0.0 - public & stable release

v1.0.0-beta.7

11 Jan 21:35
v1.0.0-beta.7
c61af50
Compare
Choose a tag to compare

What's Changed

BC-BREAK: The hook onCreateDocument had been deprecated for a long time and has now been removed. Please replace it by onLoadDocument.

  • Draft: adds option to set configurable listen address, refs #461 by @janthurau in #462
  • Draft: Feature/docs & cleanups by @janthurau in #452
  • Handle errors caused by incorrect websocket close codes by @janthurau in #468
  • build(deps): bump uuid from 8.3.2 to 9.0.0 in /packages/extension-redis by @dependabot in #475
  • build(deps): bump @types/uuid from 8.3.4 to 9.0.0 in /packages/server by @dependabot in #473
  • build(deps): bump uuid from 8.3.2 to 9.0.0 in /packages/server by @dependabot in #477
  • build(deps-dev): bump autoprefixer from 9.8.8 to 10.4.13 in /packages/extension-monitor by @dependabot in #474
  • build(deps): bump axios from 0.27.2 to 1.2.2 in /packages/extension-webhook by @dependabot in #471
  • build(deps-dev): bump @fullhuman/postcss-purgecss from 3.1.3 to 5.0.0 in /packages/extension-monitor by @dependabot in #470
  • build(deps): bump tailwindcss-font-inter from 2.0.5 to 3.0.1 in /packages/extension-monitor by @dependabot in #478

Full Changelog: v1.0.0-beta.6...v1.0.0-beta.7

v1.0.0-beta.6

03 Dec 09:55
v1.0.0-beta.6
cb97fe6
Compare
Choose a tag to compare

What's Changed

  • Fixes onClose mutex issue if the document didnt have the connection anymore by @janthurau in #451

Full Changelog: v1.0.0-beta.5...v1.0.0-beta.6

v1.0.0-beta.5

25 Nov 09:36
v1.0.0-beta.5
cf67105
Compare
Choose a tag to compare

What's Changed

  • fix: Crash when websocket receives out of bound characters pre-auth by @tommoor in #444

Full Changelog: v1.0.0-beta.4...v1.0.0-beta.5