Changelog
Release notes for NexPDF for the web (@nexdevit/nexpdf-web).
Versions follow semantic versioning. The web package, the WebAssembly engine and every other NexPDF SDK share one version number. See the release notes for all SDKs.
1.1.0
Released 29 November 2026.
Added
- Real-time collaboration:
NexPdfSync(@nexdevit/nexpdf-web/sync), a client for the NexPDF WebViewer server's sync endpoint. It connects over WebSocket (/api/sync/ws) and falls back to Server-Sent Events plusPOSTfor the session when the socket never reacheshello(transport: 'auto' | 'websocket' | 'sse',WebSocketoption), withremote,pushed,conflict,presence,status,reloadanderrorevents,setPresence,flush,downloadDocument,attachandclose, and the document callssyncExportJson,syncExportLocalJson,syncApplyJson,syncSnapshotJsonandsyncSetClientId. Change sets arenexpdf-sync/2: pages (insert, delete, move, rotate, crop, content) and shared objects sync, and merging is per property. See Real-time collaboration. - Signing levels B-T, B-LT and B-LTA in the browser, with
fetch:doc.signOnline,nex.completeExternalSignatureOnline,nex.timestampSignature,nex.addLtvOnline,nex.timestampDocumentandnex.upgradeSignature, withfetch,headersandmaxRoundsoptions. Thetsaoption, a function from the RFC 3161 request bytes to the response bytes, takes the place oftsaUrl(the JavaScript form of the native SDKs' TSA callback). See Long-term signatures. - Every function of the WebAssembly module is exported from
@nexdevit/nexpdf-web/engine(and asnex.wasm), withC_FUNCTIONSmapping each C function to its name: among themtemplateDocxFill,templateDocxFillWith,readBarcodesImageJson,ocrLoadModel,ocrModelsJson,ocrUnloadModels,registerFallbackFont,registerSubstituteFont,validateLtaJson,addDocumentTimestampBytes,documentTimestampRequest,completeDocumentTimestamp,signatureTimestampRequest,addSignatureTimestamp,ltvRequestsJson,addLtvWithResponsesandinvoke, and the staticWasmDocument.templateDocxToPdf,templateHtmlToPdf,openDocxWithOptionsJsonandopenXlsxWithClock. - Opening e-books and comics:
fromBytes,fromFileandfromUrlconvert EPUB, FictionBook, XPS/OpenXPS and CBZ files;PdfDocument.fromEbook,PdfDocument.fromOfficeanddetectKind. OpenError: errors thrown when opening carrypasswordRequiredandwrongPassword.- External signing:
doc.prepareExternalSignature,nex.externalSignatureDataandnex.completeExternalSignature. toLinearizedBytes,pageLabels,setPageLabels,security,trimMemoryandmemoryUsageonPdfDocument, andtrimMemoryondoc.raw.- On
doc.raw:templateFillPdf(PDF templates, withheader_height,footer_heightandfontoptions); comment threads (replyToAnnotation,annotationRepliesJson,setAnnotationState); structured extraction (extractTablesJson,extractKeyValuesJson,extractionPromptJson,extractionValidateJson,classifyDocumentJson); XFA forms (xfaInfoJson,xfaExportData,xfaImportData,xfaToAcroform,xfaFlatten,xfaRemove,xfaToAcroformJson,xfaRunScriptsJson); barcodes (readBarcodesJson,addBarcode,addBarcodeEx); words with exact boxes (pageWordsJson); word-level comparison (compareTextJson,compareAnnotate); PDF/A and PDF/UA (validatePdfaJson,validatePdfuaJson,validatePdfuaPartJson,convertPdfaLevel,convertPdfaJson,convertPdfuaJson); thelevelsigning option andprepareDocumentTimestamp. Verification reportsdocument_timestampandpades_level. - XFA forms run their FormCalc and JavaScript scripts (in the standard and the lighter module), apply picture clauses, and lay out rich text, images, right-to-left flow, leaders and trailers, overflow and vector barcodes in embedded Unicode fonts. See XFA forms.
- Complete PDF/UA-2 validation, and PDF/A conversion that flattens PDF/A-1 transparency, fixes device colour, draws missing appearances and substitutes fonts. See PDF/A and PDF/UA validation.
- Neural OCR in the standard module: models loaded with
ocrLoadModel(detection,recognitionand the optionalclassificationtext-direction model); orientation and skew correction for both engines. See OCR. validateLtaJsonchecks B-LTA files, OCSP responses included.- Conversion: Word comments and tracked changes (
show_comments,show_revisions), section columns and conditional table styles; Excel formulas without a cached value calculated, with a fixed clock forNOW()andTODAY(); OpenType shaping and bidi in Word, Excel, PowerPoint and HTML. See Conversion. - Form field appearances, created documents, templates and XFA layout shape text with OpenType and
order it with Unicode bidi, in embedded fonts. Simple fonts without
/Widthstake their widths from the embedded font program, and Symbol and ZapfDingbats use their standard metrics, so text positions in extraction and rendering are more exact.
Changed
- XFA conversion to AcroForm stores the formatted display value as the field value (
/V), with/NeedAppearancesfalse, so viewers that draw fields from the value show what the appearance shows. It was the raw value. Export the XFA data first if you need raw values. - PDF templates: a text row that starts in the bottom 72 pt of the page is now treated as a
footer and repeated in place on every page (
footer_height, default 72). Set"footer_height": 0for the old flow.
Known limits
- The lighter module is built without the neural OCR engine and without the bundled fonts.
- Browsers reach only TSA, OCSP and CRL servers that allow cross-origin requests; pass
fetchortsato go through your own server.
1.0.1
Released 28 November 2026.
No changes in this SDK; the engine is the same as 1.0.0. The package version moved to 1.0.1 with the other SDKs.
1.0.0
Released 28 November 2026. First stable release.
Added
- The WebAssembly engine,
@nexdevit/nexpdf-web/engine:loadNexPdf, thePdfDocumentwrapper with camelCase methods and parsed JSON results, anddoc.raw(WasmDocument) with the functions of the NexPDF C API and the same JSON options. PageViewfor mapping between PDF points and screen pixels on rotated and cropped pages.- Offline
NEX2.license keys bound to web host names:activateLicenseandlicenseStatus. - The lighter module
nexpdf_lite_bg.wasmwithout bundled fonts, withhasBundledFonts,registerStandardFontandloadStandardFonts. - Rendering with overprint simulation and every PDF image codec; text extraction, Markdown, search and offline question answering.
- Annotations, measurements and XFDF; AcroForm filling with JavaScript calculation, and form data in JSON, FDF and XFDF.
- Page and content editing, metadata, bookmarks, page labels, layers and attachments.
- AES-256 encryption with permissions, watermarks, headers and footers, Bates numbering.
- Destructive redaction by area, text, regular expression and preset patterns.
- PAdES signatures with PKCS#12 files and signature verification.
- Conversion from Word, Excel, PowerPoint and HTML, and to Word, Excel, PowerPoint, HTML, RTF, CSV, XML and JSON.
- PDF/A and PDF/X conversion, PDF/UA auto-tagging, built-in OCR, comparison, optimisation, font subsetting and linearized saving.
- The viewer components for Vanilla JS, React and Next.js, Vue and Nuxt, Angular, and Svelte and
SvelteKit, driving the NexPDF WebViewer server through
postMessage.