Changelog
Release notes for NexPDF for Electron (@nexdevit/nexpdf-electron) and its nexpdf-webviewer engine.
Versions follow semantic versioning. The Electron package, the
nexpdf-webviewer 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
- The document API in the main process:
documents()returns the Node.js SDK's API (PdfDocument,WasmDocument,activateLicense,verifySignatures, …) andopenDocumentFile(source, { password })opens a PDF, picture, Office file, e-book or comic from a path or bytes, with no window or helper process. It needs@nexdevit/nexpdf-nodeand a key for platformweb. See Opening and saving. - Through the document API, every 1.1 function of the engine on
doc.raw: templates (templateDocxToPdf,templateHtmlToPdf,templateFillPdf), structured extraction (extractTablesJson,extractKeyValuesJson,extractionPromptJson,extractionValidateJson,classifyDocumentJson), barcodes (readBarcodesJson,addBarcode), XFA forms (xfaInfoJson,xfaExportData,xfaImportData,xfaToAcroform,xfaFlatten,xfaRemove), comment threads (replyToAnnotation,annotationRepliesJson,setAnnotationState), real-time collaboration (syncExportJson,syncExportLocalJson,syncApplyJson,syncSnapshotJson,syncSetClientId, and theNexPdfSyncclient of@nexdevit/nexpdf-node/sync), word-level comparison (compareTextJson,compareAnnotate) and PDF/A and PDF/UA validation (validatePdfaJson,validatePdfuaJson,convertPdfaLevel). - Signing levels B-T, B-LT and B-LTA in the main process, through the document API and the main
process's
fetch:doc.signOnline,completeExternalSignatureOnline,timestampSignature,addLtvOnline,timestampDocumentandupgradeSignature, with thetsaoption (a function from the RFC 3161 request bytes to the response bytes, in place oftsaUrl). Renderers ask for them throughhandleSigning(ipcMain, { tsaUrl, fetch, headers })and the@nexdevit/nexpdf-electron/preloadscript, aswindow.nexpdfSigning. See Long-term signatures. - Every function of the WebAssembly engine in
documents(): among themocrLoadModel,templateDocxFill,templateDocxFillWith,readBarcodesImageJson,registerFallbackFont,registerSubstituteFont,validateLtaJson,addDocumentTimestampBytes,documentTimestampRequestandcompleteDocumentTimestamp; and ondoc.rawxfaToAcroformJson,xfaRunScriptsJson,validatePdfuaPartJson,convertPdfaJson,convertPdfuaJson,pageWordsJsonandaddBarcodeEx, withWasmDocument.openDocxWithOptionsJsonandWasmDocument.openXlsxWithClock. - Signature verification reports
pades_levelanddocument_timestamp, andvalidateLtaJsonchecks B-LTA files, OCSP responses included. See Long-term signatures. - XFA forms run their FormCalc and JavaScript scripts, apply picture clauses, and lay out rich text, images, right-to-left flow and vector barcodes in embedded Unicode fonts; complete PDF/UA-2 validation and PDF/UA conversion; neural OCR models in the document API; Word comments and tracked changes, Excel formulas and OpenType shaping with bidi in conversion.
- In the window: Extract to JSON in the Convert mode, with the engine's prompt builder and validator. See Structured extraction.
- The engine serves the NexPDF Sync endpoints (
/api/sync/*, WebSocket and Server-Sent Events) and records the window's edits, page operations included, as sync changes. Sync covers pages and shared objects and merges per property (nexpdf-sync/2). TheNexPdfSyncclient of@nexdevit/nexpdf-node/syncruns in the main process; see Real-time collaboration.
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 window signs up to B-LT and cannot load neural OCR models; use the document API for B-LTA and neural OCR.
- A
tsafunction cannot cross IPC: renderer signing calls taketsaUrl(or thefetchgiven tohandleSigning).
1.0.1
Released 28 November 2026.
Fixed
- The UI configuration reaches the engine. The engine reads
NEXPDF_UI_CONFIGas a file path, but 1.0.0 passed the JSON text itself, soconfig(inopenPdfWindow) anduiConfig(instartEngine) were silently ignored unless they were a file path. An object or JSON text is now written to a private temporary file, removed when the engine exits; any other string is still taken as the path of a JSON file.
Added
- Encrypted PDFs open with a password:
openPdfWindow({ file, password }),startEngine({ file, password }),pdf.open(file, { password })andopenDocument(engine, bytes, name, { password }). A missing or wrong password rejects with an error whosepasswordRequired(and, for a wrong one,wrongPassword) istrue, and whosestatusis the engine's HTTP status.
1.0.0
Released 28 November 2026. First stable release.
Added
openPdfWindow: the complete NexPDF reader and editor in aBrowserWindow, withcontextIsolation,sandboxand no Node integration, a File menu (Open, Save As) and save dialogs for downloads.startEngine,openDocument,documentBytesandfindBinaryto drive thenexpdf-webviewerengine without a window.- The engine as a native helper process on a random loopback port, for Linux (x64, arm64), macOS
(universal) and Windows (x64), found through the
binaryoption,NEXPDF_BINARY, the app's resources or the package'sbin/folder. - License keys for platform
server, passed as thelicenseoption. - The reader's modes: viewing, annotations and measurements, forms, text editing, page organiser, signatures, encryption and stamping, redaction, conversion and OCR, ISO standards, and the assistant.
- The shared NexPDF UI configuration for modes, hidden items, tools, theme, accent colour and language.