Changelog
Release notes for NexPDF for Node.js (@nexdevit/nexpdf-node).
Versions follow semantic versioning. The Node.js 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-node/sync), the same client as the web SDK's. It connects over WebSocket (/api/sync/ws, the globalWebSocketof Node.js 22 and later or theWebSocketoption) and falls back to Server-Sent Events plusPOSTfor the session when the socket never reacheshello(transport: 'auto' | 'websocket' | 'sse'), 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 with
fetch:doc.signOnline,signPkcs12Online,completeExternalSignatureOnline,timestampSignature,addLtvOnline,timestampDocumentandupgradeSignature, 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, with
C_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.openDocxWithOptionsJsonandWasmDocument.openXlsxWithClock. - Opening e-books and comics:
PdfDocument.openandfromBytesconvert EPUB, FictionBook, XPS/OpenXPS and CBZ files;PdfDocument.fromEbook,fromOffice,fromImageanddetectKind. - Errors thrown by
openandfromBytescarrypasswordRequiredandwrongPassword. - External signing:
doc.prepareExternalSignature,externalSignatureDataandcompleteExternalSignature. toLinearizedBytes,save(path, { linearized: true }),pageLabels,setPageLabels,trimMemoryandmemoryUsageonPdfDocument, andtrimMemoryondoc.raw.- Templates:
WasmDocument.templateDocxToPdf,WasmDocument.templateHtmlToPdf,templateDocxFillWithanddoc.raw.templateFillPdf(withheader_height,footer_heightandfontoptions). See Templates. - On
doc.raw: 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, 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: models loaded with
ocrLoadModel(detection,recognitionand the optionalclassificationtext-direction model) and used byocr()withengine: 'auto'; 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. - CommonJS:
require('@nexdevit/nexpdf-node')loads the same engine (document.cjs), for hosts such as the Electron main process.
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
- Tesseract is not available under WebAssembly; use the built-in engine or neural models.
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 NexPDF engine in-process through WebAssembly for Node.js 18 and later, Deno and Bun, with no native addon.
PdfDocumentwith camelCase methods and parsed JSON results, anddoc.raw(WasmDocument) with the functions of the NexPDF C API and the same JSON options.- Offline
NEX2.license keys:activateLicenseandlicenseStatus. - 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,
pkcs12Info, and verification with your own root certificates. - Conversion from Word, Excel, PowerPoint, HTML, EPUB, FictionBook, XPS and CBZ, 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.
NexPdfClient(@nexdevit/nexpdf-node/client), an HTTP client for a NexPDF WebViewer server.