Skip to content

v0.1.1

Choose a tag to compare

@JSv4 JSv4 released this 01 Dec 06:26
· 42 commits to main since this release

What's New

docxodus v4.0 Support

  • Upgraded to docxodus v4.0 with new features

Web Worker Support

  • Added useWorker prop for non-blocking document conversion
  • Large documents no longer freeze the UI during conversion
  • Export isWorkerSupported() helper for feature detection

WASM Auto-Detection

  • wasmBasePath prop is now optional
  • WASM files are auto-detected from module location

RevisionViewer Integration

  • Integrated revision viewer as a tab within DocumentViewer
  • Auto-detects tracked changes in documents
  • Filter revisions by type

Usage

import { DocumentViewer } from 'react-docxodus-viewer';
import 'react-docxodus-viewer/styles.css';

// Basic usage (WASM auto-detected)
<DocumentViewer />

// With worker for large documents
<DocumentViewer useWorker />

Breaking Changes

  • Requires docxodus >= 4.0 as peer dependency