Changelog
Release notes for NexPDF for Rust (nexpdf-sdk).
Versions follow semantic versioning. The Rust crates, 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. First release of NexPDF for Rust.
Added
- Two crates:
nexpdf-sdk(imported asnexpdf_sdk), the safe API, andnexpdf-sys, the rawextern "C"declarations ofnexpdf.hand the build script that linkslibnexpdf_ffi. Source in nexdevit/nexpdf-rust, engine binaries on its releases. nexpdf_sdk::Documentwith every function of the NexPDF C API that takes a document as a method (&selfor&mut selffollowing the Cconst), the converters as associated functions, and the rest as crate functions, all generated from the header. The document is freed on drop, isSendbut notSync, andtry_clonecopies it.Document::open,from_bytes,open_with_passwordandfrom_bytes_with_password, which also open Word, Excel and PowerPoint files, EPUB, FictionBook and XPS books and CBZ comics (converted;nexpdf_sdk::zip_kindtells which), and JPEG, PNG and TIFF pictures.save,save_linearized_to,save_bytesandsave_linearized.nexpdf_sdk::Error(Engine,License,Nul,Io, andJsonwith theserdefeature) andnexpdf_sdk::Result;last_errorandversion.- Offline
NEX2.license keys:license::activatereturningActivation::TrialorActivation::Commercial,license::status_jsonandlicense::is_licensed. - The
serdefeature: a*_json_valuetwin returningserde_json::Valuefor every*_jsonfunction. - Linking from
NEXPDF_LIB_DIR_<target>,NEXPDF_LIB_DIR,NEXPDF_ROOTor the usual prefixes, static or dynamic (NEXPDF_STATIC), and cross-compiling for iOS and Android. - Everything the C API has in 1.1:
- 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), comment
threads (
reply_to_annotation,annotation_replies_json,set_annotation_state) and real-time collaboration (sync_export_json,sync_export_local_json,sync_apply_json,sync_snapshot_json,sync_set_client_id); - AcroForm filling with JavaScript calculation, form data in JSON, FDF and XFDF, and XFA forms
(
xfa_info_json,xfa_export_data,xfa_import_data,xfa_to_acroform,xfa_flatten,xfa_remove); - page and content editing, metadata, bookmarks, page labels, layers and attachments;
- AES-256 encryption with permissions, watermarks, headers and footers, Bates numbering, and destructive redaction by area, text, regular expression and preset patterns;
- PAdES signatures from PKCS#12 files or external signers, the
leveloption up to B-LTA, document timestamps (add_document_timestamp,add_document_timestamp_bytes,prepare_document_timestamp,document_timestamp_request,complete_document_timestamp), 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; templates (
template_docx_to_pdf,template_docx_fill,template_html_to_pdf,template_fill_pdf); - structured extraction (
extract_tables_json,extract_key_values_json,extraction_prompt_json,extraction_validate_json,classify_document_json) and barcodes (read_barcodes_json,read_barcodes_image_json,add_barcode); - OCR, with neural models for any script (
ocr_load_model,ocr_models_json,ocr_unload_models); - comparison by page and word by word (
compare_text_json,compare_annotate), optimisation, font subsetting and linearized saving; - PDF/A and PDF/X conversion, PDF/UA auto-tagging, and PDF/A and PDF/UA validation with clause ids
(
validate_pdfa_json,validate_pdfua_json,convert_pdfa_level).
- XFA forms run their FormCalc and JavaScript scripts, apply picture clauses and lay out rich
text, images, right-to-left flow, leaders, overflow and barcodes in embedded Unicode fonts:
xfa_to_acroform_json,xfa_run_scripts_jsonandregister_fallback_font. - Full PDF/UA-2 validation,
validate_pdfua_part_json,convert_pdfua_json,convert_pdfa_json(a report instead of an error) andregister_substitute_font. - OCR corrects page orientation and skew, reads slanted lines and vertical CJK, and takes an
optional text-direction classifier (
ocr_load_modelwith"kind":"classification"). set_tsa_callbackandclear_tsa_callback: a time-stamp authority of your own (an HSM or your own HTTP client) for document timestamps and B-T, B-LT and B-LTA signatures.- Online signing in steps:
signature_timestamp_request,add_signature_timestamp,ltv_requests_jsonandadd_ltv_with_responses.validate_lta_jsonvalidates B-LTA, verifying OCSP responses. - The
syncfeature:nexpdf_sdk::sync::SyncClient(aliassync::Sync) withSyncOptions,SyncEvent,SyncTransport,SyncPeer,download_document, andSyncConnectorfor TLS. Sync formatnexpdf-sync/2: pages and shared objects are records, merging is per property. open_docx_with_options_json(comments in balloons, tracked changes as markup),open_xlsx_with_clock, Excel formula calculation, and OpenType shaping with Unicode bidi in Word, Excel, PowerPoint and HTML conversion.template_docx_fill_with, and theheader_height,footer_heightandfontoptions of PDF templates.page_words_json(words and glyphs with exact boxes) andadd_barcode_ex.- Form field appearances shaped with OpenType and ordered with Unicode bidi.
Changed
- XFA conversion to AcroForm stores the formatted display value as
/V(was the raw value) and sets/NeedAppearances false. Export the data first if you need the raw values. - PDF templates: a text row starting in the bottom 72 pt of a page is now treated as a repeated
footer by default (
footer_height). Set"footer_height":0for the old flow.