This release includes 2 breaking changes for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Topics
+2 more
Affected surfaces
Summary
AI summaryDebounce now prevents concurrent storeDocumentHook execution and beforeSync is no longer awaited, altering behavior.
Full changelog
What's Changed
- fix: fixes timing issues with debouncer: new debounced functions may start before the previous had finished by @janthurau in https://github.com/ueberdosis/hocuspocus/pull/1014
- fix: make beforeSync not async, as this may break message processing … by @janthurau in https://github.com/ueberdosis/hocuspocus/pull/1015
- feat: adds lastChangeTime on document which can be used to identify the last time a document has had changes
Note: This changes the behaviour of debounce and beforeSync. Debounce will now make sure that a storeDocumentHook can't run concurrently, and beforeSync is not awaited anymore, as this breaks message order. This will probably be fixed again in the future, once either Yjs has improved observers with missing updates, or once we have implemented messaging ordering.
Full Changelog: https://github.com/ueberdosis/hocuspocus/compare/v3.3.2...v3.4.0
Breaking Changes
- Debounce behavior changed: new debounced functions may start before previous ones finished, preventing concurrent storeDocumentHook execution.
- beforeSync hook is no longer async; it is not awaited, breaking prior message‑processing order expectations.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Hocuspocus 4
All releases →Related context
Related tools
Beta — feedback welcome: [email protected]