Changelog
Release notes for NexPDF for PHP (nexdevit/nexpdf).
Versions follow semantic versioning. The Composer package, the native 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
- Templates:
NexPdf::templateDocxToPdf,NexPdf::templateDocxFill,NexPdf::templateHtmlToPdfandDocument::templateFillPdffill Word, HTML and PDF templates from JSON data. See Templates. - PAdES B-LTA: the
levelsigning option (B-B,B-T,B-LT,B-LTA),Document::addDocumentTimestamp,NexPdf::addDocumentTimestampBytesand the three-stepprepareDocumentTimestamp/NexPdf::documentTimestampRequest/NexPdf::completeDocumentTimestamp. Verification reportsdocument_timestampandpades_level. See Long-term signatures. - Comment threads:
replyToAnnotation,annotationRepliesJsonandsetAnnotationState. - Structured extraction:
extractTablesJson,extractKeyValuesJson,extractionPromptJson,extractionValidateJsonandclassifyDocumentJson. - XFA forms:
xfaInfoJson,xfaExportData,xfaImportData,xfaToAcroform,xfaFlattenandxfaRemove. - OCR of any script with neural models loaded at run time:
NexPdf::ocrLoadModel,NexPdf::ocrModelsJsonandNexPdf::ocrUnloadModels, and theneuralOCR engine. - Barcodes:
readBarcodesJson,NexPdf::readBarcodesImageJsonandaddBarcode. - Word-level comparison:
compareTextJsonandcompareAnnotate. - PDF/A and PDF/UA validation with clause ids:
validatePdfaJson,validatePdfuaJson, andconvertPdfaLevelfor any PDF/A level. - Real-time collaboration:
syncExportJson,syncExportLocalJson,syncApplyJson,syncSnapshotJsonandsyncSetClientId, in thenexpdf-sync/2format with per-property merging, page records (insert, delete, move, rotate, crop, content) and shared objects. Nexdevit\NexPdf\Sync, a sync client for the NexPDF web viewer server with an explicit event loop (connect,poll,run): WebSocket first, then Server-Sent Events and POST, with presence,flush, reconnection and thetransportoption. Also theSyncEngineinterface andDocumentSyncEngine. See Real-time collaboration.- Online signing in steps:
NexPdf::signatureTimestampRequest,NexPdf::addSignatureTimestamp,NexPdf::ltvRequestsJsonandNexPdf::addLtvWithResponses. NexPdf::setTsaCallbackandNexPdf::tsaCallbackError: your own time-stamp authority or HSM for every call that needs a timestamp and has notsa_url.NexPdf::validateLtaJson: full B-LTA validation, OCSP responses verified.- XFA scripts (FormCalc and JavaScript), picture clauses, images, rich text, right-to-left flow and
vector barcodes in XFA layout:
xfaToAcroformJson,xfaRunScriptsJsonandNexPdf::registerFallbackFont. - Complete PDF/UA-2 validation and PDF/UA conversion:
validatePdfuaPartJsonandconvertPdfuaJson. PDF/A conversion with a report:convertPdfaJson, andNexPdf::registerSubstituteFont. - OCR orientation and skew correction, slanted lines, and the
classificationmodel kind forNexPdf::ocrLoadModel. - Word conversion options:
NexPdf::openDocxWithOptionsJson(comments in balloons, tracked changes as markup), section columns and conditional table styles. Excel formula calculation (about 280 functions,LAMBDA, dynamic arrays) andNexPdf::openXlsxWithClock. - OpenType shaping and Unicode bidi for Word, Excel, PowerPoint and HTML conversion and for text the engine writes (form fields, templates, XFA).
NexPdf::templateDocxFillWith(strictandlocaleoptions), and PDF template rows that break onto new pages, withheader_height,footer_heightandfontoptions.pageWordsJson(words with exact boxes) andaddBarcodeEx(barcode options).
Changed
-
XFA conversion to AcroForm stores the formatted display value as the field value (
/V), for example1,234.50instead of1234.5; before, it stored the raw value. Export the XFA data first if you need the 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 on every page by default (
footer_height). Set"footer_height": 0for the old flow. -
Simple fonts without
/Widthstake their widths from the embedded Type 1 or CFF program, and Symbol and ZapfDingbats use their standard metrics, so text positions in extraction and rendering are more accurate. -
Document::openandDocument::openByteswith a password convert Office files, e-books and comics first and use the password only for PDFs. Before, a password always opened the bytes as a PDF, so a Word file passed with a password failed.
1.0.1
Released 28 November 2026.
Fixed
Document::openandDocument::openBytesopen EPUB books, zipped FictionBook files, XPS/OpenXPS packages and CBZ comics. Before, every ZIP-based file was sent to the Office converter and these formats failed with an Office error. The SDK now reads the file names in the ZIP (without decompressing anything) to pick the right converter. Word, Excel and PowerPoint files still go to the Office converter.
1.0.0
Released 28 November 2026. First stable release.
Added
Nexdevit\NexPdf\Documentwith every document function of the NexPDF C API as a method, andNexdevit\NexPdf\NexPdfwith licensing, converters and signature verification as static methods.- Loading of the native engine through PHP FFI, with
Native::load,NEXPDF_LIB_PATH,NEXPDF_LIB_DIRand the package'slib/folder. NexPdfExceptionwith the engine's messages and license codes.- Offline
NEX2.license keys:activateLicense,licenseStatusandisLicensed. - Rendering with overprint simulation, ICC colour and every PDF image codec; text extraction, Markdown, search and offline question answering.
- Annotations (markup, shapes, ink, stamps, measurements, file attachments, 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 from PKCS#12 files or external signers, timestamps, LTV and verification.
- 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, OCR, comparison, optimisation and font subsetting, and linearized saving.