Skip to Content
NexPDF

Changelog

Release notes for NexPDF for Node.js (@nexdevit/nexpdf-node).

English

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 global WebSocket of Node.js 22 and later or the WebSocket option) and falls back to Server-Sent Events plus POST for the session when the socket never reaches hello (transport: 'auto' | 'websocket' | 'sse'), with remote, pushed, conflict, presence, status, reload and error events, setPresence, flush, downloadDocument, attach and close, and the document calls syncExportJson, syncExportLocalJson, syncApplyJson, syncSnapshotJson and syncSetClientId. Change sets are nexpdf-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, timestampDocument and upgradeSignature, with fetch, headers and maxRounds options. The tsa option, a function from the RFC 3161 request bytes to the response bytes, takes the place of tsaUrl (the JavaScript form of the native SDKs' TSA callback). See Long-term signatures.
  • Every function of the WebAssembly module is exported, with C_FUNCTIONS mapping each C function to its name: among them templateDocxFill, templateDocxFillWith, readBarcodesImageJson, ocrLoadModel, ocrModelsJson, ocrUnloadModels, registerFallbackFont, registerSubstituteFont, validateLtaJson, addDocumentTimestampBytes, documentTimestampRequest, completeDocumentTimestamp, signatureTimestampRequest, addSignatureTimestamp, ltvRequestsJson, addLtvWithResponses and invoke, and the static WasmDocument.openDocxWithOptionsJson and WasmDocument.openXlsxWithClock.
  • Opening e-books and comics: PdfDocument.open and fromBytes convert EPUB, FictionBook, XPS/OpenXPS and CBZ files; PdfDocument.fromEbook, fromOffice, fromImage and detectKind.
  • Errors thrown by open and fromBytes carry passwordRequired and wrongPassword.
  • External signing: doc.prepareExternalSignature, externalSignatureData and completeExternalSignature.
  • toLinearizedBytes, save(path, { linearized: true }), pageLabels, setPageLabels, trimMemory and memoryUsage on PdfDocument, and trimMemory on doc.raw.
  • Templates: WasmDocument.templateDocxToPdf, WasmDocument.templateHtmlToPdf, templateDocxFillWith and doc.raw.templateFillPdf (with header_height, footer_height and font options). 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); the level signing option and prepareDocumentTimestamp. Verification reports document_timestamp and pades_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, recognition and the optional classification text-direction model) and used by ocr() with engine: 'auto'; orientation and skew correction for both engines. See OCR.
  • validateLtaJson checks 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 for NOW() and TODAY(); 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 /Widths take 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 /NeedAppearances false, 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": 0 for 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.
  • PdfDocument with camelCase methods and parsed JSON results, and doc.raw (WasmDocument) with the functions of the NexPDF C API and the same JSON options.
  • Offline NEX2. license keys: activateLicense and licenseStatus.
  • 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.

On this page