# Release Notes — v2.4.0

*March 2026*

## Highlights

This release introduces **collaborative editing**, a redesigned settings panel, and significant performance improvements to the sync engine.

## New features

- **Real-time collaboration** — Multiple users can now edit the same document simultaneously. Cursors are color-coded per participant. Conflict resolution uses a CRDT-based approach with no merge dialogs.
- **Settings redesign** — The settings panel has been reorganized into tabbed sections: General, Editor, Appearance, and Integrations. Search now works across all settings.
- **Export to PDF** — Documents can be exported as styled PDFs directly from the editor. Supports custom headers, footers, and page numbering.
- **Keyboard shortcut overlay** — Press `?` in the editor to see all available shortcuts.

## Improvements

- Sync engine rewritten to use incremental diffs — reduces bandwidth by ~60% for typical editing sessions
- Editor now loads 2.3x faster on large documents (>50k words)
- Search and replace supports regular expressions
- Table column resizing with drag handles
- Improved screen reader support throughout the editor
- Dark mode colors refined for better contrast ratios (WCAG AA compliant)

## Bug fixes

- Fixed cursor jumping to end of document after paste in Firefox
- Fixed table of contents not updating after heading deletion
- Fixed rare data loss when closing tab during sync
- Fixed export including content from collapsed sections
- Fixed keyboard shortcuts conflicting with OS-level shortcuts on macOS

## Breaking changes

- **API:** The `GET /documents/:id` response now includes a `version` field. Clients that pin to a strict schema should update their types.
- **Plugins:** The `onDocumentChange` hook now receives a `ChangeEvent` object instead of the full document. See the migration guide.

## Deprecations

- `GET /documents/:id/history` is deprecated in favor of the new `GET /documents/:id/versions` endpoint. The old endpoint will be removed in v3.0.

## What's next

We're working on offline editing with automatic sync on reconnect, and a plugin marketplace. See the [roadmap](https://example.com/roadmap) for details.

---

**Full changelog:** [v2.3.0...v2.4.0](https://example.com/changelog)
**Migration guide:** [Upgrading to v2.4](https://example.com/migrate)
