Skip to Content
NexPDF

Changelog

Release notes for NexPDF for Rust (nexpdf-sdk).

English

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 as nexpdf_sdk), the safe API, and nexpdf-sys, the raw extern "C" declarations of nexpdf.h and the build script that links libnexpdf_ffi. Source in nexdevit/nexpdf-rust, engine binaries on its releases.
  • nexpdf_sdk::Document with every function of the NexPDF C API that takes a document as a method (&self or &mut self following the C const), the converters as associated functions, and the rest as crate functions, all generated from the header. The document is freed on drop, is Send but not Sync, and try_clone copies it.
  • Document::open, from_bytes, open_with_password and from_bytes_with_password, which also open Word, Excel and PowerPoint files, EPUB, FictionBook and XPS books and CBZ comics (converted; nexpdf_sdk::zip_kind tells which), and JPEG, PNG and TIFF pictures. save, save_linearized_to, save_bytes and save_linearized.
  • nexpdf_sdk::Error (Engine, License, Nul, Io, and Json with the serde feature) and nexpdf_sdk::Result; last_error and version.
  • Offline NEX2. license keys: license::activate returning Activation::Trial or Activation::Commercial, license::status_json and license::is_licensed.
  • The serde feature: a *_json_value twin returning serde_json::Value for every *_json function.
  • Linking from NEXPDF_LIB_DIR_<target>, NEXPDF_LIB_DIR, NEXPDF_ROOT or 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 level option 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_json and register_fallback_font.
  • Full PDF/UA-2 validation, validate_pdfua_part_json, convert_pdfua_json, convert_pdfa_json (a report instead of an error) and register_substitute_font.
  • OCR corrects page orientation and skew, reads slanted lines and vertical CJK, and takes an optional text-direction classifier (ocr_load_model with "kind":"classification").
  • set_tsa_callback and clear_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_json and add_ltv_with_responses. validate_lta_json validates B-LTA, verifying OCSP responses.
  • The sync feature: nexpdf_sdk::sync::SyncClient (alias sync::Sync) with SyncOptions, SyncEvent, SyncTransport, SyncPeer, download_document, and SyncConnector for TLS. Sync format nexpdf-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 the header_height, footer_height and font options of PDF templates.
  • page_words_json (words and glyphs with exact boxes) and add_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":0 for the old flow.

On this page