Changelog
Release notes for NexPDF for C and C++ (nexpdf.hpp and nexpdf.h).
Versions follow semantic versioning. The C++ headers, 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::template_docx_to_pdf,nexpdf::template_docx_fill,nexpdf::template_html_to_pdfandDocument::template_fill_pdffill 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::add_document_timestamp,nexpdf::add_document_timestamp_bytesand the three-stepprepare_document_timestamp/document_timestamp_request/complete_document_timestamp. Verification reportsdocument_timestampandpades_level. See Long-term signatures. - Comment threads:
reply_to_annotation,annotation_replies_jsonandset_annotation_state. - Structured extraction:
extract_tables_json,extract_key_values_json,extraction_prompt_json,extraction_validate_jsonandclassify_document_json. - XFA forms:
xfa_info_json,xfa_export_data,xfa_import_data,xfa_to_acroform,xfa_flattenandxfa_remove. - OCR of any script with neural models loaded at run time:
nexpdf::ocr_load_model,nexpdf::ocr_models_jsonandnexpdf::ocr_unload_models, and theneuralOCR engine. - Barcodes:
read_barcodes_json,nexpdf::read_barcodes_image_jsonandadd_barcode. - Word-level comparison:
compare_text_jsonandcompare_annotate. - PDF/A and PDF/UA validation with clause ids:
validate_pdfa_json,validate_pdfua_json, andconvert_pdfa_levelfor any PDF/A level. - Real-time collaboration:
sync_export_json,sync_export_local_json,sync_apply_json,sync_snapshot_jsonandsync_set_client_id. - XFA scripts (FormCalc and JavaScript), picture clauses, images, rich text, right-to-left
layout and vector barcode fields:
xfa_run_scripts_json,xfa_to_acroform_json(with a report of warnings and failed validations) andnexpdf::register_fallback_font. See XFA forms. - Complete PDF/UA-2 validation and conversion with a report:
validate_pdfua_part_json,convert_pdfua_json,convert_pdfa_jsonandnexpdf::register_substitute_font. See PDF/A and PDF/UA validation. - B-LTA validation with OCSP checks:
nexpdf::validate_lta_json. Online signing in steps:nexpdf::signature_timestamp_request,nexpdf::add_signature_timestamp,nexpdf::ltv_requests_jsonandnexpdf::add_ltv_with_responses. - Time-stamp authority callback:
nexpdf::set_tsa_callback(anexpdf::TsaCallback) andnexpdf::clear_tsa_callback. - Sync client:
nexpdf::Syncinnexpdf/sync.hpp(CMake targetnexdevit::nexpdf_sync) withSync::Options,Sync::Listener,connect,flush,set_presence,lock,download_document,attachandclose, over WebSocket with SSE fallback. Change sets arenexpdf-sync/2: pages and shared objects are records and merging is per property. See Real-time collaboration. - Conversion:
nexpdf::open_docx_with_options_json(comments and tracked changes as markup),nexpdf::open_xlsx_with_clock, Excel formula calculation (about 280 functions,LAMBDA, dynamic arrays), OpenType shaping and Unicode bidi in Word, Excel, PowerPoint and HTML. nexpdf::template_docx_fill_with, and theheader_height,footer_height,fontandbase_dirtemplate options.- OCR page orientation and skew correction, slanted lines, and the
classificationmodel kind. page_words_json(words with exact boxes) andadd_barcode_ex(barcode drawing options).- Form field, template and XFA text is shaped with OpenType and ordered with Unicode bidi in
embedded Unicode fonts. Simple fonts without
/Widthstake their widths from the embedded font program; Symbol and ZapfDingbats use their standard metrics. - The matching
nexpdf_*C functions innexpdf.h.
Changed
Document::openandDocument::open_byteswith 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.- XFA conversion to AcroForm stores the formatted display value as the text field value (
/V) and sets/NeedAppearancesfalse. Before, the raw data value was stored. Export the 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 on every page (
footer_height, default 72). Set"footer_height":0for the old flow.
1.0.1
Released 28 November 2026.
Fixed
Document::openandDocument::open_bytesopen 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 header 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. The C functionnexpdf_open_bytesis unchanged: it opens PDFs and pictures, and C programs callnexpdf_open_officeornexpdf_open_ebookfor other formats.
Added
- The CMake project accepts
NEXPDF_ROOT, the folder of an unpackednexpdf-ffi-<version>-<platform>release, as a CMake or environment variable. It provides the library (NEXPDF_ROOT/lib) andnexpdf.h(NEXPDF_ROOT/include). The library is looked up inNEXPDF_LIB_DIR, thenNEXPDF_ROOT/lib, thenlib/in thenexpdf-cppfolder.
1.0.0
Released 28 November 2026. First stable release.
Added
nexpdf.h, the C ABI of the engine, andnexpdf.hpp, a header-only C++17 layer withnexdevit::nexpdf::Document(RAII, move-only) and every C function as a method or function.- The CMake target
nexdevit::nexpdf, linked shared or static (NEXPDF_STATIC). nexdevit::nexpdf::Errorwith the engine's messages and license codes.- Offline
NEX2.license keys:activate_license,license_status_jsonandis_licensed. - 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.