Skip to Content
NexPDF

Changelog

Release notes for NexPDF for Go (github.com/nexdevit/nexpdf-go).

English

Versions follow semantic versioning. The Go module, 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.TemplateHTMLToPdf and (*Document).TemplateFillPdf fill Word, HTML and PDF templates from JSON data. See Templates.
  • PAdES B-LTA: the level signing option (B-B, B-T, B-LT, B-LTA), (*Document).AddDocumentTimestamp, nexpdf.AddDocumentTimestampBytes and the three-step PrepareDocumentTimestamp / DocumentTimestampRequest / CompleteDocumentTimestamp. Verification reports document_timestamp and pades_level. See Long-term signatures.
  • Comment threads: ReplyToAnnotation, AnnotationRepliesJSON and SetAnnotationState.
  • Structured extraction: ExtractTablesJSON, ExtractKeyValuesJSON, ExtractionPromptJSON, ExtractionValidateJSON and ClassifyDocumentJSON.
  • XFA forms: XfaInfoJSON, XfaExportData, XfaImportData, XfaToAcroform, XfaFlatten and XfaRemove.
  • OCR of any script with neural models loaded at run time: nexpdf.OCRLoadModel, nexpdf.OCRModelsJSON and nexpdf.OCRUnloadModels, and the neural OCR engine.
  • Barcodes: ReadBarcodesJSON, nexpdf.ReadBarcodesImageJSON and AddBarcode.
  • Word-level comparison: CompareTextJSON and CompareAnnotate.
  • PDF/A and PDF/UA validation with clause ids: ValidatePDFAJSON, ValidatePdfuaJSON, and ConvertPDFALevel for any PDF/A level.
  • Real-time collaboration: SyncExportJSON, SyncExportLocalJSON, SyncApplyJSON, SyncSnapshotJSON and SyncSetClientId.
  • XFA scripts (FormCalc and JavaScript), picture clauses, images, rich text, right-to-left layout and vector barcode fields: XfaRunScriptsJSON, XfaToAcroformJSON (with a report of warnings and failed validations) and nexpdf.RegisterFallbackFont. See XFA forms.
  • Complete PDF/UA-2 validation and conversion with a report: ValidatePdfuaPartJSON, ConvertPdfuaJSON, ConvertPDFAJSON and nexpdf.RegisterSubstituteFont. See PDF/A and PDF/UA validation.
  • B-LTA validation with OCSP checks: nexpdf.ValidateLtaJSON. Online signing in steps: nexpdf.SignatureTimestampRequest, nexpdf.AddSignatureTimestamp, nexpdf.LTVRequestsJSON and nexpdf.AddLTVWithResponses.
  • Time-stamp authority callback: nexpdf.SetTsaCallback and nexpdf.ClearTsaCallback.
  • Sync client: nexpdf.NewSync with SyncOptions, Connect, Flush, SetPresence, WithEngine, DownloadDocument, Attach and Close, over WebSocket with SSE fallback. Change sets are nexpdf-sync/2: pages and shared objects are records and merging is per property. See Real-time collaboration.
  • Conversion: nexpdf.OpenDOCXWithOptionsJSON (comments and tracked changes as markup), nexpdf.OpenXLSXWithClock, Excel formula calculation (about 280 functions, LAMBDA, dynamic arrays), OpenType shaping and Unicode bidi in Word, Excel, PowerPoint and HTML.
  • nexpdf.TemplateDOCXFillWith, and the header_height, footer_height, font and base_dir template options.
  • OCR page orientation and skew correction, slanted lines, and the classification model kind.
  • PageWordsJSON (words with exact boxes) and AddBarcodeEx (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 /Widths take their widths from the embedded font program; Symbol and ZapfDingbats use their standard metrics.

Changed

  • Open and OpenBytes with 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 /NeedAppearances false. 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":0 for the old flow.

1.0.1

Released 28 November 2026.

Fixed

  • Open and OpenBytes open 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.
  • IsLicensed decodes the license status and looks only in its modules list. Before, it searched the whole status text, so IsLicensed("unlicensed") was true without a license, and a licensee name that matched a module could report it as unlocked.

Changed

  • The public nexdevit/nexpdf-go repository builds against the release binaries: download the nexpdf-ffi archive for your platform and point CGO_CFLAGS and CGO_LDFLAGS at it, as described in Installation. The module cache is read-only, so a ./lib folder only works in a clone of the repository.

1.0.0

Released 28 November 2026. First stable release.

Added

  • *nexpdf.Document with every function of the NexPDF C API as a method, and package functions for licensing, converters and signature verification, generated from nexpdf.h.
  • cgo bindings to the native engine, linked shared or static.
  • *nexpdf.Error with the engine's message and, from ActivateLicense, the license code. Each call locks its OS thread so errors always belong to the call.
  • Offline NEX2. license keys: ActivateLicense, LicenseStatusJSON and IsLicensed.
  • 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.

On this page